巴
描述
《巴士》是下一代城市公交驾驶模拟游戏。在德国首都柏林,以1:1的真实比例,在不同线路上驾驶多种巴士售票并运送乘客。
21 浏览
1 下载
2026-06-30
更新于 13 小时前
预设配置详情
巴士
Steam 描述:
《巴士》是下一代城市巴士驾驶模拟游戏。在德国首都柏林,以1:1的真实比例,在不同线路上驾驶各种巴士售票并运送乘客。
服务器端口
| 端口 | 默认值 |
|---|---|
| 游戏 | 7778 |
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian
TheBus/Binaries/Linux/TheBusServer_Linux -log -newconsole -useperfthreads -port={{SERVER_PORT}}
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| 管理员密码 | ADMIN_PASSWORD |
在服务器上以管理员身份登录的密码 | |
required|string|min:8
必填 字符串 最小 8
|
||
| 自动更新 | AUTO_UPDATE |
启动时自动更新服务器 | 1 |
boolean
布尔
|
||
| 最大玩家数 | MAX_PLAYERS |
服务器允许的最大玩家数量 | 20 |
required|numeric
必填 数字
|
||
| 在服务器列表中显示 | SERVER_LIST |
是否应在服务器列表中显示该服务器 | 0 |
boolean
布尔
|
||
| 服务器名称 | SERVER_NAME |
服务器名称 | The Bus Server |
required|string
必填 字符串
|
||
| 服务器密码 | SERVER_PASSWORD |
加入服务器需要密码。留空则无需密码。 | |
nullable|string
可选 字符串
|
||
| 应用ID | SRCDS_APPID |
507320 |
in:507320
选项: 507320
|
|||
| Beta ID | SRCDS_BETAID |
测试版分支的名称 | |
nullable|string
可选 字符串
|
||
| Beta 密码 | SRCDS_BETAPASS |
测试版分支的密码。如不需要请留空。 | |
nullable|string
可选 字符串
|
镜像
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian
入口
bash
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# 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
## 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/124/download/egg-the-bus.json"
},
"exported_at": "2025-07-14T16:15:15+00:00",
"name": "The Bus",
"author": "quinten@pelican.dev",
"description": "《巴士》是下一代城市公交驾驶模拟游戏。在德国首都柏林,以1:1的真实比例,在不同线路上驾驶多种巴士售票并运送乘客。",
"features": [
"steam_disk_space"
],
"docker_images": {
"SteamCMD": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian"
},
"file_denylist": [],
"startup": "TheBus/Binaries/Linux/TheBusServer_Linux -log -newconsole -useperfthreads -port={{SERVER_PORT}}",
"config": {
"files": "{\n \"TheBus/Settings/ServerSettings.cfg\": {\n \"parser\": \"json\",\n \"find\": {\n \"serverName\": \"{{server.build.env.SERVER_NAME}}\",\n \"serverPassword\": \"{{server.build.env.SERVER_PASSWORD}}\",\n \"adminPassword\": \"{{server.build.env.ADMIN_PASSWORD}}\",\n \"listServerAsPublic\": \"{{server.build.env.SERVER_LIST}}\",\n \"maxPlayerCount\": \"{{server.build.env.MAX_PLAYERS}}\"\n }\n }\n}",
"startup": "{\n \"done\": \"LogLoad: (Engine Initialization)\"\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\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\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": "管理员密码",
"description": "在服务器上以管理员身份登录的密码",
"env_variable": "ADMIN_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|min:8",
"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": "MAX_PLAYERS",
"default_value": "20",
"user_viewable": true,
"user_editable": true,
"rules": "required|numeric",
"field_type": "text"
},
{
"name": "在服务器列表中显示",
"description": "是否应在服务器列表中显示该服务器",
"env_variable": "SERVER_LIST",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "服务器名称",
"description": "服务器名称",
"env_variable": "SERVER_NAME",
"default_value": "The Bus Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "服务器密码",
"description": "加入服务器需要密码。留空则无需密码。",
"env_variable": "SERVER_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "应用ID",
"description": "",
"env_variable": "SRCDS_APPID",
"default_value": "507320",
"user_viewable": false,
"user_editable": false,
"rules": "in:507320",
"field_type": "text"
},
{
"name": "Beta ID",
"description": "测试版分支的名称",
"env_variable": "SRCDS_BETAID",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "Beta 密码",
"description": "测试版分支的密码。如不需要请留空。",
"env_variable": "SRCDS_BETAPASS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
21
浏览
1
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06