Thread: [Subplugin Submission] [ZP] Addon: Web Stats v0.2.5
View Single Post
Plugin Info:     Modification:          Category:         
Join Date: Dec 2008
Location: Russia, Korolev
Old 11-15-2009 , 05:54   [ZP] Addon: Web Stats v0.2.5
Reply With Quote #1

[ZP] Web Stats 0.2.5

Statistic Plugin for Zombie Plague 4.3
Includes Ammo Bank
  • Players Stats
  • Weapon Stats
  • Zombie Classes Stats
  • Maps Stats
  • Other
  • 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>

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)

1 - 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]")

Uncomment "//#define ZP_STATS_DEBUG" to detail log

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'
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)

crazyeffect - translate
ramiax - Lithuanian language translation
MmikiM - Polish translate

Demonstration -
Attached Files
File Type: sma Get Plugin or Get Source (zp_web_stats.sma - 5567 views - 46.1 KB)
File Type: zip (458.9 KB, 6556 views)
I don't understand you

Last edited by PomanoB; 12-30-2009 at 07:36.
PomanoB is offline
Send a message via ICQ to PomanoB