Xonotic

Games
Report Issue

This is for the default xonotic setup.

Contributors:
README

Xonotic

The Free and Fast Arena Shooter

Server Ports

Xonotic requires 1 port

Port default
Game 26000
Docker Images (1)
Name Image
SteamCMD (Debian) ghcr.io/ptero-eggs/steamcmd:debian
Startup Command
./xonotic-linux64-dedicated +log_file latest.log +net_address 0.0.0.0 +port {{SERVER_PORT}} +maxplayers {{MAX_PLAYERS}}
Variables (2)

Max Players

Max players allowed on the server

Environment:
MAX_PLAYERS
Default:
16
User Viewable:
User Editable:
Rules:
required|numeric|digits_between:1,2

Version

Environment:
VERSION
Default:
0.8.6
User Viewable:
User Editable:
Rules:
required|string|max:20
Installation Script
Container: ghcr.io/ptero-eggs/installers:alpine
Entrypoint: ash
#!/bin/ash
# Vanilla Xonotic Installation Script
#
# Server Files: /mnt/server
apk add rsync --no-cache

mkdir -p /mnt/server

cd /mnt/server

wget -O xonotic.zip http://dl.xonotic.org/xonotic-${VERSION}.zip

unzip -o xonotic.zip

mv Xonotic/* ./

./misc/tools/rsync-updater/update-to-autobuild.sh -y

# create initial folder structure to copy the default config to, because it only gets created on first startup
mkdir -p .xonotic/data
cp -n server/server.cfg .xonotic/data/server.cfg || true # do not overwrite existing config file

rm -rf COPYING Makefile *glx* *glx *sdl* *sdl *linux32* *exe *.app *.sh bin* GPL* Docs/ gmqcc/ source/ misc/ Xonotic/ xonotic.zip


## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"