Unturned

Unturned

Not enough ratings
Creating a dedicated server the easy way(With a clean Bat File)- MAY BE OUT OF DATE
By TheImmortalChicken
Creating a dedicated server the easy way using a simple bat file, this is a guide that uses baby steps so that all users even small children can use. YOU DO NOT NEED TO BE INGAME TO HOST. This is much cleaner and easier than setting launch options and allows you to change the RAM of your server.
Sorry for the weird random picture i didn't have one availible at the time of creating this.
   
Award
Favorite
Favorited
Unfavorite
Creating the Bat file - THIS GUIDE IS OUT OF DATE AND PROBABLY WILL NOT WORK
(This guide is quite long as i have done it in baby steps so its extremely easy to do)
Hello, i was playing this great new game unturned with some friends and i decided that i would like to host a proper server on it with them so i did some looking around on the internet and all there really was were just instructions to set launch options which gave me a horrible black box when i launched unturned and was very un-neat and quite horrible to use so i decided to try out some things.
I found out after experimenting that using a simple bat file was the answer.

If you want to fast tutorial please skip ahead to the next section.

Here is a really really easy way to set this up in baby steps

Step 1. Right click on unturned in your steam libary and click on properties
Step 2. Go to the Local files tab
Step 3. Browse Local files.(This should be a folder for unturned with lots of steam files and an exe in.
Step 4. Right click in the folder, click new and create a new text document.(Name it what you want i named mine UnturnedServer.txt
Step 5. Inside this text document paste this in on the first line
Unturned.exe -batchmode -nographics -pei -normal -sync -pvp -port:25444 -players:12 -sv -Xmx1028M -Xms1028M
Now as you can hopefully see that when you put a "-" symbol and then type a game option you can change the game options so for example you can change -pei to -arena for the arena map or you coud change -normal to -hardcore.
the Xmx1028M -Xms1028M is for the amount of RAM you wish to allocate to your server the more RAM the better it will run but i have found out that on average the server uses 500 Mb of RAM.
An example of mine is: Unturned.exe -batchmode -nographics -pei -normal -sync -pve
-port:25444 -players:12 -pass: -sv -Xmx4048M -Xms4048M

Step 6: Rename your text document and change the .txt to .bat so you can run it in CMD.
Step 7: Run your bat file and your server is up :D

Remeber you can add more options or change options here are all the ones i could think of.

List of optional commands(I will try and include as many as i can think of)
Maps: -pei or -arena
Difficulty: -bambi -normal -hardcore(Bambi mode DOES NOT SAVE)
Sync or NoSync: -sync -nosync (I highly recommend sync for saving)
Players- -players:8 (Change it to what you feel like having
Gamemode: -pvp -pve
Password -pass:(Desired Password here no brackets)
Ram: -Xmx4048M -Xms4048M (This is in megabytes and i have 8GB or RAM but remeberd DO NOT use up all your RAM or you computer will have a massive panic attack, i suggest 1/4 of your RAM if you have 4GB or Below and 1/2 if you have anything above that.)

Fast Tutorial
This is a faster tutorial almost a summary of how to host a dedicated server and not have to be ingame.
Go to unturned files in your steam common folder, create a bat file and paste this into it.

Unturned.exe -batchmode -nographics -pei -normal -sync -pvp -port:25444 -players:12 -pass: -sv -Xmx1028M -Xms1028M

You can edit most of the above options.

List of optional commands(I will try and include as many as i can think of)
Maps: -pei or -arena
Difficulty: -bambi -normal -hardcore(Bambi mode DOES NOT SAVE)
Sync or NoSync: -sync -nosync (I highly recommend sync for saving)
Players- -players:8 (Change it to what you feel like having
Gamemode: -pvp -pve
Password -pass:(Desired Password here no brackets)
Ram: -Xmx4048M -Xms4048M (This is in megabytes and i have 8GB or RAM but remeberd DO NOT use up all your RAM or you computer will have a massive panic attack, i suggest 1/4 of your RAM if you have 4GB or Below and 1/2 if you have anything above that.)
Gold: -gold(I am not sure how this works exactly because i am not a gold member although i am thinking of getting gold to support the devs.


Then the bat file and your server will work, just connect to your ip and you are done.

If you have not portforwarded your ip or you don't understand hamachi or how to join your server go to the hamachi setcion.
Hamachi
Now to join your server you can go to connect and enter your ip which if you have not portforwarded you comptuer you will need to use Hamachi and then copy your ipv4 address(Right click on your ip at the top of hamachi), get your friends in you hamachi network(make one by creating a network your friends can join by using join network) and send then your ip.
Download the Unmanaged version of hamachi from: https://secure.logmein.com/products/hamachi/download.aspx

Please Please do say if i have missed anything or you need help i think i will be posting this as a guide.

Hope this helps and thanks for reading,
TheImmortalChicken
Edits, Errors, Fixes (Please read)
There have been no errors as such but i have noticed that to shut down your server closing the command prompt does not work and you must go into task manager (CTRL-ALT-DELETE) and end the process called Unturned.

I have also noticed that sometimes you cannot run your game after running the server (Only happened 1 time) as it says you are still ingame, or when you run the bat file you are shown as ingame. A fix to this is to exit steam, run the bat file and open steam then open your game.

As far as i know i am the only one so far that has worked out how to host a dedicated server and not be ingame racking up a massive amount of hours so far. Also please rate this guide up if it helped you and if it didn't leave a comment and i will get back to you.

-Edit I have discovered that like other methods of using a server you will rack up game time but you can reset your game time by manipulating your clock while playing.

!!!!Important!!!!- If it says application already running if you open the server first then cannot open your game, instead of restarting the server you can browse the local files where your server should be and then double click on the Unturned.exe from there to play the game.

I would also be happy for someone to make a youtube tutorial that follows this guide if they credit me and i would put a link for their tutorial in this guide as i think that could be helpful aswell.

Thank you all for reading please comment if this guide helped or if you need help or find any bugs.
22 Comments
e621 Pilots 3 Oct, 2015 @ 10:51am 
This does not work
TheImmortalChicken  [author] 11 Jul, 2015 @ 10:46pm 
Not sure haven't played this game since it came out.
Isaac 11 Jul, 2015 @ 8:23pm 
Is this guide still relevant?
Beamankylo 29 Nov, 2014 @ 5:24am 
i did this and it did not work
Mr.Vortex 19 Oct, 2014 @ 8:16am 
how do u run a bat file? link to vid please!
TheImmortalChicken  [author] 7 Aug, 2014 @ 1:00pm 
Either portforward or use a VPN like hamachi but change the .txt to a .bat if you can't do that google it i guess
RunNGunGhost 7 Aug, 2014 @ 11:13am 
Also do you have to port forward
RunNGunGhost 7 Aug, 2014 @ 11:12am 
I changed the .txt to .bat but the file type still says Text Document
TheImmortalChicken  [author] 26 Jul, 2014 @ 12:30pm 
You can switch the server to normal ingame hosting and simply wait for the person you wish to Ban then ban them
Activation7X 23 Jul, 2014 @ 12:25am 
Would it be alright if i made a youtube tutorial for this? just to help the even dummier?