Inactive [ADMN/SEC] EasyBan v2.1 - Ban people/subnets/countries from "offline" Servers [1185]

Discussion in 'Inactive/Unsupported Plugins' started by whoami, 6, 2011.

  1. Offline


    Please use BukkitDev for bug reports/feature requests:

    EasyBan - Ban people/subnets/countries from "offline" Servers:
    Version: v2.1

    With this plugin you can ban griefers and other annoying people from your "offline" Server. To combat dynamic IPs EasyBan keeps track of players IP addresses and saves them into a file. Additionally you can ban entire subnets and/or countries if necessary. You can also add different DNSBL to block unwanted client hosts(open proxies, tor exit nodes, and much more)
    The plugin has support for PermissionsBukkit(Superperms) and Permissions. Without a Permissions plugin it defaults to op.

    • Kick and ban players and all their IP addresses
    • Temporary bans
    • Ban entire subnets
    • Ban entire countries
    • Ban hosts with the help of DNSBL
    • Customize plugin messages
    • IPv6 support
    • YAML, HSQLDB and MySQL database support
    Source Code:

    /ekick playername [reason] - Kick a player
    /ehistory playername - List all ips of a player
    /ealternative playername or ip - List all nicknames used by a player/show all players that connected from one ip
    /eban playername [reason] [time] - Ban a player. When time is given the player will be banned for [time] minutes
    /eunban playername - Unban a player
    /ebaninfo playername - Show informations about a ban
    /elistbans - List all banned players
    /elisttmpbans - List all temporary bans
    /ebansubnet networkprefix/subnetmask [reason] - Ban a subnet(e.g. /esubnetban or or 2001:470:1f09:e26::/64)
    /eunbansubnet networkprefix/subnetmask - Unban a subnet
    /elistsubnets - List all banned subnets
    /ebancountry countrycode - Ban a country(Country codes can be found here:
    /eunbancountry countrycode - Unban a country
    /elistcountries - List all banned countries
    /ewhitelist playername - Whitelist a player; Useful when a range ban hits an innocent
    /eunwhitelist playername - Remove player from whitelist
    /elistwhite - List all whitelisted players
    Country bans:
    Country bans are a optional feature just install the GeoIPTools plugin and they work.

    The YAML data backend is the default and doesn't need any configuration

    HSQLDB (open)

    To use the HSQL database download this.
    Create a "lib" directory in your server root and copy the downloaded file to that directory. Open the config.yml in plugins/EasyBan/ and replace "database: yaml" with "database: hsql"

    MySQL (open)

    To use MySQL as data backend download this.
    In that zip archive is a "mysql-connector-java-${VERSION}-bin.jar" file. Rename that file to "mysql-connector-java-bin.jar" and move it to the "lib" directory in your craftbukkit root folder. When the "lib" folder doesn't exist create it. Now create a database with a name of your choice.
    Open the config.yml in plugins/EasyBan/ and replace "database: yaml" with "database: mysql". Additionally you have to add these 5 settings:
    schema: 'XYZ' #database name(when not given it defaults to 'easyban')
    host: 'XYZ'  # MySQL Server address
    port: 'XYZ'  # MySQL Server port
    username: 'XYZ' # MySQL user
    password: 'XYZ' # password for that user

    easyban.${command} (e.g. easyban.ekick)
    Custom Messages:
    After the first start you'll find a messages.yml in "plugins/EasyBan/". To edit a message just change the part right of the ":".

    Update from <0.6 to 0.6 or higher
    Show (open)

    The layout of the bans.yml has changed and needs minor adjustments. Open bans.yml in an editor and change in the bans and subnets sections the lists to maps:

    Old Layout:
    - Pink
    - miau
    - deesck
    New Layout:
        Pink: {}
        miau: {}
        deesck: {}
    subnets: {} {} {}

    Version 2.1
    • added support for DNSBL
    Version 2.0
    • fixed #2
    • new configuration options
    More (open)

    Version 1.9
    • fixed #4
    • code cleanup
    Version 1.8
    • improved SQL code
    • player sees the reason for his kick/ban and for how long he was banned
    • added infos to plugin.yml
    Version 1.7
    • readded support for Permissions. If Permissions and PermissionsBukkit are installed Permissions will be used)
    Version 1.6
    • dropped support for Permissions
    • added support for PermissionsBukkit
    Version 1.5
    • Added configure option for mysql database schema
    • fixed MySQL temporary ban bug
    Version 1.4
    • /ealternative can now be used with a ip(request by AS1LV3RN1NJA)
    Version 1.3

    • MySQL support
    Version 1.2

    • HSQLDB support
    • Whitelist also works for subnet bans
    Version 1.1

    • GeoIPTools support
    Version 1.0

    • Added /ealternative command
    • Whitelist only works for country bans
    Version 0.9

    • Added country bans
    • Added a white list
    • Code cleanup
    • Renamed a few commands for consistency(esubnetban -> ebansubnet, esubnetunban -> eunbansubnet, elistips -> ehistory)
    • Moved messages form config.yml to messages.yml (custom messages will be copied automatically)
    • All actions are properly logged to console
    Version 0.8

    • Added temporary bans
    Version 0.7

    • Added missing message(thanks @l104693 for the report)
    Version 0.6

    • Reasons for bans
    • Saves who banned someone
    Version 0.5

    • Ignore case of commands
    Version 0.4

    • List commands
    Version 0.3

    • IPv6 Support
    • Thread safe
    • Ban subnets with CIDR notation
    • Messages moved to config.yml
    Version 0.2

    • Release
    Version 0.1

    • Internal test version
    efstajas, lastern and AS1LV3RN1NJA like this.
  2. Offline


    Can you update this plugin to minecraft 1.2.3 please, your plugin is really helpful for me.
    is working on getting it updated. I'll reply to this thread when he has.
    wkera, masterignus and DaEgo like this.
  4. Offline


    Good plugin, need update [cake]

    hammale has updated EasyBan and GeoIPTools, although you may need to do a tiny bit of work to transition well.
    Read this post for more info:
    tyzoid and hammale like this.
  6. Offline


    Last edited by a moderator: 16, 2016
  7. hammale just brought out a fix to some critical issues in the post I linked previously.
    Please use this thread to keep up to date:

    This is just a fix. hammale is not taking over the plugin, we still need someone to do that.

    I have found someone that seems interested, but it might take a while.
  8. Offline


    EasyBan doesn't work. It says me /ekick playername when i try to kick somebody.
  9. Offline


    does /eban not changed to /ban etc ?
  10. Please, for now atleast, put any issues with EasyBan to hammale at the thread I linked in my last post.
  11. Offline


    update plz
  12. Jesus christ, look at the other replies.
  13. Offline


    i dont need other replies, i test it and have many errors
  14. Offline

    Gary Lim

    Great Plugin!!! But Can Someone Please Update it to 1.2.4?
  15. Offline

    columb likes this.
  16. Offline


    Please update 1.2.4-R1.0! thx
  17. Offline



    Averus said:
    i dont need other replies, i test it and have many errors​
    Gary Lim said:
    Great Plugin!!! But Can Someone Please Update it to 1.2.4?​
  18. Offline


    firstly on the 1.2.4-R1.0, there are many errors
    secondly does not communicate to input commands

    Forgive me for my english
  19. Offline


    So, there's no alternative if I want to ban a country from my server?

  20. Just wait for an update, or look for developers who may be able to update it and ask them to help. Hammale isn't the only plugin dev, and said he wasn't going to continue supporting the plugin, only updating it to 1.2
    Het likes this.
  21. Offline


    if u get a error , post it here with details, cb version etc etc
  22. Offline


    Is it ever gonna be updated again?
  23. Offline


    Averus said:
    i dont need other replies, i test it and have many errors​
    Gary Lim said:
    Great Plugin!!! But Can Someone Please Update it to 1.2.4?​
  24. Offline

    IOn Vash


    that one is still broken and needs to be fixed
  25. Offline


    but will never get a fix here cause plugin is abdoned
    so go to that page and talk to the new author
    is it so hard to understand that ?????????
  26. Offline

    IOn Vash

    Ive been posting in that thread for weeks that the updated one on hamms page is still broken but he still hasn't fixed it. So whats the point in telling everyone the link to a broken version of the plugin?
  27. Offline


    HE is fixing it if u post the error
    on HIS page NOT HERE
    he did NOT read this !

  28. Offline

    IOn Vash

    He is not fixing it, he didn't even post in that thread for the 3 weeks I been asking him to fix it and now he said hes not gonna fix it until some time later and it took me 3 weeks of posting in that thread just for him to say that.

    I was hoping that instead of everyone redirecting the thread to a thread where no one cares to fix it maybe someone else could pick it up and fix it.
  29. Offline


    Please update this Plugin,this ist the best Ban Plugin Ever [diamond] !!!
    My Server must have this Plugin
  30. Offline


    does someone know a alternative plugin which can ban countrys? thanks

Share This Page