#!/bin/bash cd ~/ echo "make dir" mkdir bzflag echo "go into dir" cd bzflag echo "Install snap" sudo apt install snapd echo "Install bzflag" sudo snap install bzflag echo "starting server" nohup bzflag.bzfs -ms 5 -j -t +r +f SW +f SB{2} +f GM +f ST{3} -d -d -d &>/dev/null & #nohup bzflag.bzfs -conf /home/onfoss/bzflag/config.txt &>/dev/null & #nohup /snap/bin/bzflag.bzfs &>/dev/null & # tell the game to be public, and what text to use in the description field in the public list #-public "YOUR_NAME_HEREs simple tutorial server" ## allow for 5 shots at a time per tank #-ms 5 # ## allow jumping #-j ## allow teleporters #-t ## allow ricochet #+r ## add 1 shockwave flag #+f SW ## add 2 super bullet flags #+f SB{2} ## add a GM flag #+f GM ## add 3 stealth flags #+f ST{3} ## add in some debug logging flags to show status and any errors #-d #-d #-d