CStrike-Regnick: Servers Live module
Servers Live is a module for CStrike-Regnick, which provides additional information for each server registred in application, like: current map, online players and server lattency .
- CStrike-Regnick installed (obvious).
- PHP 5.3+
- From the archive, upload each directory to his correspondent on the server:
[archive]/upload/app/modules/serversto[regnick_install]/app/modules/servers[archive]/upload/pub/storage/servers_liveto[regnick_install]/pub/storage/servers_live
- Access
http://example.com/regnick/servers/. - Done.
-
Live data is cached ?
Yes, data fetched from servers, it is cached for 5 mins. -
How can I change the default cache time ?
Editapp/modules/servers/config/servers.phpand change value for$config['cache_time']. -
Can i use this module as a frontpage (aka index) ?
Yes, you can. Editapp/config/routesand change value for$route['default_controller']:$route['default_controller'] = "servers/show"; -
How can I prevent the frontpage to change on default one, after each CStrike-Regnick update ?
Copyapp/config/routes.phptoapp/config/production/routes.phpand any changes you made to that file will be preserved accross updates.