CrazyLoginFilter
Version 0.8
Description
Add additional protection to your server by fitlering ips/connections to the entire server and to your account.
If you loose your minecraft password somewhy, you don't have to care much about your servers security.
Because only your IP can connect to your account/server (if set). Now supports DNS Resolving for more flexibility (name.no-ip.com).
Features
- Filter IPs and Connections per Player (its possible to add server side settings too)
- Allow local/hamachi/other access only or disallow them.
- it can be possible to (dis-)allow special countries, internet providers (via connection)
- Black/WhitelistIPs
- Regex Support
- DNS Support (prefix your dns with # when adding it to your ip list.)
- Black/WhiteListConnections
- Currently only Config-Database support.
- Filter Usernames
- char filter
- length filter
- option to blockDifferentNameCases
Requirements
- CrazyCore (Version 10.7.1 or later)
Related Plugins
- CrazyCaptcha (Captchas)
- CrazyLogin (Passwords)
- CrazyLoginRank (Join Ranking)
Commands
- /crazyloginfilter create
Create a loginfilter (for yourself) - /crazyloginfilter show
Show current settings for this player. - /crazyloginfilter <ip/connection> <check> [true/false]
Check IPs/Connections (on login) - /crazyloginfilter <ip/connection> <whitelist> [true/false]
Use IP/Connection list as whitelist (otherwise as blacklist) - /crazyloginfilter <ip/connection> <show> [page]
Show current Filter IPs/Connections - /crazyloginfilter <ip/connection> <add/remove> <regex>
Add/remove regex to Filter IPs/Connections (remove supports indexes, so becarefull) - /crazyloginfilter delete
Remove your loginfilter - /crazyloginfilter serverFilter ...
Change server side Filter settings (Command structure like above)
Permissions
Currently no permissions available.
Languages
- en_en (English)
- de_de (German - Deutsch)
- cn_cn (Chinese - 中国的, thanks to mindcat)
- fr_fr (French - Français, thanks to FireBurst699)
- fi_fi (Finnish - Suomi, thanks to suomenlippis)
- es_es (Spanish - Español, thanks to Sirikon)
- pl_pl (Polish - polski, thanks to MegaManNT)
- nl_nl (Dutch - Nederlands, thanks to jekeke123)
- ru_ru (Russian - русский, thanks to SannyOK)
(Please post additional translations here, so i can share them to everybody!)
@TheOneMadHawk
Does not work for me, neither hamachi nor no-ip
It tells me ACCESS DENIED when I should have
@Enrux
/crazyloginfilter create
/crazyloginfilter ip add 5.125..* (I don't know hamachi's IP range (.*=random))
/crazyloginfilter ip whitelist true
/crazyloginfilter ip check true
I still don't get it how to make for example that my name "Enrux" can only enter if using hamachi
@joehot200
Which command did you execute to cause this error?
what log do u mean, do u mean the server's main log?
Yes when starting the server all plugins where loaded and enabled somewhere
and when CrazyLoginFilter is enabled there is either the message loaded x entries
or failed to connect to database.
If not, update CrazyCore to the latest version and CLF to this dev build
https://dl.dropbox.com/u/16999313/Bukkit/CrazyLoginFilter.jar
What do you want to say when saying the file sizes differ. I don't get it.
Of course they don't match:
release!=devbuild!=previous devbuild
@joehot200
severe: null
just this or is there anything else?
This is a debug message i guess.
Can you please tell me when this message appears?
@joehot200
there is another error saying severe: null, too.
@TheOneMadHawk
what log do u mean, do u mean the server's main log? also, i tried the link you put, and although they are different sises i have the same problem.
@joehot200
The link I gave you are dev builds.
I update them to give new dev to players who experience issues, without waiting for DevBukkits file approval.
But i don't keep them uptodate all the time.
@joehot200
I'll take a look on that error. i hope i can fix that soon.
EDIT:
I guess you are using an outdated version of CrazyCore. Try CrazyCore v8.2
If the error persists:
Try this dev build and have a look on the beginning of your log.
[Link Removed]
There should be some information about being unable to connect to the database
@TheOneMadHawk
now i have this. 3:25:12 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'crazyloginfil ter' in plugin CrazyLoginFilter vC8.1_0.5.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at de.st_ddt.crazyplugin.CrazyPlayerDataPlugin.getPlayerData(CrazyPlayerDataPlugi n.java:71) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.commandMainIP(CrazyLoginFilter.jav a:229) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.commandMain(CrazyL
copied half the error at a time, sorry if any of it is confusing. also, it says internal error, and does nothing still.
Caused by: java.lang.NullPointerException at de.st_ddt.crazyloginfilter.CrazyLoginFilter.commandMainCreate(CrazyLoginFilter .java:207) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.commandMain(CrazyLoginFilter.java: 142) at de.st_ddt.crazyplugin.CrazyPlugin.onCommand(CrazyPlugin.java:89) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more
@TheOneMadHawk
no idea. but i was not using the same file as you gave in download link. the sizes were different.
I reworked all my plugins at once, so i got a little bit confused.
Try this dev build.
[Link Removed]
Are you using CrazyCore v8.1?
i am getting this with your newest version of crazyloginfilter, every time i do a crazyloginfilter command, it says "internal server error". 012-08-09 14:40:18 [SEVERE] Error occurred while enabling CrazyLoginFilter vC8.1_0.5 (Is it up to date?) java.lang.NoSuchMethodError: de.st_ddt.crazyutil.databases.ConfigurationDatabase.<init>(Ljava/lang/Class;Ljava/lang/String;Lorg/bukkit/configuration/ConfigurationSection;[Ljava/lang/String;Lorg/bukkit/plugin/java/JavaPlugin;)V at de.st_ddt.crazyloginfilter.databases.CrazyLoginFilterConfigurationDatabase.<init>(CrazyLoginFilterConfigurationDatabase.java:16) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.setupDatabase(CrazyLoginFilter.java:109) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.load(CrazyLoginFilter.java:94) at de.st_ddt.crazyplugin.CrazyPlugin.onEnable(CrazyPlugin.java:202) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.onEnable(CrazyLoginFilter.java:52) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:357) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:263) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:245) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:564) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:490) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:486) at net.minecraft.server.DedicatedServer.ah(DedicatedServer.java:248) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
i also get this one
012-08-09 14:40:39 [SEVERE] Could not pass event PlayerLoginEvent to CrazyLoginFilter org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:324) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ServerConfigurationManagerAbstract.attemptLogin(ServerConfigurationManagerAbstract.java:274) at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:112) at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41) at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at de.st_ddt.crazyplugin.CrazyPlayerDataPlugin.getPlayerData(CrazyPlayerDataPlugin.java:65) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.checkIP(CrazyLoginFilter.java:521) at de.st_ddt.crazyloginfilter.CrazyLoginFilter.checkIP(CrazyLoginFilter.java:514) at de.st_ddt.crazyloginfilter.listener.CrazyLoginFilterPlayerListener.PlayerLoginAccessCheck(CrazyLoginFilterPlayerListener.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:322) ... 13 more
i hope you can fix theese issues, as i dont see that anyone has reported them. if someone already has told you abou the bugs, then sorry for the spam and repetition ;)
Been on vacation?
Welcome 'back' ;-)
@suomenlippis
There is my Finnish - Suomi translate :) ( filename: fi_fi.lang ) By:suomenlippis
Thanks for your translation
http://dev.bukkit.org/paste/5602/ There is my Finnish - Suomi translate :) ( filename: fi_fi.lang ) By:suomenlippis
This is a simple example
/crazyloginfilter create
/crazyloginfilter ip add 127.0.0.1
/crazyloginfilter ip whitelist true
/crazyloginfilter ip check true
finished allows only local access (127.0.0.1) to this account
Hmm It should be part of crazy login or should be here depends of how you like to structure plugins and what is goal behind it. Havin more plugins that supplement each otther is better than one huge one as essentials. Any way you wont make misstake by adding it to any of the plugins. Perosnaly I would preffer crazy login. ... yes it should be login.
I know that some people dont like this limitation 90% of accounts that comes from same ip are dupes not 2 players that are sharing ip and lot of them are just hackers.
No you can't.
But I will think about it.
I don't know where to add this feature, the following plugins may match:
CrazyLogin, CrazyLoginFilter, CrazyLoginRank*, (CrazyLoginQueue* *)
xxx*=planned
make suggestions where to add this feature
(I would like to read some pros and cons too)
hi, can I force that one ip cant be online at same time on 2 diffrent accounts with this ?
I think i'll like this, a lot :-)
Thanks buddy!