#Extended Information on Server Hosting

44 messages · Page 1 of 1 (latest)

agile magnet
#

Linux-Specific Installation

This will explain the general setup for a linux machine, whether it be through a terminal command line or on an actual desktop. These steps also generally apply to MacOSX.

If you plan on hosting a large amount of servers, or simply want a better experience, head down to the "Panel-Software" Section further below VV

EASY SETUP

  • GUI (Non-Command line) & MacOSX

This section covers setting up a server the easiest way through a GUI (With a desktop, cursor, a generic computer setup running a linux distro)

MACOS IS A UNIX-BASED OPERATING SYSTEM, MEANING IT WORKS (relatively) THE SAME WAY.

Here we're going to do the same process as we did on Windows, we're going to install the Unturned Dedicated Server app on steam, and launch it again. It's really that simple.

HARD SETUP

  • Command Line (Ubuntu Server, CentOS, RedHat, etc)

This is a lot more tricky, however still manageable. We're going to be installing SteamCMD, which is a server software by Steam.

SteamCMD Installation via Terminal:

First we are going to create a new user named "steam"

If you are running as the Root user on your server, you do not need to add the prefix sudo to your commands.

Commands to run

sudo useradd -m steam < - This creates the user "steam"

cd /home/steam < - This changes our active directory we are using to the default steam user directory.

Now that we are here, we are going to update a bunch of server software.

Commands to run

sudo apt update && sudo apt upgrade <- Fetch and install any software updates for your system.

sudo apt install software-properties-common <- Install general libraries and other important things that steamcmd will need to run off of.

sudo add-apt-repository multiverse <- Add the "Multiverse" Package/Repository which contains a bunch of "non-free" softwares.

#

sudo dpkg --add-architecture i386 <- Used for 32 bit backward compatibility, since you are most likely running on a 64 bit AMD64 machine.

sudo apt update <- Re-update everything

sudo apt install lib32gcc1 steamcmd <- Install SteamCMD.

#

Now we are going to link the steam command executeable

ln -s /usr/games/steamcmd steamcmd

And finally, switch to the steam user

su steam

Now that we are actively operating as the steam user, we no longer have root privillages, so you will have to use sudo before your commands if you weren't already.

now just type:

steamcmd

This opens & starts installing SteamCMD

After it finishing installing, youll be met with a thing just saying "Steam>"

Do the following:

login anonymous <- This logs you in as an anonymous user, this works fine for Unturned, however other games might require you logging in with an account, but since this is Unturned, we can just go anonymous.

Now we will setup the Unturned Dedicated server files.

Run the following:

force_install_dir <server/path/here> <- Change server/path/here to where-ever you want to store your server files at. I suggest /home/steam/unturned

app_update 304930 validate <- Install unturned through it's app ID (304930)

Once it is done installing Unturned, type

quit OR press Control+C

Now navigate to your unturned installation directory,

cd /path/to/unturned

In my case it would be

cd /home/steam/unturned

Now run the unturned server executable file (I currently do not have a SteamCMD setup with Unturned installed, so this part right here might be wrong) It is most likely called unturned_server.sh (Or something along those lines)

Run

ls -la to list all files in the /path/to/unturned directory, I believe in your capabilities to execute a file if you've gotten this far.

This will launch your unturned server and since we haven't done any extra configuration, it is still all vanilla on PEI.

#

Configuration

Now that we have finished installing Unturned, we need to configure a few files to make things work the way we want.

Unturned has a few important files you'll want to change.

  • commands.dat

  • config.json

  • workshop_config.json

And depending on if you install rocket mod (more on that later)

  • rocket_mod_configuration.xml

  • permissions_config.xml

  • Plugins Folder

Rocket Mod Installation

Since RM's original developers stopped maintaining the project, Nelson created L(egally) D(istinct) M(issile) (LDM) which is just his maintained version of Rocket Mod.

The files for this are located in the /path/to/unturned/extras folder.

Copy all the files and move them to /path/to/unturned/modules folder.

Depending on your operating system you can either drag and drop them, OR

cp -R /path/to/unturned/extras /path/to/unturned/modules < - Linux Command Line

After a game server restart Rocket Mod will install and create any required files.

Different Server Files.

Now we are going to get into customizing our server.

There is one CRUCIAL THING we must do.

Head to https://steamcommunity.com/dev/managegameservers and generate a Game Server Login Token for the game 304930. These are referred to as GSLT's.

Copy that newly generated token and paste in into the config.json, located at

path/to/unturned/servers/default/config.json

you can edit the file on a linux command line by running:

nano path/to/unturned/servers/default/config.json

There will be a line that says "Login_Token", just paste it there.

GSLTs are required for your server to be joinable. Without one, you cannot join your server.

Now that we're still in our Config.json, take some time to look around and edit the server configuration settings.

You have Icon, Thumbnail, Description Hint, Description Full, Description Server list, and monteization types. Here are what they are

#

Icon: A URL to your server's icon, this appears on the server list

Thumbnail: Just like Icon, this appears when someone clicks on your server in the Internet List.

Description Hint: A smaller version of your description.

Description Full: Full Length Description.

Description Server List: A description of your server that appears in the server list.

Monetization Types: If you monetize your server you need to declare which type of monetization you do.

Types:

  • Unspecified

You are unsure of what type of Monetization you use.

  • None

You don't monetize.

  • NonGameplay

There is no "Pay To Win" Monetization

  • Monetized

Pay to Win.

The rest of the configuration I will let you figure out yourself, as it is all pretty self explanatory.

#

Now we will move onto commands.dat

This file is located at:

path/to/unturned/servers/default/server/commands.dat

Here you can essentially put any commands you can run in here on startup. Here is a link to a list of things you can put in Commands.dat

https://unturned.fandom.com/wiki/Server_Commands

Finally, Setting up Rocket.

Rocket is a bit more complex, you can create Permission Groups at

path/to/unturned/servers/default/rocket/permissions.config.xml

You can add plugins to your server at

path/to/unturned/servers/default/rocket/plugins/

You can do a lot in rocket. Rocket really expands Unturned and would take way to long to explain, **it's all relatively simple though, and I am happy to answer any questions. **

Unturned Bunker Wiki

Commands are advanced functions activated by typing certain strings of text. When typing a command through a chat box (world, area or group chat), you need to insert an @ or / sign before the...

#

Panel-Software

If you prefer a GUI or an easier experience when setting up and managing servers, I suggest looking into:

LinuxGSM & Pterodactyl.

Both of these Softwares run on Linux, so if you are only able to use Windows for setting up servers currently, you might want to purchase a server from a Hosting Provider.

Pterodactyl:

Pterodactyl is the primary software used by most hosting companies.

You can find all Pterodactyl Setup Information at https://Pterodactyl.io

Please note that setting up Pterodactyl is a difficult task and requires a decent understanding of Linux. It is not a copy-paste the commands guide to install it, however it makes life so much easier when making a server.

LinuxGSM:

This is the less-powerful alternative that's way easier to setup compared to Pterodactyl. It's not as feature-packed however it still makes it a whole lot easier making game servers. You can follow their setup documentation at

https://linuxgsm.com/

#

Server Hosts

Many Hosting Providers will sell you dedicated resources on their hardware, with preinstalled games to run servers on. They aren't that expensive, and are usually the best option when hosting your own server to a large group of people.

I highly suggest following this route as self hosting for a public server can result in numerous security issues, as all traffic to your home network is exposed on the ports you set for unturned. Meaning anyone will foul intentions can DDOS your home network, resulting in YOU not having Internet for a period of time.

Also, home networks usually do not have Static IP Addresses, this means over time, your ISP will change your IP address, meaning everyone will need to connect to a new IP AND if you use ImperialPlugins, you'll need to Re-Whitelist your plugins.


Conclusion

All in all, hosting unturned isn't super hard to do, and you'll learn a lot along the way. Feel free to ask me any questions related to your server setup, and if I explained anything incorrectly in this guide. Good luck with your servers, I hope they succeed.

hardy scarab
#

I am not pinning this.

#

Of course, like the other Useful Info threads, you're able to add to the original. It is advised to keep things compact, but there is no actual rules or guidelines regarding that.

amber crescent
#

That moment when you create an entire thread just to market your services.
This is that moment

dark scaffold
#

No way bro just reposted all of the official docs to shove an ad for his host at the bottom 💀

mossy vortex
#

aint no way this guy is fr

amber crescent
mossy vortex
#

good way to give ur host a bad rep ig

#

the site is awful anyway

#

hurts my eyes

amber crescent
mossy vortex
#

lol what i didnt even see he put that that in there

#

how have the mods not removed this

amber crescent
mossy vortex
#

oh true

#

but still

#

like thats poor

amber crescent
#

But then why have a #advertising if that is the only place for it

#

That means rules need to be re-written

mossy vortex
#

just add a rule like "dont be a wet wipe n advertise ur summer host in the server hosting thread"

amber crescent
mossy vortex
#

wait what 🤣

#

hows he meant to help his customers with issues if he cant even fix his own

#

its not like u see the owners of pine and wyvern and modern in here asking for help

amber crescent
#

Or by asking for help in here for free

mossy vortex
#

his host has a similar name to another one

#

so i imagine he'll be getting a cease and desist at some point

#

depends if they notice his incompetence like we have

#

prob wont care then

hardy scarab
#

Extended Information on Server Hosting

amber crescent
# mossy vortex

Misleading marketing which is illegal, just report him and his page.