更新日志
批量导入
版本内容
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": "https://eggs.pterodactyl.top/eggs/261/download/egg-world-of-padman.json"
},
"exported_at": "2026-06-09T09:27:59+00:00",
"name": "World of PADMAN",
"author": "bas1874@github.com",
"description": "World of PADMAN (WoP) standalone server. with automatic configuration generation.",
"features": [],
"docker_images": {
"Ubuntu": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:ubuntu"
},
"file_denylist": [],
"startup": "./wopded +set fs_homepath . +set fs_basepath . +set fs_game {{FS_GAME}} +set dedicated {{DEDICATED_TYPE}} +set net_port {{SERVER_PORT}} +set com_hunkMegs {{SERVER_MEMORY}} +exec {{SERVER_CONFIG}}",
"config": {
"files": "{}",
"startup": "{\n \"done\": \"InitGame:\"\n}",
"logs": "{}",
"stop": "quit"
},
"scripts": {
"installation": {
"script": "#!/bin/bash\n# World of PADMAN Installation Script\n\n\ncd /mnt/server\n\n## get release info and download links\nLATEST_JSON=$(curl --silent \"https://api.github.com/repos/PadWorld-Entertainment/worldofpadman/releases/latest\")\nRELEASES=$(curl --silent \"https://api.github.com/repos/PadWorld-Entertainment/worldofpadman/releases\")\n\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i unified.zip)\nelse\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i unified.zip)\n else\n echo -e \"defaulting to latest release\"\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\n fi\nfi\n\necho \"Downloading from ${DOWNLOAD_URL}...\"\ncurl -sSL ${DOWNLOAD_URL} -o wop.zip\n\necho \"Extracting files...\"\nunzip -q -o wop.zip\nrm wop.zip\n\n# 2. Permissions & Architecture Symlink\necho \"Setting up executables...\"\nchmod +x wopded.*\n\nARCH=$(uname -m)\nif [ \"$ARCH\" == \"aarch64\" ] || [ \"$ARCH\" == \"arm64\" ]; then\n ln -sf wopded.aarch64 wopded\nelif [ \"$ARCH\" == \"x86_64\" ] || [ \"$ARCH\" == \"amd64\" ]; then\n ln -sf wopded.x86_64 wopded\nelse\n ln -sf wopded.x86 wopded\nfi\n\n# 3. Generate Config\nmkdir -p ${FS_GAME}\n\necho \"Generating ${FS_GAME}/${SERVER_CONFIG}...\"\ncat << EOF > ${FS_GAME}/${SERVER_CONFIG}\n//\n// World of PADMAN - Panel generated server settings\n//\n\n// Server name and message\nset sv_hostName \"${SERVER_HOSTNAME}\"\nset g_MOTD \"Welcome to World of PADMAN!\"\n\n// Server settings\nset sv_maxClients \"12\"\nset sv_VoIP \"1\"\nset sv_maxRate \"9000\"\n\n// Download Settings\nset sv_allowdownload \"${ALLOW_DOWNLOAD}\"\n\n// Bot settings\nset bot_enable \"1\"\nset bot_minPlayers \"4\"\nset g_spSkill \"2\"\n\n// Passwords\nset rconPassword \"${RCON_PASSWORD}\"\nset g_password \"\"\n\n// Game settings\nset g_allowVote \"1\"\nset g_doWarmup \"1\"\nset g_warmup \"30\"\n\n// Execution of map rotation\nexec \"rotation.cfg\"\n\n// Fallback map just in case rotation fails\nmap wop_padgarden\nEOF\n\necho \"Installation complete!\"",
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Allow Downloads",
"description": "1 = Allow players to download maps from the server. 0 = Disable.",
"env_variable": "ALLOW_DOWNLOAD",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Config File Name",
"description": "The name of the config file inside the fs_game folder.",
"env_variable": "SERVER_CONFIG",
"default_value": "server-settings.cfg",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Game Version",
"description": "The version of World of PADMAN to download (e.g., latest or v1.7.0).",
"env_variable": "VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Mod Folder (fs_game)",
"description": "The folder name for the game data. Default is 'wop'.",
"env_variable": "FS_GAME",
"default_value": "wop",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "RCON Password",
"description": "Password for remote admin. Leave empty to disable RCON.",
"env_variable": "RCON_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "Server Hostname",
"description": "The name of the server displayed in the browser.",
"env_variable": "SERVER_HOSTNAME",
"default_value": "A World of PADMAN Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Server Visibility",
"description": "1 = LAN, 2 = Internet (Master Server).",
"env_variable": "DEDICATED_TYPE",
"default_value": "2",
"user_viewable": true,
"user_editable": true,
"rules": "required|numeric|in:1,2",
"field_type": "text"
}
]
}