死
描述
建造防御工事,抵御夜间一波波僵尸的袭击。生存下来并逃离这座岛屿。
15 浏览
1 下载
2026-06-30
更新于 3 天前
预设配置详情
死亡之夜
描述
《死亡之夜》是一款融合了探索、塔防、生存与建造元素的开放世界游戏。在僵尸横行的世界中穿行,收集各种资源和强力装备。建造堡垒,抵御每晚蜂拥而至的僵尸大军!
服务器端口
| 端口类型 | 默认端口 |
|---|---|
| 游戏端口 | 27015 |
| 查询端口 | 27016 |
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_latest
wine /home/container/LF/Binaries/Win64/LFServer-Win64-Shipping.exe ?listen -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -console -log --CRASHREPORTS {{OTHER_ARGS}} & NOTD_PID=$!; sleep 5; tail -c0 -F /home/container/LF/Saved/Logs/LF.log --pid=$NOTD_PID
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| WINEDEBUG | WINEDEBUG |
-all |
required|string|max:20
必填 字符串 最大 20
|
|||
| SRCDS_APPID | SRCDS_APPID |
1420710 |
required|string|in:1420710
必填 字符串 选项: 1420710
|
|||
| WINDOWS_INSTALL | WINDOWS_INSTALL |
1 |
boolean|in:1
布尔 选项: 1
|
|||
| 自动更新 | AUTO_UPDATE |
启动时自动更新服务器 | 1 |
boolean
布尔
|
||
| 查询端口 | QUERY_PORT |
27016 |
required|string|max:5
必填 字符串 最大 5
|
|||
| 服务器名称 | SERVER_NAME |
Pelican |
required|string|max:32
必填 字符串 最大 32
|
|||
| 服务器密码 | SERVER_PASSWORD |
|
nullable|string|max:32
可选 字符串 最大 32
|
|||
| 服务器管理员密码 | SERVER_ADMIN_PASSWORD |
|
required|string|max:32
必填 字符串 最大 32
|
|||
| 难度 | DIFFICULTY |
Normal |
required|string|in:Normal,Peaceful,Easy,Hard,Survival,Challenge,Legend,Custom
必填 字符串 选项: Normal,Peaceful,Easy,Hard,Survival,Challenge,Legend,Custom
|
|||
| PVP | PVP |
1=PVE 0=PVP | 1 |
boolean
布尔
|
||
| 存档名称 | SERVER_SAVEGAME |
savedgame1 |
required|string|max:32
必填 字符串 最大 32
|
|||
| 运行Winetricks | WINETRICKS_RUN |
vcrun2022 corefonts |
required|string
必填 字符串
|
|||
| WINEPATH | WINEPATH |
/home/container |
required|string|max:20
必填 字符串 最大 20
|
|||
| 服务器 MOTD | SERVER_MOTD |
Welcome to the server. |
nullable|string
可选 字符串
|
|||
| 额外参数 | OTHER_ARGS |
添加到命令行的其他参数。 | |
nullable|string
可选 字符串
|
||
| XVFB | XVFB |
在后台启动XVFB。 | 1 |
boolean|in:1
布尔 选项: 1
|
镜像
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'
# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.
#apt -y update
#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates
## 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
## add below your custom commands if needed
## make needed dir
mkdir -p /mnt/server/LF/Saved/SaveGames
mkdir -p /mnt/server/LF/Saved/Config
curl -sSL -o /mnt/server/LF/Saved/Config/ServerSettings.ini https://raw.githubusercontent.com/pelican-eggs/games-steamcmd/main/night_of_the_dead/ServerSettings.ini
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": "https://eggs.pterodactyl.top/eggs/77/download/egg-night-of-the-dead.json"
},
"exported_at": "2025-01-27T17:30:55+01:00",
"name": "Night Of The Dead",
"author": "marshals@gmail.com",
"description": "建造防御工事,抵御夜间一波波僵尸的袭击。生存下来并逃离这座岛屿。",
"features": [
"steam_disk_space"
],
"docker_images": {
"wine_latest": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_latest"
},
"file_denylist": [],
"startup": "wine /home/container/LF/Binaries/Win64/LFServer-Win64-Shipping.exe ?listen -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -console -log --CRASHREPORTS {{OTHER_ARGS}} & NOTD_PID=$!; sleep 5; tail -c0 -F /home/container/LF/Saved/Logs/LF.log --pid=$NOTD_PID",
"config": {
"files": "{\r\n \"LF/Saved/Config/ServerSettings.ini\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"ServerSettings.ServerName\": \"{{env.SERVER_NAME}}\",\r\n \"ServerSettings.Password\": \"{{env.SERVER_PASSWORD}}\",\r\n \"SystemSettings.SaveName\": \"{{env.SERVER_SAVEGAME}}\",\r\n \"SystemSettings.IngameAdminPassword\": \"{{env.SERVER_ADMIN_PASSWORD}}\",\r\n \"SystemSettings.DefaultMessageOfTheDay\": \"{{env.SERVER_MOTD}}\",\r\n \"GameSettings.Difficulty\": \"{{env.DIFFICULTY}}\",\r\n \"GameSettings/General.MODSelect\": \"{{env.PVP}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": [\r\n \"Successfully updated session\",\r\n \"Start Session Complete\"\r\n ]\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"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# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\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\n## add below your custom commands if needed\r\n## make needed dir\r\nmkdir -p /mnt/server/LF/Saved/SaveGames\r\nmkdir -p /mnt/server/LF/Saved/Config\r\n\r\ncurl -sSL -o /mnt/server/LF/Saved/Config/ServerSettings.ini https://raw.githubusercontent.com/pelican-eggs/games-steamcmd/main/night_of_the_dead/ServerSettings.ini\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "WINEDEBUG",
"description": "",
"env_variable": "WINEDEBUG",
"default_value": "-all",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "SRCDS_APPID",
"description": "",
"env_variable": "SRCDS_APPID",
"default_value": "1420710",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:1420710",
"field_type": "text"
},
{
"name": "WINDOWS_INSTALL",
"description": "",
"env_variable": "WINDOWS_INSTALL",
"default_value": "1",
"user_viewable": false,
"user_editable": false,
"rules": "boolean|in:1",
"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": "QUERY_PORT",
"default_value": "27016",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:5",
"field_type": "text"
},
{
"name": "服务器名称",
"description": "",
"env_variable": "SERVER_NAME",
"default_value": "Pelican",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{
"name": "服务器密码",
"description": "",
"env_variable": "SERVER_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:32",
"field_type": "text"
},
{
"name": "服务器管理员密码",
"description": "",
"env_variable": "SERVER_ADMIN_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{
"name": "难度",
"description": "",
"env_variable": "DIFFICULTY",
"default_value": "Normal",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:Normal,Peaceful,Easy,Hard,Survival,Challenge,Legend,Custom",
"field_type": "text"
},
{
"name": "PVP",
"description": "1=PVE 0=PVP",
"env_variable": "PVP",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "存档名称",
"description": "",
"env_variable": "SERVER_SAVEGAME",
"default_value": "savedgame1",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{
"name": "运行Winetricks",
"description": "",
"env_variable": "WINETRICKS_RUN",
"default_value": "vcrun2022 corefonts",
"user_viewable": false,
"user_editable": false,
"rules": "required|string",
"field_type": "text"
},
{
"name": "WINEPATH",
"description": "",
"env_variable": "WINEPATH",
"default_value": "/home/container",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "服务器 MOTD",
"description": "",
"env_variable": "SERVER_MOTD",
"default_value": "Welcome to the server.",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "额外参数",
"description": "添加到命令行的其他参数。",
"env_variable": "OTHER_ARGS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "XVFB",
"description": "在后台启动XVFB。",
"env_variable": "XVFB",
"default_value": "1",
"user_viewable": false,
"user_editable": false,
"rules": "boolean|in:1",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
15
浏览
1
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06