Back Server setup guides
Necesse server hosting10 min

Necesse Dedicated Server Setup and server.cfg Tuning Guide

Deploy a Necesse dedicated server with SteamCMD 1169370, minimal single-port UDP 14159 forwarding, server.cfg, persistent settler NPCs, and open-source LGSM management.

Necesse is a top-down sandbox action-adventure game combining Terraria-style boss exploration and progression with RimWorld-style settler management. A self-hosted Dedicated Server keeps NPC residents farming, forging, logging, and automatically organizing storage while the host is offline. Server resource use is very low, and its network protocol is simple. This article covers deployment standards and key configuration for Necesse.


1. Server hardware baseline (excellent lightweight performance)

Specification 2~6-player adventure group 16-player large archipelago settlement server
CPU 2 cores / 2.4GHz+ 4 cores / 3.0GHz+
Memory (RAM) 4 GB physical RAM is enough for smooth operation 8 GB physical RAM
Storage 10 GB regular hard drive/SSD 20 GB SSD
Upload bandwidth 5 Mbps dedicated 15 Mbps dedicated

2. Install the dedicated server with SteamCMD

Download the dedicated server anonymously through SteamCMD (AppID 1169370):

Shell
steamcmd +login anonymous +app_update 1169370 validate +quit

The server includes its own Java Runtime Environment (JRE), so no additional Java environment variables are needed in the operating system.


3. Single-port network planning (minimal topology)

Unlike most survival games that need 2~3 forwarded ports, Necesse requires only one:

Default port Protocol Purpose Router forwarding
14159 UDP Direct client connections and main game data channel (GamePort) Required

4. Startup script and server.cfg explained

Create a start_server.bat script:

Batch
@echo off
jre\bin\java.exe -jar Server.jar -nogui -world "LanGameWorld" -port 14159 -slots 10 -password "your_password" -pausewhenempty true

Common arguments:

  • -world: World save name; creates a new world automatically if it does not exist.
  • -port: Listening UDP port (default 14159).
  • -slots: Maximum player count.
  • -password: Join password (leave empty for public access).
  • -pausewhenempty true: Pause automatically when empty. Freezes world time when no players are online, preventing raids from destroying unattended settlements.

5. Choose an approach: manual configuration or LanGame Server Manager (LGSM)

Manual Necesse maintenance requires managing Java command-line arguments and archiving data across multiple islands.

We recommend the official open-source dedicated server management platform to automate routine administration:

LGSM provides:

  1. Automatic bundled JRE management: Associates the embedded Java runtime to avoid system-level Java conflicts.
  2. One-click single-port testing: Detects whether UDP 14159 is allowed.
  3. Settlement snapshot protection: Archive world data before challenging ancient bosses or the abyss, with rollback in seconds.
  4. Direct console commands: Run players, say broadcasts, ban, and permission commands directly in the interface.