Sign inSign up

brammys/necesse-server

By brammys

Updated 25 days ago

Self-hosted Necesse server.

Image
8

50K+

brammys/necesse-server repository overview

Quick reference

Examples

New world

The following command creates a server with strong_pass for the password. And it also generates a new world.

docker run -d \
    -v /necesse/saves:/necesse/saves \
    -p 14159:14159/udp \
    -e PASSWORD=strong_pass \
    -e PAUSE=1 \
    --restart=always \
    --name necesse-server \
    brammys/necesse-server
Existing world

First move your existing WORLD_NAME file to the /necesse/saves directory. Use the following command to start your server with your provided world. Be sure to replace WORLD_NAME with your actual world name.

docker run -d \
    -v /necesse/saves:/necesse/saves \
    -p 14159:14159/udp \
    -e PASSWORD=strong_pass \
    -e PAUSE=1 \
    -e WORLD=WORLD_NAME \
    --restart=always \
    --name necesse-server \
    brammys/necesse-server
Docker-compose

You can also use the provided docker-compose.yaml file. Use the following command to start your dedicated server with docker-compose.

docker-compose up -d

Supported tags

All suported tags can be found on dockerhub.

Configurations

Environment variables
ENV variableDefault valueDescription
WORLDworldThe name of the world that will be used.
SLOTS10The Amount of player slots.
OWNER``Anyone that connects with this name, will get owner permissions.
MOTD"This server is made possible by Docker!"Sets the message of the day. Use \n for new line.
PASSWORD``The password for the server, blank for no password.
GIVE_CLIENTS_POWER1If the server should check client actions, a kind of anti-cheat. When this setting is on it will give a much smoother experience for clients. (0 off, 1 on)
PAUSE0Pauses the world when there are no players in server. (0 off, 1 on)
LOGGING1Generate a log file for each session. (0 off, 1 on)
ZIP1Whether saves should be compressed. (0 off, 1 on)
JVMARGS``Any extra arguments to supply to the JVM via the java command.
Volumes
PathDescription
/necesse/savesThe folder containing all the world saves.
/necesse/logsThe folder containing all the logs of the server.
/necesse/cfgThe folder containing all the server configuration files.
Ports
PortDescription
14159/udpThe game runs on UDP port 14159.

Tag summary

Content type

Image

Digest

sha256:11ed3707d

Size

186.9 MB

Last updated

25 days ago

docker pull brammys/necesse-server