复古故事 v1.0.0

飒爽师叔 · 2026-07-01 03:48

更新日志

批量导入

版本内容

{
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
    "meta": {
        "version": "PTDL_v2",
        "update_url": "https://eggs.pterodactyl.top/eggs/258/download/egg-vintage-story.json"
    },
    "exported_at": "2026-02-10T14:32:54+00:00",
    "name": "Vintage Story",
    "author": "mail@wuffy.eu",
    "description": "Vintage Story is an uncompromising wilderness survival sandbox game inspired by lovecraftian horror themes. Find yourself in a ruined world reclaimed by nature and permeated by unnerving temporal disturbances. Relive the advent of human civilization, or take your own path.",
    "features": null,
    "docker_images": {
        "Dotnet 10": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:dotnet_10",
        "Dotnet 8": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:dotnet_8",
        "Dotnet 7": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:dotnet_7"
    },
    "file_denylist": [],
    "startup": "./VintagestoryServer --dataPath ./data --port={{SERVER_PORT}} --maxclients={{MAX_CLIENTS}} {{OPTIONS}}",
    "config": {
        "files": "{}",
        "startup": "{\n    \"done\": \"Dedicated Server now running on Port \"\n}",
        "logs": "{}",
        "stop": "/stop"
    },
    "scripts": {
        "installation": {
            "script": "#!/bin/bash\r\n# Vintage Story Installation Script\r\n#\r\n# Server Files: /mnt/server\r\napt update\r\napt -y install curl jq\r\n\r\ndeclare -A API_URLS=(\r\n  [\"stable\"]=\"http://api.vintagestory.at/stable.json\"\r\n  [\"unstable\"]=\"http://api.vintagestory.at/unstable.json\"\r\n)\r\n\r\ndeclare -A DOWNLOAD_URLS=(\r\n  [\"stable\"]=\"https://cdn.vintagestory.at/gamefiles/stable/vs_server_linux-x64_${RELEASE_VERSION}.tar.gz\"\r\n  [\"unstable\"]=\"https://cdn.vintagestory.at/gamefiles/unstable/vs_server_linux-x64_${RELEASE_VERSION}.tar.gz\"\r\n  [\"pre\"]=\"https://cdn.vintagestory.at/gamefiles/pre/vs_server_linux-x64_${RELEASE_VERSION}.tar.gz\"\r\n)\r\n\r\nBRANCH=\"${FILES_BRANCH}\"\r\n\r\nif [ -z \"${RELEASE_VERSION}\" ] || [ \"${RELEASE_VERSION}\" == \"latest\" ] && [ \"${BRANCH}\" == \"pre\" ]; then\r\n  echo \"-----------------------------------------\"\r\n  echo \"Installation failed...\"\r\n  echo \"Please specify the version when using RELEASE BRANCH: pre\"\r\n  echo \"-----------------------------------------\"  \r\n  exit\r\nfi\r\n\r\nif [ -z \"${RELEASE_VERSION}\" ] || [ \"${RELEASE_VERSION}\" == \"latest\" ]; then\r\n  API_URL=\"${API_URLS[$BRANCH]}\"\r\n  echo \"API URL: $API_URL\"\r\n  DOWNLOAD_URL=$(curl -SsL \"$API_URL\" | jq -r 'if ([.[]] | .[0].linuxserver.urls.cdn) != null then [.[]] | .[0].linuxserver.urls.cdn else [.[]] | .[0].linuxserver.urls.local end')\r\nelse\r\n  DOWNLOAD_URL=\"${DOWNLOAD_URLS[$BRANCH]}\"\r\nfi\r\n\r\necho \"Download URL: $DOWNLOAD_URL\"\r\n\r\ncd /mnt/server/ || exit\r\n\r\n# make sure to cleanup the prior installation else this might cause issue with old asset files that do not exist in the new version\r\nif [ -d \"assets\" ]; then\r\n  echo \"Removing old installation files\"\r\n  rm -rf assets/\r\n  rm -rf Lib/\r\nfi\r\ncurl -o vs_server.tar.gz \"${DOWNLOAD_URL}\"\r\ntar -xzf vs_server.tar.gz\r\n\r\nif [ $? -ne 0 ]; then\r\n  echo \"-----------------------------------------\"\r\n  echo \"Installation failed...\"\r\n  echo \"Please make sure the specified version exists: $RELEASE_VERSION\"\r\n  echo \"-----------------------------------------\"\r\n  rm vs_server.tar.gz\r\n  exit\r\nfi\r\n\r\nrm vs_server.tar.gz\r\nrm server.sh\r\n\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
            "container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
            "entrypoint": "bash"
        }
    },
    "variables": [
        {
            "name": "Start options",
            "description": "",
            "env_variable": "OPTIONS",
            "default_value": "",
            "user_viewable": true,
            "user_editable": true,
            "rules": "nullable|string|max:200",
            "field_type": "text"
        },
        {
            "name": "Release branch",
            "description": "",
            "env_variable": "FILES_BRANCH",
            "default_value": "stable",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|in:stable,unstable,pre",
            "field_type": "text"
        },
        {
            "name": "Release version",
            "description": "",
            "env_variable": "RELEASE_VERSION",
            "default_value": "latest",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|string|max:20",
            "field_type": "text"
        },
        {
            "name": "Max Clients",
            "description": "",
            "env_variable": "MAX_CLIENTS",
            "default_value": "16",
            "user_viewable": true,
            "user_editable": true,
            "rules": "required|integer|max:256",
            "field_type": "text"
        },
        {
            "name": "Sqlite temporary files directory",
            "description": "Defines the location for the temporary files in sqlite. This is needed for the \"/db vacuum\" command (added in 1.19) since else it will use the /tmp folder which by default only has 100MB and is in memory.",
            "env_variable": "SQLITE_TMPDIR",
            "default_value": "/home/container/data/Backups",
            "user_viewable": true,
            "user_editable": false,
            "rules": "required|string|max:40",
            "field_type": "text"
        }
    ]
}