With the right configuration, you can turn your Stormforge game server into exactly the server you have in mind: with your own name, a password, the right number of players, and a world with your rules for death and storms. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what you can adjust directly in the configuration file.
Stormforge reads its server settings from the settings.json file. However, you don’t need to change the most important values there manually: you can find them in ZapX under the Configuration tab, in Startup parameters.
Every time your server starts, it writes the values from the startup parameters to the corresponding places in settings.json. Everything else stays as it is and can be edited directly in the file. You can find the file in the Files tab, directly in your server’s main folder.
Always change values that are available as startup parameters in Startup parameters, not directly in settings.json. Any changes you make in the file will be overwritten with the values from the startup parameters the next time the server starts.
After you save, ZapX will offer to restart the server. Your changes will only take effect after the restart.
| Startup parameter | Meaning |
|---|---|
| Server name | Your server’s name, up to 64 characters. Default: ZapX Stormforge Server |
| Server password | Password required to join. Leave blank for an open server. |
| Max. players | How many players can be on your server at the same time, from 1 to 8. Default: 8 |
| World name | Name of the world, up to 64 characters. Default: ZapX World |
| World seed | Starting value used to generate the world. Leave blank for a random world. |
| Pause when empty | Pauses the world while no players are connected. Default: on |
| Loss on death | What happens to your inventory when you die: DropRecoverable (default), KeepAll, or LoseAll |
| Roaming storms | How intense the wandering storms are in your world: Off, Easy, Normal (default), or Hard |
Use the Loss on death field to choose how punishing death is:
DropRecoverable: Your inventory stays where you died, and you can retrieve it. This is the default.KeepAll: You keep your entire inventory.LoseAll: You lose your inventory.
Wandering storms are a special feature of Stormforge. Use Roaming storms to set how dangerous they are: from Off (no wandering storms) through Easy and Normal to Hard. Easy is a good starting point for relaxed sessions with friends.
The first time your server starts, it creates a new world using the World name and World seed from the startup parameters. After that, it loads that same world every time it starts. The world is specified in the worldPrefabID entry in settings.json.
World name and World seed only take effect when a new world is created. If you change them later, your existing world remains unchanged.
- First, back up your current world in the Savegames tab.
- Stop your server.
- If needed, enter a new World name and World seed in Startup parameters, then save.
- In the Files tab, open
settings.jsonand clear the value ofworldPrefabIDso that it reads"worldPrefabID": "". - Start your server. It will now create a new world and enter its ID in
worldPrefabIDautomatically.
Your old world will remain in the saves/Worlds folder. To switch back, enter its ID in worldPrefabID again and restart your server. The ID is the name of the folder in saves/Worlds.
Every time your server starts, it overwrites these values with the values from the startup parameters, so manually changing them won’t help: serverName, password, maxPlayers, pauseWhenEmpty, port, and, in worldSettings, the entries name, seed, deathPenalty, and movingStormsDifficulty. Your server also sets the savesDirectory path itself.
You can freely edit the other entries in worldSettings, such as combatDifficulty, resourceRate, enemyHealthScale, or durabilityLossScale. Your server will retain these settings each time it starts.
Only edit settings.json when your server is stopped, and make sure the JSON is valid. If the file is invalid, your server will set it aside as settings.json.broken the next time it starts and use the default settings.
Congratulations, you’ve successfully configured your Stormforge server! Our guide Connecting to the server shows you how to join your server, and you can find help with issues in Common issues. Our support team is available every day if you have any other questions or need help! 🙂
