Revision Difference
Dedicated_Server#546714
⤶
<cat>Play.Intro</cat>
<title>Ddicated servers</title>⤶
<title>Dedicated Servers</title>⤶
<note>There's no Linux server build yet, there will be one in the future.</note>
# Downloading
You can use [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD) to download the dedicated server.
```
steamcmd +force_install_dir c:\steamcmd\sboxserver +login anonymous +app_update 1892930 validate +quit
```
# Launching
Mainly the same as launching any other source server, specify the org+ident for game and map and it'll all download automatically.
```
sbox-server.exe +gamemode facepunch.sandbox +map baks.office
```
# Connecting
Players connect through your servers Steam ID, there's no need to worry about port forwarding or anything, you can get your ID through the status command.
```
status
...
11:04:39 Server steamid : [A:1:226429961:19625] (90156281507023881)
11:04:39 Server udp/ip : 192.168.1.247:27015 (public 169.254.181.222:22216)
...
```
Players do `connect 90156281507023881`
# Troubleshooting
Make sure you have updated the server to the latest version. If you have Steam installed on the host machine, make sure it is updated.
⤶
⤶
# 以下为中文翻译版⤶
## (由魚が大好きな猫neko人工翻译)⤶
⤶
<note>现在还没有Linux使用的服务端,以后会有的</note>⤶
⤶
# 服务端下载⤶
⤶
你需要用 [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD) 来下载服务端⤶
⤶
```⤶
steamcmd +force_install_dir c:\steamcmd\sboxserver +login anonymous +app_update 1892930 validate +quit⤶
```⤶
⤶
⤶
# 启动⤶
⤶
和其他起源引擎服务器启动方式大致相同,为游戏模式和地图指定org+ident,他们会自动下载⤶
⤶
```⤶
sbox-server.exe +gamemode facepunch.sandbox +map baks.office⤶
```⤶
⤶
# 连接⤶
⤶
玩家通过你服务器的Steam ID连接,不用担心端口转发什么的,也可以通过connect服务器ip进行连接,你可以通过在控制台输入status命令获取你的服务器状态和Steam ID⤶
⤶
```⤶
status⤶
...⤶
11:04:39 Server steamid : [A:1:226429961:19625] (90156281507023881)⤶
11:04:39 Server udp/ip : 192.168.1.247:27015 (public 169.254.181.222:22216)⤶
...⤶
```⤶
⤶
玩家输入 `connect 90156281507023881`⤶
⤶
# 故障排除⤶
⤶
确保您已将服务器更新到最新版本。如果您在主机上安装了 Steam,请确保它已更新