Scripts to run production teeworlds servers.
sudo apt install figlet screen expect gdb # On Debian/Ubuntu
# optional dependencies
sudo apt install graphviz # for profiler graphics
cd
mkdir -p git && cd git
git clone https://github.com/matricks/bam
cd bam
./make_unix.sh
cd ~/git
git clone --recursive https://github.com/DDNetPP/DDNetPP
git clone https://github.com/chillerbot/chillerbot-fc
cd
git clone https://github.com/DDNetPP/server my_server
cd my_server
during the setup you will be asked to create a server.cnf
# DDNet++ server config by ChillerDragon
# https://github.com/DDNetPP/server
git_root=/home/chiller/git
gitpath_mod=/home/chiller/git/teeworlds
gitpath_log=/home/chiller/.teeworlds/dumps
server_name=fly
screen -S my_debug_session
./gdb.sh
# type 'run' and press enter
# ctrl-a ctrl-d to detach
screen -r my_debug_session # to return again on crash or to visit the logs
screen -X -S my_debug_session quit # clean up if you are done
mkdir -p hooks/before_compile
echo 'echo hello from my hook' > hooks/before_compile/01-my-hook.sh
It now prints "hello from my hook" every time before the update script recompiles the code
- server-plugin-web crappy website with cpu usage and logs
- server-plugin-disk send discord notification if server hard drive is full