O
描述
OpenTTD 是一款基于 Chris Sawyer 开发的经典 Microprose 游戏《Transport Tycoon Deluxe》的开源模拟游戏。它试图尽可能还原原版游戏,同时通过新功能进行扩展。 OpenTTD 以 Chris Sawyer 的原版《Transport Tycoon》游戏为模型,大幅提升了游戏体验。许多功能灵感来自 TTDPatch,而其他功能则是原创的。
93 浏览
2 下载
2026-07-01
更新于 22 小时前
预设配置详情
OpenTTD
OpenTTD 是一款商业模拟游戏,玩家通过公路、铁路、水路和航空运输乘客及货物来赚取收入。它是1995年Chris Sawyer开发的游戏《运输大亨豪华版》的开源重制版及扩展。
服务器端口
| 端口 | 默认值 |
|---|---|
| 游戏 | 3979 |
| 管理 | 3977 |
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:debian
./openttd -D
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| 服务器名称 | srv_name |
服务器列表中显示的名称 | OpenTTD Server |
required|string|max:20
必填 字符串 最大 20
|
||
| 在主列表中显示? | srv_advertise |
在客户端服务器列表中显示该服务器,启用或禁用 | true |
required|string|in:true,false
必填 字符串 选项: true,false
|
||
| OpenTTD 版本 | OPENTTD_VERSION |
OpenTTD的版本,即12.2 | 13.0-RC2 |
required|string|max:20
必填 字符串 最大 20
|
||
| OpenGFX版本 | OPENGFX_VERSION |
OpenGFX版本即7.1 | 7.1 |
required|string|max:20
必填 字符串 最大 20
|
镜像
alpine:latest
入口
ash
#!/bin/ash
apk add --no-cache xz curl tar unzip
mkdir -p /mnt/server
cd /mnt/server
echo -e "
curl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz"
curl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz
echo -e "
Unpacking tar"
tar -xf openttd-linux.tar.xz --strip-components=1
rm openttd-linux.tar.xz
chmod +x openttd
echo -e "
Running curl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip"
curl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip
unzip opengfx.zip
tar --strip-components=1 -C baseset/ -xvf opengfx*.tar
rm -fR open*zip open*tar open*gz
[ -f /home/container/openttd.cfg ] || curl https://raw.githubusercontent.com/parkervcp/eggs/master/game_eggs/tycoon_games/openttd/openttd.cfg > openttd.cfg
## 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/241/download/egg-openttd.json"
},
"exported_at": "2024-10-21T21:46:13+02:00",
"name": "OpenTTD",
"author": "admin@justmyrandomstuff.com",
"description": "OpenTTD 是一款基于 Chris Sawyer 开发的经典 Microprose 游戏《Transport Tycoon Deluxe》的开源模拟游戏。它试图尽可能还原原版游戏,同时通过新功能进行扩展。\n\nOpenTTD 以 Chris Sawyer 的原版《Transport Tycoon》游戏为模型,大幅提升了游戏体验。许多功能灵感来自 TTDPatch,而其他功能则是原创的。",
"features": null,
"docker_images": {
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:debian": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:debian"
},
"file_denylist": [],
"startup": "./openttd -D",
"config": {
"files": "{\r\n \"openttd.cfg\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"network.server_port\": \"{{server.build.default.port}}\",\r\n \"network.server_name\": \"{{server.build.env.srv_name}}\",\r\n \"network.lan_internet\": 0,\r\n \"network.server_advertise\": \"{{server.build.env.srv_advertise}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Map generated, starting game\"\r\n}",
"logs": "{}",
"stop": "exit"
},
"scripts": {
"installation": {
"script": "#!/bin/ash\r\napk add --no-cache xz curl tar unzip\r\n\r\nmkdir -p /mnt/server\r\ncd /mnt/server\r\n\r\necho -e \"\\ncurl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz\"\r\ncurl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz \r\n\r\necho -e \"\\nUnpacking tar\"\r\ntar -xf openttd-linux.tar.xz --strip-components=1\r\nrm openttd-linux.tar.xz\r\nchmod +x openttd\r\n\r\necho -e \"\\nRunning curl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip\"\r\ncurl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip\r\nunzip opengfx.zip \r\n\r\ntar --strip-components=1 -C baseset/ -xvf opengfx*.tar\r\nrm -fR open*zip open*tar open*gz\r\n\r\n[ -f /home/container/openttd.cfg ] || curl https://raw.githubusercontent.com/parkervcp/eggs/master/game_eggs/tycoon_games/openttd/openttd.cfg > openttd.cfg\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "alpine:latest",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "服务器名称",
"description": "服务器列表中显示的名称",
"env_variable": "srv_name",
"default_value": "OpenTTD Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "在主列表中显示?",
"description": "在客户端服务器列表中显示该服务器,启用或禁用",
"env_variable": "srv_advertise",
"default_value": "true",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:true,false",
"field_type": "text"
},
{
"name": "OpenTTD 版本",
"description": "OpenTTD的版本,即12.2",
"env_variable": "OPENTTD_VERSION",
"default_value": "13.0-RC2",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "OpenGFX版本",
"description": "OpenGFX版本即7.1",
"env_variable": "OPENGFX_VERSION",
"default_value": "7.1",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}附属文件
暂无附属文件
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!
统计
93
浏览
2
下载
0
星标
0
复刻
作者
飒
飒爽师叔
UID: 1
279 预设
·
2026-06