How to Use Dedicated Server in Unturned

How to Use Dedicated Server in Unturned? Step-by-Step Guide

How to use dedicated server in Unturned allows players to create a customizable gaming environment where they have complete control over the server’s settings, map, player interactions, and more. This guide will walk you through the essential steps to set up, configure, and manage an Unturned dedicated server.

Step-by-Step Guide How to Use Dedicated Server in Unturned

Step 1: Understanding Unturned Server Types

There are two main ways to host an Unturned server:

  1. Using your own hardware: Running the server on your own computer or a machine dedicated to server hosting. This is ideal if you have the hardware and a reliable internet connection.
  2. Using a rented dedicated server: Services like Nitrado, Apex Hosting, or OVH offer dedicated servers specifically optimized for gaming. These usually have better uptime and bandwidth for larger player bases.

For this guide, we’ll assume you’re setting up a dedicated server on your own hardware.

Step 2: System Requirements for Running an Unturned Server

To run an Unturned server smoothly, ensure your system meets the minimum requirements:

  • Operating Method: Windows Server 2012 (or newer) or Linux.
  • Processor: Dual-core CPU or higher.
  • RAM: At least 4 GB (more if you plan to have many players).
  • Disk Space: Approximately 4 GB for the game files, plus extra for maps and mods.
  • Internet: A stable connection with enough upload speed to handle the player load.

Step 3: Downloading Unturned Dedicated Server Software

The use dedicated server in Unturned files is available via Steam:

  1. Open Steam: Go to your Steam Library.
  2. Tools Library: Search for “Unturned Dedicated Server” in the “Tools” section.
  3. Install the Server: Right-click on the tool and select “Install” to download the files.

Alternatively, if you are running the server on Linux, you can use SteamCMD to install the server files, a command-line tool for downloading Steam games and server files.

Step 4: Configuring the Unturned Dedicated Server

Once the server files are downloaded, you’ll need to configure the server settings:

  1. Locate the Files: Open the Unturned directory. By default, it’s located in Steam\steamapps\common\Unturned.
  2. Create a Server Folder: Inside the Unturned folder, create a new folder named “Servers.” Then, inside the “Servers” folder, create another folder with the name you want for your server (e.g., “MyUnturnedServer”).
  3. Edit Configuration Files: Go to Servers\MyUnturnedServer and open Config.json with a text editor. Here, you can adjust important settings, example:
    • MaxPlayers: Set the maximum number of players.
    • Port: Default is 27015; you can change this if running multiple servers.
    • Map: Set the map name (e.g., “PEI” or “Russia”).
  4. Permissions: Within the Server folder, create a new file named Commands.dat. This file will store server commands such as:
    • Name MyServerName (sets server name).
    • MaxPlayers 10 (sets max player count).
    • Map PEI (chooses the map).
    • Password (optional, for a private server).

     

Step 5: Port Forwarding

To allow other players to connect to your server, you’ll need to open specific ports on your router:

  1. Log in to Your Router: Access your router’s configuration page by entering the router IP address into a browser.
  2. Find Port Forwarding Section: Look for “Port Forwarding” in the settings.
  3. Add a New Rule: Set up port forwarding to open ports 27015-27017 (or the ports you specified in the configuration).
  4. Protocol: Use TCP/UDP.

Refer to your router’s manual for exact steps if you’re unsure where to find port forwarding options.

Step 6: Starting the Unturned Server

Now that your configuration is complete:

    1. Open a Order Prompt (Windows) or Terminal (Linux).
    2. Navigate to the Unturned Folder: Enter the directory where Unturned is installed.
    3. Run the Server Command:
      • For Windows: Unturned.exe -nographics -batchmode +secureserver/MyUnturnedServer
      • For Linux: ./Unturned_Headless.x86_64 -nographics -batchmode +secureserver/MyUnturnedServer

The server should start, and you’ll see logs as it begins loading.

Related: Dedicated RDP USA

Step 7: Connecting to Your Unturned Server

To connect to use dedicated server in Unturned on your computer and follow these steps:

  1. Click on Play and then Connect.
  2. Enter Server IP Address and Port Number: The IP will be your public IP address (or local IP if on the same network), and the port is usually 27015.
  3. Password (if set).
  4. Join Server.

If the server is set up correctly, you should connect and start playing with other players.

Step 8: Admin Commands for Server Management

While running the server, you may need admin commands to manage players and settings:

  • /ban [PlayersName] – Ban a player from the server.
  • /kick [PlayersName] – Kick a player from the server.
  • /teleport [Player1] [Player2] – Teleport one player to another.
  • /give [PlayerName] [ItemID] – Give a specific item to a player.
  • /weather [clear/storm] – Change the server’s weather.

To give yourself admin privileges, add your Steam ID to the AdminList.txt file found in the server directory.

Step 9: Installing Mods and Custom Maps

To add mods or custom maps:

  1. Visit the Steam Workshop: Browse the Unturned Workshop on Steam and subscribe to the mods you want.
  2. Install Mods on the Server: Navigate to Servers\MyUnturnedServer\Workshop\Content and add the downloaded mod files.
  3. Enable Mods in Commands.dat: Add each mod ID to the Commands.dat file, e.g., WorkshopDownloadIDs followed by the mod ID.

Step 10: Backing Up and Maintaining Your Server

To keep your server running smoothly:

  • Regular Backups: Back up the server folder regularly to avoid data loss.
  • Update the Server: Check for Unturned updates, as they often fix bugs and introduce new features.
  • Server Logs: Check the logs periodically to monitor player activities and troubleshoot any issues.

Conclusion

Hosting a use dedicated server in Unturned server offers a fantastic way to experience the game with friends or the community on your own terms. By following this guide, you can set up, configure, and manage your server to create a customized Unturned experience. Happy gaming!

Scroll to Top