How to create Unturned server ? (2019)
Published on 2018-02-16
This tutorial explains how to easily create an Unturned server on Windows for the latest version of Unturned. It will take you no more than 5 minutes !
Make sure your computer has the minimum capabilities below before creating an Unturned server. It will depend on the number of slots and players connected to your server, the more connected players you have, the more RAM you need.
Hardware System Requirements
- Windows (7, 8.1 or 10) 64-bit
- RAM 4GB (minimum), 8GB+ (recommended)
- Available Hard Drive Space 4GB (minimum)
Unturned server setup
1) Opening the Unturned folder
Go to your steam library and right click on the Unturned game then on Properties.
Click on the "LOCAL FILES" tab and then on the "BROWSE LOCAL FILES ..." button.
The installation folder opens.
2) Creation of the shortcut
Right click on Unturned.exe and then on "Create shortcut"
Rename the shortcut to Unturned - Server.exe
Right click on the shortcut then on "Properties
In the "Target" field add -nographics -batchmode + lanserver / YourServerName following your path and add double quotes as in the example below:
"D:\SteamLibrary\steamapps\common\Unturned\Unturned.exe" -nographics -batchmode +lanserver/YourServerName
Do not copy-paste the example above, the path depends to your installation folder.
Finally, click Apply and then OK.
3) Server installation
Double-click on Unturned - Server.exe shortcut and wait for the console to display 100%.
The Servers, Logs, and Unturned_Data folders are then created.
Type shutdown command in the console and press the ENTER key to stop the server.
Server configuration & commands
Your Unturned server is almost ready, navigate to the Servers/YourServerName/Server
folder, and open Commands.dat
with a text editor such as Notepad. (notepad++
Add the following lines in Commands.dat by replacing YourServerName with the name of your server:
name YourServerName LAN SERVER
The three lines above are enough to launch the server, the lines below are optional:
password 123 (if you want to privatize the server)
mode gold (set difficulty levels)
perspective both (third person camera)
maxplayers 12 (slots number)
pve (disable players versus players)
timeout 500 (maximum ping threshold to the server before a client is kicked)
chatrate 2 (time between chat messages to prevent spamming)
cycle 600 (length of the day/night cycle in seconds)
welcome Welcome to my server ! /255/140/0 (chat message on connect)
Restart Unturned - server.exe and wait 100%.
2) Connect to your server
- Start Unturned game
- Click PLAY button and then CONNECT
- Your local IP address appears in IP, the port is 27015
- Type the server password if you have specified one
- Click the Connect button
Once connected to the server go back to the console and type the following command to give you the administrator rights:
3) Useful commands
You can either enter these commands in the console OR in the game's chat. If you want to enter them in the chat, add @ before each command.
players (display player's list)
day (set time to day)
give [SteamID | Player]/[ItemID]/Amount (give an item to a player)
teleport [SteamID | Player]/[SteamID | Player | Location] (teleport)
map [Level] (Sets the map that the server loads on startup.)
ban [SteamID | Player]/[Reason]/[Duration] (ban a player)
For security, before shutting down the server do not forget to type the save command in the console or @save from the game's chat, this command will save the inventories and the map.
To stop your server, type shutdown in the console.
Make your Unturned server public
Congratulations, you have created a local Unturned server on your computer !
If you want to make it public and play with friends you must open ports 27015, 27016 and 27017 of your router with the UDP protocol.
Host your Unturned server on a dedicated server
Hosting an Unturned server requires a lot of resources to your computer, especially if your server has more than 10 players.
If you want a public server with many slots, we advise you to rent an Unturned server from a professional host such as Gameserver (see link to our footer).
Make your Unturned server famous
That your server works is good, but it is even better if it is full of players ! Please note that we are specialized in ranking Unturned servers
and you can register yours for free on our Unturned servers list