- Stop the server, open server.cfg in Files, and remove the // in front of the passwordAdmin line. Set it to your own admin password inside the quotes. If there is no passwordAdmin line in the file, add this line yourself:
passwordAdmin = "yourpassword";with your own password. - Optional: to let trusted players log in without a password, remove the // in front of the admins[] line and list their player UIDs (their Steam ID 64 number) inside the braces, separated by commas.
- Start the server and join it from the game.
- In game, open chat (the / key by default), type #login followed by your admin password, and press Enter. If you are listed in admins[], type just #login.
- Once logged in, type #missions to choose a mission. Type #logout when you are done.
- Only one logged-in admin can be active at a time, and a new admin cannot log in until the current one logs out.
Useful admin commands
| Command | What it does |
|---|---|
#login password | Logs you in as admin. Without a password it only works if your UID is in the admins list. |
#logout | Logs you out of admin. |
#missions | Shows the list of available missions so you can pick one. |
#mission filename difficulty | Loads a mission by name, with an optional difficulty, for example #mission myDM.intro Veteran. |
#restart | Restarts the current mission. |
#reassign | Restarts the mission and sends everyone back to role selection. |
#lock | Locks the server so no new players can join. |
#unlock | Unlocks the server again. |
#kick name | Kicks a player by name, ID or player number. |
#exec ban "name" | Bans a player. Their ID is added to ban.txt in the main folder. |
#exec unban "UID" | Removes a ban for one UID. |
#userlist | Lists the players on the server. |
#monitor | Shows server performance information. |
Admin commands starting with # are typed in the in-game chat after you log in. See How to use the console and run commands.





