Helping Topics
-
Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#1
Post
by Night Fury » 5 years ago
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:
- 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:
If you have faced any issues, just comment down below.
| Download:
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
-
Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#2
Post
by Night Fury » 4 years ago
Updated.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
-
Muhammet20
- Veteran Member
- Posts: 407
- Joined: 5 years ago
-
Contact:
-
Quote
-
0
login to like this post
#3
Post
by Muhammet20 » 4 years ago
Nice Work Bro, Thanks this is will help me too much, i waiting this from a long time
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute
Register
Sign in
Users browsing this forum: No registered users and 3 guests