

Whether you’re hosting on your own machine or paying a host, there are basics and things that you have to know while working with Unturned servers. I personally am not that experienced with writing guides, so please correct anything wrong you find here, it’d be very appreciated. Remember that making mistakes and errors is fine, that’s how you’ll learn most of this anyways. This guide is made solely to help people with developing their own servers or giving them a little bit of a start with it. Systemd will now automatically start the server on boot and will gracefully shutdown the server on shutdown.This guide’s aim is to help people with starting dedicated servers and developing them! Then reload systemd and enable and start the service: service file in the /etc/systemd/system directory, for example rvice:ĮxecStart=/bin/screen -dmS unturned-server pathtounturned/ServerHelper.sh -ThreadedConsole +InternetServer/MyServerĮxecStop=/bin/bash -c 'screen -S unturned-server -p 0 -X stuff "save^Mshutdown^M" tail -pid=$MAINPID -f /dev/null'Ĭhange pathtounturned/ServerHelper.sh to the path where the server is installed, +InternetServer/MyServer to the name of the server, and User=unturned to the user that will run the server. Changing the MyServer ServerID in the launch arguments can be done to run multiple servers at once, or to keep savedata separate.įor an example script, open the built-in ExampleServer.sh file.Ī systemd service can be created to automatically start and stop the server.Ĭreate a. This is where all savedata and configuration files are kept. Running it will have created a "MyServer" directory in U3DS\Servers. For a LAN server, use +LanServer instead.Ĭleanly shutdown the server once it finishes loading, with shutdown. ServerHelper.sh +InternetServer/MyServer. Navigate to the SteamCMD\steamapps\common\U3DS directory.įor an internet server, run. Login to Steam anonymously, download the server, and then close SteamCMD.Īfter installation, the server files are now in the SteamCMD\steamapps\common\U3DS directory. Once downloaded, run the steamcmd.sh script. Refer to Valve's official documentation for a Linux installation.
