Checks if a CS:GO server is being listed by the master server and restarts if it's too empty.
This script works with CS:GO Server API and checks if each server is being listed on Valve's Master Server, and restarts it after it eaches a certain amount of players and is offline for 3 minutes.
- An installation of CS:GO Server API
Clone this repository and run:
npm install
Variables found inside the environment file .env
CS:GO Server API authentication token.
CS:GO server IP (is only used when querying Valve's API)