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

b3::plugins::pingwatch::PingwatchPlugin Class Reference

Inheritance diagram for b3::plugins::pingwatch::PingwatchPlugin:

List of all members.

Public Member Functions

def onStartup
def onLoadConfig
def onEvent
def check
def cmd_ci

Private Attributes


Static Private Attributes

int _interval = 0
int _maxPing = 0
int _maxPingDuration = 0
int _ignoreTill = 0
 _cronTab = None
int _maxCiPing = 500
int _minLevel = 20

Member Function Documentation

def b3::plugins::pingwatch::PingwatchPlugin::check (   self)
def b3::plugins::pingwatch::PingwatchPlugin::cmd_ci (   self,
  client = None,
  cmd = None 
<player> - Kick a player that has an interrupted connection
def b3::plugins::pingwatch::PingwatchPlugin::onEvent (   self,
Called by B3 when a registered event is encountered. You must overwrite
this to intercept events.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::pingwatch::PingwatchPlugin::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::pingwatch::PingwatchPlugin::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.

Member Data Documentation

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