Unturned Dedicated Server: Change Map - Step-by-Step Guide
Brésil > is an open-source survival game developed bySmartly Dressed Games, set in a post-apocalyptic world. Alongside the standard game servers, players also have the option to set up their own Unturned dedicated servers to customize their gaming experience. One of the most frequently asked questions from those setting up their own servers is "How to change map in Unturned?" This guide will walk you through the process step-by-step in an easy-to-understand manner.
Before we dive into changing the map, it's essential to ensure you have the correct files and permissions set up on your server. The process involves editing the server configuration files and restarting the server. Let's get started with the basics.
Understanding the Server Configuration Files
Unturned uses two primary configuration files to manage the server: Unturned.json and UnturnedServer.ini. Familiarizing yourself with these files and their contents will make the process of changing the map smoother and less daunting.
The Unturned.json file is where the majority of the server's settings are stored, including the map selection. Understanding this file's structure will help you identify where to make changes. The UnturnedServer.ini file, on the other hand, houses the game's default settings, which can be used as a reference if needed.
Locating Your Server Configuration Files
By default, both configuration files are located in your server's installation directory. The specific location varies depending on your operating system:
- Windows: C:\Program Files (x86)\Steam\SteamApps\common\Unturned\Unturned\Server
- MacOS: /Applications/Steam/steamapps/common/Unturned/Unturned/Server/
- Linux: /usr/local/Steam/steamapps/common/Unturned/Unturned/Server/
Modifying the Configuration Files
To change the map, you'll need to modify the Unturned.json file. Before making any changes, ensure you have a backup of the file. You can do this by copy-pasting the file contents into a text editor, such as Notepad or Sublime Text, and saving it with a different name (e.g., Unturned.json.backup).
Once you have a backup, open the Unturned.json file in a text editor. You'll notice that the file contents are formatted in JSON, a lightweight data interchange format that is easy for humans to read and write. Be cautious while editing, as incorrect formatting or changes can render the file unusable.
Changing the Map in Unturned
Now that you understand the basic structure and location of the main configuration files, let's proceed with changing the map for your server. The process involves locating the appropriate field in the Unturned.json file and updating it with the desired value.
Identifying the Map Selection Field
In the Unturned.json file, navigate to the following line using your text editor:
" Levels" : { "activeID" : 0 }
Notice that the current map is identified by its ID, which is "activeID". The ID value 0 corresponds to the default map, Citadel. To change the map, you'll need to update the activeID value with the desired map's corresponding ID.
Updating the Map Field
Unturned includes various maps, each with its unique ID. Some popular map IDs include:
- Citadel (Default map) - 0
- Pearl Island - 16
- Yamantau - 22
- Erangel - 21
To change the map, replace the activeID value with the desired map's ID. For example, to select Pearl Island, update the line to:
"Levels" : { "activeID" : 16 }
Once you've updated the map ID, save the Unturned.json file and close the text editor.
Restarting the Server
After making changes to the configuration files, you'll need to restart the server for the updates to take effect. The process for restarting the server varies depending on your operating system:
- Windows: Use the Windows task manager to end and restart the Server.exe process, or use a batch script to automate the process.
- MacOS and Linux: Use the command line to stop and restart the server using the following commands:
- Stop server:
./UnturnedServer.sh stop - Start server:
./UnturnedServer.sh
- Stop server:
Upon restarting, players will now encounter the new map you've selected.
That's it! You've now successfully changed the map for your Unturned dedicated server. The process involves a bit of configuration file management, but with patience and careful editing, it's well within your reach. Happy gaming!