Awesome MySQL Bans

AwesomeBans

Current Status

  • Everything but lives is working. I also plan to add more checking queries in the future as well.
  • I think the newest spigot builds let BungeeCord send the correct IPs through now. If this is true I won't need to add special bungee cord support

Planned for later releases

  • Optional Lives usage for hardcore servers
  • Custom message formatting through config
  • Custom warning levels by command
  • Staff checking and other queries

Features

  • Multiple servers can link into the database for use with:
    • Bans
      • Informs banned player of reason, issuer and duration
    • Mutes
      • Prevent sign placing
      • Prevent specified commands
    • Past History Lookup
  • Warn users when their behavior is inappropriate
  • Track and report warning level
  • Notify staff when a banned player attempts to log in
  • Notify staff with warning level when a player logs in
    • Warning level is based on past punishments so staff can tell at a glance if a player has a history of poor behavior
  • MySQL allows advanced look-ups of history
    • All punishments issued against a player
    • All punishments issued by a staff member (planned)
    • Most recently issued punishments by all staff (planned)
  • Prevent ban evasion - automatically ban new accounts logging into the server if an account has been banned on that ip. (accounts that have logged into the server before won't be affected by this)

The items logged for past history are:

  • Type of punishment.
  • Player who was punished.
  • Staff member who issued the punishment.
  • Reason for punishment.
  • Duration of the punishment.
  • Time the punishment was issued.
  • Server the punishment was issued on. (as specified in config)
  • Warning level associated with the punishment.

Commands

The following list is incomplete and still in development

  • /warn <player> <reason> - warns the player of their improper behavior
  • /mute <player> <duration> <reason> - mutes the player for the specified duration
  • /ban <player> <duration> <reason> - bans the player for the specified duration
  • /kick <player> <reason> - kicks the player with given reason
  • /check <player> - shows a list of punishments.
  • /checkdetail <record Id> - shows all the details of a specified punishment. Record Id's are shown when you /check a player
  • /unban <player> - unbans a player
  • /unmute <player> - unmutes a player

Duration Format: 1w2d3h4m5s = 1 week, 2 days, 3 hours, 4 minutes, 5 seconds

Or "perm" for permanent (sans quotes)

Permissions

Sub-bullets are included in parent bullet

  • AwesomeBans.admin
    • AwesomeBans.mod
      • AwesomeBans.ban
      • AwesomeBans.unban
      • AwesomeBans.mute
      • AwesomeBans.unmute
      • AwesomeBans.check
      • AwesomeBans.warn
      • AwesomeBans.kick
      • AwesomeBans.notify - notifies you of players warning level and muted status when they log in. Also when banned players try to log in.

Configuration

MySQL:
  Host: localhost
  Port: 3306
  Username: root
  Password: password
  Database: minecraft
  ##included as part of the tablenames
  TablePrefix: AwesomeBans
##recorded on punishment records
ServerName: AwesomeServer
Lives: -- not used yet
  UseLives: true
  DefaultLives: 1
  BanDuration: 1d
  ResetLives: 1
  BuyURL: N/A
##if the plugin should broadcast punishments
Broadcast: true
## If the plugin should override the default login messages. 
## For players that get the plugin login notifications it will hide the default.
## If false, the default login message will show. 
OverrideJoinMessages: true     
Formatting:
  ##Prefix is shown before chat messages from the plugin. The rest of the formatting will be configurable in the future.
  Prefix: "&2[&aAwesomeBans&2]"

Requires:

http://dev.bukkit.org/server-mods/sqlibrary/

Java 7 Should now be java 6 compatible starting with v0.11

Inspired By

Awesomebans is inspired by FC_Bans and Destro168


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    51832
  • Created
    Feb 10, 2013
  • Last Released File
    Never
  • Total Downloads
    2,143
  • License

Categories

Members

Recent Files

Bukkit