4 min readUpdated Oct 23, 2026

Barotrauma Server Console Commands List

Console commands let you manage your Barotrauma server while it runs. Type help to see every command, or help and a command name, like help kick, to see how to use it.

How To Use Console Commands

  1. 1
    Log in to Bropanel and select your server.
  2. 2
    In the sidebar, go to Console.
  3. 3
    Type your command and press Enter.

Note

Server settings changed in the console, like the server name, password or max players, reset when your server restarts. To keep a change, set it in Settings instead. Bans and admin ranks are saved.

Common Commands

CommandDescription
helpLists every console command.
clientlistLists the players on the server and their client IDs.
say Hello everyoneSends a chat message to all players, shown as HOST.
msg Hello everyoneSends a chat message with no sender name.
servermsg Welcome aboardChanges the message shown in the server lobby.
servername My ServerChanges the server name.
setpassword MyPasswordChanges the server password.
setmaxplayers 10Changes the max player count.
startgameStarts a new round.
endgameEnds the current round.
gamemode missionSets the game mode for the next round, by name or number (0 is sandbox, 1 is mission).
sub TyphonSets the submarine for the next round.
shuttle SelkieSets the respawn shuttle for the next round.
difficulty 50Sets the level difficulty, from 0 to 100.
botcount 2Sets how many bots join the crew.
botspawnmode fillWith fill, bots only fill the crew up to botcount. With normal, the server always adds botcount bots.
autorestart trueTurns automatic round starts on or off.
autorestartinterval 60Sets how many seconds the server waits between rounds.
startwhenclientsready trueStarts the round once players are ready.
seed MySeedSets the level seed for the next round.
randomizeseedTurns a random level seed for each round on or off.
togglekarmaTurns the karma system on or off.
dumptofileSaves the console output to consoleOutput.txt in your server's files.

Player Commands

CommandDescription
kick PlayerNameKicks a player.
kickid 2Kicks a player by their client ID from clientlist.
ban PlayerNameBans a player.
banid 2Bans a player by their client ID.
banaddress STEAM_1:1:73037963Bans a player who isn't online, by their Steam ID.
unban PlayerNameRemoves a ban by player name.
unbanaddress STEAM_1:1:73037963Removes a ban by Steam ID.
mute PlayerNameStops a player from using voice chat. unmute undoes it.

After a kick or ban command, the console asks for a reason. Ban commands then ask how long the ban lasts, like 7 d for 7 days or 2 h for 2 hours. The Bropanel console can't send an empty answer, so for a permanent ban, type 36500 d. Type each answer and press Enter, or type c to cancel.

Bans are saved to Data/bannedplayers.xml and stay after a restart. Write Steam IDs as STEAM_1:..., like in the adding admins guide. A SteamID64 like 76561198106341655 only works when written as STEAM64_76561198106341655.

Admin Commands

These work on players who are on the server, by name or client ID. Admin rights given here are saved to Data/clientpermissions.xml, so they stay after a restart.

CommandDescription
giverank PlayerName AdminGives a player a rank: Admin, Moderator or None. For example, giverank HurpTurp Admin makes HurpTurp an admin.
giveperm PlayerNameGives a player one permission. The console asks which one.
revokeperm PlayerNameTakes a permission away.
givecommandperm PlayerNameLets a player use console commands. The console asks which ones. Type all to allow every command.
revokecommandperm PlayerNameTakes console command access away.
showperm PlayerNameShows a player's permissions.

Cheat Commands

Type enablecheats first. Cheats stay on until your server restarts, and they turn off Steam achievements for that session.

CommandDescription
enablecheatsTurns on cheat commands.
fixhullsRepairs every wall.
fixitemsRepairs every item.
oxygenRefills the oxygen in every room.
powerPowers up the submarine's reactor.
killmonstersKills every monster in the level.
godmode_mainsubMakes the submarine take no damage.
heal PlayerNameHeals a player's character.
revive PlayerNameBrings a dead player's character back.
money 1000Gives the crew money in a campaign.

LuaCs Commands

With Lua modding enabled, you also get these:

CommandDescription
lua print('hi')Runs a line of Lua. Use single quotes inside it.
reloadluaReloads LuaCs and every Lua mod.