With the right configuration, you can turn your Necesse game server into exactly the kind of world you want to experience with your friends: a custom welcome message, password, owner permissions for yourself, a suitable player limit, and world settings such as difficulty or raids. In this guide, we'll show you which settings are available, where to find them in ZapX, and what else you can adjust in the server.cfg file or with commands.
Your Necesse server reads its settings from two sources:
- Startup parameters: Set the world name, player limit, server owner, message of the day (MOTD), password, and some toggles in ZapX under the Configuration tab in Startup parameters. Your server passes these values directly to Necesse every time it starts, for example as
-slotsor-motd. - server.cfg: Other server settings, such as the maximum player latency or settlement limits, are in the
server.cfgfile. You can find the file in thenecesse/cfgfolder under the Files tab.
Values from the startup parameters always take priority over those in server.cfg. This applies to the player limit, MOTD, Pause when empty, log files, save compression, language, and port. ZapX assigns the port for your server, so you don't need to set it yourself.
Always change values that are available as startup parameters in the Startup Parameters, not in server.cfg. If the file contains a different value, your server will still use the value from the startup parameters, so the change in the file will have no effect.
After saving, ZapX will prompt you to restart the server. Necesse only reads its settings at startup, so your changes won't take effect until you restart it.
| Startup parameter | Description |
|---|---|
| World name | Name of the world your server loads or creates. Default: world |
| Max. players | How many players can play on your server at the same time, from 1 to 250. Default: 10 |
| Server owner | Player name that receives owner permissions on your server. Leave blank if you don't want to assign an owner. |
| Message of the day (MOTD) | Welcome message players see when they join. Default: A ZapX Necesse Server |
| Server password | Password required to join. Leave blank for an open server. |
| Pause when empty | Pauses the world while no players are connected. Default: off (0) |
| More client control | Player clients have more control, for example over their position and what hits them. Default: off (0) |
| Write log files | Creates a log file every time the server starts. Default: on (1) |
| Compress game saves | Saves new save files in compressed rather than uncompressed format. Default: on (1) |
| Language | Language of server messages, for example en (default) or de |
| Additional startup parameters | Additional Necesse startup parameters that your server appends at startup |
Necesse doesn't have a separate server name. Players add your server in the game through Multiplayer and Add Server using its IP address and port. See How to connect to your server. The Message of the day is what they'll see when they join your server.
Use World name to choose which world your server loads. If no world with that name exists yet, Necesse creates a new one the next time it starts. Enter the name without a folder or .zip extension. Your server saves the world as <Weltname>.zip in the saves/worlds folder.
Changing the world name doesn't delete your previous world. It remains saved under its original name, and you can switch back to it at any time by entering the old name again.
With Compress game saves enabled, your server saves the world as an archive. See Managing save files to learn how to download your world, upload a custom world, or restore a backup.
If Pause when empty is enabled, time in your world won't advance while no one is connected. If you leave the toggle off, your world will keep running even without players.
Necesse grants permissions in levels: User, Moderator, Admin, and Owner. Anyone who joins a server starts as a User.
To make yourself the owner of your server:
- Open Startup parameters in the Configuration tab.
- Under Server owner, enter your Necesse player name exactly as it appears in the game.
- Save and restart your server.
Anyone who connects using this name gets owner permissions. As the owner, you can grant other players permissions with the /permissions command in chat, for example:
/permissions set <Spielername> admin
Use /permissions list to see who has which permissions.
Anyone who connects using the name you entered gets owner permissions. To make sure only your friends can play, also protect your server with a Server password.
More client control gives player clients more say, for example over their position and hits. Your server then checks less of what players do. Leave this toggle off if there are players on your server whom you don't know.
Difficulty, death penalty, and raid frequency aren't startup parameters and aren't listed in server.cfg either. They're part of your world's settings. The easiest way to change them is with commands, which require at least Admin permissions:
| Command | Description |
|---|---|
/difficulty <Wert> | Changes the difficulty. Use /difficulty list to see all available values. |
/deathpenalty <Wert> | Changes the death penalty. Use /deathpenalty list to see all available values. |
/raids <Wert> | Changes how often raids occur. Use /raids list to see all available values. |
/settings <Einstellung> <Wert> | Changes other world settings. Use /settings list to see all available settings. |
Enter these commands in the in-game chat or in the Console tab. Your server saves world settings in the worldSettings.cfg file inside your world archive.
These settings aren't available as startup parameters. Change them directly in server.cfg in the necesse/cfg folder:
| Setting | Description |
|---|---|
maxClientLatencySeconds | Maximum delay, in seconds, a player can have before being disconnected from the server. Default: 30 |
strictServerAuthority | If set to true, your server checks much more strictly what player clients are allowed to do. Only use this if it's really necessary. Default: false |
unloadLevelsCooldown | How many seconds an area stays loaded after the last player leaves it. Default: 30 |
droppedItemsLifeMinutes | How many minutes dropped items remain in the world. 0 = unlimited (default) |
unloadSettlements | If set to true, your server unloads player settlements instead of keeping them loaded at all times. Default: false |
maxSettlementsPerPlayer | Maximum number of settlements a player can found. -1 = unlimited (default) |
maxSettlersPerSettlement | Maximum number of settlers a settlement can have. -1 = unlimited (default) |
To change a value:
- Stop your server.
- Open the
necesse/cfg/server.cfgfile under the Files tab. - Change the value after the equals sign, for example
droppedItemsLifeMinutes = 30,. Keep the comma at the end of the line and the braces for theSERVER = { … }block. - Save the file and start your server.
If Server password is left blank in the startup parameters, your server won't pass a password at startup. In that case, the password value in server.cfg applies, which is also blank by default. It's best to always set the password through the startup parameters so you know which one is in effect.
Your Necesse server is now set up the way you want it. See How to connect to your server to learn how to connect. If something isn't working as expected, our Common issues guide can help. If you have any other questions, our support team is available every day! 🙂
