Home/ Guides/ Necesse/ Dedicated Server
🏰 Necesse · Server Setup

Necesse Dedicated Server Setup

Free download, brings its own Java, one UDP port. Give it a world name and it's up in about four seconds. The two things that bite: -owner trusts a character name, not an account, and an edit to server.cfg while it runs can get written straight back over.

Necesse server v1.3.3, build 24926481, Windows and Linux · Oct 19, 2026
The short version
  • Server app1169370, anonymous, free
  • Port14159 UDP. Nothing on TCP
  • JavaComes with it (Java 17). Don't install one
  • StartStartServer-nogui -world MyWorld
  • Ownerpermissions set <name> owner on the console
  • RAM~0.8 GB idle on a fresh world, nobody on
🛠️

Necesse Dedicated Server Setup, Step by Step

1

Download the server (app 1169370)

Get SteamCMD, then pull the server tool. Anonymous login works, so the account doesn't need to own the game:

steamcmd +force_install_dir C:\necesse +login anonymous +app_update 1169370 -beta public validate +quit

About 240 MB. Run the same line on Linux with a Linux path and SteamCMD hands you the Linux build. Both builds carry their own Java 17 in a jre folder, so skip any guide that opens with installing Java. 1169040 is the game, not the server.

2

Start it with a world name

StartServer-nogui.bat -world MyWorld          (Windows)
./StartServer-nogui.sh -world MyWorld         (Linux)

The script adds the Java flags and passes your arguments along. A new name builds a new world, an existing one loads it. Then it sits at Type help for list of commands., which is your console.

  • Leave -world off and it quizzes you in the console instead: world, port, slots, password, seed. Fine at a desk, useless for a service or a panel.
  • Linux: the .sh passes its arguments unquoted, so -world "My World" arrives as two arguments. Use a name without spaces.
  • The plain StartServer scripts open a server window. On a box with no screen, use the -nogui ones.

Port, slots, password, MOTD and the rest have launch flags too. They're all in Necesse server settings explained, next to the server.cfg key each one overrides.

3

Open UDP 14159

That's the whole list. We read the sockets off the running server: the game port is UDP and nothing listens on TCP, so the guides telling you to forward TCP as well cost you nothing and do nothing. -port changes it; a second server on the same box needs its own.

It also opens UDP 55169 on every network card for LAN discovery, which is how the server shows up in the game's LAN list. Don't forward that one.

4

Make yourself owner

-owner Bob gives owner to anyone who connects with a character called Bob. A name, not an account: we passed it a Steam ID and the server announced that any client named that number gets owner. On a server without a password, anybody can make a Bob.

The tidy way: join once, then type this on the server console and drop the flag.

permissions set Bob owner

It only finds players the server has already seen. permissions list prints the levels: User, Creative Settings, Moderator, Admin, Owner. Who gets which command is on Necesse console commands.

5

Find server.cfg and the saves

WhatWindowsLinux
Data folder%APPDATA%\Necesse~/.config/Necesse
Server configcfg\server.cfgcfg/server.cfg
Banscfg\banned.cfgcfg/banned.cfg
Worldssaves\worlds\MyWorld.zipsaves/worlds/MyWorld.zip
Logslogs\, one file per startlogs/, one file per start

Paths after the first row are inside the data folder. Start with -localdir and the whole lot sits next to Server.jar instead, which is how we ran ours and how most panels want it. -datadir <path> puts it anywhere.

Difficulty, death penalty, raids and PvP are not in server.cfg. They live in worldSettings.cfg inside the world's zip, and console commands change them live.

⚠ Edit server.cfg with the server stopped. A clean stop leaves a live edit alone, but the next time anyone changes a server setting from the console, the server writes the whole file back from memory. We changed slots by hand while ours ran, then changed the max latency from the console, and the slots edit was gone. Launch flags never get written to the file at all: they win for that run and that's it.

Back up by copying the world's .zip while the server is stopped, or straight after a save on the console.

6

Decide on pause when empty

It's on by default. A few seconds after the last player leaves, the world stops: clock, crops, settlers, all of it. Every boot of our empty test world moved the world clock the same ten seconds, whether the server ran for half a minute or three. That's why the settlement did nothing overnight.

Want it alive while you're away? pauseWhenEmpty = false in server.cfg, or pausewhenempty 0 on the console. The cost is CPU, around the clock.

7

Update, or roll back a version

Re-run the step 1 line. Older releases stay up as Steam branches named after their version (v1.3.2, v1.3.1, v1.2.0 and on back), so when a patch breaks your mods, pin the last one:

steamcmd +force_install_dir C:\necesse +login anonymous +app_update 1169370 -beta v1.3.2 validate +quit

SteamCMD remembers a beta and quietly reuses it next time, which is why step 1 says -beta public out loud. Players need the same version as the server to join.

Necesse Dedicated Server FAQ

Is the Necesse dedicated server free?
Yes. It's Steam app 1169370 and SteamCMD downloads it with anonymous login, so the account running it doesn't need to own Necesse.
Do I need to install Java?
No. The Windows and Linux builds both carry their own Java 17 in a jre folder, and the StartServer scripts use it.
What port does a Necesse server use?
UDP 14159, and nothing on TCP. Change it with -port or port in server.cfg. The LAN discovery socket on UDP 55169 doesn't need forwarding.
Where is the Necesse server.cfg?
%APPDATA%\Necesse\cfg\server.cfg on Windows, ~/.config/Necesse/cfg/server.cfg on Linux. With -localdir it's in a cfg folder next to Server.jar.
Where are Necesse server saves?
saves/worlds in the same data folder, one .zip per world. The world's own settings (difficulty, death penalty, raids, PvP) are inside that zip as worldSettings.cfg.
How do I make myself admin?
Join once, then type permissions set <yourname> owner on the server console. -owner works too, but it trusts a character name, so anyone who joins with that name gets owner.
Why doesn't the world progress when nobody's online?
pauseWhenEmpty is true by default, so the world stops a few seconds after the last player leaves. Set pauseWhenEmpty = false in server.cfg, or type pausewhenempty 0 on the console.