Unturned
Zbyt mało ocen
Unturned Server Creation With Rocket
Autorzy: 5ive i 1 innych współtwórców
A Helpful List Of Tips And Tricks On Making Your Own Unturned Server. Please leave a comment if I have made a mistake, or if you need any help.
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
First Things First!
I'm aware there are other ways of doing this. This guide still works but it is recommended to go to Nelson's guide here[smartlydressedgames.github.io]


How to make your own Unturned server!
First things first, this is going to be on how to setup an Unturned Server using a Dedicated Machine [Windows Only!]

If you want to have a server on your personal computer and still be able to play Unturned, I will link a guide made by me on how to setup an Unturned Server using steamcmd.
If you're making an Unturned Server on Linux, refer to Rocket's guide on installing an unturned server on Linux. Link below.

SteamCMD Installation

Step 1- Go to file explorer and locate Unturned. Not your personal copy, but your servers.

Step 2- Right Click Unturned.exe and hit "Create Shortcut"
Note- This will be what you start your server with later!
You can rename the shortcut whatever you want, just keep it an .exe file extension

Step 3- Right click that shortcut and select "Properties"
Now that you're in the window, find the target field. It will look like this.

"C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe"

After that last quotation mark add a space then type/copy
-batchmode - nographics +secureserver/servername

"servername" is the name of your server if you couldn't already tell.

Step 4- Run that shortcut and a command prompt shall open. A new folder called "Servers" should appear. Once the "Servers" folder is created, Close the command prompt window.
The "Servers" folder should contain a folder names whatever you put after secureserver. For example

C:\Program Files (x86)\Steam\steamapps\common\Unturned\Unturned.exe" -batchmode -nographics +Secureserver/5ive's Server

It should come up as "5ive's Server".
Inside that folder you will find 4 sub-folders and a file named "config.json"
Open The folder named "Server" and open "commands.dat"
I recommend using Notepad++, Notepad, Or Visual Studio Code.
Once "commands.dat" is opened, edit it to your preference.
There are many different options, some not listed, so i will list all options, and what they do.

* Indicates a required field.
*name [Name of your server]
*port 27015 [27015 is the default port]
*maxplayers [any value 48 or less I reccomend]

*PvP [Enables PvP]
Or
*pve [Enables Pve]

*map Russia [Map Name, Same For Workshop Maps]
*mode easy [Mode can be easy/normal/hard]
*perspective both [Perspective can be first/third/vehicle/both]
owner [Sets owner of the server. Utilizes your steamid64. For example, my steamid64 is 76561198180953855]
chatrate [Assigns a timeframe between chats. For example, 3. 3 would mean I'd have to wait 3 seconds to send another chat]
password [Set a server password. Is case sensitive]
welcome [Sets welcome message. For example, hello would say hello in green text when you join the server]
sync [Syncs player data between servers using a matching key.]
cycle [Sets day night cycle. Works in seconds. For example setting this value to 60, it would take 60 seconds from when day breaks, to when night comes.]
decay [Set decay time of bases. Default is 604800, or in days, a week. This works in seconds.]
filter [Sets the old name filter. Highly unrecommended by me.]
gold [Sets server to gold only]
loadout [Gives all players a set amount of items. For example if i did 255/81/81/16. It would give all players 2 mre's and a camp axe. 255 indicates all skillsets so everyone can get it.]
log [Enable "y" or Disable "n" parts of the command log. [Chat/JoinLeave/Death/VAC] So if i wanted chat and death only, i would do [log Y/N/N/Y]
timeout [Sets max ping. I recommend near 500 or so.]

DONT FORGET TO SAVE!
Step 5- Start up your server, and all changes should appear. In the log it should say something along the lines of Succesfully renamed server to whatever you put in your name field in commands.dat

Adding And Configuring Rocket To Your Preference
Rocket is highly recommended by me and just about 90% of the unturned server community. It is a lightweight server configurator, mainly meant to support "plugins" for your Unturned Server.
This will show you how to install Rocket onto your Dedicated Server
If you need any help, message me on Discord- @5ive#5223
Port Forwarding!
Port Forwarding!
Forward Ports for Unturned
You will need to forward 4 ports in order for your Unturned Server to be considered "Online" for lack of a better word.

-Before You Forward a Port-
Before you can forward a port you need to know the following things:

-Your router's IP address.
-The IP address of the device that the game will play on: either your computer or your console.
-A list of TCP and UDP ports to forward.

-How to locate your Router's IP Address-
The easiest way to locate your router's IP address is to do windows+r and in the run box, type cmd


After, it will open a console and will await for a command. type ipconfig and press enter. This will show you your ip to logon to using a web browser.




























Dont dox yourself if you need help. All anyone needs to know is the Default Gateway
-Port Forwarding-
Open a web browser and navigate to your router's IP address.
If you need to login, look on the side or back of your router for login information. If you cant find any, contact your home network hoster and ask for your credentials
Find your routers port forwarding section.
Put the IP address of your computer or gaming console in the correct box in your router.
Put the TCP and UDP ports for your game in the corresponding boxes in your router.
Sometimes you have to reboot your router for the changes to take effect.

Which Ports Does Unturned Require?
The network ports for Unturned are as follows:

Unturned - Steam
TCP: 27015, 27016, 27017, 27018
UDP: 27015, 27016, 27017, 27018
Most routers have a protocol for both TCP/UDP Connections at the same time.

Once you are done, start your server, and have one of your friends try and connect. It should be successful!
And Just like that, you have An Unturned Server that is now public! Now onto RocketMod installation and configuration!
What Is RocketMod?

RocketMod is a free modding framework for Unturned. It makes server creation simple, easy, and extremely configurable. It also gives server owners the ability to create/use plugins to enhance the end user's experience. An example of a Rocket-Mod plugin is SmartSpawner. SmartSpawner is a plugin that allows you set loot respawn times, and even manually make loot respawns trigger. It is a extremely helpful plugin for servers. RocketMod also eases the process of creating a server with features like command logging, permissions, server configuration, translations and more.

This guide will take you through the basics of setting up your Unturned Server
-Setting Up Your Dedicated Server
-Port Forwarding
-Installing Rocket
-Installing Plugins
-Modifying Rocket, and Rocket Plugins
Installing RocketMod!
Adding And Configuring Rocket To Your Preference
Rocket is highly recommended by me and just about 99% of the unturned server community. It is a lightweight server configurator, mainly meant to support "plugins" for your Unturned Server, but can also be used for server configuration.
This will show you how to install Rocket onto your Dedicated Server
If you need any help, message me on Discord- @5ive#5223
Step 1- Open this link https://github.com/SmartlyDressedGames/RocketMod/releases and you will be directed to a Github page which is maintained by Nelson himself. He still continues to support RocketMod since Sven and Trojaner have stepped down. You will want to download the latest version of "Rocket.Unturned.zip" to ensure an up-to-date version is installed
Once Rocket.zip is downloaded, unzip it using a program like WinRar or 7Zip.
Copy over the unzipped files to your Dedicated Server at this file location, Your Server\Modules
Once that is copied/moved over, start your Unturned Server, and let sit for 2-3 Minutes to ensure all files have downloaded.
Once 2-3 minutes is up, stop your server or do /shutdown in console
And just like that, Rocket has installed on your Unturned Server!
Step 2- Navigate to Your Server\Servers\Your Server Name\Rocket, and you will find 3 folders, and 6 .xml files
The Folders Are named
-Libraries [Libraries needed for certain Plugins, and other dependencies like My-SQL, and more.]
-Logs [Shows Server Logs]
-Plugins [Plugins Folder]
The Files are named
-Commands.config.xml [Shows all commands that can be executed in-game or in console. All have a Enable/Disable option. To enable, set Enabled="true", and to disable, Enabled="false".]
-Permissions.config.xml [Allows you to give certain people certain groups. The main group everyone is in by default is labeled default. I recommend adding perms like tpa,home and others.]
-Rocket.config.xml [Features Like RCon, used for doing plugin config in-game generally. Also gives other attributes like AutoShutdown, SetLanguage, and more.]
-Rocket.en.translation.xml [Allows you to change what the server says on Join/Leave and more.]
-Rocket.Unturned.config.xml [Main feature is RocketMod community ban system. Gives you ability too kick accounts too young, and the ability to LogSuspiciousPlayerMovement.]
-Rocket.Unturned.en.translation.xml [Allows you to change Translations for when commands like /god are used.]
Installing Plugins!
Plugin Installation!
Plugins are an essential part to any Unturned Server! They can range from AdvancedItemBlacklists to RobN'Raid. There is a wide variety of plugins on https://github.com/RocketModPlugins for free! some other plugin websites are imperialplugins.com, They sell paid plugin exclusives like vault and so-on.
If you find a Plugin you like on either 2 sites, click download, and check below for how to install correctly.

Alternatively, I have made my own guide with a list of all plugins currently available for free!
Click Here To See!

Step 1- Download the Plugin/Plugins if you haven't already

Step 2- Take That Plugin And Move/Copy it to Your Server\Servers\Your Server Name\Rocket\Plugins

Step 3- Open the Plugin that you just copied/moved over to the Plugins Folder
In that folder you should find [In Most Cases, Some Plugins Do Not Have A Translation Or Config!]
PluginName.config.xml
PluginName.en.translation.xml


Open config.xml and edit to your preference. Make sure the plugin is enabled if there is an option
For some plugins like Vaults. There will be extra files you will need to copy over.
For example, Vaults will have a few extra files and a folder
move everything from Libraries folder to Server\Servers\Your Server Name\Rocket\Libraries
Now move System.Data.dll and ItemVault.dll to Server\Servers\Your Server Name\Rocket\Plugins
Once that is complete, start your server and run the command /rocket reload
Once that is done, give it 15-30 seconds and shutdown your server.
2 Folders should have automatically created. ItemVault and SystemData
The only folder you need to worry about is ItemVault
Open and config to your needs. For any help contact @5ive#5223 On Discord.

You Now Know How To Install Plugins, Rocket onto your server, Configure files to your needs, and more!
Contact Me!
Discord - 5ive#5223
Steam -5ive
GitHub -5ive
RocketMod Forums -5ive
Email 5ivehelpdesk@gmail.com


Any problems/need help? Contact me at any of these locations! Preferably over Steam and Discord since i frequent these the most.
Affiliations
I am not currently affiliated with any companies listed and/or present in this guide. This guide is meant to show how to make your own Unturned Server utilising a mod. I do not own the image of Rocket present in this guide. If you would like to copy or add anything to this guide, please leave a comment below. Unauthorized use will result in penalties present by Steam's Guidelines. In some cases i may allow people to copy this guide and allow them to put it wherever they want with my permission.

All Regards

-5ive
Komentarzy: 3
Telmachtar 15 maja 2020 o 6:46 
I read and I really like the way you explain it. Do you allow me to translate the text into English and modify some information to update it?

P.S: Could you explain or update the way to take Rocketmod?

contact me by steam, I'll add you and we can discuss it.

I'm French
5ive  [autor] 30 lipca 2019 o 17:23 
I made the port-forwarding numbers so you could run multiple servers if needs be. I probably should've stated that, I'll make an edit for ports if you want just one server. Thanks mate :)
Jammerz Skip 30 lipca 2019 o 15:28 
my server wont show up for me on my own server list but people are still able to join some how. but i feel i did some thing wrong.

i have a question about your port forwarding port numbers.

I remember ages ago it used to be for both protocals (TCP & UDP) being
27015, 27016, 27017, 27018

but in ur guide u say the numbers are :
TCP: 27015-27030,27036-27037

UDP: 4380,27000-27031,27036

did the port numbers for unturned change or is there some thing i missed in your guide?