Statistics Website
Posted: 06 Feb 2019, 20:42
As we have too many plugins running MySQL so we thought that we should provide a script to gather all those information in 1 page.
| You will need:
First of all, you will need to edit config.php for those information:
Once done, head to: yourwebsitedns/stats/
If everything is being done correctly, you should see something like in this screenshot:
| Download:
| You will need:
- A server running PHP & MySQL.
- Level System (Optional).
- Escapes (Optional).
- Infects (Optional).
First of all, you will need to edit config.php for those information:
Code: Select all
// Host to connect to define("DB_HOST", "localhost"); // Database user define("DB_USER", "root"); // User's password define("DB_PASSWORD", ""); // Database name define("DB_DATABASE_NAME", "test"); // Name of the table where all information stored in such as: escape coins, steamid, etc.. define("TABLE_NAME", "test"); // Are you using level system and want to view level information? define("USING_LEVELS", false); // Are you using infects counter and want to view infects? define("USING_INFECTS", true); // Are you using escapes counter and want to view infects? define("USING_ESCAPES", true); // How many players you want to view in the home page define("MAX_PLAYERS", 3);
Once done, head to: yourwebsitedns/stats/
If everything is being done correctly, you should see something like in this screenshot:
| Download: