Class BanController
Definecommand(:
command = 'ban', accessLevel = 'mod', description = 'Ban a character from this bot', help = 'ban.txt', defaultStatus = '1' )
Definecommand(:
command = 'banlist', accessLevel = 'mod', description = 'Shows who is on the banlist', help = 'ban.txt', defaultStatus = '1' )
Definecommand(:
command = 'unban', accessLevel = 'mod', description = 'Unban a character from this bot', help = 'ban.txt', defaultStatus = '1' )
Instance: Commands this controller contains:
Located at BAN/BanController.class.php
public
|
|
public
|
|
public
|
#
banPlayerWithTimeAndReasonCommand( $message, $channel, $sender, $sendto, $args )
Command parameters are: - name of the character - time of ban - banning reason string |
public
|
#
banPlayerWithTimeCommand( $message, $channel, $sender, $sendto, $args )
This command handler bans a player from this bot. |
public
|
#
banPlayerWithReasonCommand( $message, $channel, $sender, $sendto, $args )
This command handler bans a player from this bot. |
public
|
#
banPlayerCommand( $message, $channel, $sender, $sendto, $args )
This command handler bans a player from this bot. |
public
|
#
banlistCommand( $message, $channel, $sender, $sendto, $args )
This command handler shows who is on the banlist. |
public
|
#
unbanCommand( $message, $channel, $sender, $sendto, $args )
This command handler unbans a player from this bot. |
public
|
|
private
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
public
|
$moduleName
Name of the module. Set automatically by module loader. |
|
public
|
$accessManager
|
|
public
|
$util
|
|
public
|
$chatBot
|
|
public
|
$settingManager
|
|
public
|
$text
|
|
public
|
$db
|
|
private
array
|
$banlist
|
#
array()
|
public
string
|
$defaultNotifyBannedPlayer
|
#
"1"
|