When on a home network Port Forwarding is required in order to direct traffic to the host computer. Hosting a publicly-accessible internet server requires an extra step compared to a LAN server. During startup the Map command searches installed workshop items for a matching name.Īlphabetically sorted list of curated map file IDs: Players will have the files downloaded while connecting to the server.Ĭurated maps are available as workshop items, so are configured in the WorkshopDownloadConfig.json file.
![how to portforward unturned server how to portforward unturned server](https://i0.wp.com/www.alphr.com/wp-content/uploads/2021/03/Screenshot_1-48.png)
Launch commands are setup in the Server > Commands.dat file. This is the name after the +InternetServer/ or +LanServer/ command. Changing the MyServer ServerID (from step 2) in the batch script to a different name will allow for keeping savedata separate across multiple servers, and for running multiple servers at once.Įach individual ServerID has its own savedata and configuration. This directory is where all the savedata and configuration files are kept. The executed command has created a new file directory located in …/U3DS/Servers, called “MyServer”. You can safely close the server by executing (typing, and then pressing the “↵ Enter” key on your keyboard) the following command on the command-line interface: shutdown
![how to portforward unturned server how to portforward unturned server](https://netstorage-tuko.akamaized.net/images/8cdd4aea94a3097a.jpg)
The batch script has created a new file directory located in …\U3DS\Servers, called “MyServer”. When the command-line interface stops outputting new lines of text, it has finished loading (and finished generating all necessary files). Because this is the first time we have ran the batch file, it is going to generate a bunch of necessary server files.
![how to portforward unturned server how to portforward unturned server](https://i.ytimg.com/vi/1uN5ApqQiXs/hqdefault.jpg)
Save your changes to the file, and close the file.ĭouble-click the batch script to launch the server.For an example batch script, open the built-in ExampleServer.bat file in a text editor._ In this example “MyServer” is used as the ServerID for savedata and configuration purposes you may choose to replace “MyServer” with a different name. Note: running an internet server will require opening ports on your router (this is called “port forwarding”). For a LAN server, copy-and-paste the following text into the file: start "" "%~dp0ServerHelper.bat" +LanServer/MyServer.For an internet server, copy-and-paste the following text into the file: start "" "%~dp0ServerHelper.bat" +InternetServer/MyServer.Add the script that will start your server when the batch script is ran.This will open the batch file in your default text editor, although any text editor (e.g., Notepad, WordPad, Notepad++) can be used. Right-click on the batch script ( Tutorial.bat) and select Edit.Rename the “New Text Document.txt” file, and change it from a text file (.txt) to a batch script file (.bat).File extensions should now be displayed at the end of file names.In the Show/hide section of options, ensure that the “File name extensions” box is checked.At the top of the File Explorer window, navigate to the View tab on the ribbon.txt file extension, then you need to enable the viewing of “File name extensions”. If the file name does not display the.This will create a new text file called “New Text Document.txt”. Create a new text file by right-clicking an empty space within the U3DS directory, and selecting New > Text Document.\SteamCMD\steamapps\common\U3DS directory.
How to portforward unturned server how to#
The server files are now in the …SteamCMD\steamapps\common\U3DS directory.Ĭontinue to: How to Launch Server on Windows or How to Launch Server on Linux How to Launch Server on Windows