Barotrauma Server Console Commands

Complete reference for Barotrauma server console commands — server management, player control, spawning, and more.

Console commands let admins manage the server, control players, and manipulate the game world. Press F3 in-game to open the console, or use the Console tab in the XGamingServer Panel.

📝 Note: Most commands require the ConsoleCommands permission or higher. Some commands require Admin or God rank. See Adding Admins to set up permissions.


Server & Round Management

CommandSyntaxDescription
startgamestartgameStart the current round
endgameendgameEnd the current round
restartrestartRestart the server
autorestartautorestart [true/false]Toggle auto-restart when empty
difficultydifficulty [0-100]Change level difficulty mid-round
gamemodegamemode [mode]Change game mode
subsub [name]Change the active submarine
botcountbotcount [0-16]Set number of AI bots
botspawnmodebotspawnmode [Normal/Fill]Set bot spawn behavior
servermsgservermsg [text]Broadcast a message to all players

Player Management

CommandSyntaxDescription
clientlistclientlistList all connected players and their IDs
kickkick [name]Kick a player
kickidkickid [client id]Kick a player by client ID
banban [name]Kick and ban a player
banidbanid [client id]Ban by client ID
unbanunban [name]Unban a player
mutemute [name]Mute a player's voice chat
unmuteunmute [name]Unmute a player
giverankgiverank [name] [Moderator/Admin/God]Assign a permission rank
givepermgiveperm [name] [permission]Grant a specific permission
givecommandpermgivecommandperm [name] [command]Allow a specific command
revokepermrevokeperm [name]Remove all permissions

Karma

CommandSyntaxDescription
togglekarmatogglekarmaToggle karma system on/off
showkarmashowkarmaShow all players' karma values
setkarmasetkarma [name] [0-100]Set a player's karma
resetkarmaresetkarma [name]Reset a player's karma to 50
togglekarmatestmodetogglekarmatestmodeEnable/disable karma test mode
traitorlisttraitorlistList current traitor assignments

Character & Health

CommandSyntaxDescription
healheal [name]Restore full health and remove afflictions
reviverevive [name]Revive a dead character
killkill [name]Instantly kill a character
godmodegodmode [name]Make a character invulnerable
freezefreeze [name]Freeze a character in place
teleportcharacterteleportcharacter [name]Teleport a character to your cursor
giveafflictiongiveaffliction [name] [affliction] [strength]Apply a status effect
setclientcharactersetclientcharacter [client] [character]Assign a client to a character
respawnnowrespawnnowForce an immediate respawn wave
freecamerafreecameraDetach camera for spectator view

Spawning

CommandSyntaxDescription
spawnspawn [creature/job] [near/inside/outside/cursor] [team]Spawn a creature or bot character
spawnitemspawnitem [item id] [location] [amount]Spawn items

Common creature IDs: crawler, mudraptor, hammerhead, husk, charybdis, endworm

Common item IDs: healthkit, oxygenite, shotgun, morphine, weldingtool


Submarine & Environment

CommandSyntaxDescription
fixhullsfixhullsRepair all hull damage instantly
fixitemsfixitemsRestore all items to full condition
oxygenoxygenFill all rooms with oxygen
powerpowerInstantly power up the reactor
waterwater [hull name] [%]Set water level in a specific hull section
firefire [hull name]Start a fire in a hull section
explosionexplosion [range] [force]Create an explosion at cursor
killmonsterskillmonstersKill all monsters in the level
teleportsubteleportsub [end/cursor]Teleport the submarine
godmode_mainsubgodmode_mainsubMake the submarine invulnerable

Campaign

CommandSyntaxDescription
campaigninfocampaigninfoShow current campaign state
campaigndestinationcampaigndestination [name]Force set the next campaign destination
moneymoney [amount] [character]Give campaign money
giveexperiencegiveexperience [amount] [name]Grant XP to a player
setskillsetskill [skill/all] [max/level] [name]Set a character's skill level
givetalentgivetalent [talent] [name]Grant a talent to a character

Skill names: medical, weapons, piloting, electrical, mechanical


💡 Tip: Run clientlist first to see the exact player names and IDs to use in other commands.

💡 Tip: Need help? Join our Discord for support.

How is this guide?

40% Off — Limited TimeGet your Barotrauma server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page