Necesse Server Configuration

From Survival Servers
Revision as of 09:01, 17 November 2026 by Ryan (talk | contribs) ([wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Every setting a Necesse dedicated server reads when it starts is 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 current settings on a clean shutdown, so changes made while the server is running are overwritten without warning.

server.cfg keys

Key Default Range / values What it does
port 14159 0 to 65535 UDP port the server listens on
slots 10 1 to 250 Most players online at once, strictly enforced
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 Stricter anti-cheat checks. Can cause rubber-banding on high ping
logging true true / false Write a log file per server start
language en language code Language of the server's messages
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 set when the world is first generated and can't be changed by editing server.cfg afterwards. The accepted difficulty values are CASUAL, ADVENTURE, CLASSIC (the default), HARD and BRUTAL. There's no Easy/Normal/Hard set, and a value the game doesn't know falls back to the default without warning. 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's no admin entry in server.cfg. Launch the server with -owner YourCharacterName and join with exactly that character name to get owner permissions. They unlock the in-game /permissions command for promoting other players.

On a hosted Necesse dedicated server from Survival Servers, you edit every server.cfg key except port, slots and password in Server Config in the Command Center, and the admin name is its own field. The password is the Lock Password in the settings form, slots come with your plan and we set the port. Every change applies on the next restart.