Egg Repository

Pterodactyl Community Egg Repository

Cube 2: Sauerbraten

Cube 2: Sauerbraten is a free multiplayer & singleplayer first person shooter, the successor of the Cube FPS. Much like the original Cube, the aim of this game is fun, old school deathmatch gameplay and also to allow map/geometry editing to be done cooperatively in-game.

Read Me

Cube 2: Sauerbraten

sauerbraten.org

Cube 2: Sauerbraten is a free multiplayer & singleplayer first person shooter, the successor of the Cube FPS. Much like the original Cube, the aim of this game is fun, old school deathmatch gameplay and also to allow map/geometry editing to be done cooperatively in-game.

Server Ports

Ports required to run the server.

Portdefault
Game28785
Game +128786

The second port is only used for the server master list to be able to update the server info. (Description, player count, etc.)

Must be Game +1!

Notes

28785 & 28786 is the default ports, but any port can be used. Port 28784 must be available for pinging servers over a LAN to work.

Yolks
NameTag
Debianghcr.io/ptero-eggs/yolks:debian
Variables and Startup

Startup Command

./bin_unix/linux_64_server -j{{SERVER_PORT}} -n{{CUBE_SERVERDESCRIPTION}} -c{{CUBE_MAXPLAYERS}} -m{{CUBE_MASTERSERVER}} -p{{CUBE_ADMINPASSWORD}}

Variables

Server Description

Environment Variable: CUBE_SERVERDESCRIPTION
Default Value:
User Viewable:
User Editable:
Max Players

Sets the max number of clients to N. The default is 4. If you want to set it higher, be aware that bandwidth usage almost doubles with each extra client, so only do this if the server runs on a serious pipe (not your home DSL or Cable connection).

Environment Variable: CUBE_MAXPLAYERS
Default Value: 4
User Viewable:
User Editable:
Master Server

Sets the master server to use for either server (registering) and client (updating) to S. (default: sauerbraten.org).

Environment Variable: CUBE_MASTERSERVER
Default Value: sauerbraten.org
User Viewable:
User Editable:
Admin Password

Environment Variable: CUBE_ADMINPASSWORD
Default Value:
User Viewable:
User Editable:
Install Script
#!/bin/bash
# AssaultCube Server Egg (By HoleInTheSeat) <|-|> (https://assault.cubers.net/)
#
# Server Files: /mnt/server

apt update 
#######-|Dependencies|-#######
apt -y install tar curl bzip2
#######-|Downloading files|-#######
mkdir -p /mnt/server
cd /mnt/server
echo -e "\n"
echo -e "\n"
echo -e "###############################################"
echo -e "##  Downloading and unarchiving Sauerbraten  ##"
echo -e "## THIS WILL TAKE A WHILE. PLEASE BE PATIENT ##"
echo -e "###############################################"
echo -e "\n"
echo -e "\n"
curl -sSL -o sauerbraten_2020_12_29_linux.tar.bz2 https://cfhcable.dl.sourceforge.net/project/sauerbraten/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2
tar -xf sauerbraten_2020_12_29_linux.tar.bz2 -strip-components=1
rm sauerbraten_2020_12_29_linux.tar.bz2
chmod +x bin_unix/linux_64_server

#######-|Alert Completion|-#######
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
Installation Imageghcr.io/ptero-eggs/installers:debianInstallation Entrypointbash