View Single Post
Author Message
dustinandband
Senior Member
Join Date: May 2015
Old 10-12-2018 , 16:55   Shell script to check if server's empty
Reply With Quote #1

1)
Is it possible for a bash shell script to query a game server and determine if it’s empty or has players? If so, how is this done? (Even if you'd need a c++ extension installed to do so, I'd be willing to do the research with an idea of how it would work.)

2)
Is it possible for a shell script to monitor a screen session for a key word? The sourcemod equivalent of adding a command listener.
"MasterRequestRestart" is the word I'm wanting to pick up.
dustinandband is offline