Public Stats

You can install and modify a simple script to show your server status to the public.

This script is designed to run a background task (stats.php) to generate public html files.

Contents

Installing

  • Download PublicStats.zip
  • Unzip
  • Upload the stats.php file to your GameCP web-folder
  • Run stats.php from the terminal or from the web to test

$myFile & $myFile2

These are the names of the files to be created, these are what your web-site or customers would browse to. Rename these if you like.

$stats

This is the template for the $myFile page - edit it to look how you wish

$template

This is the template for the $myFile2 page - edit it to look how you wish

How-to use

You should setup an automated task to run the "stats.php" every so often, like everyone 5 minutes.





(wiki tools)
Personal tools
Views
Actions




Need help? Chat with us!