Configuring your Unturned Server (commands.dat)Last updated: 09/18/20
Configuring Your Unturned Server
To configure your Unturned server, you will need to edit the
commands.dat file. This can generally be found in your
Servers/<instance name>/Server folder.
Each command in this file will need to be on a new line. They are case sensitive!
||Binds your internal IP to the socket. (Internal IP is the network adapter IP of the adapter you use). For Nodecraft servers, this does not need to be set, or can be set to
||Assigns the minimum amount of time between chat messages in order to prevent spam|
||Assigns the day/night cycle in seconds.|
||Assigns the amount of time a player, or their group members, can be offline before their structures can be removed by anyone. Default is 604800 (7 days)|
|Filter||n/a||Enables the old name filter|
|Gold||n/a||Restricts the server to only allow Gold players|
|Loadout||n/a||Assigns what all players spawn with. The first number value in the loadout is the Skillset ID. (Example: Loadout
|Log||n/a||Enables/Disables [chat]/[join&leave]/[death]/[anticheat] messages. (Y = Yes, N = No) (i.e.
||Sets the map that will be used for the server. If you want to use a workshop map, the workshop map folder must be placed in the Workshop folder of the server, otherwise it will fail to load the map|
|Maxplayers||n/a||Sets the max amount of players the server will allow|
|Mode||Easy/Normal/Hard||Sets the difficulty mode|
||Sets the server's name|
||Sets the server's owner, which gives them administrator commands and fully sets up the server|
|Password||n/a||Sets a password to the server to keep out unwanted guests, making the server more private|
|Perspective||First/Third/Vehicle/Both||Assigns the perspective views. First allows only first-person, third allows only third-person, Vehicle allows third-person only when the player is in a vehicle, and both allows changing between first and third-person views freely|
||Sets the server's port. The default server port is 27015|
|Pve||n/a||Sets the server to only allow Players VS Environment combat|
|Sync||n/a||Syncs player data between servers using the same key|
||Sets the max ping for players before they time out. (400~600 is recommended)|
||Sets the welcome message|
Default Single Player Loadouts
The following loadouts can be use to replicate the default single-player ones.
loadout 0/180/214 loadout 1/233/234/241 loadout 2/223/224/225 loadout 3/1171/1172 loadout 4/242/243/244 loadout 5/509/511/510 loadout 6/211/213 loadout 7/232/2/240 loadout 8/230/231/239 loadout 9/1156/1157 loadout 10/311/312