Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugin Releases! (Moderator: MordyT)Stats info plugin (by danger89) incl. get headshots, kills, rounds and more...
Pages: [1]   Go Down
  Print  
Author Topic: Stats info plugin (by danger89) incl. get headshots, kills, rounds and more...  (Read 1963 times) Bookmark and Share
Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 104
Offline Offline
WWW
« on: January 14, 2011, 03:50:27 PM »

I found the "heashortsurt plugin" of Courgette.
However I use XLRstats, so it would be much better/easier to use the database of XLRstats I though. I recreated the plugin and added a new feature.

If you found a bug ór you got some ideas of more commands? Please, let me know it  Cheesy

Description:
This plugin get the number of headshots, kills, rounds and the most used weapon from the XLRstats database. It provides you the !headshot command aliased as !hs, !kills command aliased as !ks, !rounds command aliased !rs and !weapon aliased !wp.

NEW Version:
v0.0.4

Check attachment for the download. Mirror.

********* Installation of Statsinfo plugin for B3 (uses XLRstats) by danger89 *********

* Copy the whole extplugins/ folder (including all files and subdirectories) to extplugins/ of B3

* In your b3.xml config, add in the plugin section (choose the correct priority):
   <plugin name="statsinfo" priority="12" config="@b3/extplugins/conf/statsinfo.xml"/>

* Setup XLRStats, more info/download: http://www.xlrstats.com/. XLRstats is needed for this plugin!

* Setup your server config properly:
   set g_logsync "2"         // 0=no log, 1=buffred, 2=continuous, 3=append
   set logfile "1"           // 0 = no log, 1 = log file enabled
   set g_log "games_mp.log"  // name of the log file
   set sv_log_damage "1"     // allow to log every damage: needed by XLRStats

* Adjust the minimal level for each command and set the values in statsinfo.xml

* Have fun!

********* New functionality / features provided *********
!weapon or !wp
Shows the most favorite weapon of a player.

!rounds or !rs
Shows the number of rounds a player has made.

!headshots or !hs
Shows the number of headshots a player has made.
It will use the XLRstats database to get a player and eventually return you the numbers of headshots of this player.

!kills or !ks
Shows the number of kills a player has made.
It will use the XLRstats database to get a player and eventually return you the numbers of skills of this player.

-Melroy van den Berg


[attachment deleted by maintenance]
« Last Edit: June 16, 2011, 12:39:05 PM by danger89 » Logged

JoinMyServer.com
Call of Duty 4 Game Servers

Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 104
Offline Offline
WWW
« Reply #1 on: January 17, 2011, 12:58:03 PM »

New release: version 0.0.4  Grin
Logged

JoinMyServer.com
Call of Duty 4 Game Servers
Tags: headshot  headshots  plugin  kills  B3  xlrstats 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal