W
描述
准备好迎接混乱了吗?《废渣赛车》重磅回归,带来最顶级的全接触式竞速体验与无与伦比的破坏快感!见证针锋相对的对决,将对手的车辆一块块撕碎。由《废渣赛车》与《横冲直撞》的创作者打造,搭载增强版物理引擎!
13 浏览
1 下载
2026-06-30
更新于 4 天前
预设配置详情
Wreckfest 2 服务端镜像
Steam 描述:准备好迎接混乱了吗?《 wreckfest 》回归了,带来最棒的全接触式赛车体验与无与伦比的破坏!见证针锋相对的对决,将对手的车辆一点点撕碎。由《 wreckfest 》与《 FlatOut 》的创作者开发,采用增强型物理引擎驱动!
所需端口
| 端口 | 默认用途 |
|---|---|
| 30100 | 游戏 |
服务器配置
其他服务器选项可在服务器配置文件 /save/server_config.scnf 中找到。服务器名称、密码和游戏端口由镜像变量/默认分配管理,并通过面板写入配置。请使用该配置文件调整面向游戏玩法的设置,例如服务器描述、管理设置、事件循环设置、车辆、赛道及轮换行为。
首次启动时将生成另一个文件 /save/default_loop.becl。该文件包含每个地图的选项,例如天气、游戏模式、旗帜、重置延迟和机器人数量。
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_latest
mkdir -p /home/container/save; rm -f /home/container/server.log; touch /home/container/server.log; echo ${STEAM_APPID_FILE:-1203190} > /home/container/steam_appid.txt; (Xvfb :99 -screen 0 1024x768x24 -ac & XVFB_PID=$!; tail -n +1 -F /home/container/server.log & LOG_PID=$!; export DISPLAY=:99; trap "kill ${LOG_PID} ${XVFB_PID} 2>/dev/null" EXIT; wine ./Wreckfest2.exe --server --save-dir="$(winepath -w /home/container/save)")
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| 服务器应用ID | SRCDS_APPID |
Wreckfest 2 专用服务器工具的 SteamCMD 应用 ID。 | 3519390 |
required|string|in:3519390
必填 字符串 选项: 3519390
|
||
| Steam 应用 ID 文件 | STEAM_APPID_FILE |
运行时写入steam_appid.txt的值。官方服务器批处理使用的是公开的Wreckfest 2应用ID。 | 1203190 |
required|string|in:1203190
必填 字符串 选项: 1203190
|
||
| 自动更新 | AUTO_UPDATE |
启动时自动更新。 | 1 |
boolean
布尔
|
||
| Windows 安装程序 | WINDOWS_INSTALL |
在 Windows 上设置为 1。 | 1 |
boolean
布尔
|
||
| 服务器名称 | SERVER_NAME |
服务器名称。 | Wreckfest 2 Server |
required|string|max:63
必填 字符串 最大 63
|
||
| 服务器密码 | SERVER_PASSWORD |
服务器密码。 | |
nullable|string|max:31
可选 字符串 最大 31
|
镜像
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.
#
##
# 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
echo ${STEAM_APPID_FILE:-1203190} > /mnt/server/steam_appid.txt
mkdir -p /mnt/server/save
cd /mnt/server/save
CONFIG_URL="https://raw.githubusercontent.com/pelican-eggs/games-steamcmd/main/wreckfest_2/server_config.scnf"
if [ ! -z "$CONFIG_URL" ]; then
if [ ! -f "/mnt/server/save/server_config.scnf" ]; then
echo "Downloading config from GitHub..."
curl -sSL -o server_config.scnf "$CONFIG_URL"
else
echo "Config file already exists, skipping download."
fi
fi
## 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/140/download/egg-wreckfest-2.json"
},
"exported_at": "2026-06-22T20:29:01+00:00",
"name": "Wreckfest 2",
"author": "djjoker13@gmail.com",
"description": "准备好迎接混乱了吗?《废渣赛车》重磅回归,带来最顶级的全接触式竞速体验与无与伦比的破坏快感!见证针锋相对的对决,将对手的车辆一块块撕碎。由《废渣赛车》与《横冲直撞》的创作者打造,搭载增强版物理引擎!",
"features": null,
"docker_images": {
"Wine Latest": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_latest"
},
"file_denylist": [],
"startup": "mkdir -p /home/container/save; rm -f /home/container/server.log; touch /home/container/server.log; echo ${STEAM_APPID_FILE:-1203190} > /home/container/steam_appid.txt; (Xvfb :99 -screen 0 1024x768x24 -ac & XVFB_PID=$!; tail -n +1 -F /home/container/server.log & LOG_PID=$!; export DISPLAY=:99; trap \"kill ${LOG_PID} ${XVFB_PID} 2>/dev/null\" EXIT; wine ./Wreckfest2.exe --server --save-dir=\"$(winepath -w /home/container/save)\")",
"config": {
"files": "{\r\n \"save/server_config.scnf\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"net server config.0.name\": \"{{server.build.env.SERVER_NAME}}\",\r\n \"net server config.0.password\": \"{{server.build.env.SERVER_PASSWORD}}\",\r\n \"net server config.0.game port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Server Started\"\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#\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# 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\necho ${STEAM_APPID_FILE:-1203190} > /mnt/server/steam_appid.txt\r\nmkdir -p /mnt/server/save\r\ncd /mnt/server/save\r\nCONFIG_URL=\"https://raw.githubusercontent.com/pelican-eggs/games-steamcmd/main/wreckfest_2/server_config.scnf\"\r\nif [ ! -z \"$CONFIG_URL\" ]; then\r\n if [ ! -f \"/mnt/server/save/server_config.scnf\" ]; then\r\n echo \"Downloading config from GitHub...\"\r\n curl -sSL -o server_config.scnf \"$CONFIG_URL\"\r\n else\r\n echo \"Config file already exists, skipping download.\"\r\n fi\r\nfi\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": "Wreckfest 2 专用服务器工具的 SteamCMD 应用 ID。",
"env_variable": "SRCDS_APPID",
"default_value": "3519390",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:3519390",
"field_type": "text"
},
{
"name": "Steam 应用 ID 文件",
"description": "运行时写入steam_appid.txt的值。官方服务器批处理使用的是公开的Wreckfest 2应用ID。",
"env_variable": "STEAM_APPID_FILE",
"default_value": "1203190",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:1203190",
"field_type": "text"
},
{
"name": "自动更新",
"description": "启动时自动更新。",
"env_variable": "AUTO_UPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "Windows 安装程序",
"description": "在 Windows 上设置为 1。",
"env_variable": "WINDOWS_INSTALL",
"default_value": "1",
"user_viewable": false,
"user_editable": false,
"rules": "boolean",
"field_type": "text"
},
{
"name": "服务器名称",
"description": "服务器名称。",
"env_variable": "SERVER_NAME",
"default_value": "Wreckfest 2 Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:63",
"field_type": "text"
},
{
"name": "服务器密码",
"description": "服务器密码。",
"env_variable": "SERVER_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:31",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
13
浏览
1
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06