Before you are able to use the SuperHero Mod Stats system, you need to be saving your server's xp, in a mysql database.
This guide will help you set your server to save in a mysql database.
If you do not have a mysql server, read this chapter.
Start:
First you have to make sure that you have the latest version of the superheromodmysql.amx(x) (Find it at the bottom of the page).
Then go to your plugins.ini file and do this:
;superheromodvault.amxx ; SUPERHEROMODThis disables the vault saving method, and enables the mysql saving method.
superheromodmysql.amxx ; SUPERHEROMOD
// *** MySQL Settings, Only Needed if using the mysql saving method ***This tells SuperHero Mod where it shall store the XP.
// Uncomment the cvar lines to enable these settings
sh_mysql_host "localhost"
sh_mysql_user "root"
sh_mysql_pass ""
sh_mysql_db "sherodb"
; ------------------------------------------- ; Database Access - only enable one of these ; ------------------------------------------- ; MySQL mysql_amxx_i386.so mysql_amxx.dll mysql_amxx_amd64.soAMX:
;MySQL Support mysql.dll mysql_i586.soWhen this is done, your server should be using the MySQL saving method.
-------------------------------------------------------------------------------------