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

Discussion in 'Inactive/Unsupported Plugins' started by whoami, Jun 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:

    Code (Text):
    2. /ekick playername [reason] - Kick a player
    3. /ehistory playername - List all ips of a player
    4. /ealternative playername or ip - List all nicknames used by a player/show all players that connected from one ip
    5. /eban playername [reason] [time] - Ban a player. When time is given the player will be banned for [time] minutes
    6. /eunban playername - Unban a player
    7. /ebaninfo playername - Show informations about a ban
    8. /elistbans - List all banned players
    9. /elisttmpbans - List all temporary bans
    10. /ebansubnet networkprefix/subnetmask [reason] - Ban a subnet(e.g. /esubnetban or or 2001:470:1f09:e26::/64)
    11. /eunbansubnet networkprefix/subnetmask - Unban a subnet
    12. /elistsubnets - List all banned subnets
    13. /ebancountry countrycode - Ban a country(Country codes can be found here:
    14. /eunbancountry countrycode - Unban a country
    15. /elistcountries - List all banned countries
    16. /ewhitelist playername - Whitelist a player; Useful when a range ban hits an innocent
    17. /eunwhitelist playername - Remove player from whitelist
    18. /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:
    Code (Text):
    1. schema: 'XYZ' #database name(when not given it defaults to 'easyban')
    2. host: 'XYZ'  # MySQL Server address
    3. port: 'XYZ'  # MySQL Server port
    4. username: 'XYZ' # MySQL user
    5. password: 'XYZ' # password for that user

    Code (Text):
    1. 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:
    Code (Text):
    1. bans:
    2. - Pink
    3. - miau
    4. - deesck
    5. subnets:
    6. -
    7. -
    8. -
    New Layout:
    Code (Text):
    1. bans:
    2.     Pink: {}
    3.     miau: {}
    4.     deesck: {}
    5. subnets:
    6. {}
    7. {}
    8. {}

    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. has said he could do it, I've asked him if he has made any progress, but he hasn't got back to me yet. I'm starting to worry if he has had second thoughts, so if he hasn't replied in a few more days I'll start looking for others to update the plugin also, or see if I can do it myself (I've just started to learn Java).
  3. Offline


    keep trying !
  4. 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.
  6. 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.
  8. Offline


  9. Offline


    error message when player log in ;)
  10. 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.
  11. Offline


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


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


    update plz
  15. Jesus christ, look at the other replies.
  16. Offline


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

    Gary Lim

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

    columb likes this.
  19. Offline


    Please update 1.2.4-R1.0! thx
  20. 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?​
  21. 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
  22. Offline


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

  23. 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.
  24. Offline


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


    Is it ever gonna be updated again?
  26. 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?​
  27. Offline

    IOn Vash


    that one is still broken and needs to be fixed
  28. 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 ?????????
  29. 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?

Share This Page