How to Create a Necesse Server Guide: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:ss-claude-11372] Cut filler: notes about the page itself, repeated lines, empty phrases and decorative pictures (Ryan 2026-10-15)
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
Line 7: Line 7:
== Before you start ==
== Before you start ==


The dedicated server is its own free tool on Steam (app <code>1169370</code>) and installs anonymously through SteamCMD, so you do not need a second copy of the game. It is a Java application that ships with its own bundled Java runtime: there is nothing extra to install. A server uses about 300 MB of disk plus room for world saves, and one UDP port.
The dedicated server is its own free tool on Steam (app <code>1169370</code>) and installs anonymously through SteamCMD, so you don't need a second copy of the game. It's a Java program that comes with its own Java, so there's nothing extra to install. A server uses about 300 MB of disk plus room for world saves, and one UDP port.


== Installing the server ==
== Installing the server ==
Line 13: Line 13:
# Install [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD].
# Install [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD].
# Install the server: <code>steamcmd +login anonymous +app_update 1169370 validate +quit</code>
# Install the server: <code>steamcmd +login anonymous +app_update 1169370 validate +quit</code>
# Start it with the no-window flag: <code>StartServer-nogui.bat</code> on Windows or <code>./StartServer-nogui.sh</code> on Linux. Without <code>-nogui</code> the server tries to open a desktop window and will not start on a headless machine.
# Start it with the no-window launch option: <code>StartServer-nogui.bat</code> on Windows or <code>./StartServer-nogui.sh</code> on Linux. Without <code>-nogui</code> the server tries to open a desktop window and won't start on a machine with no desktop.
# Forward UDP port <code>14159</code> (or whichever port you configure) on your router and allow it through the firewall.
# Open UDP port <code>14159</code> (or the port you set) on your router and allow it through the firewall.


== Configuration ==
== Configuration ==


Settings live in <code>server.cfg</code> under <code>%APPDATA%\Necesse\cfg\</code> on Windows (<code>~/.config/Necesse/cfg/</code> on Linux): port, slots, password, message of the day, item despawn timers and settlement limits. Two things worth knowing:
Settings live in <code>server.cfg</code> under <code>%APPDATA%\Necesse\cfg\</code> on Windows (<code>~/.config/Necesse/cfg/</code> on Linux): port, slots, password, message of the day, item despawn timers and settlement limits. Two things to know:


* Edit the file '''while the server is stopped'''. Necesse rewrites <code>server.cfg</code> from memory when it shuts down cleanly, which overwrites any edits made while it was running.
* Edit the file '''while the server is stopped'''. Necesse rewrites <code>server.cfg</code> from memory when it shuts down cleanly, which overwrites any edits made while it was running.
* World saves are single <code>.zip</code> files under <code>saves\worlds\</code> in the same <code>Necesse</code> folder. Back them up on a schedule; that one file is your whole world.
* World saves are single <code>.zip</code> files under <code>saves\worlds\</code> in the same <code>Necesse</code> folder. Back them up on a schedule. That one file is your whole world.


To give yourself admin, launch with <code>-owner YourCharacterName</code>. Whoever joins with exactly that character name gets owner permissions and the full in-game command set, including <code>/permissions</code> to promote others.
To give yourself admin, launch with <code>-owner YourCharacterName</code>. Whoever joins with exactly that character name gets owner permissions and the full in-game command set, including <code>/permissions</code> to promote others.


Useful launch arguments: <code>-world MyWorld -port 14159 -slots 10 -password secret -owner YourName</code>
Useful launch options: <code>-world MyWorld -port 14159 -slots 10 -password secret -owner YourName</code>


== Running more than one server ==
== Running more than one server ==


Every Necesse instance on a machine reads the same <code>%APPDATA%\Necesse</code> folder: there is no launch flag that moves it. Without redirecting that per instance (for example by launching each server with its own <code>APPDATA</code> environment value), two servers on one machine share a config and overwrite each other's worlds.
Every Necesse server on a machine reads the same <code>%APPDATA%\Necesse</code> folder, and no launch option moves it. Unless you point each server at its own folder (for example by launching each with its own <code>APPDATA</code> environment value), two servers on one machine share a config and overwrite each other's worlds.


== The instant alternative ==
== Renting a Necesse server ==


If you would rather skip SteamCMD, port forwarding and leaving a PC on, [https://www.survivalservers.com/services/game_servers/necesse/ Necesse server hosting] from Survival Servers deploys the same official server tool in minutes. The config is editable from the Command Center, with scheduled backups and full FTP access.
To skip SteamCMD, router ports and leaving a PC on, [https://www.survivalservers.com/services/game_servers/necesse/ Necesse server hosting] from Survival Servers sets up the same official server in minutes. You edit the config in the Command Center, with scheduled backups and full FTP access.

Revision as of 08:47, 17 November 2026

Necesse ships a free official dedicated server, so you can run an always-on world that friends join any time.

Before you start

The dedicated server is its own free tool on Steam (app 1169370) and installs anonymously through SteamCMD, so you don't need a second copy of the game. It's a Java program that comes with its own Java, so there's nothing extra to install. A server uses about 300 MB of disk plus room for world saves, and one UDP port.

Installing the server

  1. Install SteamCMD.
  2. Install the server: steamcmd +login anonymous +app_update 1169370 validate +quit
  3. Start it with the no-window launch option: StartServer-nogui.bat on Windows or ./StartServer-nogui.sh on Linux. Without -nogui the server tries to open a desktop window and won't start on a machine with no desktop.
  4. Open UDP port 14159 (or the port you set) on your router and allow it through the firewall.

Configuration

Settings live in server.cfg under %APPDATA%\Necesse\cfg\ on Windows (~/.config/Necesse/cfg/ on Linux): port, slots, password, message of the day, item despawn timers and settlement limits. Two things to know:

  • Edit the file while the server is stopped. Necesse rewrites server.cfg from memory when it shuts down cleanly, which overwrites any edits made while it was running.
  • World saves are single .zip files under saves\worlds\ in the same Necesse folder. Back them up on a schedule. That one file is your whole world.

To give yourself admin, launch with -owner YourCharacterName. Whoever joins with exactly that character name gets owner permissions and the full in-game command set, including /permissions to promote others.

Useful launch options: -world MyWorld -port 14159 -slots 10 -password secret -owner YourName

Running more than one server

Every Necesse server on a machine reads the same %APPDATA%\Necesse folder, and no launch option moves it. Unless you point each server at its own folder (for example by launching each with its own APPDATA environment value), two servers on one machine share a config and overwrite each other's worlds.

Renting a Necesse server

To skip SteamCMD, router ports and leaving a PC on, Necesse server hosting from Survival Servers sets up the same official server in minutes. You edit the config in the Command Center, with scheduled backups and full FTP access.