WarningManager 2.4

Auto-punishments, dynamic group punishments, SQL, Console support, sets: time, date, sender & reason

  1. Synapz
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    Source Code:
    https://github.com/Synapz1/WarningManager
    Contributors:
    Synapz_
    [​IMG]

    WarningManager is a small, very useful plugin that will help admins control their players. It allows you to warn a player with a reason so you can see players' past behaviors. This is extremely useful in many cases, picking staff, choosing a punishment, or just to scare players into not breaking rules. It is designed to be small and efficient so it does not cause large errors in console and is easily updated for each Minecraft version so owners never experience compatibility issues. WarningManager also features many permission nodes and customizable options so owners have full control of their staff, players, and WarningManager's default values.

    Video


    Command - Permission - Purpose
    All - warnings.* - Gives access to all commands
    /warn <group> <player> [reason] - warnings.warn - Warn a player
    /check <player> - warnings.check - Check a player's warnings and warning count
    /reset <player> - warnings.reset - Reset a player's warnings and warning count
    /delete <group> <player> <warningNumber> - warnings.delete - Delete a specific warning
    /whelp - warnings.help - View WarningManager command menu
    /wreload - warnings.reload - Reload the plugin's config file
    No command - warnings.notify - Notifies people with this permission when someone is warned (if broadcast-message is false only)


    In game Commands:
    [​IMG]


    Check Command:
    [​IMG]


    An Example:
    After the command was typed in, they were auto muted because the punishment for advertising on 1 was a mute.
    [​IMG]

    Features
    * Console support
    * SQL to sync between all your servers
    * OfflinePlayer support
    * Efficient control
    * Customizable configuration
    * Ability to reload plugin instead of whole server
    * Auto punishment system
    * Fast updates on new Minecraft releases
    * Date and Time recorder
    * A new really cool feature which lets you specify the type of warning and then have dynamic punishments based on that type. For example, 2 warnings for hacking will result in a ban while 2 warnings for advertising will result in a mute

    Config
    Code (Text):

    # Tips for editing YAML files:
    #   - Do not use TABS! Instead use 4 spaces.
    #   - Lines starting with '#' symbol are completely ignored
    #   - Indentation matters
    #   - If you have any errors, google 'yaml parser' to easily correct them
    # Developer: Synapz_

    # MySQL settings to sync warnings in a database.
    mysql:
      enabled: false
      host: host
      database: database
      port: 3306
      username: username
      password: password
      table: warnings
    [/SIZE]
    # Set the prefix of the plugin. This gets displayed on all messages sent through the plugin.
    prefix: '&8[&6WarningManager&8] '

    # Message that gets sent out when a player gets warned. Tags: %TARGET% %REASON% %SENDER%
    broadcast-message: '&6Player &c%SENDER% &6has warned &c%PLAYER% &6for &c%REASON%'

    # If set to true the broadcast-message will get sent to everyone on the server.
    # If set to false the broadcast-message will only get sent to players with warnings.notify permission
    broadcast-reason: true

    # Reason that will be supplied when the reason argument is not full filled
    default-reason: 'Follow all the rules!'

    # Message that gets sent to the player when they get warned. Type 'none' to ignore. Tags: %SENDER% %REASON% %WARNINGS%
    player-message: '&6You now have &7%WARNINGS% &6warnings.'

    # Auto command handler. Number is amount of warnings until the 'command' happens.
    # Avaible tags are %PLAYER% %SENDER %REASON% %WARNINGS%
    # Do not include the '/' at the begining of the command

    # A new really cool feature called groups which lets you specify the type of warning and then have dynamic punishments based on that type
    # Make a new group by forming 2 spaces, typing in the group name followed by a : (hit enter) then 4 spaces with the warning number and : (hit enter) command: then "" with the command inside it. Then do /wreload
    # Follow the defaults for examples
    punishments:
      general:
        2:
          command: "kill %PLAYER%"
        5:
          command: "kick %PLAYER% %REASON% (%WARNINGS%) - %SENDER%"
      grief:
        1:
          command: "kick %PLAYER% Greifing is not allowed! (%WARNINGS%) - %SENDER%"
        3:
          command: "ban %PLAYER% Greifing is not allowed!"
      hack:
        1:
          command: "ban %PLAYER% Hacking is not tolerated! - %SENDER%"
      advertise:
        1:
          command: "mute %PLAYER%"

    # Format for the date when displayed in /check
    # Tags: %WEEKDAY%, %YY%, %MM%, %DD%
    date-format: '%WEEKDAY% %MM%-%DD%-%YY%'

    # Weather the time will be displayed and set in military-time (24 hour) or 12 hour (with am/pm) form
    military-time: false
     

    GitHub

    WarningManager is now available on GitHub! Want to commit or just check out the mechanics behind it all? Feel free here:
    [​IMG]

    Plugin Metrics

    [​IMG]

    If you are feeling generous and want to support my work please consider donating

    [​IMG]

    Images

    1. GitHub_Logo.png
    KillerOfPie, Avi, critting and 2 others like this.

Recent Updates

  1. UUID
  2. Updates
  3. WarningManager

Recent Reviews

  1. HouseOfBending
    HouseOfBending
    5/5,
    Version: 2.4
    Great plugin :)
    I do experience some issues, but they're minor.
    Works great. Easy to use and hard to mess up.
  2. KillerOfPie
    KillerOfPie
    4/5,
    Version: 2.3
    Great plugin, works well. Only addition i'd like to see is uuid support. Currently if a player changes their name they don't have warnings anymore. Once he adds that Ill update my review.
  3. pinkpig
    pinkpig
    5/5,
    Version: 2.2
    Awesome plugin! Works very well. Solves lots of confusion on my server for staff. Definitely recommend!
  4. Spikey101
    Spikey101
    5/5,
    Version: 2.0
    Very good plugin, I recommend it to anyone who needs to keep track of their users offenses, and to make your job a lot easier! I hope the author implements it so that the default-reason can be the name of the group, and if possible to make the command shorter (/warn playername groupname) - but all in all the best plugin and working great for me on Spigot 1.8.8
  5. Avi
    Avi
    5/5,
    Version: 2.0
    I love this plugin!! Really amazing I would pay premium for this - please keep it up to date, as it is such a fantastic resource :D <3
  6. BadSlayer
    BadSlayer
    5/5,
    Version: 2.0
    Really love this plugin, Pretty simple and straight to the point :D!!!

    Keep up the good work man!!!
  7. murdock_m
    murdock_m
    5/5,
    Version: 2.0
    Awesome admin tool! look forward to more from you! I recommend this for all servers.
    Out of several hundred I choose this one! <3
  8. drood
    drood
    5/5,
    Version: 2.0
    Amazing plugin works very well, keep up the good work. Would definatley recommend this to anyone who is looking for a warn plugin!
  9. hidde9999
    hidde9999
    5/5,
    Version: 1.7
    it's nice, but can you add bungeecord support. then it's surely the best warn plugin.











    .
  10. mrice
    mrice
    5/5,
    Version: 1.2
    Excellent