BigBrotherBot v1.5.0
System Development Information for the BigBrotherBot project.
Public Member Functions | Public Attributes | Static Private Attributes

b3::plugins::stats::StatsPlugin Class Reference

Inheritance diagram for b3::plugins::stats::StatsPlugin:
b3::plugin::Plugin

List of all members.

Public Member Functions

def onLoadConfig
def onStartup
def onEvent
def getCmd
def clientDamage
def clientDamageTeam
def clientKill
def clientKillTeam
def updateXP
def cmd_mapstats
def cmd_testscore
def cmd_topstats
def cmd_topxp
def score

Public Attributes

 mapstatslevel
 testscorelevel
 topstatslevel
 topxplevel
 startPoints
 resetscore
 resetxp
 show_awards
 show_awards_xp

Static Private Attributes

 _adminPlugin = None

Member Function Documentation

def b3::plugins::stats::StatsPlugin::clientDamage (   self,
  killer,
  victim,
  points 
)
def b3::plugins::stats::StatsPlugin::clientDamageTeam (   self,
  killer,
  victim,
  points 
)
def b3::plugins::stats::StatsPlugin::clientKill (   self,
  killer,
  victim,
  points 
)
def b3::plugins::stats::StatsPlugin::clientKillTeam (   self,
  killer,
  victim,
  points 
)
def b3::plugins::stats::StatsPlugin::cmd_mapstats (   self,
  data,
  client,
  cmd = None 
)
\
[<name>] - list a players stats for the map
def b3::plugins::stats::StatsPlugin::cmd_testscore (   self,
  data,
  client,
  cmd = None 
)
\
<name> - how much skill points you will get if you kill the player
def b3::plugins::stats::StatsPlugin::cmd_topstats (   self,
  data,
  client = None,
  cmd = None 
)
\
List the top 5 map-stats players
def b3::plugins::stats::StatsPlugin::cmd_topxp (   self,
  data,
  client = None,
  cmd = None 
)
\
List the top 5 map-stats most experienced players
def b3::plugins::stats::StatsPlugin::getCmd (   self,
  cmd 
)
return the method for a given command  
def b3::plugins::stats::StatsPlugin::onEvent (   self,
  event 
)
\
Called by B3 when a registered event is encountered. You must overwrite
this to intercept events.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::stats::StatsPlugin::onLoadConfig (   self)
\
This is called after loadConfig(). Any plugin private variables loaded
from the config need to be reset here.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::stats::StatsPlugin::onStartup (   self)
\
Called after the plugin is created before it is started. Overwrite this
for anything you need to initialize you plugin with.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::stats::StatsPlugin::score (   self,
  killer,
  victim 
)
def b3::plugins::stats::StatsPlugin::updateXP (   self,
  sclient 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties