Menu
 

Server Configuration - Necesse Wiki

Necesse: Server Configuration

Necesse servers are configured primarily through Startup Arguments and the `server.cfg` file. Understanding these settings is crucial for balancing difficulty and performance.

1. Startup Args

Flags like `-world`, `-port`, and `-slots` are set in your startup command line. These override config files.

2. World Config

Settings inside `world-settings.cfg` control gameplay: Raids, PvP, and Survival mechanics.

3. Server Config

Technical settings in `server.cfg`: Max players, Password, MOTD, and Zip compression.

Common Startup Arguments

In your Supercraft panel, these are usually handled by the UI, but here is what they do:

  • -world "WorldName" - Selects which save folder to load.
  • -port 14159 - Default UDP port.
  • -slots 10 - Max concurrent players.
  • -pausewhenempty - Pauses time when 0 players are online (Recommended).
  • -giveclientspower - Allows clients to use cheat/admin commands if they are admin.

Gameplay Settings (server.cfg / world settings)

You can tweak these to customize the experience:

Setting Description
allowCheats = false Prevents clients from using /give or /god.
difficulty = NORMAL Options: CASUAL, ADVENTURE, NORMAL, HARD, BRUTAL.
raidFrequency = OCCASIONAL Controls how often settlements get attacked.
pvp = false Friendly fire and player damage toggle.
unloadSettlements = true Performance: Unloads far-away chunks to save RAM.

Performance Tuning

If your server is lagging with many settlers:

  1. Ensure you have allocated at least 4GB RAM for large worlds.
  2. Set -logging false to reduce disk I/O if logs are huge.
  3. Restart daily to clear Java garbage collection overhead.

Manage your colony. Host your Necesse server with Supercraft and use our visual config editor to toggle Raids and PvP without touching text files.

Top