Unturned

Unturned

46 ratings
Create an Unturned Server (With port forwarding WITHOUT router password)
By Sleepy and 1 collaborators
A simple (in-depth) server creation guide with a guide on how to portforward your router without needs of a password through UPnP portmapping.
   
Award
Favorite
Favorited
Unfavorite
Introduction of this guide
Unturned Server
An Unturned server isn't easy to operate when creating a server on your pc, you'll need to have your computer on(line) loads and you need a good amount of download and upload speed from your ISP.
I used to host a server with loads of people sometimes and I'd notice in the beginning (when I used to run my server on my laptop) that my players got loads of MS.. (I used to do coding for Unturned Servers running on Rocket and that was one of the main reasons probably that people complained about the lag as I used to write C# on the server itself)


PC specifications for hosting.
It has been a long time for me to know the actual specifications but I used to run my server on a Intel i3/4GB RAM/Intel 5000 Graphics computer (laptop..) and it would run choppy at times or players would complain about happening to have 500MS when connected, I solved these problems by restarting the server every hour or so, but I got so annoyed of that that I bought an actual server. I strongly recommend an i5 with 8GB RAM and have an upload speed of at least 1MB/s

What to know...
  • Player dedication in a server is very important, with that I'm not trying to say
    "Give everything your players demand but keep them happy and keep your players social.
    It will make the server fun for your players and for the people you want to help you maintaining the server and possibly for yourself!
    "

  • You should make rules... to prevent chaos from happening (duh.)

  • Expierenced staff... because expierenced staff will lead to a good community on your server as administrators that know much of Unturned can help new players and can help your moderators (if you are going to get moderators) to do something in the way that you want for example kicking/banning or warning a player.

Lets get to the server creation.
Setting up your server
SteamCMD
SteamCMD is a steam client in a console-line version which makes it easier for you to run your server.
Download it here
Follow the steps displayed on the website inorder for SteamCMD to work properly.

Create a shortcut of steamcmd in the same folder or wherever you want your shortcut and right click the shortcut and press Properties, under Target add +login [Your username] [Your password] [(SteamGuard code if you have one)]
So if you have it at C:\SteamCMD\ it should look like this
C:\SteamCMD\steamcmd.exe +login MyUsername MyPassword
Run steamcmd and let it do the updates, a bunch of files will be added which are the files that SteamCMD requires to run.
When thats finished you need to type
force_install_dir ..\Unturned
and then
app_update 304930
.
It will "update" Unturned which makes you able to run your server and force to install Unturned to the directory "Unturned".

Unturned
When that is finished you'll find your Unturned folder underneath the C:\ directory.
Go to "C:\unturned" and right click Unturned and make another shortcut.
Then go to Properties and again under target fill in:
-nographics -batchmode +secureserver/My NEW server
It will look like
"C:\Unturned\Unturned.exe" -nographics -batchmode +secureserver/My NEW server

Run it and wait for it to create the files. You'll see a black screen, just wait for the Windows Firewall alert to pop up and click Allow access.
Then close down the server by typing "shutdown".

Commands.dat
Editing the Commands.dat file

In order to open a server with a good hostname, PvP/PvE, Player capacity, Map and such you'll need to edit the Commands.dat file, the server will read the Commands.dat file as a property file so you can adjust your server.

Now, I'll make a default configuration file for you to copy it over and enter your own additional information.
name My server name
port 27015
maxplayers 12
PvP
mode normal
map PEI
I think everything explains itself..
You can replace "My server name" with the name you came up with.
You can replace the max players to your likings (below 24).
And replace PvP with PvE if you don't want your players to be able to kill each other.
In mode you can change it from normal to easy/hard/gold.
Port forwarding
UPnP
UPnP stands for Universal Plug and Play, which allows you to play over the internet from different locations. (Short explanation.)

How do I portforward?
Most effective one is to do it from your router itself but I am assuming that you don't have access to your router as you came to this guide.

We are going to use an application which uses port mapping.
You can download the application by clicking here![www.howtogeek.com]
Follow the guide on how to set up ports and add the ports
27015 UDP
27016 UDP
27017 UDP

If those don't work make them UDP and TCP.
In-Game commands and making yourself admin!
Now I understand its pretty interesting to use all the commands when you're first getting started, but make sure you don't abuse them as an owner and make sure your staff wont abuse them!
Firstly in the console make yourself admin by typing
admin [Your name here]
It would look like this in my perspective
admin Sadusko

Default commands which are built-in Unturned's server:
(Commands separated with //)
([ Text ] equals to a line of text without the [ ])
(ALWAYS start your command with the @ symbol before your command.)

Most used server commands
  • @admin [Username] // Make someone admin
  • @unadmin [Username] // Remove someone from admin
  • @kick [Username]/[Reason] // Kick someone from the server.
  • @ban [Username]/[Reason] // Ban someone from the server.
  • @say [Your text here] // Will make the server say something
  • @give [PlayerName] (ItemID)/(Amount) // Gives an specific player an item (refering back to this guide because its the most updated one
  • @day/night // Makes it day or night.
  • @teleport [PlayerName]/[Destination] // Teleports a player to a destination (Player or Map Node)
  • @shutdown // Disconnects all players, saves the server and closes it properly!
For other server commands click here

Fin
The end.
Join your server by going to Servers in Unturned and then LAN or go to connect if you know your IP.

That is all for this guide, if you have any questions you can ask them in the comments as I will try to respond to every single of them. I'm active so no problems!
Note: I will only keep useful comments. Not the ones where I have no idea what to do with them.

If you made the server using this guide but need help in-game, you can add me!
If you want someone to make plugins for your server and/or install Rocket on your server if you don't know how, you can also add me haha. (:

Have a nice day everyone!
39 Comments
TheDiamondMan3 Jan 3, 2017 @ 4:54am 
how can you download steamcmd??? when u press the butto it doesnt download!
ruvis Jun 26, 2016 @ 2:45am 
add me please so we can talk
ruvis Jun 26, 2016 @ 2:22am 
Why my server still doesnt work help please :/ http://imgur.com/VANkjNg
Sleepy  [author] Jun 18, 2016 @ 1:50am 
@Chewie app_update 304930 - If you have Rocket installed you will have to re-install Rocket so keep that in mind!
ChewieTheWookie Jun 17, 2016 @ 9:31pm 
how do you update the server?
Sleepy  [author] Jan 15, 2016 @ 4:29am 
@AnAussieKingPenguin You've probably just looked quickly through the guide.
C:/SteamCMD/steamcmd.exe was my location, you have to enter the location where your own steamcmd is at.
trYeezi Jan 15, 2016 @ 4:09am 
Pls help it says "The name 'C:/SteamCMD/steamcmd.exe specified in the target box is not valid.Make sure the path and file name are correct" :C
Tsuni Jan 8, 2016 @ 5:05pm 
How does a whitelist work?
:steamfacepalm:
heavman21 Jan 8, 2016 @ 10:24am 
@saduko thx ill add u to make rocket and plugins thx again:steamhappy:
Sleepy  [author] Jan 7, 2016 @ 11:17am 
@heavman1 - I have Minecraft too but still I got it able to work..