AdvancedBan 2.1.5

AdvancedBan is a ban plugin for singel servers and server networks with a great looking ban message

  1. Leoko
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    https://github.com/DevLeoko/AdvancedBan

    [​IMG]

    [​IMG]


    [​IMG]
    AdvancedBan is an All-In-One Punishment-System with warns, tempwarns, mutes, tempmutes, bans, tempbans, ipbans, tempipbans and kicks.
    There is also a PlayerHistory so you can see the players past punishments and
    the plugin has configurable Time & Message-Layouts which automatically calculate and increase the Punishment-Time for certain reasons.
    AdvancedBan provides also a full Message-File so you can change and translate all messages & a detailed config file with a lot of useful settings.
    This is a BungeeCord & Bukkit/Spigot-Plugin in one and it supports MySQL and a local embedded Database to provide high performance.
    Developed by Leoko

    [​IMG]
    1. Download the Plugin
    2. Put it in your Plugin folder. [either in the one of your BungeeCord-Server or in the one of the Bukkit/Spigot]
    3. Reload/Restart your Server [if BungeeCord you have to restart it with /end]
    4. Check with /advancedban if the plugin is loaded.
    5. Configure it like you want & have fun.


    [​IMG]
    [NEEDED]
    <OPTIONAL>
    | = or
    -s = Silent punishemnt (no notification to others)

    /kick [PLAYER] <-s> <REASON | @LAYOUT>
    Kick a player

    /ban /mute /warn [PLAYER] <-s> <REASON | @LAYOUT>
    Ban/Mute/Warn a player

    /banip [PLAYER/IP] <-s> <REASON | @LAYOUT>
    Ban a player's IP. If you enter a name it will use the cached IP

    /tempban /tempmute /tempwarn [PLAYER] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <-s> <REASON | @LAYOUT>
    Tempban/mute/warn a player for a given time or with a time-layout for automatic-time-calcualtion


    /tempipban [PLAYER/IP] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <-s> <REASON | @LAYOUT>
    Temippban a player for a given time or with a time-layout for automatic-time-calcualtion
    Alias: /tipban


    /change-reason [ID] [New reason]
    Change the reason for a punishment by id

    /change-reason [ban/mute] [PLAYER] [New reason]
    Change the reason for a players punishment

    /unban /unmute [PLAYER]
    Unban/mute a player

    /unwarn [ID]
    Delete a warn

    /unpunish [ID]
    Delete a punishment


    /warns <PLAYER>
    See your own or a player's warnings.

    /check [PLAYER]
    Get player-status: UUID/IP/Country/Ban-Status/Mute-Status/Warn-Count

    /banlist <PAGE>
    See all currently active punishments

    /history [PLAYER] <PAGE>
    See all currently active punishments
    To use the command - ab.history

    /advancedban reload
    Reloads the messages from file and "some" settings


    /advancedban help
    Shows a list of all commands and a brief explanation

    /systemprefs
    Displays some System-Information which are useful for the configuration

    [​IMG]
    Most of the permission nodes follow a simple layout:
    ab.PUNISHMENT.TYPE or ab.COMMAND
    So, for example, the /ban command has the permission node ab.ban.perma and the tempwarn command has ab.warn.temp
    But please check the list of permissions anyway to ensure you are using the right permissions:
    Code (Text):
    ab.kick.use - /kick
    ab.kick.exempt - Immune to kicking
    ab.kick.notify - Receives notification

    ab.ban.perma - /ban
    ab.ban.temp - /tempban
    ab.ban.exempt - Immune to ban
    ab.ban.notify - Receives notification
    ab.ban.undo - /unban

    ab.tempban.exempt - Immune to tempban
    ab.tempban.notify - Receives notification[/SPOILER]

    ab.ipban.perma - /ipban
    ab.ipban.temp - /tempipban
    ab.ipban.exempt - Immune to ipban
    ab.ipban.notify - Receives notification

    ab.tempipban.exempt - Immune to tempipban
    ab.tempipban.notify - Receives notification

    ab.mute.perma - /mute
    ab.mute.temp - /tempmute
    ab.mute.exempt - Immune to mute
    ab.mute.notify - Receives notification
    ab.mute.undo - /unmute

    ab.tempmute.exempt - Immune to tempmute
    ab.tempmute.notify - Receives notification

    ab.warn.perma - /warn
    ab.warn.temp - /tempwarn
    ab.warn.exempt - Immune to warn
    ab.warn.notify - Receives notification
    ab.warn.undo - /unwarn

    ab.tempwarn.exempt - Immune to tempwarn
    ab.tempwarn.notify - Receives notification

    ab.all.undo - /unpunish

    ab.warns.own - /warns
    ab.warns.other - /warns

    ab.check - /check
    ab.check.ip - Also shows IP

    ab.changeReason - /change-reason
    ab.banlist - /banlist
    ab.history - /history
    ab.reload - /advancedban reload
    ab.help - /advancedban help
    ab.systemprefs - /systemprefs

    By default, the user will be able to punish an infinite amount of time if he has the perms to use the command.
    You can set the max-punishment-time with ab.tempban/tempmute/tempwarn.dur.X
    In the config, there is a section called "TempPerms".
    There you can configure how long which ID will be able to punish
    for example, you set
    1: 3600
    the player with the perms ab.tempban.dur.1 will only be able to ban 3600s -> 1h
    The amount is entered in SEC and if a player has more than one perms the higher numbers override.
    There is a second explanation in the config.yml.

    If you use this plugin on bungeecord you need to define the permissions in the config.yml of the Bungeecord Server or through a spcial bBungeecord Permission Plugin.

    The problem with bungeecord permissions is that there are not *-Perms so a user with ab.* won't have access to all commands. But to simplify the setup there is a setting in the advacnedban config called "EnableAllPermissionNodes" which allows you to use a .all instead of a .* so if enabled a user with ab.all will have access to all AdvancedBan commands. (There is another explanation in the config)


    [​IMG]
    Warn:
    [​IMG]
    Tempmute:
    [​IMG]
    Tempban with Message-Layout:
    [​IMG]
    Ban:
    [​IMG]
    Kick:
    [​IMG]
    Check: [No country because it's a localhost-ip]
    [​IMG]

    [​IMG]
    Config.yml:
    The config.yml should be self-explaining and there are also explanations in the config.yml
    Code (Text):

    # AdvancedBan v2 - Coded by Leoko
    # For each setting, there is a small description.
    # Please read each description carefully before changing anything.
    # For more information visit: https://www.spigotmc.org/resources/advancedban.8695/
    # Do you want your own Plugin or Website? Check out our Dev-Page: http://dev.skamps.eu

    # If set to false all bans will be saved locally in a HSQLDB-Database
    UseMySQL: false

    # Set to false if you want to have only short messages in the console
    # On startup and on the shutdown.
    DetailedEnableMessage: true
    DetailedDisableMessage: true

    # This will be the default reason to be displayed if none is given
    DefaultReason: "none"

    # Change this if your server has a different time that your users.
    # e.g.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3
    # You can check the server time with /systemPrefs
    TimeDiff: 0

    # This commands will be disabled for muted players
    # A player wouldn't be able to bypass with eg "/minecraft:me"
    MuteCommands:
    - 'me'
    - 'say'
    - 'action'
    - 'eaction'
    - 'describe'
    - 'edescribe'
    - 'eme'
    - 'w'
    - 'm'
    - 'pm'
    - 'whisper'
    - 'ewhisper'
    - 'emsg'
    - 'msg'
    - 'etell'
    - 'tell'
    - 'er'
    - 'r'
    - 'reply'
    - 'ereply'
    - 'ac'
    - 'eac'
    - 'amsg'
    - 'eamsg'
    - 'ehelpop'

    # These players will not be able to get punished in any way
    # this also works if the player is offline
    ExemptPlayers:
    - 'Leoko'
    - 'md5'
    - 'dutchy1001'
    - 'ItzSomebody'

    # The date-format which will be used for the %DATE% variable
    DateFormat: "dd.MM.yyyy-HH:mm"

    # This is useful for bungeecord servers or server with permission systems which do not support *-Perms
    # So if you enable this you can use ab.all instead of ab.* or ab.ban.all instead of ab.ban.*
    # This does not work with negative permissions! e.g. -ab.all would not block all commands for that user.
    EnableAllPermissionNodes: false

    # If you use external REST-APIs they will have to respond in JSON
    # The given APIs will only be used for NAME -> UUID
    # For UUID -> NAME will either use the official MojangAPI or the InternFetcher
    # To check if you can use the intern fetcher do /systemPerfs and compare your uuid
    #   to the one you can see online on http://NamesMC.com
    #   if they are similar we recommend using the InternFetcher
    UUID-Fetcher:
      # If dynamic it set to true it will override the 'enabled' and 'intern' settings
      # and automatically detect the best possible uuid fetcher settings for your server.
      # Our recommendation: don't set dynamic to false if you don't have any problems.
      Dynamic: true
      Enabled: true
      Intern: false
      REST-API:
        URL: "https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%"
        Key: "id"
      BackUp-API:
        URL: "https://us.mc-api.net/v3/uuid/%NAME%"
        Key: "uuid"

    # These are the commands that will be performed on warns
    # If you skip a number the command from before will be performed
    # You can also use non-AdvancedBan-Commands like 'broadcast' or 'clear %PLAYER%
    # Variables: %PLAYER%, %REASON%, %COUNT%
    WarnActions:
      3: "kick %PLAYER% &c&oYou have received your 3rd warning!"
      4: "tempban %PLAYER% 30m &c&oYou have received your 4th warning!"
      5: "tempban %PLAYER% 5h &c&oYou have received your 5th warning!"
      6: "tempban %PLAYER% 7d &c&oYou have received your 6th warning!"
      7: "tempban %PLAYER% 1mo &c&oYou have received your %COUNT%th warning!"
      10: "ban %PLAYER% &c&oYou have received your 10th warning!"

    # Here you can create permission-nodes for max-punishment-duration.
    # The permission "ab.tempban.dur.1" would allow the player to ban max. for 600sec = 10min
    # The permission "ab.tempwarn.dur.2" would allow the player to warn max. for 3600sec = 1h
    # You can only create up to 10 perms. The perms can be overridden with "ab.COMMAND.dur.max"
    TempPerms:
      1: 600
      2: 3600
      3: 43200
     

    Messages.yml
    Here you can change every message. All Message-Variables that are available are used in the default settings.

    Layout.yml
    Messages:
    Here you can define predefined reasons which can be used for (temp-)banning/muting/warning & kicking.
    You can use them by just typing @Layout-NAME instead of the reason. So you can have different layouts with different information for different reasons.
    And once you have defined them you do not have to type the whole reason.

    Time:
    Here you can define timelayouts which can be used for temporary-punishments.
    You can use them by just typing #LAYOUT-NAME instead of the duration. The time increases every time a player gets punished with the same layout.
    Code (Text):
    # The default layouts are in the Message.yml file!


    # Message-Layouts can not only be used for bans but also for mutes and warns
    # Varibales: %OPERATOR%, %REASON%, %PREFIX%, %DURATION%
    # For warns you have also the variable %COUNT% which will be
    # replaced with the current amount of warns the player already resived
    # Example usage: /ban Leoko @ExampleLayout
    Message:
      ExampleLayout:
        - '%PREFIX% &7Banned for Hacking'
        - '&c&oBannd by %OPERATOR%'
        - '&7'
        - "&cIt seems like you are using a"
        - "&chacked client please disabled it!"
        - "&cUnban in &8\xbb &7%DURATION%"
        - '&7'
        - '&8Unban application in TS or forum'
        - "&eTS-Ip &8\xbb &c&ncoming soon"
        - "&eForum &8\xbb &c&ncoming soon"

    # You would use this time-layout for example like this: "/tempban Leoko #ExampleLayout Hacking in FFA"
    # Or with "/tempwarn Leoko #ExampleLayout Advertising" or with "/tempwarn Leoko #ExampleLayout No capslock please"
    # You can also combine this with MessageLayouts like "/tempban Leoko #ExampleLayout @Hacking"
    Time:
      ExampleLayout:
        - '30m'
        - '2h'
        - '1d'
        - '1w'
        - '1mo'
        - '2mo'
        - '4mo'
        - 'perma'
     

    [​IMG]
    • Ban-, Kick-, Mute- and Warn-System
    • Excellent performance
    • BungeeCord & Bukkit/Spigot-Plugin in one
    • PlayerHistory
    • Easy to use API
    • Advanced-UUID-Support
      • Intern or Extern UUID-Fetcher
      • Backup-UUID-Fetcher if Mojang-Servers are offline
      • Change UUID-Fetcher REST-API
    • MySQL or local embedded HyperSQL
    • Full customizable
    • Multiple lines in Kick- and Ban-Messages
    • Pre-Defined Reasons
    • Automatic time calculation [1th-tempban -> 1h | 2th-tempban -> 6h ...]
    • Custome Time-Offset [Change the timezone if the server has a wrong time]
    • Automatic-Warn actions
    • Check-Command [UUID, IP, COUNTRY, BAN/MUTE/WARNS]
    >> Plugins supporting AdvancedBan <<

    Punishment GUI ( @BGHDDevelopment ):
    https://www.spigotmc.org/resources/...13-◀-punishment-gui-fully-customizable.59570/

    Addon for Party and Friends System ( @simonsator ):
    https://www.spigotmc.org/resources/delete-paf-data-on-perm-ban-advancedban.45971/

    GUI Addon ( @Boobah ):
    https://www.spigotmc.org/resources/punishment-gui-copy-of-mps-punish-history.37219/

    Use numbers instead of reasons, durations and punishment types ( @Phyrone ):
    https://www.spigotmc.org/resources/advancedbans-numbers.49067/

    [​IMG]
    English:

    (detailed)

    (brief)

    Dutch/Nederlands:


    Russian:


    Spanish:


    French:


    If you have made one just send me the link per PM.

    [​IMG]

    Requirements:
    • AdvancedBan version 2.0.0 or higher
    • MySQL-Server that is reachable from outside (not just localhost)
    • Enabled MySQL not file
    A webserver is not required

    Note:
    The webpanel is not something to download like the first one.
    It's a website where you can register your server and the website will generate your own banpanel.
    Also the panel does only display things it is not for administration just for monitoring.

    Free MySQL-Databases:
    https://www.freemysqlhosting.net/
    BPlaced is not working

    Here is a live DEMO:
    http://skamps.banpanel.eu

    Features:
    • Secure login-system (sha1 & no-SQLInjections)
    • Mobile optimized
    • Flat design
    • Own subdomain [NAME.banpanel.eu]
    • Own messages & design [coming soon]
    • Able to integrate into your webside

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Register here:
    http://banpanel.eu

    Thanks to @mathhulk there is a web interface which you can download and place on your own WebServer this can be great if...
    ... your MySQL is only accessible for localhost
    ... you want to make major changes in the layout

    This web interface does not include all features listed above, like the player-search or advanced mobile optimization.

    Finally please note that all credits of this web interface got to @mathhulk and that we won't provide any support for it.

    I don NOT vouch for the security of this web panel!

    GitHub: https://github.com/mathhulk/ab-web-addon
    Example: https://whatisin.space/ab-web-addon

    [​IMG]
    If you have any problems with the Plugin make sure the first check the console for any error messages with instructions how to solve the issue and to read the Known-Issues-Section below
    If you still have the issue just post your it into the discussion area, on GitHub or on our Discord-Server :)

    [​IMG]
    The new Version of AdvancedBan was a lot of work for and I spend a lot of time and effort on it.
    So if you appreciate my work I'd be very thankful about every donation ^^
    https://www.paypal.me/Leoko


    >> Servers using AdvancedBan <<
    BlizzardCraft Network
    > mc.blizzardcraft.net


    [​IMG]
    We use a Metrics-System called bStats which tracks information about your server
    eg. Player, Bit-System, MC-Version, Server-System ect.
    More information about bStats can be found here:

    https://bstats.org/

    [​IMG]
    None yet ;)

    [​IMG]
    All information about the API can be found on GitHub
    [​IMG]

    [​IMG]

    Images

    1. AB-Logo.png
    2. imgres.jpg
    3. ex1.png
    4. ex2.png
    5. AdvancedBan.jpg

Recent Reviews

  1. Stylexe02
    Stylexe02
    5/5,
    Version: 2.1.5
    hello, I would like to install the panel of your plugin, but I do not know how to do it, and when I do to register, it does not work.
  2. snowrider777
    snowrider777
    1/5,
    Version: 2.1.5
    ---------------------------------------
    No support for MC Aquatic (1.13) just yet, I will change rating once the update is released.
    ---------------------------------------
    1. Leoko
      Author's Response
      There is a huge red box with an exclamation mark right above the review section saying: "Please use Discussion or GitGub (or Discord) for help/bugs/issues! Do NOT write bad reviews before trying to get support!"

      Maybe there is a simple way to port AdvancedBan so it works on 1.13 or maybe there is already a 1.13 Version which is just not released on spigotmc or maybe not but you will never find out through pressuring me with bad reviews :P
  3. Munch42
    Munch42
    4/5,
    Version: 2.1.5
    Hello, I really like this plugin as it is very useful for my server and it is also very powerful at least for what I need.
  4. Ostr
    Ostr
    5/5,
    Version: 2.1.5
    Also, for those who are giving bad reviews, I don't know what you're talking about, be nice to this guy he works hard. Most of these reviews it seems like it's an issue from your side, not his, so just stop and ask him on discord. This guy deserves respect and he's a really nice developer
  5. En_0t_S
    En_0t_S
    5/5,
    Version: 2.1.5
    How about priority system? I want to be able ban admins (with immune) from console.
  6. hammynl
    hammynl
    5/5,
    Version: 2.1.5
    After working really hard on getting it to work it shows me how powerful this ban plugin is! Definetly worth 5 starts! Thank you for this plugin <3
  7. omermarvel
    omermarvel
    5/5,
    Version: 2.1.5
    pls add /tempipmute

    i want temp ip mute plss add this
    .....................................
  8. gerber11
    gerber11
    5/5,
    Version: 2.1.5
    I have been using AdvancedBan for the past year now. This has majorly improved my server and how I can provide to my player base. I also run the Unofficial web addon by hulkmath @ https://staff.tml.life/banpanel

    This web addon looks absolutely wonderful with an amazing developer for it as well. (I also suggest using this if you can host it)

    My favorite features go along with Arrowheads844

    • Free! (LiteBans is NOT worth its price.)
    • BungeeCord Support
    • Custom Kick/Warning/Mute/Ban messages.
    • Highly customizable messages. I can literally change every aspect of the messages with ease to support the look and feel of my server. (I hate the messages in LiteBans)
    • Completely bug-free (Unless I didn't notice it)
    • UUID support - This helps when a player changes their name once, twice, or even three times.
    • The little features. When I do /history <player> it shows the punishment they received under their OLD username. Good feature!
    • Instant punishments - No waiting

    • Configurable max durations for each command! I love this feature a lot. I give my Helpers temp ban for only a little bit in case of emergencies but give my moderators like 2-week bans. This makes it easier for me to give ALL my staff the majority of punishment commands but just restrict it to how long they can actually punish someone for. LiteBans doesn't have this.

    • Impossible to bypass - No scrummy players trying to get around the system to get back on and ruin the server for others.

    A few things I must say though. The country variable thing in /check is broken (was working a month or two ago)

    You should make the exempt-players in the config.yml UUID based. I exempted my username and I had a player BungeeCord my BungeeCord and they came on with a cracked account under my username and they destroyed my Hub! My staff couldn't ban him because he came on under my exempted name.

    Now I just have ab.all in BungeePerms which exempts me but I think you should make the exempt players in the config UUID based so this doesn't happen again.

    Also, for any players who encounter the same thing - BungeeCording your BungeeCord. Use the plugin IP-Whitelist and install it on ALL of your SPIGOT servers.

    In conclusion, I think this plugin is absolutely wonderful and I wouldn't want to go to any other plugin (LiteBans is not worth its price in my opinion)
  9. Submarinebuilder
    Submarinebuilder
    4/5,
    Version: 2.1.5
    Great plugin! But is it possible that one permission group can just ban some and not all groups? Like this: supporters can only ban players, moderators can ban builders and players, devs can ban supporters, builders and players, admins can ban moderators, supporters, builders and players and owners can ban everyone?
    Does that already exist? If not, will this come one day?
  10. RedRed
    RedRed
    5/5,
    Version: 2.1.5
    Hello author, how can I get rid of BanIP?
    I tried to fight unbanip can not be successfully lifted, ask for help
    The plugin is very good