Raised This Month: $32 Target: $400
 8% 

Shell script to check if server's empty


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode