Navigation

Knowledgebase

Configuring your Unturned Server (commands.dat)

Last updated: 08/31/18
written by  Nodecraft Staff

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.

Command Arguments Description
bind <server ip> 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 0.0.0.0
chatrate <integer> Assigns the minimum amount of time between chat messages in order to prevent spam
cycle <integer> Assigns the day/night cycle in seconds.
decay <integer> 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 255/15/15/81/81/18/20/20/121 - Gives all skillsets 2 Medkits, 2 MREs, a Timberwolf, 2 Timberwolf Magazines, and a Military Knife.)
log n/a Enables/Disables [chat]/[join&leave]/[death]/[anticheat] messages. (Y = Yes, N = No) (i.e. log Y/Y/Y/Y)
map <map name> 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
name eg: My awesome server Sets the server's name
owner <SteamID64> 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
port <integer> 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
timeout <integer> Sets the max ping for players before they time out. (400~600 is recommended)
welcome eg: Welcome to my awesome server 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

Can't find answers to your questions?

Feel free to contact our support team for personal and professional help.

Write Articles, Get FREE Servers!

More information coming soon.

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.