background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
分类

OpenTTD 服务器设置指南


本指南涵盖如何设置和配置由 Legion Hosting 托管的 OpenTTD 专用服务器。OpenTTD 是一款基于 Transport Tycoon Deluxe 的开源交通模拟游戏,支持最多 15 家公司的多人游戏。有关管理命令和服务器管理,请参阅 OpenTTD 服务器管理指南

1. 访问您的服务器

  1. 登录 GPanel
  2. 从服务器列表中选择您的 OpenTTD 服务器。
  3. 您的服务器 IP 和端口显示在 控制台 选项卡上。详情请参阅 如何查找服务器 IP 和端口
注意: 除非您拥有私有 IP,否则端口是随机分配的。连接时请使用 GPanel 中显示的端口。

2. 启动变量

在 GPanel 的 启动 选项卡中配置这些设置:

变量 环境变量名称 默认值 描述
服务器名称 srv_name OpenTTD Server 服务器列表中显示的名称(最多 20 个字符)。
显示在主列表中 srv_advertise true 设置为 false 可从公共服务器列表中隐藏。

3. 配置文件

主配置文件是服务器根目录中的 openttd.cfg。面板会自动设置服务器端口、名称和广播选项。您可以通过 SFTP 自定义以下关键部分:

部分 / 键 描述
[network] server_password 加入服务器的密码。留空表示公开访问。
[network] rcon_password 远程控制台访问密码。
[network] admin_password 管理端口(端口 3977)的密码。
[network] max_clients 最大连接客户端数(默认:25)。
[network] max_companies 最大公司数(默认:15)。
[network] max_spectators 最大旁观者数(默认:15)。
[network] pause_on_join 新玩家下载地图时暂停游戏(默认:true)。
[network] autoclean_companies 自动清理非活跃公司(默认:false)。
[difficulty] max_no_competitors 最大 AI 竞争对手数量(默认:0)。
[game_creation] starting_year 游戏开始年份(默认:1950)。
[game_creation] map_x / map_y 地图大小,以 2 的幂表示(默认:8,即 256x256)。
[gui] autosave 自动保存频率:off、monthly、quarterly、half-yearly、yearly。
重要: 编辑 openttd.cfg 后,请重启服务器以使更改生效。面板会在每次启动时覆盖 server_portserver_nameserver_advertise 的值。

4. 连接到您的服务器

  1. openttd.org 下载 OpenTTD(免费)。
  2. 启动 OpenTTD 并点击 Multiplayer
  3. 在列表中找到您的服务器,或点击 Add Server 并输入您的 IP:Port。
  4. 点击 Join Game 并创建或加入公司。

5. 首次设置清单

  1. 在启动选项卡中为您的服务器设置 srv_name
  2. 编辑 openttd.cfg 设置 rcon_password 以进行远程管理。
  3. 根据需要配置地图大小、起始年份和难度。
  4. 启动服务器并验证控制台中显示 Map generated, starting game

相关文章

需要帮助?

如果您的 OpenTTD 服务器遇到问题,请 提交工单,并附上您的服务器 IP、问题描述以及 GPanel 控制台中的任何错误信息。


这篇文章对您有帮助吗?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.