teeworlds

teeworlds


install

zypper in teeworlds

configure /etc/teeworlds_srv.cfg

sv_name My super TeeWorlds Server
sv_port 8303
sv_max_clients 16
sv_map ctf5
sv_maprotation ctf1 ctf2 ctf3 ctf4 ctf5 ctf6 ctf7 ctf8
sv_matches_per_map 3
sv_rcon_password MySuperPasswordForAdministrate
sv_scorelimit 500
sv_timelimit 60
sv_gametype ctf
sv_register 1
sv_motd Велкам.
sv_inactivekick 1
sv_inactivekick_time 3
ec_port 8304
ec_password MySuperPassword
logfile teeworlds_srv.log

for all cfg option please read this

create systemd service file

[Unit]
Description=Resilio Sync
After=multi-user.target

[Service]
Type=simple
User=werwolf
ExecStart=/usr/bin/teeworlds_srv -f /etc/teeworlds_srv.cfg
Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target

run & autorun

systemctl daemon-reload
systemctl enable --now teeworlds_srv.service

Содержание