How to host a dedicated Unturned 3.0 server using SteamCMD (VPS)

I wanted to host my own dedicated server for Unturned 3.0 on VPS.

In this case, I used Ubuntu but you can run it on Windows/any Linux OS/macOS almost in the same way (like .sh or .bat).

Env

  • Ubuntu 20.04

What I did

Install steamcmd

ref: SteamCMD#Downloading_SteamCMD

$ sudo add-apt-repository multiverse
$ sudo dpkg --add-architecture i386
$ sudo apt update
$ sudo apt install lib32gcc1 steamcmd

Install Unturned dedicated Server using steamcmd

$ steamcmd
Steam>login anonymous
Steam>app_update 1110390
Steam>exit

That commands creates files under ~/.steam/SteamApps/common/U3DS.

Host a dedicated server

There is ./ExampleServer.sh in the directory. You can run a LAN server using it.

$ cd ~/.steam/SteamApps/common/U3DS
$ ./ExampleServer.sh

But you may want to run Internet Server. So you should change command options a little bit.

$ cp ./ExampleServer.sh MyServer.sh
$ vi MyServer.sh

There are comments in the shellscript. So you can tell what todo.

This is my command in MyServer.sh.

./ServerHelper.sh -Port/27015+InternetServer/MyServer

Then run MyServer.sh.

$ ./MySrever.sh

When you ran it, and if you specified the server ID as MyServer (like InternetServer/MyServer), new directory should be created like ./Servers/MyServer.

In that directory, you can change server preference, like servername, password, map, cheating, mods, whitelist.

Connect to the server

Play -> Servers -> Connect

Steam Network Authentication

If you have problem with steam network authentication, you should VERIFY INTEGRITY OF GAME FILES.... from steam Unturned Game properties.

Call Golang function from EasyLanguage (TradeStation)

comments powered by Disqus