Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Old XST code for managing multiple game servers with TMUX

#1
Heart 
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
Reply

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Let's make our servers community-like! xord86_64 3 985 02-03-2023, 05:36 PM
Last Post: xord86_64
  [META] Deploying Xonotic using GKE Game Servers? FAF 4 1,803 09-14-2022, 08:32 AM
Last Post: cushinga
  [ MoFo ] Servers Master Thread end user 5 4,938 11-27-2020, 09:33 PM
Last Post: end user
  Game servers in Kazakhstan. Mysyk 4 3,677 07-17-2020, 09:38 AM
Last Post: Mysyk
  Stazille.com | Quality Xonotic Servers djinn- 0 1,550 04-17-2020, 10:18 AM
Last Post: djinn-
  My Xonotic servers - more wanted? MarisaG 2 2,602 02-20-2019, 05:36 AM
Last Post: MarisaG
  Deploying a server across multiple machines ar5n1c 1 1,954 11-21-2018, 11:08 AM
Last Post: martin-t
  New servers, interested to see what times people get to them... MarisaG 0 2,389 10-06-2018, 04:06 AM
Last Post: MarisaG
  Free hosting for Xonotic servers MarisaG 8 6,248 09-18-2018, 07:06 PM
Last Post: MarisaG
  Management Console for Linux servers MarisaG 1 2,451 09-17-2018, 03:59 AM
Last Post: MarisaG

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-