01
Become an admin
The official Smartly Dressed Games documentation gives three ways to add an admin:
- the
Owner command, in the Servers/MonServeur/Server/Commands.dat file, followed by your SteamID64 (the 17-digit Steam ID). That is the server owner;
- the
Admin command, typed while the server is running, followed by the player's SteamID64 or name;
- the server's
Adminlist.dat file.
Owner 76561190000000000
The ID above is an example: replace it with yours. Unadmin followed by the player removes the rights, and Admins prints the list of admins in the console. The Hide_Admins line in Commands.dat hides the admin label from players.
MonServeur is the server ID chosen at launch (+InternetServer/MonServeur), as in the guide create an Unturned dedicated server. Files are edited over SSH (see connecting to a VPS over SSH); restart the server after changing Commands.dat: most settings cannot be changed while it is running.
02
Where to type commands
The Unturned wiki sorts each command by where it works:
- config: a line in
Commands.dat, read at startup (Owner, Map, Password, PvE, Cheats…);
- runtime: typed while the server is running (
Admin, Ban, Kick, Time…);
- any: valid in
Commands.dat as well as during the game (Save, Shutdown, MaxPlayers, Name, Welcome…).
While the server is running, commands can be typed in two ways:
- in the server console. With the method from the installation guide, it lives in the
screen session: screen -r unturned to get back to it, Ctrl+A then D to leave it without stopping the server;
- in the game chat, prefixed with
/ or @: admins only.
Parameters are separated by slashes, and a player is named by SteamID64 or by name. Help prints the list of commands, and Help followed by a command name describes it.
The base server has no RCON like Valve games do: it reads commands from its console. The official documentation provides a programming interface (Command IO) that a module can replace, for example for a remote console; the module then sets the rules.
03
Managing players
The moderation commands, typed while the server is running:
Kick player/reason: disconnects the player, who can come back;
Ban player/reason/duration: bans the player. With no reason or duration, the ban lasts 31,536,000 seconds, or 365 days, according to the wiki: the duration is written in seconds;
Unban SteamID64: lifts the ban (by ID, not by name);
Bans: lists banned players in the console;
Slay player/reason: kills the player in game, then bans them (365 days by default);
Kill player: kills the player, without a ban;
Spy player: requests a screenshot from the player;
Teleport player/target: sends a player to another player, a map location, their waypoint (wp) or a bed;
Players: lists connected players in the console;
Say text: sends a message to all players, green by default (an RGB colour can follow: Say text/R/G/B).
Players
Kick Ragnar/Language
Ban 76561190000000000/Cheating/86400
Bans
Unban 76561190000000000
Here, 86,400 seconds is one day. Prefer banning by SteamID64: a name can be changed.
The whitelist. The Whitelisted line in Commands.dat limits the server to permitted players. You add them during the game with Permit SteamID64/note (the note reminds you who it is), remove them with Unpermit SteamID64, and Permits prints the list.
04
Server settings, time and weather
The basic settings live in Commands.dat, one command per line:
Name My Unturned Server
Map PEI
MaxPlayers 24
Password APassword
PvE
Cheats
Welcome Welcome to the server
Owner 76561190000000000
Name, Map, MaxPlayers: the name, the map (PEI by default) and the player count;
Password: the join password. The wiki notes it is only protected by a SHA-1 hash: do not reuse one you use elsewhere;
PvE: disables player-versus-player combat;
Welcome: the message shown to players when they join, with an optional colour (Welcome text/R/G/B);
Cheats: allows cheat commands for admins.
Cheat commands. With Cheats, an admin can use Give player/item/amount (an item by ID or name), Vehicle player/vehicle (a vehicle in front of the player), Experience player/points and Reputation player/points. On a public survival server, keep Cheats commented out (// Cheats).
Time and weather, during the game:
Day and Night: switch to day or night;
Time followed by a number: sets the time of the day-night cycle, in seconds;
Cycle followed by a number: the length of a full cycle, in seconds;
Weather: acts on the weather, with None, Disable, Storm, Blizzard or the ID (GUID) of a weather type. The wiki does not detail what each value does: try them on a test server.
Save and stop. The server has no built-in autosave: Save saves the game, and Shutdown saves it, disconnects players and closes the server. Without parameters, the shutdown is immediate. Type Save before each copy of the Servers/MonServeur folder, and schedule that copy with a scheduled task.
05
RocketMod and OpenMod, add-on layers
The commands above are those of the base game. Many servers add a plugin framework, which brings its own commands, permissions and settings files:
- Rocket (RocketMod): a community project, discontinued by its original team in December 2019. Smartly Dressed Games maintains a version of it, Legally Distinct Missile (LDM), shipped with the server: you enable it by copying the
Rocket.Unturned folder from the Extras folder to the Modules folder;
- OpenMod: a third-party framework, created by one of Rocket's original maintainers and compatible with Rocket plugins. The official documentation recommends installing it with the installer plugin for RocketMod, then the
/openmod install command.
A plugin's commands (teleports, kits, economy, bans handled differently) depend on that plugin, not on the game: follow its documentation and set its permissions carefully. A plugin runs code on your server: only take plugins from known sources and make a backup before each addition.
Other survival games have their own logic: see Valheim admin commands and 7 Days to Die admin commands.
06
On CloudFive
CloudFive has no ready-made Unturned plan: the server is installed on a VPS, and you run it as described in this guide. The Ryzen VPS, from €5.99 per month, suits it well:
- an AMD Ryzen 9 9950X with DDR5 memory and NVMe storage;
- a Linux container (LXC) with root access and a dedicated IPv4 address, so players can connect directly by IP address;
- basic DDoS protection included (see protecting a game server against DDoS).
Servers are in France, billed monthly with no commitment, with support in French 7 days a week through tickets and on Discord. To choose the VPS size, see which VPS for a game server; for the ports to open, game server ports.
07
Frequently asked questions
How do I become an admin on an Unturned server?
Add the Owner line followed by your SteamID64 to the Servers/MonServeur/Server/Commands.dat file, then restart the server. You can also type Admin followed by the player in the server console, or add them to the Adminlist.dat file.
How do I ban a player on an Unturned server?
Type Ban followed by the player, a reason and a duration in seconds, separated by slashes, for example Ban 76561190000000000/Cheating/86400. Without a duration, the ban lasts 365 days. Unban followed by the SteamID64 lifts it, and Bans shows the list.
How do I enable cheats on an Unturned server?
Add the Cheats line to Commands.dat and restart the server. Admins can then use cheat commands such as Give, Vehicle, Experience or Reputation, in the console or in chat with / or @ in front.
How do I set up a whitelist on an Unturned server?
Add the Whitelisted line to Commands.dat to limit the server to permitted players. Then add them with Permit followed by their SteamID64 and a note, remove them with Unpermit, and print the list with Permits.
Do I need RocketMod to run an Unturned server?
No. The base game already provides the admin commands: Admin, Kick, Ban, Save, Shutdown, Whitelisted, Permit and the others. RocketMod, whose LDM version the studio maintains, and OpenMod, a third-party framework, are add-on layers that bring plugins and their own commands.