教程 · 策略与模拟 · barotrauma
如何搭建服务器: Barotrauma Dedicated
使用 Server Dock 管理的 Barotrauma Dedicated 专用服务器(Windows · Linux)。支持自动安装、实时控制台、可视化配置与自动备份。
真实资源消耗计算器 · Barotrauma Dedicated
根据在线人数、地图与集群数量估算真实内存、CPU 与磁盘需求,避免虚高配置。
对于 2–10 人的好友联机,实际内存占用通常比参考上限低 1.5–2 倍。
分步安装与启动教程
1. 在电脑、Steam Deck 或 Linux VPS 上安装 Server Dock 代理
在 server-dock.net 创建免费账号。在「下载」页面获取安装程序并在 Windows 10/11 (x64) 或 Linux / VPS / Steam Deck (x86-64) 上运行。在向导中点击「Подключить мой аккаунт」(连接我的账号),然后在网站上输入 8 位代码。安装包已内置 Python。
# Windows (PowerShell) irm https://server-dock.net/install.ps1 | iex # Linux curl -fsSL https://server-dock.net/install.sh | bash
2. 在目录中创建「Barotrauma Dedicated」服务器
在面板中打开「游戏与服务」→ 搜索「Barotrauma Dedicated」→ 选择设备。面板会自动检查可用内存(建议 4 GB+)与磁盘空间(5 GB+)。
3. 自动准备与安装(通过 SteamCMD 自动安装)
代理会自动下载 SteamCMD 并拉取官方专用服务端文件。部分游戏需要拥有许可的 Steam 账号或本地 Steam 库。
4. 配置参数并启动服务器
在「设置」标签页配置服务器名称、密码、地图/世界与端口(27015 (服务器端口)),点击启动后可在实时控制台查看就绪状态。
5. 邀请好友加入服务器
打开「连接」标签页:在路由器或 VPS 防火墙放行端口(27015 (服务器端口)),或开启内置 Porthole、Playit 或自建 VPS 隧道(无需公网 IP)。一键分享邀请链接给好友。
网络端口 · Barotrauma Dedicated
如需好友直连,请在路由器或 VPS 防火墙放行以下端口。如果处于内网/CGNAT 环境,可直接在 Server Dock 中启用内置 Porthole、Playit 或 VPS 隧道向导。
| 用途 | 默认端口 | 说明 |
|---|---|---|
| 服务器端口 | 27015 | 默认服务器网络端口。 |
面板主要配置参数
| 参数 | 默认值 | 说明 |
|---|---|---|
| 服务器端口 | 27015 | 可在启动前于网页面板中配置。 |
| Query | 27016 | 可在启动前于网页面板中配置。 |
| 最大玩家数 | 8 | 可在启动前于网页面板中配置。 |
| 密码 | — | 可在启动前于网页面板中配置。 |
| Karma | true | 可在启动前于网页面板中配置。 |
| Voice Chat | true | 可在启动前于网页面板中配置。 |
| Server Message | Welcome to Barotrauma! | 可在启动前于网页面板中配置。 |
| Is Public | true | 可在启动前于网页面板中配置。 |
| Language | English | 可在启动前于网页面板中配置。 |
| Autorestart | false | 可在启动前于网页面板中配置。 |
| Game Mode Identifier | sandbox | 可在启动前于网页面板中配置。 |
| Mode Selection Mode | Manual | 可在启动前于网页面板中配置。 |
| Sub Selection Mode | Manual | 可在启动前于网页面板中配置。 |
| Selected Submarine | — | 可在启动前于网页面板中配置。 |
备份与存档路径
创建备份时,Server Dock 会自动归档以下路径: serversettings.xml, Submarines, Data, data, .home/.local/share/Daedalic Entertainment GmbH/Barotrauma, config_player.xml, clientpermissions.xml, banlist.xml.
官方文档
更多游戏参数请参阅 Barotrauma Dedicated 官方文档 ↗.
Barotrauma Dedicated Server FAQ
How do I host a Barotrauma Dedicated dedicated server on my own PC?
Sign up for Server Dock, install the lightweight Windows or Linux agent, pick Barotrauma Dedicated from the catalog, and click Create. Server files and dependencies are installed automatically.
What are the RAM, disk, and OS requirements for a Barotrauma Dedicated server?
Recommended minimum: 4 GB RAM and 5 GB free disk space. Supported platforms: Windows · Linux.
Which ports does Barotrauma Dedicated use, and can friends join without port forwarding?
Default Barotrauma Dedicated ports: 27015. You can forward them on your router or enable the built-in Playit / Porthole tunnel in one click with zero router changes.
Is Server Dock free for hosting a Barotrauma Dedicated server?
Yes. Server Dock Free is free forever and keeps all Barotrauma Dedicated worlds, mods, and backups locally on your own PC or VPS.
Ready to host your Barotrauma Dedicated server?
Create a free account or sign in to Server Dock—our agent downloads Barotrauma Dedicated, configures ports, and launches your world in minutes.
「策略与模拟」分类下的更多教程
- Astro Colony Dedicated Server使用 Server Dock 管理的 Astro Colony Dedicated Server 专用服务器(Windows · Linux)。支持自动安装、实时控制台、可视化配置与自动备份。
- Astro Colony Server · Proton使用 Server Dock 管理的 Astro Colony Server · Proton 专用服务器(Linux)。支持自动安装、实时控制台、可视化配置与自动备份。
- Astroneer Dedicated Server使用 Server Dock 管理的 Astroneer Dedicated Server 专用服务器(Windows)。支持自动安装、实时控制台、可视化配置与自动备份。
- Astroneer Server · Proton使用 Server Dock 管理的 Astroneer Server · Proton 专用服务器(Linux)。支持自动安装、实时控制台、可视化配置与自动备份。
- Avorion Dedicated Server使用 Server Dock 管理的 Avorion Dedicated Server 专用服务器(Windows · Linux)。支持自动安装、实时控制台、可视化配置与自动备份。
- Carrier Command 2 · Proton使用 Server Dock 管理的 Carrier Command 2 · Proton 专用服务器(Linux)。支持自动安装、实时控制台、可视化配置与自动备份。