Skip to content
/SLASHPLAY

How to change the game mode on a Barotrauma server

In the F3 console, type gamemode mission to play mission mode next round. GameModeIdentifier in serversettings.xml sets the starting mode.

gamemode

Picks the game mode for the next round, by name or number.

gamemode <mode>

Examples

gamemode mission

Mission mode next round.

gamemode 0

Sandbox.

Arguments

modeRequired
The game mode's name or index: sandbox, mission, pvp or multiplayercampaign.

What it does

Game modes are numbered from 0: 0 is sandbox, 1 is mission, and so on.

Good to know

  • Type it in Barotrauma's console (F3) while connected to the server. You need the ConsoleCommands permission and gamemode on your command list; the Admin rank has both. The server page's Console tab can't send commands to Barotrauma.

Run it on your server

The Console tab can't send commands to Barotrauma: a player with permission types them in the game's console (F3), after being made admin in Data/clientpermissions.xml. Settings go in serversettings.xml on the Files tab and apply at the next restart. New to this? Start a Barotrauma server first.

Your own
Barotrauma server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.