Przeglądaj źródła

Update the current example config file

Marc Di Luzio 6 lat temu
rodzic
commit
d88168d39c
1 zmienionych plików z 15 dodań i 4 usunięć
  1. 15 4
      example/gamemode.ini

+ 15 - 4
example/gamemode.ini

@@ -1,9 +1,20 @@
+[general]
+; The reaper thread will check every 10 seconds for exited clients
+reaper_freq=10
+
 [filter]
 [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
 ; Gamemode will always reject anything in the blacklist
 blacklist=HalfLife3
 blacklist=HalfLife3
     glxgears
     glxgears
-    steam
 
 
-; If "whitelist" entry has a value(s)
-; gamemode will reject anything not in the whitelist
-;whitelist=RiseOfTheTombRaider
+[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