P
描述
《僵尸毁灭工程》是一款由英国和加拿大独立开发商The Indie Stone开发的开放世界生存恐怖视频游戏,目前处于Alpha阶段。游戏设定在一个末日后的僵尸肆虐世界中,玩家需要尽可能长时间地生存下去,直到最终不可避免地死亡。
36 浏览
5 下载
2026-06-30
更新于 1 天前
预设配置详情
僵尸毁灭工程
《僵尸毁灭工程》是终极僵尸生存游戏。无论是单人还是多人模式:你需要在搜刮、建造、制作、战斗、耕种和钓鱼中挣扎求生。硬核RPG技能系统、广阔地图、高度自定义的沙盒模式,以及一只可爱的浣熊向导正等待着毫无防备的玩家。那么,你会如何死去?
配置
僵尸毁灭工程会在服务器启动时通过将存档数据复制到临时文件夹并压缩成zip文件来创建备份。几天后这些文件会变得非常大,导致服务器启动时出现错误:java.util.concurrent.ExecutionException: java.io.IOException: No space left on device。
可以通过在僵尸毁灭工程服务器设置中禁用备份(BackupsOnStart=false),或者增加wings配置文件中tmpfs_size的值来解决。
服务器端口
僵尸毁灭工程需要一个端口用于游戏数据,一个端口用于Steam。
> *** 服务器已启动 ****。
> *** Steam已启用。
> 服务器正在监听端口16261(用于Steam连接)和端口16262(用于UDPRakNet连接)。
> 客户端应使用端口16261进行连接。
| 端口 | 默认值 |
|---|---|
| DefaultPort | 16261 |
| UDPPort | 16262 |
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian
export PATH="./jre64/bin:$PATH" ; export LD_LIBRARY_PATH="./linux64:./natives:.:./jre64/lib/amd64:${LD_LIBRARY_PATH}" ; JSIG="libjsig.so" ; LD_PRELOAD="${LD_PRELOAD}:${JSIG}" ./ProjectZomboid64 -port {{SERVER_PORT}} -udpport {{STEAM_PORT}} -cachedir=/home/container/.cache -servername "{{SERVER_NAME}}" -adminusername {{ADMIN_USER}} -adminpassword "{{ADMIN_PASSWORD}}"
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| 服务器名称 | SERVER_NAME |
用于保存/配置文件的内部服务器名称。 | Pterodactyl |
required|alpha_num|max:64
必填 字母数字 最大 64
|
||
| 管理员用户名 | ADMIN_USER |
管理员账户的用户名 | admin |
required|string|max:20
必填 字符串 最大 20
|
||
| 管理员密码 | ADMIN_PASSWORD |
管理员账户的密码 | |
required|string|max:32
必填 字符串 最大 32
|
||
| Steam端口 | STEAM_PORT |
设置UDPPort选项 | 16262 |
required|string|max:20
必填 字符串 最大 20
|
||
| 最大玩家数 | MAX_PLAYERS |
允许的最大玩家数 | 10 |
required|string|max:20
必填 字符串 最大 20
|
||
| PZ Steam 应用 ID | SRCDS_APPID |
PZ Steam 应用 ID | 380870 |
required|string|max:20
必填 字符串 最大 20
|
||
| Steam 测试版分支 [需要重新安装] | SRCDS_BETAID |
要安装的测试分支,例如 b41multiplayer。留空则安装普通分支。 | |
nullable|string|max:64
可选 字符串 最大 64
|
||
| Steam 自动更新 | AUTO_UPDATE |
在启动时启用或禁用自动更新。0 为禁用,1 为启用。 | 0 |
required|string|max:20
必填 字符串 最大 20
|
镜像
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian
入口
bash
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'
##
#
# Variables
# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.
# WINDOWS_INSTALL - if it's a windows server you want to install set to 1
# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List
# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch
# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.
# INSTALL_FLAGS - Any additional SteamCMD flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.
# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.
#
## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
echo -e "steam user is not set.
"
echo -e "Using anonymous user.
"
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
else
echo -e "user set to ${STEAM_USER}"
fi
## download and install steamcmd
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
# SteamCMD fails otherwise for some reason, even running as root.
# This is changed at the end of the install process anyways.
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./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
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
cd /mnt/server
rm start-server.sh
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": "https://eggs.pterodactyl.top/eggs/92/download/egg-project-zomboid.json",
"version": "PTDL_v2"
},
"exported_at": "2024-06-01T00:04:36+00:00",
"name": "Project Zomboid",
"author": "iamkubi@gmail.com",
"description": "《僵尸毁灭工程》是一款由英国和加拿大独立开发商The Indie Stone开发的开放世界生存恐怖视频游戏,目前处于Alpha阶段。游戏设定在一个末日后的僵尸肆虐世界中,玩家需要尽可能长时间地生存下去,直到最终不可避免地死亡。",
"features": [
"steam_disk_space"
],
"docker_images": {
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian"
},
"file_denylist": [],
"startup": "export PATH=\"./jre64/bin:$PATH\" ; export LD_LIBRARY_PATH=\"./linux64:./natives:.:./jre64/lib/amd64:${LD_LIBRARY_PATH}\" ; JSIG=\"libjsig.so\" ; LD_PRELOAD=\"${LD_PRELOAD}:${JSIG}\" ./ProjectZomboid64 -port {{SERVER_PORT}} -udpport {{STEAM_PORT}} -cachedir=/home/container/.cache -servername \"{{SERVER_NAME}}\" -adminusername {{ADMIN_USER}} -adminpassword \"{{ADMIN_PASSWORD}}\"",
"config": {
"files": "{}",
"logs": "{}",
"startup": "{\r\n \"done\": \"SERVER STARTED\"\r\n}",
"stop": "quit"
},
"scripts": {
"installation": {
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
"entrypoint": "bash",
"script": "#!/bin/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: /mnt/server\r\n# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'\r\n\r\n##\r\n#\r\n# Variables\r\n# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.\r\n# WINDOWS_INSTALL - if it's a windows server you want to install set to 1\r\n# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List\r\n# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch\r\n# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.\r\n# INSTALL_FLAGS - Any additional SteamCMD flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.\r\n# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.\r\n#\r\n\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd /tmp\r\nmkdir -p /mnt/server/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd\r\nmkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd /mnt/server/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root /mnt\r\nexport HOME=/mnt/server\r\n\r\n## install game using steamcmd\r\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\r\n\r\n## set up 32 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk32\r\ncp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk64\r\ncp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so\r\n\r\ncd /mnt/server\r\nrm start-server.sh\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
}
},
"variables": [
{
"name": "服务器名称",
"description": "用于保存/配置文件的内部服务器名称。",
"env_variable": "SERVER_NAME",
"default_value": "Pterodactyl",
"user_viewable": true,
"user_editable": true,
"rules": "required|alpha_num|max:64",
"field_type": "text"
},
{
"name": "管理员用户名",
"description": "管理员账户的用户名",
"env_variable": "ADMIN_USER",
"default_value": "admin",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "管理员密码",
"description": "管理员账户的密码",
"env_variable": "ADMIN_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{
"name": "Steam端口",
"description": "设置UDPPort选项",
"env_variable": "STEAM_PORT",
"default_value": "16262",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "最大玩家数",
"description": "允许的最大玩家数",
"env_variable": "MAX_PLAYERS",
"default_value": "10",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "PZ Steam 应用 ID",
"description": "PZ Steam 应用 ID",
"env_variable": "SRCDS_APPID",
"default_value": "380870",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "Steam 测试版分支 [需要重新安装]",
"description": "要安装的测试分支,例如 b41multiplayer。留空则安装普通分支。",
"env_variable": "SRCDS_BETAID",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:64",
"field_type": "text"
},
{
"name": "Steam 自动更新",
"description": "在启动时启用或禁用自动更新。0 为禁用,1 为启用。",
"env_variable": "AUTO_UPDATE",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
36
浏览
5
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06