BanManager.php

Description

Module to manage banning and unbanning of characters in the bot.

Features

  • allows adding and removing of bans
  • temporary bans that run out automatically
  • optional reason for a ban is saved
  • shows all information about banned users

Commands provided

Command Keyword Argument(s) Description Tell Guild Priv
!banlist Shows a listing of all currently banned charactersGuestGuestGuest
!ban[list] Shows a listing of all currently banned charactersAdmin Admin Admin
!banadd <name> [<reason>] Permanently bans <name>, with optional <reason> Admin Admin Admin
!banadd <name> <time> [<reason>] Temporarily bans <name>, with optional <reason>. Time is in the format #[mhd], where the optional suffix defines the unit of time. m means time is in minutes, h for hours, d for days. The bot checks once every minute for bans that timed out. Admin Admin Admin
!bandel <name> Unbans <name>AdminAdminAdmin
 
banmanager.php.txt · Last modified: 2007/06/29 09:46 by Alreadythere
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki