更新日志
[AI翻译] 名称、描述、说明、JSON描述、变量
版本内容
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": "https://eggs.pterodactyl.top/eggs/78/download/egg-nightingale.json"
},
"exported_at": "2025-11-02T11:29:03+00:00",
"name": "Nightingale",
"author": "quinten@pelican.dev",
"description": "《夜莺》是一款开放世界生存制作游戏,你将穿越神秘而危险的妖精界域展开冒险。作为一名无畏的界域行者,你将在视觉惊艳的煤气灯奇幻世界中击败 monstrous 敌人、在 hostile 环境中求生,并建造 elaborate 庄园。",
"features": [
"steam_disk_space"
],
"docker_images": {
"Steamcmd": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian"
},
"file_denylist": [],
"startup": "NWX/Binaries/Linux/NWXServer-Linux-Shipping -port={{SERVER_PORT}} -multihome=0.0.0.0 -ini:Game:[/Script/Engine.GameSession]:MaxPlayers={{MAX_PLAYERS}} -ini:ServerSettings:[/Script/NWX.NWXServerSettings]:Password={{CONNECTION_PASSWORD}} -ini:ServerSettings:[/Script/NWX.NWXServerSettings]:AdminPassword={{ADMIN_PASSWORD}} -ini:ServerSettings:[/Script/NWX.NWXServerSettings]:StartingDifficulty={{DIFFICULTY}}",
"config": {
"files": "{}",
"startup": "{\n \"done\": \"LogNWXGameMode: GameModeAwaiter became ready.\"\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!/bin/bash\n# steamcmd Base Installation Script\n#\n# Server Files: /mnt/server\n# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'\n\n## just in case someone removed the defaults.\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\n echo -e \"steam user is not set.\\n\"\n echo -e \"Using anonymous user.\\n\"\n STEAM_USER=anonymous\n STEAM_PASS=\"\"\n STEAM_AUTH=\"\"\nelse\n echo -e \"user set to ${STEAM_USER}\"\nfi\n\n## download and install steamcmd\ncd /tmp\nmkdir -p /mnt/server/steamcmd\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd\nmkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing\ncd /mnt/server/steamcmd\n\n# SteamCMD fails otherwise for some reason, even running as root.\n# This is changed at the end of the install process anyways.\nchown -R root:root /mnt\nexport HOME=/mnt/server\n\n## install game using steamcmd\n./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\n\n## set up 32 bit libraries\nmkdir -p /mnt/server/.steam/sdk32\ncp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so\n\n## set up 64 bit libraries\nmkdir -p /mnt/server/.steam/sdk64\ncp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so\n\n## add below your custom commands if needed\n\nif [ ! -e \"/mnt/server/NWX/Config/ServerSettings.ini\" ]; then\n cp /mnt/server/NWX/Config/ExampleServerSettings.ini /mnt/server/NWX/Config/ServerSettings.ini\nfi \n\n## install end\necho \"-----------------------------------------\"\necho \"Installation completed...\"\necho \"-----------------------------------------\"",
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "管理员密码",
"description": "如果设置了管理员密码,拥有正确密码的玩家可以在游戏内进行身份验证,以便踢出或封禁其他玩家。",
"env_variable": "ADMIN_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "string|nullable",
"field_type": "text"
},
{
"name": "自动更新",
"description": "在启动时自动更新服务器",
"env_variable": "AUTO_UPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "连接密码",
"description": "",
"env_variable": "CONNECTION_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "难度",
"description": "起始地图难度,可选 [简单, 普通, 困难, 极难]。",
"env_variable": "DIFFICULTY",
"default_value": "easy",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:easy,medium,hard,extreme",
"field_type": "text"
},
{
"name": "最大玩家数",
"description": "最大可加入的玩家数量。\n\n请注意,将最大玩家数量增加到超过6人是不受支持的,可能会导致意外行为。",
"env_variable": "MAX_PLAYERS",
"default_value": "6",
"user_viewable": true,
"user_editable": true,
"rules": "required|numeric|between:1,8",
"field_type": "text"
},
{
"name": "应用ID",
"description": "",
"env_variable": "SRCDS_APPID",
"default_value": "3796810",
"user_viewable": false,
"user_editable": false,
"rules": "required|in:3796810",
"field_type": "text"
},
{
"name": "Beta ID",
"description": "Steam应用的测试版分支。留空则安装正式版分支。",
"env_variable": "SRCDS_BETAID",
"default_value": "",
"user_viewable": false,
"user_editable": false,
"rules": "nullable",
"field_type": "text"
}
]
}