Should be well documented, requires tmux. Seasoned admins may enjoy this. It's how I managed my NN servers more or less. It abstracts the configs and overloads some engine flags so you can reuse directories and make management easier. I never pushed it to git. Haven't tested with latest Xonotic.
gl;hf
http://z.nexuizninjaz.com/videos/xst-v.0.7.alpha.ogv
http://z.nexuizninjaz.com/xst/xst.0.7.alpha.tar.gz
unreleased web front-end uses Nexuiz (ugly) http://z.nexuizninjaz.com/videos/nstweb_alpha.ogv
that might provide inspiration!
DISCLAIMER: I DON't KNOW IF THIS CODE STILL WORKS BUT IT CAN PROVIDE IDEAS ON HOW TO ABSTRACT YOUR CONFIGS AND REUSE FILES (such as player models) ACROSS SERVERS ON ONE MACHINE
for example
gl;hf
http://z.nexuizninjaz.com/videos/xst-v.0.7.alpha.ogv
http://z.nexuizninjaz.com/xst/xst.0.7.alpha.tar.gz
unreleased web front-end uses Nexuiz (ugly) http://z.nexuizninjaz.com/videos/nstweb_alpha.ogv
that might provide inspiration!
DISCLAIMER: I DON't KNOW IF THIS CODE STILL WORKS BUT IT CAN PROVIDE IDEAS ON HOW TO ABSTRACT YOUR CONFIGS AND REUSE FILES (such as player models) ACROSS SERVERS ON ONE MACHINE
Code:
tmux new-window -t xonotic -n "$s" "./all run dedicated -game autoload -game ${s} -modname data +serverconfig ${s}.cfg -userdir logs"