Unturned

Unturned

Not enough ratings
All settings for commands.dat file
By kulkaG2M
In this guide you can find what all you can write in the commands.dat file for the your server.
The commands file is located in Servers\My Servername\Server
   
Award
Favorite
Favorited
Unfavorite
Basic
Name My awesome server
Sets the server's name. If the server name is too long, the server uses the default name Unturned.

Port number
Sets the server's port. If you dont setup port, the server uses default port 27015

Maxplayers number
Sets the max amount of players the server will allow, recommended is 24

Map map_name
Sets the map to be used for the server. (Washington, Russia, PEI) If the server does not find the map, it will be used PEI as the default.

Mode difficulty_name
Sets the difficulty mode. Available difficulties (Easy, Normal, Hard)

Perspective perspective_name
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 Both allows changing between first and third-person views freely.

Pve
Disables PvP between players.

Password mypassword
Sets a password to the server to keep out unwanted guests, making the server more private. In other way you can use whitelist function below.

Whitelisted
This makes only permited players allowed to join the server. For manage whitelist players see information below. For add player to whitelist use /permit <SteamID64>/tag (Tag is useful for show name of the player when you list whitelisted players. For remove player from whitelist /unpermit <SteamID64> if the player aren't on the server, you can use his tag. (/unpermit tag_name To display all players who are on the whitelist use /permits
Advanced
Chatrate number
Assigns the minimum amount of time (in seconds) between chat messages. This is good for spam protect.

Cycle number
Assigns the day/night cycle in seconds.

log Y/Y/Y/Y
Enables/Disables [chat]/[join&leave]/[death]/[anticheat] messages. (Y = Yes, N = No) (like "log Y/Y/Y/Y") Thats mean in the log you will have chat join & leave & death messages or anticheat messages.

Bind IP
Binds your internal IP to the socket. You can use this if you have 2 or more ip addresses on the same server. Otherwise its not needed

Filter
Enables the old name filter This will block players with unknown characters in the name.

Gold
Restricts the server only for Gold players

Loadout number/number/number...
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.)

Owner <SteamID64>
Sets the server's owner, which gives them administrator commands and fully sets up the server. The admin cannot be removed with /unadmin command.

Sync
This allows players to share savedata between your servers.

Timeout number
Sets the max ping for players before they time out. (400~600 is recommended)

Welcome Welcome to my awesome server 0 0 255
Sets the welcome message. On the end, you can specify the color using the RGB code. (Red Green Blue)

hide_admins
To hide the admin blue name.

Help Some text here
Shows text what you want. Also some plugins can change it or add new text.

Votify [Vote Allowed Y|N]/[Pass Cooldown]/[Fail Cooldown]/[Vote Duration]/[Vote Percentage]/[Required Players]
Sets up voting. Pass/fail cooldown specifies the amount of time that players must wait after a successful/failed vote before initiating another vote. Vote duration specifies the amount of time for each vote to remain active. Vote percentage indicates the percentage of "yes" votes required for a successful vote and must be expressed in decimals (e.g., 0.6 for 60%). Required players specifies the minimum number of connected players in order to initiate a vote.

Queue_Size number
Sets the maximum number of player that can be in queue.

Cheats
Allows your server to unlock certain commands, such as Give.

GSLT Login_Token
Game Server Login Token Can be created and managed here: https://steamproxy.net/dev/managegameservers Unturned app ID: 304930 I would rather recommend setting this setting in Config.json on line 8. (Login_Token)
8 Comments
Yinochi 20 Apr @ 12:35am 
is there a way to manually put whitelist users in the .bat because the /permit thing doesn't do jack than say Unable to match "/permit [SteamID]" with any built-in commands
Basilisk243 24 Jun, 2023 @ 4:24am 
What does the "Help Some text here" do?
Ktosalenieja 22 Mar, 2023 @ 7:05am 
Thanks:demoticon:
kulkaG2M  [author] 19 Oct, 2020 @ 12:10am 
No, you must have a plugin for this.
Or use special feathers from the map Dango.
Shadow Vex 16 Oct, 2020 @ 4:31pm 
is there a fly command?
Jamesinator 6 Sep, 2020 @ 12:11pm 
Ok, thanks mate
kulkaG2M  [author] 5 Sep, 2020 @ 3:39pm 
There is no commands for vehicles in commands.dat.
You must have some plugin that despawning the vehicles.
Jamesinator 4 Sep, 2020 @ 1:57pm 
what about vehicles? I made an LAN server but they still despawn every time i leave the game. Any way to stop that? Also great guide!