午
描述
混乱的多人在线捉迷藏游戏。在午夜钟声敲响前,扮演幽灵附身看似无害的物品,或作为猎人追捕它们!
15 浏览
1 下载
2026-06-30
更新于 4 小时前
预设配置详情
午夜幽灵狩猎
混乱的多人在线捉迷藏游戏。作为幽灵附身看似无害的物品,或作为猎人追逐它们,在午夜钟声敲响之前!
服务器端口
| 端口 | 默认值 |
|---|---|
| 游戏端口 | 7777 |
| 查询端口 | 27015 |
| 信标端口 | 7787 |
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:proton
proton run MidnightGhostHunt/Binaries/Win64/MidnightGhostHuntServer-Win64-Shipping.exe -server -log -port={{SERVER_PORT}} -queryport={{QUERY_PORT}} -BeaconPort={{BEACON_PORT}} -multihome=0.0.0.0 -Map={{MAP}} -Gamename="{{GAME_NAME}}" -Gamemode="{{GAME_MODE}}" -Region="{{REGION}}" -BotDifficulty="{{B_DIFFICULTY}}" -password="{{PASSWORD}}" {{ADDITIONAL_ARGS}} & GH_PID=$!; sleep 1; tail -c0 -F /home/container/MidnightGhostHunt/Saved/Logs/MidnightGhostHunt.log --pid=$GH_PID
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| 应用ID | SRCDS_APPID |
1118810 |
required|string|in:1118810
必填 字符串 选项: 1118810
|
|||
| Windows 安装程序 | WINDOWS_INSTALL |
1 |
boolean
布尔
|
|||
| 自动更新 | AUTO_UPDATE |
启动时自动更新服务器 | 1 |
boolean
布尔
|
||
| 查询端口 | QUERY_PORT |
27015 |
required|numeric
必填 数字
|
|||
| 游戏名称 | GAME_NAME |
更改游戏名称。 | Dedicated_Server_01 |
required|string|min:3
必填 字符串 最小 3
|
||
| 服务器密码 | PASSWORD |
设置你的服务器密码。 | |
nullable|alpha_dash|max:128
可选 最大 128
|
||
| 服务器地图 | MAP |
服务器的地图。 选项: (豪宅,精神病院,剧院,博物馆,幽灵船,嘉年华,学校,墓地,玩偶工厂,购物中心) | Asylum |
required|string
必填 字符串
|
||
| 游戏模式 | GAME_MODE |
服务器游戏模式。 选项: (4v4 狩猎,6v6 狩猎,黑暗模式) | 4v4 Hunt |
required|string
必填 字符串
|
||
| 区域 | REGION |
专用服务器区域。 选项: (北美洲、南美洲、西欧、北欧、东欧、中东、亚洲、非洲、大洋洲) | Eastern Europe |
required|string
必填 字符串
|
||
| 机器人难度 | B_DIFFICULTY |
机器人的难度设置,自动模式会根据服务器中玩家的平均等级来决定难度。 选项: (简单、普通、困难、自动) | Auto |
required|string
必填 字符串
|
||
| 附加参数 | ADDITIONAL_ARGS |
额外参数如:-NoBots -NoAutobalance | |
nullable|string
可选 字符串
|
||
| 信标端口 | BEACON_PORT |
7787 |
required|numeric
必填 数字
|
镜像
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'
## 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
./steamcmd.sh +force_install_dir /mnt/server/MidnightGhostHunt/Binaries/Win64/ +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update 1007 +quit
## 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
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"version": "PTDL_v2",
"update_url": "https://eggs.pterodactyl.top/eggs/69/download/egg-midnight-ghost-hunt.json"
},
"exported_at": "2024-07-28T19:43:17+02:00",
"name": "Midnight Ghost Hunt",
"author": "josdekurk@gmail.com",
"uuid": "b8327da9-c298-4e5a-9271-04c35a377ce3",
"description": "混乱的多人在线捉迷藏游戏。在午夜钟声敲响前,扮演幽灵附身看似无害的物品,或作为猎人追捕它们!",
"features": [
"steam_disk_space"
],
"docker_images": {
"Proton": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:proton"
},
"file_denylist": [],
"startup": "proton run MidnightGhostHunt/Binaries/Win64/MidnightGhostHuntServer-Win64-Shipping.exe -server -log -port={{SERVER_PORT}} -queryport={{QUERY_PORT}} -BeaconPort={{BEACON_PORT}} -multihome=0.0.0.0 -Map={{MAP}} -Gamename=\"{{GAME_NAME}}\" -Gamemode=\"{{GAME_MODE}}\" -Region=\"{{REGION}}\" -BotDifficulty=\"{{B_DIFFICULTY}}\" -password=\"{{PASSWORD}}\" {{ADDITIONAL_ARGS}} & GH_PID=$!; sleep 1; tail -c0 -F /home/container/MidnightGhostHunt/Saved/Logs/MidnightGhostHunt.log --pid=$GH_PID",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"IpNetDriver listening on port\"\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\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./steamcmd.sh +force_install_dir /mnt/server/MidnightGhostHunt/Binaries/Win64/ +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update 1007 +quit\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\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": "应用ID",
"description": "",
"env_variable": "SRCDS_APPID",
"default_value": "1118810",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:1118810",
"field_type": "text"
},
{
"name": "Windows 安装程序",
"description": "",
"env_variable": "WINDOWS_INSTALL",
"default_value": "1",
"user_viewable": false,
"user_editable": false,
"rules": "boolean",
"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": "27015",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
},
{
"name": "游戏名称",
"description": "更改游戏名称。",
"env_variable": "GAME_NAME",
"default_value": "Dedicated_Server_01",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|min:3",
"field_type": "text"
},
{
"name": "服务器密码",
"description": "设置你的服务器密码。",
"env_variable": "PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|alpha_dash|max:128",
"field_type": "text"
},
{
"name": "服务器地图",
"description": "服务器的地图。\n\n选项:\n(豪宅,精神病院,剧院,博物馆,幽灵船,嘉年华,学校,墓地,玩偶工厂,购物中心)",
"env_variable": "MAP",
"default_value": "Asylum",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "游戏模式",
"description": "服务器游戏模式。\n\n选项:\n(4v4 狩猎,6v6 狩猎,黑暗模式)",
"env_variable": "GAME_MODE",
"default_value": "4v4 Hunt",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "区域",
"description": "专用服务器区域。\n\n选项:\n(北美洲、南美洲、西欧、北欧、东欧、中东、亚洲、非洲、大洋洲)",
"env_variable": "REGION",
"default_value": "Eastern Europe",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "机器人难度",
"description": "机器人的难度设置,自动模式会根据服务器中玩家的平均等级来决定难度。\n\n选项:\n(简单、普通、困难、自动)",
"env_variable": "B_DIFFICULTY",
"default_value": "Auto",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "附加参数",
"description": "额外参数如:-NoBots -NoAutobalance",
"env_variable": "ADDITIONAL_ARGS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "信标端口",
"description": "",
"env_variable": "BEACON_PORT",
"default_value": "7787",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
15
浏览
1
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06