Necesse Server Configuration

From Survival Servers
Revision as of 06:19, 21 October 2026 by Ryan (talk | contribs) ([wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description)
Jump to navigation Jump to search

Every setting a Necesse dedicated server reads at startup lives in one file: server.cfg, found under %APPDATA%\Necesse\cfg\ on Windows or ~/.config/Necesse/cfg/ on Linux.

Edit the file while the server is stopped. Necesse rewrites server.cfg from its in-memory values on a clean shutdown, so changes made while the server is running are silently overwritten.

server.cfg keys

Key Default Range / values What it does
port 14159 0 - 65535 UDP port the server listens on
slots 10 1 - 250 Maximum concurrent players; enforced strictly
password (blank) any text Join password; blank means none
maxClientLatencySeconds 30 seconds How long a player may lag before being dropped
pauseWhenEmpty true true / false Pause the world when nobody is online
strictServerAuthority false true / false Tighter anti-cheat validation; can cause rubber-banding on high ping
logging true true / false Write a log file per server start
language en language code Server-side message language
unloadLevelsCooldown 30 seconds How long an area stays loaded after the last player leaves it
droppedItemsLifeMinutes 0 minutes; 0 = forever How long dropped items survive on the ground
unloadSettlements false true / false Unload player settlements when nobody is nearby
maxSettlementsPerPlayer -1 -1 = unlimited Cap on settlements per player
maxSettlersPerSettlement -1 -1 = unlimited Cap on settlers per settlement
zipSaves true true / false Store world saves compressed
MOTD (blank) any text Message shown to players on join

World settings are different

Difficulty, death penalty, raid frequency, PvP, hunger and the other world rules are baked into a world when it is first generated and cannot be changed by editing server.cfg afterwards. The accepted difficulty values are CASUAL, ADVENTURE, CLASSIC (the default), HARD and BRUTAL. There is no Easy/Normal/Hard set, and an unrecognized value silently falls back to the default. To change world rules on an existing world, an admin types /difficulty, /deathpenalty, /raids or /settings in the game's chat, then /save.

Admin

There is no admin entry in server.cfg. Launch the server with -owner YourCharacterName and join with exactly that character name to receive owner permissions, which unlock the in-game /permissions command for promoting other players.

On a hosted Necesse dedicated server from Survival Servers, all of the keys above except port, slots and password are edited from the Command Center's Server Config tool, with the admin name as a simple field. The password is the Lock Password in the settings form, slots come with your plan and we set the port. Every change is applied on the next restart.