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:

    /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


    How come when I type in the command, nothing happens? Literally NOTHING, like it doesnt say unknown command, and It doesnt do anything, like ban the player, I have the permissions all right, But i dont know what is going on
  3. You really dont have permissions! (I got that problem) Even if you're OP you don't have permissions. Or try to run this command from console.
  4. Offline


    Will someone update this
  5. Offline


    Last seen on October 22. I really hope he hasn't abandoned this.

    It works great, but it needs some bug fixes and a way to switch easily from YAML to MYSQL.
    Pim1234 likes this.
  6. Offline


    Please, update to 1.0.1-R1
  7. Offline


    yes pls update
  8. Offline


    It dont work for me
  9. Offline


    Works perfectly fine for me still on 1.0.1-R1

    What doesn't work for you?
  10. Offline


    Ok, so for everyone having issues with Essentials, it is because "eban" is Essentials Override for Ban. So go into Essentials config and disable "ban", "kick", and "unban" and it should work fine.
  11. Offline


    What is the permission for temp ban?
    is it:
    Please help...
  12. Offline


    Someone should take over and develop this awesome plugin
  13. Offline


    Help... I am using the Essentials groupmaneger permission plugin but the permission doesn't work. all the other plugins works with it.
  14. Offline


    can i disable support for DNSBL ?
    it cause tick rate drop when login
  15. Offline


    i totally agree with this, i've been using YAML for about a year now, but i want to switch to MySQL, it would be awful to reban everyone, and even worse to get all the griefers back...
  16. Offline


    +1 MySQL
  17. Offline


    Do i NEED GeoIPTools tp ban countries?
  18. Offline


    This Plugin is not compatible with newest update
    CB 1943 ( is the last version it works with plugin
    please update
    Show Spoiler

    Error occurred while enabling EasyBan v2.1 (Is it up to date?)
    java.lang.NoClassDefFoundError: org/bukkit/util/config/Configuration
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at Source)
        at Source)
        at$000(Unknown Source)
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at Source)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(
        at net.minecraft.server.MinecraftServer.t(
        at net.minecraft.server.MinecraftServer.a(
        at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.ClassNotFoundException: org.bukkit.util.config.Configuration
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 26 more
  19. Shit. We desperately need someone to take over and update this plugin.
  20. Offline


    i would not need it when essentials add the subnet ban
    thats the only reason why i use this
  21. Offline

    Gary Lim

    Is this plugin ready for R5? minecraft 1.2.2 release?
  22. Offline


    How I miss this plugin...
  23. Is anyone willing to take this over, or at least update it this once?

    If not, anyone found a good replacement yet?
  24. Offline

    Gary Lim

    Please Update this plugin to 1.2.2 R5,or else i need to find a good plugin like this that autobans ip when u ban someone
  25. Ok I think I've got someone who may update the plugin, I'll post the link later if he does it :D
  26. Offline


    yeah i hope u find somebody
  27. Offline


    Please make 1.2.3 version of this plugin. This is the best plugin for banning in offline servers I ever seen! Sorry for my English, I'm from Poland
  28. Offline


    Any news on an update?
  29. 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).
  30. Offline


    keep trying !
  31. Last edited by a moderator: May 16, 2016

Share This Page