Skip to content

Xonotic

This is for the default xonotic setup.

Report an issue
updated
variables
2
images
1
author
parker@parkervcp.com
sha256
15b29951d375

Readme

Xonotic

The Free and Fast Arena Shooter

Server Ports

Xonotic requires 1 port

Port default
Game 26000

Startup command

./xonotic-linux64-dedicated +log_file latest.log +net_address 0.0.0.0 +port {{SERVER_PORT}} +maxplayers {{MAX_PLAYERS}}

The parts in blue are filled in by the panel when the server starts, from the variables below.

Docker image

  • SteamCMD (Debian) ghcr.io/ptero-eggs/steamcmd:debian

3 contributors

Variables

2 settings

  • Max Players

    Max players allowed on the server

    env
    MAX_PLAYERS
    default
    16
    rules
    required|numeric|digits_between:1,2
    • viewable
    • editable
  • Version

    env
    VERSION
    default
    0.8.6
    rules
    required|string|max:20
    • viewable
    • editable
Installation script 29 lines container ghcr.io/ptero-eggs/installers:alpine entrypoint ash show
#!/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 "-----------------------------------------"