diff --git a/example/gamemode.ini b/example/gamemode.ini index 37a2a26..dfabb60 100644 --- a/example/gamemode.ini +++ b/example/gamemode.ini @@ -1,9 +1,20 @@ -[filter] -; Gamemode will always reject anything in the blacklist -blacklist=HalfLife3 - glxgears - steam +[general] +; The reaper thread will check every 10 seconds for exited clients +reaper_freq=10 +[filter] ; If "whitelist" entry has a value(s) ; gamemode will reject anything not in the whitelist ;whitelist=RiseOfTheTombRaider + +; Gamemode will always reject anything in the blacklist +blacklist=HalfLife3 + glxgears + +[custom] +; Custom scripts (executed using the shell) when gamemode starts and ends +start=notify-send "GameMode started" + /home/me/bin/stop_ethmining.sh + +end=notify-send "GameMode ended" + /home/me/bin/start_ethmining.sh