Xonotic
This is for the default xonotic setup.
- updated
- variables
- 2
- images
- 1
- author
- parker@parkervcp.com
- sha256
- 15b29951d375
- source
- xonotic/egg-xonotic.json
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
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 hide
#!/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 "-----------------------------------------"