/steamscript

:video_game: :robot: Python script to see who is currently on the GOL Rust server. (Using python-valve)

Primary LanguagePythonThe UnlicenseUnlicense

steamscript

Depends on python-valve

How to use pythonpath to find python-valve

# assuming you have python-valve cloned at ~/git/python-valve
PYTHONPATH=~/git/python-valve python rusts.py

Output:

       ----------------------------
       Rust - ServerName.com
       ----------------------------
       Rust Version 1234 (60ms)
       ----------------------------
       Player1:       2 hr 40 min
       Player2:	      2 hr 52 min
       Player3:	      1 hr 59 min
       Player4:	      2 hr 39 min
       ----------------------------
       4 players / 50 max
       ----------------------------