CrazyLogin
Version 7.24
Its recommended to run your server in online mode!
Minecraft is a excellent game. If you want to play it, you should buy it, like every other game you play.
Description
Adds per player passwords to your server. This will increase your server's protection against griefers and account thiefs.
Keep these two things in mind:
- The protection is only as good as your passwords.
- The server is still less secure then a server in online mode.
- My plugin is not limited to offline mode servers,
therefore you can increase security for both server types (offline and online mode servers).
- My plugin is not limited to offline mode servers,
Features
- This plugin supports two modes. Maybe-Password and Password-Only
- Maybe-Password:
The user can create a password, if he wants to
(a password is required for ops/players with permission) - Password-Only:
The user has to create a password and login.
- Maybe-Password:
- Users who aren't logged in, cannot chat, build, fight, drop items, move, teleport.
- (Optional) Ability to hide/change Join/Quit-Messages, hide players who aren't logged in.
- Multiple password Encryption algorithms
- AuthMe, xAuth support
- Integrated Config, Flat, MySQL and SQLite-Database support.
- Integrated Logging support.
- Integrated CrazyPipes support.
- Session support
- Supports single sessions
- saveLogins (teleport to spawn until login).
- If you do not logout and autoLogout is disabled, you can rejoin from the same IP.
- Permission + option to disable ingame registration.
- forceSaveLogin option to hide the players current location until login
- this fixes the issues with AntiCheat being kicked for flying due to anti move protection.
- maxRegistrationsPerIP and maxOnlinesPerIP options
- Command usage is stricktly limited, when not logged in (whitelist).
- Possibility to block guest commands, chat and join.
- Warn players with permission, if some fails to login or execute a command if he isn't allowed to.
- (Optional) Kick players who don't register, don't login, fail to login, execute a command.
- (Optional) TempBan players who don't login or fail to login.
- Adminlogin and Tokenlogin commands available
- Command to logout automatically when leaving the server
- Command to expire passwords (force players to change their passwords)
- Filter- & Sortable Accountlist
- Playerinfo (Name, IP, Connection and more)
- Ability to delete inactive accounts.
- PluginAPI available
- Client AutoLogin Plugin available (can be blocked)
Requirements
- CrazyCore (Version 10.7.7 or later)
Related Plugins
- CrazyLoginAutoLogin (Client-Plugin)
- CrazyCaptcha (Captcha)
- CrazyLoginFilter (IP/Connection Access Filter)
- CrazyLoginRank (Join Ranking)
Configuration & Options
(with description of all available options)
Commands with their Permissions
Issues ?
CommandHelper
Have a look at this CommandHelper Extension
Factions
Factions uses a very special way to execute commands, which bypasses default command protection.
Use this plugin to fix that until Faction fixed that:
CrazyLogin_FactionProtection
Convert database
You can convert your database with /crazylogin mode database <Type>".
Especially on huge flat databases this may take very long.
You can use this tool to convert your flat database to a mysql import script.
CrazyLogin_Flat_2_MySQL
(Notice: This file has NOT been reviewed by any Bukkit staff!)
Just copy this jar to your accounts.db then execute this jar.
This will create an accounts.db.sql file.
Others ?
Create a ticket or post a message!
Metrics
(Generated by MCStats.org)
Languages
- en_GB (English)
- de_DE (German - Deutsch)
- bg_BG (Bulgarian - български, thanks to LocoFreak)
- el_GR (Greek - ελληνικά, thanks to razorrazor)
- es_AR (Spanish (Argentina) - argentino, thanks to LynnJordison)
- es_ES (Spanish - Español, thanks to Sirikon, vicente947)
- fi_FI (Finnish - Suomi, thanks to suomenlippis)
- fr_FR (French - Français, thanks to FireBurst699)
- it_IT (Italian - italiano, thanks to giuditta1974)
- kr_KR (Korean - 한국어, thanks to TABtech)
- lt_LT (Lithuanian - Lietuvos, thanks to donatass162)
- nl_NL (Dutch - Nederlands, thanks to blipman17, jekeke123)
- pl_PL (Polish - polski, thanks to MegaManNT)
- pt_BR (Portuguese (Brazil) - brasileiro, thanks to bchilelli)
- ro_RO (Romanian - Romana, thanks to Cozzmy13)
- ru_RU (Russian - русский, thanks to kilolife, SannyOK)
- zh_CN (Chinese - 简体中文, thanks to cdcp998, mindcat, Liouftgoo)
- zh_TW (Traditional Chinese - 繁體中文, thanks to Chanmo)
(Please post additional translations here, so i can share them to everybody!)
@TheOneMadHawk
Alright, so simple reason why xAuth Importer doesnt work: http://pastebin.com/VwsFmg1W
So by that not working I can't do the second step of the import.
xAuth Importer (requires CrazyCore, CrazyLogin & xAuth)
Start server with all these plugins Execute /crazyloginimport (as Console) Can't do, due to error Read the comments! After import is finished shutdown your server Disable Importer & xAuth Start the server and check if import worked correctly. Don't forget to change the encryptor!
@XxDawnsusxX
I will look at that issue in a couple of days.
Could you please give me all details on what does not work for you.
(Stacktraces etc)
Can you fix up the AuthMe & xAuth converter plugins. None seem to be able to work.
Hi, I have installed CrazyCore and Crazylogin. I had a problem with the whole : This language-Entry is missing, but I fixed that. The only problem I have now that it still does this for one thing: [WARN] [CrazyLocale] _HEAD_.CRAZYCORE.PLUGININFO.UPDATE is missing!
How do I fix this?
Thanks
Updated to Bukkit 1.9.
Please report back any error you might encounter.
@xwolfyxNL123
Just set the database type to FLAT via command (may take some time).
(Sorry, I currently don't have time to write a separate tool for that)
Hello,
How can you convert your mysql database again to a flat file?
Ok. I will fix that soon.
@TheOneMadHawk
seems it's not working in spigot1.9 and maybe some method is deleted from this version?
[17:27:22] [Server thread/ERROR]: Error occurred while enabling CrazyLogin v7.23.2 (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()[Lorg/bukkit/entity/Player; at de.st_ddt.crazyplugin.CrazyPlugin.broadcastLocaleMessage(CrazyPlugin.java:266) [CrazyCore.jar:?] at de.st_ddt.crazyplugin.CrazyPlugin.broadcastLocaleMessage(CrazyPlugin.java:259) [CrazyCore.jar:?] at de.st_ddt.crazyplugin.CrazyPlugin.onEnable(CrazyPlugin.java:120) [CrazyCore.jar:?] at de.st_ddt.crazyplugin.CrazyPlayerDataPlugin.onEnable(CrazyPlayerDataPlugin.java:270) [CrazyCore.jar:?] at de.st_ddt.crazylogin.CrazyLogin.onEnable(CrazyLogin.java:1601) [CrazyLogin.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:527) [spigot-1.9.jar:git-Spigot-1a196e1-92602ad] at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
@reezhu
Sure. Just tell me if anything is not working.
HiIt's a really nice plugin, but will you update this plugin for 1.9?
Sorry my PHP/pure HTML skills aren't that good.
If you are able to do it yourself I could give you some code pieces for PHP.
@TheOneMadHawk
I want to use web to register . can you give me php to register for mysql.
@omgitsbob12
Yes of course.
Currently I don't have much free time, but I hope, that I have enough free time in about a month or two.
Maybe the native translation support will be added in the mean time.
Will this be ported to Sponge?
@killermoe33
Well its a well known bug of MC. MC does not provide a valid location during login (maybe its appling gravity in a not yet loaded chunk) and would update the location after the chunk load, which would be after the login event,but at that point i Have already teleported the player/ stored its location. This issue did not appear for a long time until now. Try setting delayPreLoginSecurity to 1 that might fix that issue.
@TheOneMadHawk
oh alright that's fine thanks! one other thing i have an issue with sometimes it logs me in 2 blocks under and i die, is that a known issue? it could be from something else.
@killermoe33
Hiding the inventory is all I can do. (otherwise the user might not be able to open the chat bar long enough to enter their pw.)
Hiding the armor is supposed to work already. (Its implemented at least).
Can you verify that its not some kind of ghosting?
(Sorry rejoin will not work to uncover the ghosting in this case)
Sorry, I don't know any alternative solution to that.
@TheOneMadHawk Hey thank you for this plugin! Is there any way to block a player from opening inventory (pressign "E") before logging in? I know you have it so it hides everything but people cans still see what someone is wearing and their enchantments which is not a big deal but I would like to stop it if possible. If its not possible with this plugin is there something else i can use?
@TheOneMadHawk
Thanks now it works perfectly! :)
@evilLamer
If i understand your problem correctly then the users have to login using
/login somePW somePW
Syntax: /login <Password>
<Password> => "somePW somePW"
This is because of your config and their registration using
/register somePW somePW
Syntax: /register <Password>
<Password> => "somePW somePW"
but a simple
/register somePW
Syntax: /register <Password>
<Password> => "somePW"
would have been sufficient, but since they used
/register somePW somePW
Syntax: /register <Password>
<Password> => "somePW somePW"
my plugin assumes that the password is "somePW somePW" thus they have to login using
/login somePW somePW
Syntax: /login <Password>
<Password> => "somePW somePW"
This is due to the config option:
'# if true you have to repeat the new password if you want to change it.
'# Ex: /register <NewPassword> <NewPassword>
confirmNewPassword: false
https://github.com/ST-DDT/CrazyLogin/blob/master/src/main/resources/config.yml#L67-L69
If you set
confirmNewPassword: true
then they have to register using
/register somePW somePW
Syntax: /register <Password> <Password>
<Password> => "somePW"
and login
/login somePW
Syntax: /login <Password>
<Password> => "somePW"
PS: IIRC there should have been a BIG FAT WARNING after they used /register in a potentially wrong way.
CRAZYLOGIN.COMMAND.REGISTER.WARNCONFIRMPASSWORDDISABLED=&CWARNING: &EConfirmPassword is disabled!\nTyping your password once is enough.\nIf this double password isn't intended, you should change it.