EasyBan
EasyBan
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 or database. 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 Permissions (via bukkit API). When no Permissions plugin is installed all commands default 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
- Anonymous statistic reporting to mcstats.org.
- PHP Banlist
Installation | Configuration | Commands | Country Database | Changelog | Github | Support | Donate!
@Fishrock123 and @whoami2
I'm not sure if this is reported or not. Ive been running version 3.0 Because if i run any version higher i get the following errors over and over again in console:
[SEVERE] java.lang.NullPointerException
[SEVERE] at uk.org.whoami.easyban.tasks.UnbanTask.run(UnbanTask.java:37)
[SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
[SEVERE] at java.lang.Thread.run(Unknown Source)
Any help? Also, Version 3.0 doesn't give this error but doesn't work with PermissionsEx.. And any version higher i think DOES work with PermissionsEx. So im pretty much stuck between a plugin that my staff cant use because Mods aren't OP's. Or a plugin that gives this error.. and also removed all bans i have off the MySQL database.. Now when i used YAML bans it didn't seem to give the error. But i also only ran it on YAML files for like a minute. So im not sure.
Anyways any possible help?
@Fishrock123
Ok but the Time format isn't Workin 10 are 1 Hour :D
I hope you can fix it someday.
Good Luck Gadund
@Gadund
My below proposition has not yet been implemented...
So just put "10", I think. (Sorry, I've never actually used it myself. :/)
@Fishrock123
MMM Time Ban didn't work correctly for me.
is this command right? /eban xyplayer You are a Griefer 10m
But it ban him for 1 Hour ????
Wich is the Correctly Command?
Thx for help Gadund
@LZLOWBATTERY
Would /eban <user> 10<timeunit>
Where timeunit is <m(minutes),h,d,m,y>
Work?
it would be awesome to specify a tempban time that isn't in minutes
@daego
It was fixed ... download last GeoIPTools update from here
Sry for my englisch, i hope i can explain,
u have a conflict with
http://dev.bukkit.org/server-mods/vanish/VanishNoPacket
Console Message :
http://pastebin.com/rNP0nWyW
this plugin try to hide the login logout for those who have permission
also can make me invisible and fake quit / join
i only give permission (tested) me as owner
but player and owner made this error everytime when connect to the server
i hope u can fix that,
thx
yes sorry i forgot
thx
@daego
Learn to read: http://dev.bukkit.org/server-mods/easyban/files/12-v3-0-2-jar/
"Country banning and country statistics require GeoIPTools v0.5.1+."
hmm sry but i have to remove this
it goes crasy^
after i /ban player X i cant connect as owner^
he say "Easyban : IP ban for "me" detected
unban ip
eunbanip
unban me
eunban me
and i still cant join....
dude i thank you so much for this awesome plugin! today morning a f*** hobbyless idiot ddosed my server with hundreds of accs with different ips, then i blocked the most countries and then it stopped!! DUDE THATS SO GREAT!!!!
@computerkidt
So I fixed metrics and something else messes up. Wonderful.
Nop still not working...
2012-05-25 02:03:01 [INFO] [EasyBan] Loading EasyBan v3.0.2 B:21
2012-05-25 02:03:15 [INFO] [EasyBan] Enabling EasyBan v3.0.2 B:21
2012-05-25 02:03:15 [INFO] [EasyBan] MySQL driver loaded
2012-05-25 02:03:15 [INFO] [EasyBan] Connected to Database
2012-05-25 02:03:15 [INFO] [EasyBan] Database setup finished
2012-05-25 02:03:15 [INFO] [EasyBan] EasyBan enabled; Version: 3.0.2 B:21
...then after server fully loaded these next 4 lines repeat over and over once a minute...
2012-05-25 02:03:25 [SEVERE] java.lang.NullPointerException
2012-05-25 02:03:49 [SEVERE] at uk.org.whoami.easyban.tasks.UnbanTask.run(UnbanTask.java:37)
2012-05-25 02:03:49 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
2012-05-25 02:03:49 [SEVERE] at java.lang.Thread.run(Unknown Source)
Just for the heck of it I tryed but it didnt change a thing:
PluginMetrics/config.yml:
opt-out: true
@computerkidt
Fixed in this version: http://dev.bukkit.org/server-mods/easyban/files/12-v3-0-2-jar/
@computerkidt
Because I am not catching NPE's there, only IOE's. The problem is being caused by a supposed fix to something else that was being requested on the original github. I will have to switch some things around. :S Sorry!
Why would that stop ur plugin from working and make ur plugin error, is one of ur variables dependint on metrics? if so is there a way we can work on bypassing or fixing this? (Im really rusty on my java programming)
@computerkidt
Seems like a Metrics (mcstats.org) error.
Just setup EasyBan for MySQL and once I started my server I got this error:
2012-05-23 02:10:39 [INFO] [EasyBan] Enabling EasyBan v3.0.1 B:19
2012-05-23 02:10:39 [INFO] [EasyBan] MySQL driver loaded
2012-05-23 02:10:39 [INFO] [EasyBan] Connected to Database
2012-05-23 02:10:39 [INFO] [EasyBan] Database setup finished
2012-05-23 02:10:39 [SEVERE] Error occurred while enabling EasyBan v3.0.1 B:19 (Is it up to date?)
java.lang.NullPointerException
at uk.org.whoami.easyban.EasyBan$3.getValue(EasyBan.java:167)
at uk.org.whoami.easyban.util.Metrics$Plotter.hashCode(Metrics.java:585)
at java.util.HashMap.put(Unknown Source)
at java.util.HashSet.add(Unknown Source)
at uk.org.whoami.easyban.util.Metrics$Graph.addPlotter(Metrics.java:497)
at uk.org.whoami.easyban.EasyBan.onEnable(EasyBan.java:164)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:372)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:359)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:188)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:423)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
By me not work :(