[ZP] Web Stats 0.2.5
Description
Statistic Plugin for Zombie Plague 4.3
Includes Ammo Bank
- Players Stats
- Weapon Stats
- Zombie Classes Stats
- Maps Stats
- Other
Modules
- sqlx
- fakemeta
- hamasndwitch
Admin Commands
zp_ammo <name|#userid|@Z|@H|@A> <count>
Give ammo to
@Z - All zombie
@H - All human
@A - All players
Client commands
say /hp
Display information about you killer
say /me
Display you information (kills ,infect, damage, last hit)
say /rank [name|ip|steam_id]
Display you/player rank
say /stats [name|ip|steam_id]
say /rankstats [name|ip|steam_id]
Display you/player detail stats
say /top[number]
Display 15 top players, ending with the specified value [number]
say /donate <target> <count>
Present <count> ammo to <target>
CVAR's
zp_stats_host - Database host
zp_stats_db - database
zp_stats_user - MySQL user
zp_stats_password - MySQL password
zp_stats_allow_hp - Allow client command say /hp
zp_stats_allow_me - Allow client command say /me
zp_stats_show_hit - If 1, display zombie hp when player hit
zp_stats_allow_donate - Allow client command say /donate
zp_stats_max_inactive_day - Max inactive day to players in top
zp_stats_min_ammo - Min ammo to players in top
zp_stats_min_online - Min online to players in top
zp_stats_store_class - If 1, players zombie class save in database
zp_stats_store_ammo - If 1, players ammo save in database
zp_stats_limit_ammo - Limits for maximum ammo, 0 - disable
zp_stats_show_adv - If 1, show info about client command's
zp_stats_adv_time - Time to show adv.
zp_stats_show_best_players - Show the best players in round (default 1)
zp_stats_show_rank_on_round_start - Show rank(rank change) on round start (default 1)
zp_stats_auth_type1 - Steam ID
2 - IP Address
3 - Nickname
above - Steam ID/IP Adress
default - 4
zp_stats_ignore_nick - Tag, which does not take calculate statistics (default "[unreg]")
Defines
Uncomment "//#define ZP_STATS_DEBUG" to detail log
Installation
Copy the 'web/zp_stats' directory to your website
Edit 'web/zp_stats/inc/config.php'
Use the file 'web/zp_stats.sql' to initialize the database
Copy the 'addons' directory to your 'cstrike' folder
Add the plugin name to addons/amxmodx/configs/plugins-zplague.ini
Edit 'configs/zp_web_stats.cfg'
You must install extension 'php5-xsl'
Debian:
Code:
aptitude install php5-xsl
Version History
0.1.0 - First public release
0.2.0 - Global update, change plugin name
0.2.1 - Optimization
0.2.2 - Fixed small bag
0.2.3 - Fixed charset problem
0.2.4 - Added cvar "zp_stats_allow_donate"
0.2.5 - Fixed zp_class_store_ammo bug (thx MmikiM)
Credits
maslyak
CHyCMyMpNk
a.aqua
crazyeffect - translate
ramiax - Lithuanian language translation
MmikiM - Polish translate
Demonstration -
http://www.klan-hub.ru/zp_stats/