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
Awesome, i'll test it ASAP! Danke ßhön ;-)
@re4397
the config.yml is only created on server shutdown. This will be changed in a new CrazyCore update (v7, may take some time)
and the next update for this plugin (not in v4.13).
or use /crazylogin save
please send me your complete config.yml
did you use registered accounts for that?
If i did not miss anything it should be impossible to join the server if someone with the same name is already online and forceSingleSession=true
@TheOneMadHawk
already enabled. I created a config.yml file that the plugin do not created. And restarted the server. Continue freezing the online player.
@ThisUsernameIsMine
edit: Can you please make it so that AutoKick can be enabled for Maybe-Password mode as well?
The second thing i've noticed: whenever i've created (registered) an account and reconnect to the server
under a different name (same ip) that has no account registered, i'm not being autokicked anymore.
added autoKickUnregistered option (v4.13)
I know the messages of CrazyLogin can be customised,
but there's atleast one message i see when joining the server, that i can't change.
/crazylogin password <Password...> to create/change it!
I only want people to see /register <password> or /login <password>, but it doesn't let me do this.
Language entries are loaded on startup, you can reload it with
/crazylanguage reload CrazyLogin
Its recommended to use CrazyLogin/lang/custom_en_en.lang, because these files aren't overwriten with /crazylanguage download ...
The last thing i've noticed: players that join the server always seem to spawn in their home and not at the location they were when they logged out.
its a bug connected to new Environment Damage cancelling, should be fixed with v4.13
@re4397
when a player connect with same name, the player online freeze. How can I fix it?
enable forceSingleSession
when a player connect with same name, the player online freeze. How can I fix it?
Thanks for the 'update'! *wink*
edit: Can you please make it so that AutoKick can be enabled for Maybe-Password mode as well?
The reason i want this is because i want my guests to be able to walk around freely in a closed spawn-area (to read important signs),
but at the same time have them auto-kicked if they don't register themselves within a chosen amount of time.
I basically want players to be frozen, only if they have registered an account but haven't logged in yet.
Thanks for your understanding! :-)
update: Noticed three more things
I know the messages of CrazyLogin can be customised,
but there's atleast one message i see when joining the server, that i can't change.
/crazylogin password <Password...> to create/change it!
I only want people to see /register <password> or /login <password>, but it doesn't let me do this.
The second thing i've noticed: whenever i've created (registered) an account and reconnect to the server
under a different name (same ip) that has no account registered, i'm not being autokicked anymore.
The last thing i've noticed: players that join the server always seem to spawn in their home and not at the location they were when they logged out.
@TheOneMadHawk
(EDIT: maybe i use the edit button to much.)
hahaha, make that the both of us, you crazy.... ;-p
Thanks though! (also for the good laugh) :-)
@ThisUsernameIsMine
Again, thanks for the new version/build. It seems to work flawless(ly)!
edit: May i do a feature request?
Make it so that guests can freely walk around (survival mode), but only if they haven't registered an account yet.
thats already included in Maybe-Password-Mode
alwaysNeedPassword=false
EDIT: maybe i use the edit button to much.
@TheOneMadHawk
Was afraid you would notice it, but it was a fault on my part
(forgot to disable another auth/login-plugin)
The new version/build works flawless(ly) ;-)
@ThisUsernameIsMine
(forgive me, its 4:00 am here)
I got only 15h of sleep since SO and yes it's also 4:00 am at my place.
Oops, my bad.. compiling the source was more ment in general/as a generic remark/comment
(forgive me, its 4:00 am here). I haven't looked at your plugin's source yet ;-)
@ThisUsernameIsMine
Compiling the source myself never really worked out :-)
Are you using eclipse?
Create a project for CrazyLogin
add external jars (bukkit.jar, crazycore.jar)
and it should work.
What kind of issues are you experiencing when compiling my source?
(There may be errors due to missing encryptors, because i don't share them, so you may have add the crazylogin jar as external jar too, and after compiling you have to copy them into the new jar)
@TheOneMadHawk
Thanks for the download! Compiling the source myself never really worked out :-)
@ThisUsernameIsMine
I tried flying in creative but the current protection blocks me from moving outside the sphere represented by moveRange. I also fixed "move, rejoin move further" and every kind of damage a player can recieve when not logged in.
@TheOneMadHawk
There's no skill involved! :-P (i've tested under 4.11, though)
Here's why: The reproducing part is even more simple than i've explained.
By leaving the game/server while being in mid-air (in creative), you can already fly around with freeze enabled after rejoining the server.
If you want i can prove/show it with a video ;-)
@ThisUsernameIsMine
EDIT: i've found a possible bug. When being in creative mode and not logged in (i left the previous server-session in mid-air), you can repeatedly circumvent/bypass freeze i.e. move further than is normally allowed. This problem also occurs with other auth/login-plugins, such as AuthDB.
I reproduced this by moving (in)to some direction (using either one of the WASD-keys) until you freeze, and then move into a different direction by pressing/holding a different key. Then repeat this procedure from the beginning.
I tried to reproduce that with v4.12, but i wasn't able to, have a try, maybe I don't have enough skill to bypass my protection.
@TheOneMadHawk
Thank you :-)
EDIT: i've found a possible bug. When being in creative mode and not logged in (i left the previous server-session in mid-air), you can repeatedly circumvent/bypass freeze i.e. move further than is normally allowed. This problem also occurs with other auth/login-plugins, such as AuthDB.
I reproduced this by moving (in)to some direction (using either one of the WASD-keys) until you freeze, and then move into a different direction by pressing/holding a different key. Then repeat this procedure from the beginning.
@ThisUsernameIsMine
About the the 'moving' part: Is it possible to set the delay before freeze to 0 seconds/instantly?
Will be added soon, currently is it possible to move 5 blocks.
''Users who aren't logged in, cannot chat, build, fight, drop items, move, teleport''
About the the 'moving' part: Is it possible to set the delay before freeze to 0 seconds/instantly?
I'm asking this because i don't like the idea that somone's able to walk some distance if he tries to login under my name ;-)
The reason for trying your plugin is the lack of new AuthDB's updates. I also wanted to try something new.
Thanks for those plugins buddy! :-)
Best regards,
ThisUsernameIsMine
@bchilelli
Thanks for your translation.