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!)
-
View User Profile
-
Send Message
Posted Oct 27, 2012@Mayhem777
/back isn't part of my plugin
I've deleted and installed again the plugin 2 times, the problem appears since version 7
Have you tested it with v6 after using v7? Are you sure this is connected to my plugin?
I justed compared (parts of) CrazyLogin v6.5.2 with v7.... And there aren't any changes in in this part of code.
Every time i test this i will be teleported back to my old location.
I can send you a special debug build which tells you when and from where a player is teleported to spawn and when he is teleported back. If the player is at the spawn at that time there have to be another plugin, that interferes there.
-
View User Profile
-
Send Message
Posted Oct 27, 2012My players still get stuck in the spawn point (they don't get teleported to their last location, they must use /back, and people in JAILS scape because they don't get teleported to it...) any sollution please? this problem occurs since version 7 :(
-
View User Profile
-
Send Message
Posted Oct 26, 2012@TheOneMadHawk
Ass new config could be good, because if you dont want add Confirmation Password you can disable
-
View User Profile
-
Send Message
Posted Oct 24, 2012@vicente947
Please add Confimation of password.
Shall i add that as new command or as new config option?
-
View User Profile
-
Send Message
Posted Oct 24, 2012Please add Confimation of password.
EX: /register password confirmpassword /register 123456 123456 not only /register 123456
-
View User Profile
-
Send Message
Posted Oct 22, 2012@vicente947
Why my users can talk without login? i use factions.
If players who have an account can talk without login this is a bug
(but this one does not occure at my place)
If players without an account can talk this is disableable via config or command
https://github.com/ST-DDT/Crazy/blob/master/CrazyLogin/src/config.yml#L63
/crazylogin mode blockGuestChat true
What do: pluginCommunicationEnabled
https://github.com/ST-DDT/Crazy/blob/master/CrazyLogin/src/config.yml#L103
This can be enabled if you are using a plugin that require the players current password (broadcasted internally on password change), this option will be removed soon, because this feature isn't used very much and can be achieved via PluginAPI (check if a password is correct)
-
View User Profile
-
Send Message
Posted Oct 22, 2012Why my users can talk without login? i use factions.
What do: pluginCommunicationEnabled
This can solve my problem?
-
View User Profile
-
Send Message
Posted Oct 22, 2012@siemaeniu500
how could you check that?
-
View User Profile
-
Send Message
Posted Oct 20, 2012@siemaeniu500
Can you more optimize this plugin, because it use many ram and cpu from my all plugins.
This question is hard to answer.
1) I can reduce CPU and RAM usage if i disable multilanguage support, logging
2) I can reduce RAM usage if i disable cached databases -> joining takes much longer
3) I could unregister a lot of EventHandlers if all online players are logged in, but this would decrease performance during join and every action while not every player is online + the CPU usage for reregistering and unregistering eventhandlers every time a player joins and everyone is logged in.
4) I could improve databases (what i will do)
5) You can reduce RAM if you use uncached mysql databases
6) You can improve performance if you keep CrazyCore+CrazyLogin uptodate (especially CrazyCore will soon get improved database code)
7) You can improve performace if you drop unused accounts
8) You can tell me, which feature uses the most ressources / is too slow, so i can improve that.
EDIT:
I Did 4) (CrazyCore v9.0.6)
Flat databases take ~ half of the time to save, but due to multithreading there is a game delay of below 2ms for each save. (+block dublicate save requests)
Testresults using 2000 entries on an idle server: previous: 50ms (main thread only), now 30ms (main thread 2ms)
Funny: While searching the fastest way to save the database i created more than 20GB of trash databases to check average performance with 1000000 accounts in 100 iterations for the 4 finalists.
added option to disable database lookups for mysql databases on join (if you don't have a webaccess to the passwords, not compatible to uncached option)
-
View User Profile
-
Send Message
Posted Oct 20, 2012Can you more optimize this plugin, because it use many ram and cpu from my all plugins.
-
View User Profile
-
Send Message
Posted Oct 19, 2012@TheOneMadHawk
Oh don't worry about it, my database was pretty fucked up lol.
-
View User Profile
-
Send Message
Posted Oct 19, 2012@bob7l
Btw can you explain how the plugin works? I figure, if a login plugin was to add all the mysql entries to a hashmap on enable it would be 100x faster. I've had a bit of fun doing that with hawkeye reloaded and it's just amazing! I reduced a 865ms lookup, to a 10ms lookup.
my plugin uses a TreeMap (which is sorted by name), but i guess i don't need that.
If you want to change that you can take a look at this
if your mysql database is cached, then every entry is loaded onEnable. Flat and config databases are always cached.
I soon will add a option to make the mysql database static (does not check for changes)
this will increase performance, if you do not need the updates.
Edit: With both, XAuth, and Authme passwords. It only accepts the xauth passwords. If i only have Authme passwords, it barley works? Maybe the authme encryption is messed up?
AuthMe or AuthMe reloaded? I imported the encryptor from AuthMe, i don't know whether AuthMe reloaded uses the same encryptor.
Edit: screw it, the importer does work but not for people who have mutlible hashes like me xD. I just deleted the db and started fresh :D
What? mutlible hashes i have never heard about that!? Is there more than one valid password per player?
-
View User Profile
-
Send Message
Posted Oct 18, 2012@TheOneMadHawk
It's working on my test server atm, when my main server gets below 100 I'll through it on.
Btw can you explain how the plugin works? I figure, if a login plugin was to add all the mysql entries to a hashmap on enable it would be 100x faster. I've had a bit of fun doing that with hawkeye reloaded and it's just amazing! I reduced a 865ms lookup, to a 10ms lookup.
Edit: With both, XAuth, and Authme passwords. It only accepts the xauth passwords. If i only have Authme passwords, it barley works? Maybe the authme encryption is messed up?
Edit: screw it, the importer does work but not for people who have mutlible hashes like me xD. I just deleted the db and started fresh :D
-
View User Profile
-
Send Message
Posted Oct 18, 2012@bob7l
I fixed a bug when loading ChangedAlgorithmEncryptor from config.
Use this versions and try it again
https://dl.dropbox.com/u/16999313/Bukkit/CrazyLogin.jar
https://dl.dropbox.com/u/16999313/Bukkit/CrazyLogin_Encryptor_AuthMe.jar
https://dl.dropbox.com/u/16999313/Bukkit/CrazyLogin_Encryptor_xAuth.jar
This definitly works, no matter if you are restarting the server or not or what your other config looks like.
If that doesn't work, i'm at my limit of imagination.
Then you have to execute "/crazylogin mode algorithm" and send me the displayed text.
After that you have to search the entire log for errors+send me a (small) copy of your config after every command, so i can reproduce the error. I will create a ticket then to simplify the work for us.
-
View User Profile
-
Send Message
Posted Oct 18, 2012@TheOneMadHawk
Well it seems it'll only read 1 password hash at a time... If i do this /crazylogin mode algorithm AuthMe SHA256 /crazylogin mode algorithm AuthMe SHA256 /crazylogin player create Player448 test ONLY the authme passwords work
Then if i do this, /crazylogin mode algorithm xAuth /crazylogin player create Player639 test Player639|c2fc6873b086dd3cb9212678370dc9b0de7ed8f451db7e1f98a23eba3388ce87171a7bd312f86ea83853c247c218ed7992360b8c81d7988f8cd39ca6cad711b90c61595975f0
NONE of the passwords work
-
View User Profile
-
Send Message
Posted Oct 18, 2012Ok thanks!
-
View User Profile
-
Send Message
Posted Oct 18, 2012@bob7l
I tested at my place the following:
and it worked without problems
(I only noticed that when using mode command to change algorithm, the changes aren't saved instantly)
Which Source?
ChangedAlgorithm Encryptor?
AuthMe & xAuthEncryption are imported from the original plugins.
https://dl.dropbox.com/u/16999313/Bukkit/AuthMeEncryptor.zip
https://dl.dropbox.com/u/16999313/Bukkit/xAuthEncryptor.zip
-
View User Profile
-
Send Message
Posted Oct 17, 2012@TheOneMadHawk
Could you upload the source? I'll try to fix it up.
-
View User Profile
-
Send Message
Posted Oct 17, 2012@bob7l
That caused none of the passwords to work
Mhh, thats strange, maybe this encryptor need a little bit more testing.
I will look into that tomorrow.
-
View User Profile
-
Send Message
Posted Oct 17, 2012@TheOneMadHawk
@TheOneMadHawk
That caused none of the passwords to work.. Here is what the config looks like after running the commands.
encryptor:
name: ChangedAlgorithm
current:
name: xAuth
old:
name: AuthMe
algorithm: SHA256