The Free and Fast Arena Shooter
Xonotic requires 1 port
Port | default |
---|---|
Game | 26000 |
Name | Tag |
---|---|
SteamCMD (Debian) | ghcr.io/pterodactyl/steamcmd:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Max Players | Max players allowed on the server | MAX_PLAYERS | 16 | Yes | Yes |
Version | VERSION | 0.8.6 | Yes | Yes |
#!/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
# 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 "-----------------------------------------"