Skip to content
Serubin edited this page Mar 29, 2012 · 2 revisions

Table of Contents

SeruBans, What is it?

SeruBans is an administrative plugin for Bukkit. The plugin covers all of the standard commands that you would expect from a bans plugin (ban, kick, tempban, warn). Serubans also comes with a webpage to keep track of bans, kicks, warnings, etc. The plugin uses MySQL to keep track all bans, and for th webpage.

Commands

  • ban:
    • description: Bans player
    • usage: /<command></command> <player></player> <reason></reason> - bans player
  • tempban:
    • description: tempbans player
    • usage: /<command></command> <player></player> <amount></amount> <unit></unit> <reason></reason> - tempbans player
  • kick:
    • description: kicks player
    • usage: /<command></command> <player></player> <reason></reason> - kicks player
  • warn:
    • description: warns player
    • usage: /<command></command> <player></player> <reason></reason> - warns player
  • unban:
    • description: unbans player
    • usage: /<command></command> <player></player> - unbans player
  • checkban:
    • description: checks if a player is banned
    • usage: /<command></command> <player></player> - checks if a player is banned
  • serubans:
    • description: debug
    • usage: /<command></command> -<arg></arg> - Debug: shows hashmaps, Export to bans to textfile

Permissions

serubans.*:

  • description: gives full permission on Serubans.
serubans.ban
  • description: gives permission to ban players.
serubans.tempban
  • description: gives permission to tempban players.
serubans.kick
  • description: gives permission to kick players.
serubans.warn
  • description: gives permission to warn players.
serubans.unban
  • description: gives permission to unban players.
serubans.checkban
  • description: gives permission to check if players are banned.
serubans.debug
  • description: gives permission to debug command.
serubans.broadcast
  • description: gives permission to see ban announcements.

Config

 SeruBans:
   messages:
     ban:
       GlobalBanMessage: '&f%kicker% banned %victim% for %reason%'
       <span style="color: blue">#Message to be broadcasted on player ban.</span>
       BanMessage: '&cYou have been banned by &4%kicker%, &cfor &4%reason%'
       <span style="color: blue">#Message to be shown to victim on ban</span>
     kick:
       GlobalKickMessage: '&f%kicker% kicked %victim% for %reason%'
      <span style="color: blue"> #Message to be broadcasted on player kick.</span>
       KickMessage: '&fYou have been kicked by %kicker%, for %reason%'
       <span style="color: blue">#Message to be shown to victim on kick</span>
     warn:
       WarnMessage: '&f%victim% has been warned by %kicker%, for %reason%'
      <span style="color: blue"> #Message to be broadcasted on player warn</span>
       WarnPlayerMessage: '&fYou were warned by %kicker%, for %reason%'
      <span style="color: blue"> #Message to be shown to victim on warn</span>
     tempban:
       GlobalTempBanMessage: '&f%kicker% tempbanned %victim% for %reason%'
      <span style="color: blue"> #Message to be broadcasted on player tempban</span>
       TempBanMessage: '&cYou have been tempbanned by &4%kicker%, &cfor &4%reason%, &cuntil &4%time%.'
      <span style="color: blue"> #Message to be shown to victim on tempban</span>
   database:
  <span style="color: blue"> #database info</span>
     host: "localhost"
     username: "SeruBans"
     password: "change"
     database: "bans"
Clone this wiki locally