Skip to content

DDRaceNetwork

DDraceNetwork (DDNet) is an actively maintained version of DDRace, a Teeworlds modification with a unique cooperative gameplay.

egg-ddracenetwork.json

updated

Ports

Add an allocation on the node for each port.

  • Game 8303

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
29 lines

Image

  • Debian ghcr.io/ptero-eggs/yolks:debian

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

5 variables

Startup command

./DDNet-Server
  • Latest is the default, put "nightly" for beta, or enter the version number, for example "17.0".

    VERSIONUsers can edit

    required|string|max:20

  • The name of the server

    SERVER_NAMEUsers can edit

    required|string|max:64

  • Password for joining the server, empty for no password

    SERVER_PASSWORDUsers can edit

    nullable|string|max:64

  • Map to start server with

    SERVER_MAPUsers can edit

    required|string|max:64

  • Register the server to the server list. 0 is disabled ipv4 is enabled listening ipv4

    SERVER_REGISTERUsers can edit

    required|string|in:0,ipv4

Wings

Stop command
^^C
Running when the console shows
server name is

Files Wings edits

Wings sets these values in these files before each start.

data/autoexec_server.cfg file

sv_port
sv_port {{server.build.default.port}}
sv_name
sv_name "{{server.build.env.SERVER_NAME}}"
password
password "{{server.build.env.SERVER_PASSWORD}}"
sv_map
sv_map "{{server.build.env.SERVER_MAP}}"
sv_register
sv_register {{server.build.env.SERVER_REGISTER}}

Readme

DDRaceNetwork

From their Website

DDraceNetwork (DDNet) is an actively maintained version of DDRace, a Teeworlds modification with a unique cooperative gameplay..

Installation/System Requirements

Bare Minimum Recommended
Processor Almost any proccessor will work -
RAM 100 MiB 256 MiB
Storage 70 MiB 1024 MiB
Network Any reasonable speed -
Game Ownership Not needed The game is free, and server doesn't need the game to work.

Server Ports

Port default
Game 8303

Changes

  1. Add standalone games

    · Daniel Barton · 74c706a

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 29 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash
apt update
apt -y install curl xz-utils tar

if [ -z "${VERSION}" ] || [ "${VERSION}" == "latest" ]; then
    A=$(curl -sSL https://ddnet.org/downloads/ | grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | grep linux_x86_64.tar.xz | awk '{print $2}' |cut -c7- | sed 's/.$//' | head -1)
    DOWNLOAD_URL=https://ddnet.org/downloads/${A}
else
    A=$(curl -sSL https://ddnet.org/downloads/ | grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | grep linux_x86_64.tar.xz | awk '{print $2}' |cut -c7- | sed 's/.$//' | grep -i ${VERSION})
    DOWNLOAD_URL=https://ddnet.org/downloads/${A}
fi

mkdir -p /mnt/server
cd /mnt/server

curl -sSL -o ddnet_linux_x86_64.tar.xz ${DOWNLOAD_URL}
tar -xf ddnet_linux_x86_64.tar.xz --strip-components=1
rm ddnet_linux_x86_64.tar.xz

cd /mnt/server/data
sed -i 's/#\(sv_port [0-9]\+\)/\1/' autoexec_server.cfg

cd /mnt/server
echo "# Check /data/autoexec_config.cfg for more info!" >> myServerconfig.cfg

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