How to change the password of a Barotrauma server
On SLASHPLAY, turn on Password protection on the server page and restart. In game, setpassword changes it until the next restart.
setpassword
Changes the server's join password. setserverpassword and password do the same.
setpassword <password> Examples
setpassword hunter2 Players need hunter2 to join.
Arguments
passwordRequired- The new password.
What it does
Sets the password players must type to join.
Good to know
- Type it in Barotrauma's console (F3) while connected to the server. You need the ConsoleCommands permission and
setpasswordon your command list. The Admin rank doesn't include it: add a<command name="setpassword"/>line under your entry inData/clientpermissions.xml, or have someone rungivecommandperm. The server page's Console tab can't send commands to Barotrauma. - SLASHPLAY manages this one: set it with Password protection in the Join password section of the server page. SLASHPLAY writes it into serversettings.xml on every start.
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.