Assigning administrator privileges allows you to manage your server easily and comprehensively, with full control. As an admin, you can use all the options and features available in the game directly in-game. The steps you need to follow to assign administrator privileges on your server are described below.
You set the first admin, the Owner, in the Commands.dat file. To avoid any problems applying the changes, make sure your server is stopped first!
You will also need the player's Steam ID (64) so the server can identify them. You can use this tool as an example.
You can usually find the information you need on the tool's website simply by entering the player's name.
Open the Files tab for your game server and navigate to the Servers/Server/Server folder. The Commands.dat file is located there. Open it to edit.
Your server rewrites basic settings such as the server name, map, password, and GSLT in Commands.dat every time it starts. You should therefore change these settings in the Configuration tab. Additional lines you add yourself, such as Owner, are preserved after a restart.
The Owner has administrator privileges on your server. There can be exactly one Owner. Add the following on a new line, replacing the number with your own Steam64 ID:
Owner 76561198000000000
Save the file and start your server. Once you connect, you will have administrator privileges.
Do not add other admins to Commands.dat, because Admin is a command for the running server. As the Owner, enter it in the in-game chat:
/admin PlayerName
You can also enter the Steam64 ID instead of the player's name. Use /unadmin PlayerName to revoke their privileges. Unturned saves the admin list itself, so you do not need to edit any files.
Admins can enter commands in chat with / or @ before them. Some commands, such as those for spawning items, only work if Cheats is also included on a separate line in Commands.dat.
You can find an overview of the most important commands in Server Commands.
