BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

xlrstats::XlrstatscontrollerPlugin Class Reference

Inheritance diagram for xlrstats::XlrstatscontrollerPlugin:
b3::plugin::Plugin

List of all members.

Public Member Functions

def __init__
def startup
def onEvent
def checkMinPlayers

Public Attributes

 console
 minPlayers
 silent

Private Attributes

 _messages
 _xlrstatsPlugin
 _currentNrPlayers

Detailed Description

This is a helper class/plugin that enables and disables the main XLRstats plugin
It can not be called directly or separately from the XLRstats plugin!

Constructor & Destructor Documentation

def xlrstats::XlrstatscontrollerPlugin::__init__ (   self,
  console,
  minPlayers = 3,
  silent = False 
)

Member Function Documentation

def xlrstats::XlrstatscontrollerPlugin::checkMinPlayers (   self,
  _roundstart = False 
)
Checks if minimum amount of players are present
if minimum amount of players is reached will enable stats collecting
and if not it disables stats counting on next roundstart
def xlrstats::XlrstatscontrollerPlugin::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 xlrstats::XlrstatscontrollerPlugin::startup (   self)
\
Depreciated. Use onStartup().

Reimplemented from b3::plugin::Plugin.


Member Data Documentation


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