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

    whoami

    Please use BukkitDev for bug reports/feature requests:
    http://dev.bukkit.org/server-mods/easyban/

    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.

    Features:
    • 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
    Download:
    http://dev.bukkit.org/server-mods/easyban/files/9-v2-1-cb-1185/
    Source Code:
    https://github.com/whoami-plugins/EasyBan

    Usage:
    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 24.64.23.0/255.255.252.0 or 24.64.23.0/22 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: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
    /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.

    YAML:
    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:
    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


    Permissions:
    Code:
    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:

    Example:
    Old Layout:
    Code:
    bans:
    - Pink
    - miau
    - deesck
    subnets:
    - 84.19.169.160/255.255.255.240
    - 84.19.165.208/255.255.255.240
    - 192.168.0.0/255.255.0.0
    New Layout:
    Code:
    bans:
        Pink: {}
        miau: {}
        deesck: {}
    subnets:
        84.19.169.160/255.255.255.240: {}
        84.19.165.208/255.255.255.240: {}
        192.168.0.0/255.255.0.0: {}
    

    Changelog:
    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

    SkeloPatch

    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

    Mrchasez

    Will someone update this
     
  5. Offline

    Fishfish0001

    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

    UfaRock

    Please, update to 1.0.1-R1
     
  7. Offline

    Kozzy68

    yes pls update
     
  8. Offline

    Mrchasez

    It dont work for me
     
  9. Offline

    Fishfish0001

    Works perfectly fine for me still on 1.0.1-R1

    What doesn't work for you?
     
  10. Offline

    Fishfish0001

    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

    cian_09

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

    KJanar

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

    McArjansmart

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

    Averus

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

    Pim1234

    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

    Averus

    +1 MySQL
     
  17. Offline

    Subrosa20

    Do i NEED GeoIPTools tp ban countries?
     
  18. Offline

    DaEgo

    This Plugin is not compatible with newest update
    CB 1943 (http://dl.bukkit.org/downloads/craftbukkit) is the last version it works with plugin
    please update
    thx
    Show Spoiler

    Code:
    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 java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:239)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:37)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at uk.org.whoami.easyban.EasyBan.onEnable(Unknown Source)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:343)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:364)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:221)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:204)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.util.config.Configuration
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        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

    DaEgo

    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

    JohnPulse

    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

    DaEgo

    yeah i hope u find somebody
    thx
     
  27. Offline

    tomash9966

    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

    Hydrosis

    Any news on an update?
     
  29. http://dev.bukkit.org/profiles/Death_marine/ 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

    DaEgo

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

Share This Page