Xonotic Forums
Old XST code for managing multiple game servers with TMUX - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: Old XST code for managing multiple game servers with TMUX (/showthread.php?tid=4662)



Old XST code for managing multiple game servers with TMUX - -z- - 12-20-2013

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

Code:
tmux new-window -t xonotic -n "$s" "./all run dedicated -game autoload -game ${s} -modname data +serverconfig ${s}.cfg -userdir logs"
for example


RE: Old XST code for managing multiple game servers with TMUX - -z- - 12-20-2013

actually this seems to be where I left off: http://xnz.me/xst/xst_0.8pre.tar.gz