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

b3::plugins::admin::AdminPlugin Class Reference

Inheritance diagram for b3::plugins::admin::AdminPlugin:
b3::plugin::Plugin b3::plugin::Plugin

List of all members.

Public Member Functions

def onLoadConfig
def onStartup
def registerCommand
def handle
def aquireCmdLock
def OnSay
def getCmd
def getAdmins
def getRegulars
def findClientPrompt
def parseUserCmd
def getGroupLevel
def getReason
def getSpam
def getWarning
def assert_commandData
def cmd_die
def cmd_restart
def cmd_reconfig
def cmd_mask
def cmd_unmask
def cmd_clear
def clearAll
def cmd_map
def cmd_maprotate
def cmd_b3
def cmd_enable
def cmd_disable
def cmd_register
def cmd_help
def cmd_list
def doList
def cmd_regulars
def cmd_admins
def cmd_rebuild
def cmd_regtest
def cmd_admintest
def cmd_leveltest
def cmd_makereg
def cmd_unreg
def cmd_putgroup
def cmd_say
def cmd_ungroup
def cmd_iamgod
def cmd_time
def cmd_seen
def cmd_lookup
def cmd_status
def cmd_scream
def sayMany
def cmd_find
def cmd_clientinfo
def cmd_kick
def cmd_kickall
def cmd_spank
def cmd_spankall
def cmd_permban
def cmd_ban
def cmd_banall
def cmd_lastbans
def cmd_baninfo
def cmd_runas
def cmd_unban
def cmd_aliases
def cmd_warns
def cmd_notice
def cmd_warn
def penalizeClient
def warnClient
def checkWarnKick
def warnKickDuration
def warnKick
def cmd_warntest
def cmd_warnremove
def cmd_warnclear
def cmd_warninfo
def cmd_maps
def cmd_nextmap
def cmd_pause
def cmd_spam
def cmd_rules
def cmd_spams
def cmd_tempban
def cmd_poke
def load_config_warn_reasons
def onLoadConfig
def onStartup
def registerCommand
def handle
def aquireCmdLock
def OnSay
def getCmd
def getAdmins
def getRegulars
def findClientPrompt
def parseUserCmd
def getGroupLevel
def getReason
def getSpam
def getWarning
def assert_commandData
def cmd_die
def cmd_restart
def cmd_reconfig
def cmd_mask
def cmd_unmask
def cmd_clear
def clearAll
def cmd_map
def cmd_maprotate
def cmd_b3
def cmd_enable
def cmd_disable
def cmd_register
def cmd_help
def cmd_list
def doList
def cmd_regulars
def cmd_admins
def cmd_rebuild
def cmd_regtest
def cmd_admintest
def cmd_leveltest
def cmd_makereg
def cmd_unreg
def cmd_putgroup
def cmd_say
def cmd_ungroup
def cmd_iamgod
def cmd_time
def cmd_seen
def cmd_lookup
def cmd_status
def cmd_scream
def sayMany
def cmd_find
def cmd_clientinfo
def cmd_kick
def cmd_kickall
def cmd_spank
def cmd_spankall
def cmd_permban
def cmd_ban
def cmd_banall
def cmd_lastbans
def cmd_baninfo
def cmd_runas
def cmd_unban
def cmd_aliases
def cmd_warns
def cmd_notice
def cmd_warn
def penalizeClient
def warnClient
def checkWarnKick
def warnKickDuration
def warnKick
def cmd_warntest
def cmd_warnremove
def cmd_warnclear
def cmd_warninfo
def cmd_maps
def cmd_nextmap
def cmd_pause
def cmd_spam
def cmd_rules
def cmd_spams
def cmd_tempban
def cmd_poke
def load_config_warn_reasons

Public Attributes

 cmdPrefix
 cmdPrefixLoud
 cmdPrefixBig
 warn_reasons

Static Public Attributes

string cmdPrefix = '!'
string cmdPrefixLoud = '@'
string cmdPrefixBig = '&'
string PENALTY_KICK = 'kick'
string PENALTY_TEMPBAN = 'tempban'
string PENALTY_WARNING = 'warning'
string PENALTY_BAN = 'ban'
dictionary warn_reasons = {}

Private Member Functions

def _sendRules
def _sendRules

Private Attributes

 _noreason_level
 _long_tempban_level
 _hidecmd_level
 _admins_level
 _tkPlugin

Static Private Attributes

dictionary _commands = {}
tuple _parseUserCmdRE = re.compile(r"^(?P<cid>'[^']{2,}'|[0-9]+|[^\s]{2,}|@[0-9]+)(\s+(?P<parms>.*))?$")
int _long_tempban_max_duration = 1440
 _warn_command_abusers = None
int _noreason_level = 80
int _long_tempban_level = 80
int _hidecmd_level = 80
int _admins_level = 20

Member Function Documentation

def b3::plugins::admin::AdminPlugin::_sendRules (   self,
  sclient,
  big = False 
) [private]
def b3::plugins::admin::AdminPlugin::_sendRules (   self,
  sclient,
  big = False 
) [private]
def b3::plugins::admin::AdminPlugin::aquireCmdLock (   self,
  cmd,
  client,
  delay,
  all = True 
)
def b3::plugins::admin::AdminPlugin::aquireCmdLock (   self,
  cmd,
  client,
  delay,
  all = True 
)
def b3::plugins::admin::AdminPlugin::assert_commandData (   self,
  data,
  client,
  cmd,
  formatArgs 
)
def b3::plugins::admin::AdminPlugin::assert_commandData (   self,
  data,
  client,
  cmd,
  formatArgs 
)
def b3::plugins::admin::AdminPlugin::checkWarnKick (   self,
  sclient,
  client = None,
  data = '' 
)
def b3::plugins::admin::AdminPlugin::checkWarnKick (   self,
  sclient,
  client = None,
  data = '' 
)
def b3::plugins::admin::AdminPlugin::clearAll (   self,
  sclient,
  client = None 
)
def b3::plugins::admin::AdminPlugin::clearAll (   self,
  sclient,
  client = None 
)
def b3::plugins::admin::AdminPlugin::cmd_admins (   self,
  data,
  client,
  cmd = None 
)
\
- lists all the online admins
def b3::plugins::admin::AdminPlugin::cmd_admins (   self,
  data,
  client,
  cmd = None 
)
\
- lists all the online admins
def b3::plugins::admin::AdminPlugin::cmd_admintest (   self,
  cid,
  client,
  cmd = None 
)
\
- display your current user status
def b3::plugins::admin::AdminPlugin::cmd_admintest (   self,
  cid,
  client,
  cmd = None 
)
\
- display your current user status
def b3::plugins::admin::AdminPlugin::cmd_aliases (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - list a players aliases
def b3::plugins::admin::AdminPlugin::cmd_aliases (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - list a players aliases
def b3::plugins::admin::AdminPlugin::cmd_b3 (   self,
  data,
  client,
  cmd = None 
)
\
- say b3's version info
def b3::plugins::admin::AdminPlugin::cmd_b3 (   self,
  data,
  client,
  cmd = None 
)
\
- say b3's version info
def b3::plugins::admin::AdminPlugin::cmd_ban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - ban a player
def b3::plugins::admin::AdminPlugin::cmd_ban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - ban a player
def b3::plugins::admin::AdminPlugin::cmd_banall (   self,
  data,
  client = None,
  cmd = None 
)
\
<pattern> [<reason>] - ban all players matching <pattern>
def b3::plugins::admin::AdminPlugin::cmd_banall (   self,
  data,
  client = None,
  cmd = None 
)
\
<pattern> [<reason>] - ban all players matching <pattern>
def b3::plugins::admin::AdminPlugin::cmd_baninfo (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - display how many bans a user has
def b3::plugins::admin::AdminPlugin::cmd_baninfo (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - display how many bans a user has
def b3::plugins::admin::AdminPlugin::cmd_clear (   self,
  data,
  client,
  cmd = None 
)
\
[<player>] - clear all tk points and warnings
def b3::plugins::admin::AdminPlugin::cmd_clear (   self,
  data,
  client,
  cmd = None 
)
\
[<player>] - clear all tk points and warnings
def b3::plugins::admin::AdminPlugin::cmd_clientinfo (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <field> - get info about a client
def b3::plugins::admin::AdminPlugin::cmd_clientinfo (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <field> - get info about a client
def b3::plugins::admin::AdminPlugin::cmd_die (   self,
  data,
  client,
  cmd = None 
)
\
- shutdown b3
def b3::plugins::admin::AdminPlugin::cmd_die (   self,
  data,
  client,
  cmd = None 
)
\
- shutdown b3
def b3::plugins::admin::AdminPlugin::cmd_disable (   self,
  data,
  client,
  cmd = None 
)
\
<plugin> - disable a plugin
def b3::plugins::admin::AdminPlugin::cmd_disable (   self,
  data,
  client,
  cmd = None 
)
\
<plugin> - disable a plugin
def b3::plugins::admin::AdminPlugin::cmd_enable (   self,
  data,
  client,
  cmd = None 
)
\
<plugin> - enable a disabled plugin
def b3::plugins::admin::AdminPlugin::cmd_enable (   self,
  data,
  client,
  cmd = None 
)
\
<plugin> - enable a disabled plugin
def b3::plugins::admin::AdminPlugin::cmd_find (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - test to find a connected player
def b3::plugins::admin::AdminPlugin::cmd_find (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - test to find a connected player
def b3::plugins::admin::AdminPlugin::cmd_help (   self,
  data,
  client,
  cmd = None 
)
\
[<command|level>] - get info on how to use a command, you can use *<command> for partial matches
def b3::plugins::admin::AdminPlugin::cmd_help (   self,
  data,
  client,
  cmd = None 
)
\
[<command|level>] - get info on how to use a command, you can use *<command> for partial matches
def b3::plugins::admin::AdminPlugin::cmd_iamgod (   self,
  data,
  client,
  cmd = None 
)
\
- register yourself as the super admin
def b3::plugins::admin::AdminPlugin::cmd_iamgod (   self,
  data,
  client,
  cmd = None 
)
\
- register yourself as the super admin
def b3::plugins::admin::AdminPlugin::cmd_kick (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - kick a player
def b3::plugins::admin::AdminPlugin::cmd_kick (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - kick a player
def b3::plugins::admin::AdminPlugin::cmd_kickall (   self,
  data,
  client = None,
  cmd = None 
)
\
<pattern> [<reason>] - kick all players matching <pattern>
def b3::plugins::admin::AdminPlugin::cmd_kickall (   self,
  data,
  client = None,
  cmd = None 
)
\
<pattern> [<reason>] - kick all players matching <pattern>
def b3::plugins::admin::AdminPlugin::cmd_lastbans (   self,
  data,
  client = None,
  cmd = None 
)
\
list the 5 last bans
def b3::plugins::admin::AdminPlugin::cmd_lastbans (   self,
  data,
  client = None,
  cmd = None 
)
\
list the 5 last bans
def b3::plugins::admin::AdminPlugin::cmd_leveltest (   self,
  data,
  client,
  cmd = None 
)
\
[<name>] - display a user's status
def b3::plugins::admin::AdminPlugin::cmd_leveltest (   self,
  data,
  client,
  cmd = None 
)
\
[<name>] - display a user's status
def b3::plugins::admin::AdminPlugin::cmd_list (   self,
  data,
  client,
  cmd = None 
)
\
- list all connected players
def b3::plugins::admin::AdminPlugin::cmd_list (   self,
  data,
  client,
  cmd = None 
)
\
- list all connected players
def b3::plugins::admin::AdminPlugin::cmd_lookup (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - lookup a player in the database
def b3::plugins::admin::AdminPlugin::cmd_lookup (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - lookup a player in the database
def b3::plugins::admin::AdminPlugin::cmd_makereg (   self,
  data,
  client,
  cmd = None 
)
\
<name> - make a name a regular
def b3::plugins::admin::AdminPlugin::cmd_makereg (   self,
  data,
  client,
  cmd = None 
)
\
<name> - make a name a regular
def b3::plugins::admin::AdminPlugin::cmd_map (   self,
  data,
  client,
  cmd = None 
)
\
<map> - switch current map
def b3::plugins::admin::AdminPlugin::cmd_map (   self,
  data,
  client,
  cmd = None 
)
\
<map> - switch current map
def b3::plugins::admin::AdminPlugin::cmd_maprotate (   self,
  data,
  client,
  cmd = None 
)
\
- switch to the next map in rotation
def b3::plugins::admin::AdminPlugin::cmd_maprotate (   self,
  data,
  client,
  cmd = None 
)
\
- switch to the next map in rotation
def b3::plugins::admin::AdminPlugin::cmd_maps (   self,
  data,
  client = None,
  cmd = None 
)
\
- list the server's map rotation
def b3::plugins::admin::AdminPlugin::cmd_maps (   self,
  data,
  client = None,
  cmd = None 
)
\
- list the server's map rotation
def b3::plugins::admin::AdminPlugin::cmd_mask (   self,
  data,
  client,
  cmd = None 
)
\
<group> [<name>] - hide level
def b3::plugins::admin::AdminPlugin::cmd_mask (   self,
  data,
  client,
  cmd = None 
)
\
<group> [<name>] - hide level
def b3::plugins::admin::AdminPlugin::cmd_nextmap (   self,
  data,
  client = None,
  cmd = None 
)
\
- list the next map in rotation
def b3::plugins::admin::AdminPlugin::cmd_nextmap (   self,
  data,
  client = None,
  cmd = None 
)
\
- list the next map in rotation
def b3::plugins::admin::AdminPlugin::cmd_notice (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <notice> - Add a good/bad behavior note for the player
def b3::plugins::admin::AdminPlugin::cmd_notice (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <notice> - Add a good/bad behavior note for the player
def b3::plugins::admin::AdminPlugin::cmd_pause (   self,
  data,
  client = None,
  cmd = None 
)
\
<duration> - pause the bot from parsing
def b3::plugins::admin::AdminPlugin::cmd_pause (   self,
  data,
  client = None,
  cmd = None 
)
\
<duration> - pause the bot from parsing
def b3::plugins::admin::AdminPlugin::cmd_permban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - ban a player permanently
def b3::plugins::admin::AdminPlugin::cmd_permban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - ban a player permanently
def b3::plugins::admin::AdminPlugin::cmd_poke (   self,
  data,
  client = None,
  cmd = None 
)
\
<player> - Notify a player that he needs to move
def b3::plugins::admin::AdminPlugin::cmd_poke (   self,
  data,
  client = None,
  cmd = None 
)
\
<player> - Notify a player that he needs to move
def b3::plugins::admin::AdminPlugin::cmd_putgroup (   self,
  data,
  client,
  cmd = None 
)
\
<client> <group> - add a client to a group
def b3::plugins::admin::AdminPlugin::cmd_putgroup (   self,
  data,
  client,
  cmd = None 
)
\
<client> <group> - add a client to a group
def b3::plugins::admin::AdminPlugin::cmd_rebuild (   self,
  data,
  client,
  cmd = None 
)
\
- sync up connected players
def b3::plugins::admin::AdminPlugin::cmd_rebuild (   self,
  data,
  client,
  cmd = None 
)
\
- sync up connected players
def b3::plugins::admin::AdminPlugin::cmd_reconfig (   self,
  data,
  client,
  cmd = None 
)
\
- re-load all configs
def b3::plugins::admin::AdminPlugin::cmd_reconfig (   self,
  data,
  client,
  cmd = None 
)
\
- re-load all configs
def b3::plugins::admin::AdminPlugin::cmd_register (   self,
  data,
  client,
  cmd = None 
)
\
- register youself as a basic user
def b3::plugins::admin::AdminPlugin::cmd_register (   self,
  data,
  client,
  cmd = None 
)
\
- register youself as a basic user
def b3::plugins::admin::AdminPlugin::cmd_regtest (   self,
  cid,
  client,
  cmd = None 
)
\
- display your current user status
def b3::plugins::admin::AdminPlugin::cmd_regtest (   self,
  cid,
  client,
  cmd = None 
)
\
- display your current user status
def b3::plugins::admin::AdminPlugin::cmd_regulars (   self,
  data,
  client,
  cmd = None 
)
\
- lists all the online regular players
def b3::plugins::admin::AdminPlugin::cmd_regulars (   self,
  data,
  client,
  cmd = None 
)
\
- lists all the online regular players
def b3::plugins::admin::AdminPlugin::cmd_restart (   self,
  data,
  client,
  cmd = None 
)
\
- restart b3
def b3::plugins::admin::AdminPlugin::cmd_restart (   self,
  data,
  client,
  cmd = None 
)
\
- restart b3
def b3::plugins::admin::AdminPlugin::cmd_rules (   self,
  data,
  client = None,
  cmd = None 
)
\
- say the rules
def b3::plugins::admin::AdminPlugin::cmd_rules (   self,
  data,
  client = None,
  cmd = None 
)
\
- say the rules
def b3::plugins::admin::AdminPlugin::cmd_runas (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <command> - run a command as a different user
def b3::plugins::admin::AdminPlugin::cmd_runas (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <command> - run a command as a different user
def b3::plugins::admin::AdminPlugin::cmd_say (   self,
  data,
  client,
  cmd = None 
)
\
- say a message to all players
def b3::plugins::admin::AdminPlugin::cmd_say (   self,
  data,
  client,
  cmd = None 
)
\
- say a message to all players
def b3::plugins::admin::AdminPlugin::cmd_scream (   self,
  data,
  client = None,
  cmd = None 
)
\
<message> - yell a message to all player
def b3::plugins::admin::AdminPlugin::cmd_scream (   self,
  data,
  client = None,
  cmd = None 
)
\
<message> - yell a message to all player
def b3::plugins::admin::AdminPlugin::cmd_seen (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - when was a player last seen?
def b3::plugins::admin::AdminPlugin::cmd_seen (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - when was a player last seen?
def b3::plugins::admin::AdminPlugin::cmd_spam (   self,
  data,
  client = None,
  cmd = None 
)
\
<message> - spam a predefined message
def b3::plugins::admin::AdminPlugin::cmd_spam (   self,
  data,
  client = None,
  cmd = None 
)
\
<message> - spam a predefined message
def b3::plugins::admin::AdminPlugin::cmd_spams (   self,
  data,
  client = None,
  cmd = None 
)
\
- list spam messages
def b3::plugins::admin::AdminPlugin::cmd_spams (   self,
  data,
  client = None,
  cmd = None 
)
\
- list spam messages
def b3::plugins::admin::AdminPlugin::cmd_spank (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - spank a player, naughty boy!
def b3::plugins::admin::AdminPlugin::cmd_spank (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<reason>] - spank a player, naughty boy!
def b3::plugins::admin::AdminPlugin::cmd_spankall (   self,
  data,
  client = None,
  cmd = None 
)
\
<pattern> [<reason>] - kick all players matching <pattern>
def b3::plugins::admin::AdminPlugin::cmd_spankall (   self,
  data,
  client = None,
  cmd = None 
)
\
<pattern> [<reason>] - kick all players matching <pattern>
def b3::plugins::admin::AdminPlugin::cmd_status (   self,
  data,
  client = None,
  cmd = None 
)
\
- Report status of bot
def b3::plugins::admin::AdminPlugin::cmd_status (   self,
  data,
  client = None,
  cmd = None 
)
\
- Report status of bot
def b3::plugins::admin::AdminPlugin::cmd_tempban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <duration> [<reason>] - temporarily ban a player
def b3::plugins::admin::AdminPlugin::cmd_tempban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> <duration> [<reason>] - temporarily ban a player
def b3::plugins::admin::AdminPlugin::cmd_time (   self,
  data,
  client = None,
  cmd = None 
)
\
[<timezone/offset>] - display the servers current time
def b3::plugins::admin::AdminPlugin::cmd_time (   self,
  data,
  client = None,
  cmd = None 
)
\
[<timezone/offset>] - display the servers current time
def b3::plugins::admin::AdminPlugin::cmd_unban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - un-ban a player
def b3::plugins::admin::AdminPlugin::cmd_unban (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - un-ban a player
def b3::plugins::admin::AdminPlugin::cmd_ungroup (   self,
  cid,
  client,
  cmd = None 
)
\
<client> <group> - remove a client from a group
def b3::plugins::admin::AdminPlugin::cmd_ungroup (   self,
  cid,
  client,
  cmd = None 
)
\
<client> <group> - remove a client from a group
def b3::plugins::admin::AdminPlugin::cmd_unmask (   self,
  data,
  client,
  cmd = None 
)
\
[<name>] - un-hide level
def b3::plugins::admin::AdminPlugin::cmd_unmask (   self,
  data,
  client,
  cmd = None 
)
\
[<name>] - un-hide level
def b3::plugins::admin::AdminPlugin::cmd_unreg (   self,
  data,
  client,
  cmd = None 
)
\
<name> - remove a player from the 'regular' group
def b3::plugins::admin::AdminPlugin::cmd_unreg (   self,
  data,
  client,
  cmd = None 
)
\
<name> - remove a player from the 'regular' group
def b3::plugins::admin::AdminPlugin::cmd_warn (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<warning>] - warn user
def b3::plugins::admin::AdminPlugin::cmd_warn (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> [<warning>] - warn user
def b3::plugins::admin::AdminPlugin::cmd_warnclear (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - clear all of a users warnings
def b3::plugins::admin::AdminPlugin::cmd_warnclear (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - clear all of a users warnings
def b3::plugins::admin::AdminPlugin::cmd_warninfo (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - display how many warning points a user has
def b3::plugins::admin::AdminPlugin::cmd_warninfo (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - display how many warning points a user has
def b3::plugins::admin::AdminPlugin::cmd_warnremove (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - remove a users last warning
def b3::plugins::admin::AdminPlugin::cmd_warnremove (   self,
  data,
  client = None,
  cmd = None 
)
\
<name> - remove a users last warning
def b3::plugins::admin::AdminPlugin::cmd_warns (   self,
  data,
  client = None,
  cmd = None 
)
\
- list warnings
def b3::plugins::admin::AdminPlugin::cmd_warns (   self,
  data,
  client = None,
  cmd = None 
)
\
- list warnings
def b3::plugins::admin::AdminPlugin::cmd_warntest (   self,
  data,
  client = None,
  cmd = None 
)
\
<warning> - test a warning
def b3::plugins::admin::AdminPlugin::cmd_warntest (   self,
  data,
  client = None,
  cmd = None 
)
\
<warning> - test a warning
def b3::plugins::admin::AdminPlugin::doList (   self,
  client,
  cmd 
)
def b3::plugins::admin::AdminPlugin::doList (   self,
  client,
  cmd 
)
def b3::plugins::admin::AdminPlugin::findClientPrompt (   self,
  client_id,
  client = None 
)
def b3::plugins::admin::AdminPlugin::findClientPrompt (   self,
  client_id,
  client = None 
)
def b3::plugins::admin::AdminPlugin::getAdmins (   self)
def b3::plugins::admin::AdminPlugin::getAdmins (   self)
def b3::plugins::admin::AdminPlugin::getCmd (   self,
  cmd 
)
def b3::plugins::admin::AdminPlugin::getCmd (   self,
  cmd 
)
def b3::plugins::admin::AdminPlugin::getGroupLevel (   self,
  level 
)
return a group level from group keyword or group level
understand level ranges (ie: 20-40 or mod-admin)
def b3::plugins::admin::AdminPlugin::getGroupLevel (   self,
  level 
)
return a group level from group keyword or group level
understand level ranges (ie: 20-40 or mod-admin)
def b3::plugins::admin::AdminPlugin::getReason (   self,
  reason 
)
def b3::plugins::admin::AdminPlugin::getReason (   self,
  reason 
)
def b3::plugins::admin::AdminPlugin::getRegulars (   self)
def b3::plugins::admin::AdminPlugin::getRegulars (   self)
def b3::plugins::admin::AdminPlugin::getSpam (   self,
  spam 
)
def b3::plugins::admin::AdminPlugin::getSpam (   self,
  spam 
)
def b3::plugins::admin::AdminPlugin::getWarning (   self,
  warning 
)
def b3::plugins::admin::AdminPlugin::getWarning (   self,
  warning 
)
def b3::plugins::admin::AdminPlugin::handle (   self,
  event 
)
\
Depreciated. Use onEvent().

Reimplemented from b3::plugin::Plugin.

def b3::plugins::admin::AdminPlugin::handle (   self,
  event 
)
\
Depreciated. Use onEvent().

Reimplemented from b3::plugin::Plugin.

def b3::plugins::admin::AdminPlugin::load_config_warn_reasons (   self)
load section 'warn_reasons' from config 
def b3::plugins::admin::AdminPlugin::load_config_warn_reasons (   self)
load section 'warn_reasons' from config 
def b3::plugins::admin::AdminPlugin::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::admin::AdminPlugin::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::admin::AdminPlugin::OnSay (   self,
  event,
  private = False 
)
def b3::plugins::admin::AdminPlugin::OnSay (   self,
  event,
  private = False 
)
def b3::plugins::admin::AdminPlugin::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::admin::AdminPlugin::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::admin::AdminPlugin::parseUserCmd (   self,
  cmd,
  req = False 
)
Return a tuple of two elements extracted from cmd :
 - a player identifier
 - optional parameters
req: set to True if parameters is required.
Return None if could cmd is not in the expected format
def b3::plugins::admin::AdminPlugin::parseUserCmd (   self,
  cmd,
  req = False 
)
Return a tuple of two elements extracted from cmd :
 - a player identifier
 - optional parameters
req: set to True if parameters is required.
Return None if could cmd is not in the expected format
def b3::plugins::admin::AdminPlugin::penalizeClient (   self,
  type,
  client,
  reason,
  keyword = None,
  duration = 0,
  admin = None,
  data = '' 
)
def b3::plugins::admin::AdminPlugin::penalizeClient (   self,
  type,
  client,
  reason,
  keyword = None,
  duration = 0,
  admin = None,
  data = '' 
)
def b3::plugins::admin::AdminPlugin::registerCommand (   self,
  plugin,
  command,
  level,
  handler,
  alias = None,
  secretLevel = None 
)
def b3::plugins::admin::AdminPlugin::registerCommand (   self,
  plugin,
  command,
  level,
  handler,
  alias = None,
  secretLevel = None 
)
def b3::plugins::admin::AdminPlugin::sayMany (   self,
  msg,
  times = 5,
  delay = 1 
)
def b3::plugins::admin::AdminPlugin::sayMany (   self,
  msg,
  times = 5,
  delay = 1 
)
def b3::plugins::admin::AdminPlugin::warnClient (   self,
  sclient,
  keyword,
  admin = None,
  timer = True,
  data = '',
  newDuration = None 
)
def b3::plugins::admin::AdminPlugin::warnClient (   self,
  sclient,
  keyword,
  admin = None,
  timer = True,
  data = '',
  newDuration = None 
)
def b3::plugins::admin::AdminPlugin::warnKick (   self,
  sclient,
  client = None,
  data = '' 
)
def b3::plugins::admin::AdminPlugin::warnKick (   self,
  sclient,
  client = None,
  data = '' 
)
def b3::plugins::admin::AdminPlugin::warnKickDuration (   self,
  sclient 
)
def b3::plugins::admin::AdminPlugin::warnKickDuration (   self,
  sclient 
)

Member Data Documentation

dictionary b3::plugins::admin::AdminPlugin::_commands = {} [static, private]
tuple b3::plugins::admin::AdminPlugin::_parseUserCmdRE = re.compile(r"^(?P<cid>'[^']{2,}'|[0-9]+|[^\s]{2,}|@[0-9]+)(\s+(?P<parms>.*))?$") [static, private]

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