How to Use the Barotrauma Server Console
Full reference for Barotrauma server console commands — kick, ban, spawn, respawn, save, and more. Covers both the server window and in-game console.
Accessing the Console
Server console window: The dedicated server runs with a terminal/command window. Type commands directly there. Any admin with physical or remote access to the server machine can use this.
In-game console: Players with ConsoleCommands permission can open the console in-game with F3 (default). Commands entered there affect the server.
Commands are case-sensitive. Player names with spaces need quotes: kick "Player Name".
Full Command Reference
| Command | Description |
|---|---|
kick [name] |
Remove a player from the current session |
ban [name] |
Ban a player by name |
ban [steamid] |
Ban a player by SteamID |
unban [name] |
Remove a ban by player name |
unban [steamid] |
Remove a ban by SteamID |
listbans |
Print a list of all banned players |
startgame |
Start the current round |
endround |
End the current round immediately |
save |
Force-save the campaign state |
respawn [name] |
Force-respawn a specific player |
heal [name] |
Fully restore a player's health |
teleport [name] |
Teleport a player to your current location |
spawn [creature] [count] |
Spawn creatures in the current level |
god |
Toggle god mode for yourself |
traitor |
Reveal the current round's traitor |
togglepvp |
Toggle PvP mode on/off |
togglekarma |
Toggle the karma system |
setskill [name] [skill] [level] |
Set a player's skill level (0–100) |
giveitem [name] [item] |
Give a player a specific item |
revive [name] |
Revive a dead player (same as respawn) |
listplayers |
List all connected players and their SteamIDs |
Spawn Creature Names
Some common creature IDs for the spawn command:
spawn crawler 3
spawn husk 1
spawn hammerhead 1
spawn endworm 1
spawn moloch 1
Check the Barotrauma wiki for the full list of valid entity IDs.
Setting Skill Levels
Useful for testing or helping a player catch up:
setskill "PlayerName" mechanical 100
setskill "PlayerName" medical 75
setskill "PlayerName" weapons 50
Valid skills: mechanical, electrical, weapons, medical, helm.
Saving During a Session
The save command writes the current campaign state to disk immediately. Use it before a planned server restart or after a long session where the crew didn't hit a natural autosave point:
save