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!)
@Zelly012
You updated from which version to which version?
What kind of database are you using?
if updated to 4.5 or later using the config (previosly flat) database you should have changed flat to config as mentioned above.
The old data will remain in config.yml.
If anything else happened, please send my any further information you have.
Just thought id tell you, all my members had to register again when i updated the plugin. Its not a big deal I guess, my members are used to it by now, is 3rd time they have had to register.
Is there are certain way im supposed to update lol?
@Alossisblame
adding passwords for non registered players isn't possible yet.
Modifing passwords ingame, works via "/crazylogin admin <Name> <Password...>"
Deleting passwords ingame, works via "/crazylogin admin <Name>" (empty password)
currently it is not possible to delete a user is always password mode is enabled (will be fixed in next version)
Deleting users from config, works via "/crazylogin reload" (ups: found a bug that playerdata aren't deleted on reload)
(all my plugins save data on shutdown. (may be changed in future updates (requires changes in all my plugins))
I'll release an update today to fix that ("/crazylogin reload" and delete). EDIT: Done
I now switched from xauth to your Plugin. There have, however, now strangers people set to Other names passwords. I have but as an admin can delete the passwords or user. From the config I've tried, these names appear immediately after a reboot of the server back into the config, with the newly deleted data.
How can I add users and passwords, modify as admin ? How does it work ?
yes, i know.
I changed code to increase performance but forget to update another part of code.
Should be fixed now.
(both needs to be updated)
@TheOneMadHawk
I just checked my server, Its using huge amounts of ram in short amounts of time. 5hours and its using 9gb of ram.
EDIT: I updated both the crazylogin and crazycore to the ones in the link and they don't connect to mysql
@selfservice0
mhh, i don't know how many players you have in total, but my plugin uses a more or less constant amount of ram. i currently don't know how to calculate the entry size, but it should be below 1kb/player.
i'll make some test with my own database
EDIT: i found a clue, where the Memory leak might comes from. I'll fix that asap
EDIT2: should be fixed
Does this error occured only once or more times?
@TheOneMadHawk
I think about 100 players were on when it happened. I haven't seen this issue until I used crazylogin, but I cannot guarantee it was crazylogin.
@selfservice0
Shall i reenable the same ip part?
any clue when or why this happens?
how many users do you have?
Are you sure, that this OOME is connected to my plugin?
@TheOneMadHawk
Oh I see I only tested it using a single ip.
Using version C6.1_4.4 my server will randomly crash with the java out of memory error. http://pastebin.com/74RSziPZ
@selfservice0
What excatly do you understand as single session?
That nobody can login, if someone is online with the same name.
(currently it does not prevent loggin in from the same IP, because of TimeOuts or similar)
I changed that now, i hope this fits more to your liking.
(Redownload and try)
@TheOneMadHawk
Wow you're amazing
And yes by much better than before I mean non-existent.
Tested out the dev builds you provided in the link. Single session does not seem to work.
@selfservice0
cache
yes, it stores all data localy, may take some time to load
much better than before
good enough?
"crazylogin.warnloginfailure" doesnt seem to prevent it.
will be fixed (done)
No single sessions =o
will be added (done)
yes authme's encryption works with the xauth custom. Does this use cache for mysql? I have a very large database, and lots of players logging in and out. Ps: just tested lag seems much better than before.
If you join as some1 u can delete their inventory. giving a negative perm node to "crazylogin.warnloginfailure" doesnt seem to prevent it. No single sessions =o
@selfservice0
So i don't need the extra, encryptor for xAuth because AuthMe's xAuth encryption works?
I'll optimize the lag source.
EDIT: Done
Started testing phase towards next update.
@TheOneMadHawk
Works! Seems to cause a lot of lag though. Lots of lag ='(
@selfservice0
As you can see, my plugin support that already.
AuthMe
Or do you want to say something different.
If AuthMe xAuth is not equal to xAuth, i'll import it and made my plugin more modular.
Using SubPlugins: CrazyLogin_xAuth & CrazyLogin_AuthMe to keep my Code clean.
@TheOneMadHawk
K that config worked. But something is wrong with the encryption. I'm getting wrong password on passwords that were made by xAuth. Authme's xAuth encryption type works with it. Here is their method https://github.com/whoami-plugins/authme-2.0/blob/master/src/uk/org/whoami/authme/security/PasswordSecurity.java
@selfservice0
MySQL Columns names: Link
The devlopment version you have downloaded should already automatically add the lines for Name, Passwort and IP.
Make sure, you start the server and stop it via /stop once, otherwise the plugin may not save all the config. If you edit the config by hand, the server should be stopped first or use /crazylogin reload, /reload will not work
If it does not add any line in the columns section, redownload (see below) it another time and if it continues not working, send me the versionstring of CrazyCore and CrazyLogin (devoplment version)
If the code above work there shouldn't be any issues with xAuth Whirpool Encryption Type.
(if it does not work try this config.yml it works perfectly for me, but xAuth does not work, so i cannot test my encryption workaround)
@TheOneMadHawk
I still dont understand the format for the colum row.
columns: {}
Am I supposed to seperate the column names with commas? columns: {Name, Password, Ips}
I redownloaded the jar from yuor link, Still doing this
algorithm: xAuth customEncryptor: algorithm: WHIRLPOOL
to this
algorithm: WHIRLPOOL