How to Configure Your Necesse Dedicated Server

Complete server.cfg reference for Necesse — server name, password, max players, world settings, difficulty, death penalty, raids, admin setup, and console commands.

Necesse uses a server.cfg file with a simple key=value format. This guide covers every setting, world creation options, admin setup, and all console commands.

Server File Structure

server.cfg
admins.txt

How to Edit server.cfg

Stop your server

Go to Console in the XGamingServer Panel and stop your server. Necesse overwrites server.cfg on shutdown, so always edit while stopped.

Open the file

Click Files in the sidebar and open server.cfg in the root directory.

Edit and save

Change the values you need, click Save Content, then start your server from Console.

server.cfg Reference

SettingDefaultDescription
serverName"Necesse Server"Name displayed in the server browser
serverPassword""Password required to join. Leave empty for a public server
maxClients10Maximum simultaneous players
pauseWhenEmptytruePause the world simulation when no players are online. Set to false if you want crops/settlers to progress while empty
giveClientsPowertrueWhen true, all players get admin-like permissions (can use settings GUI). Set to false for public servers and use admins.txt instead

giveClientsPower=true is fine for friend groups but dangerous on public servers — it lets any player change world settings. Disable it and use admins.txt for proper access control.

These settings are configured when the world is first created. Changing them in server.cfg after world creation has no effect — you'd need to delete the world and regenerate.

Difficulty

LevelDescription
CasualLow enemy damage, generous loot
AdventureBalanced for new players
ClassicStandard difficulty (recommended)
HardTougher enemies, more damage
BrutalMaximum challenge — not for the faint-hearted

Death Penalty

OptionWhat Happens
Keep InventoryNo penalty. Items stay in your inventory
Drop InventoryAll items drop at your death location. Must retrieve them
HardcorePermanent death — character is deleted

Raid Frequency

Controls how often hostile raids attack your settlements:

NoneLowNormalHighVery High

Higher raid frequency means more combat but also more loot from defeated raiders.

SettingDefaultDescription
worldSeed""World generation seed. Empty = random. Only applies at world creation
port14159UDP port for game traffic. Can also be set via Startup in the panel

Admin Setup

Necesse uses admins.txt to grant admin permissions. This is separate from giveClientsPower and gives specific players elevated commands.

Find the player's Steam ID

You need their SteamID64 (a 17-digit number like 76561198012345678). Look it up at steamid.io using their profile URL.

Edit admins.txt

In Files, open admins.txt in the root directory. Add one SteamID64 per line:

76561198012345678
76561198087654321

Set giveClientsPower to false

In server.cfg, set:

giveClientsPower=false

This ensures only players listed in admins.txt have admin access, not everyone.

Restart

Restart from Console to apply.

Console Commands

Run these in Console in the panel:

CommandDescription
/kick <player>Kick a player from the server
/ban <player>Ban a player permanently
/unban <player>Remove a ban
/permissions <player> <level>Set a player's permission level
/listShow all connected players
CommandDescription
/give <player> <itemID> [amount]Give items to a player
/tp <player> <x> <y>Teleport a player to coordinates
/time set <value>Set the world time
/world saveForce an immediate world save
CommandDescription
/stopGraceful server shutdown (saves world first)
/say <message>Broadcast a message to all players
/helpList all available commands

Ports

PortProtocolPurpose
14159UDPGame traffic

This port is configured via Startup in the panel or with the -port startup flag.

How is this guide?

40% Off — Limited TimeGet your Necesse server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page