Login Manager
tested in craftbukkit-1.5.2-R0.1 server
ChangeLog:
- v0.1 = First beta
- v0.2 = Some bug fixes and SQL mod added
- v0.3 = allowchat option added
Function:
- protecting player's account from other players who try to steal,grief,etc.
- no any database required.(txt file based)
Commands:
- /register <any password> - register the ID
- /login <password> - use password to login
Features:
- Use txt file to save the accounts
- Cancel out players movement
- game master loose OP when they first joined the server and regain OP if they login
- Support both SQL (MySql) and .txt file mod
Permissions:
- doesn't have any
Configuration:
- put plugin file in plugin folder of your bukkit server(serverfolder/plugin/Plugin_Login.jar) and use /reload command to load the plugin
- folders will be automatically created if any of the player use /register command firstly
Important: Make sure that setting.set file is in /plugins/Plugin_Login/ folder and 0.3v has different option so should change setting.set also which i included in zip file
New (v0.2)
- Open the setting.set and you will see
- dbname MineUser
- tbname users
- user root
- pass 1234
#
#
- txtmode 1
New (v0.3)
- allowchat 1
something like this.
- dbname - Database name that will be used in MySql
- tbname - Table name that will be used in MySql
- user - User id for SQL server
- pass - Password for SQL server
- (just divider)
- txtmode - [0 = use SQL mod] , [1 = use .txt file mod]
- allowchat - [0 = do not allow player to chat before login] , [1 = allow player to chat before login]
--> new v0.3
Then, Plugin will automatically create database with your dbname,tbname
please be aware that space between name and value is single tab key. space bar may occur problem.
Bugs:
- message spamming to jumped player who didn't login.
I'm using tab (\t) key as tokenizer so make sure that use tab key when you have to change the txt file.
And sorry about my bad english**
thank you
thankkkkkkkkkkkkkkk
If anyone has problem with players getting stuck in portals - check this out - http://dev.bukkit.org/bukkit-plugins/portalunstuck/ (once it is approved)
add permission for - login.use
@icedemond5
i've checked several times but there was no error found
do you really not see any java errors?
i think you forgot to put setting.set file in Plugin_Login folder
Plugin_Login must have setting.set file and Users folder
but Users folder will automatically created if the first user register his/her id
@freeze1999
i didn't put any function to dc players who didn't login
no idea why that happens to you
may be it's crashing with another plugins
This doesn't seem to work, doesn't show at /plugins, no errors etc. Help?
if login with wrong password will disconnect??
@DjTechnox
what do you mean don't start? can you give me some details? do you see the java errors?
Plugin don't start!
@scarabcoder
i found that if the plugin encrypt the password, Admin have no way to find the lost password. It might be big problem to server administrators. So, i decided to not add password encryption
@RuinedOne
thank you for comment
ill add that function,do not chat until login, as a option so can on and off easily
wait for next version
Make it so they can't chat until they login either, or make it a setting at least
Thanks for the great script!
@scarabcoder
hmm, i agree. May be i have to add some encryption in next version
I could see how people can use this to steal passwords from other people's accounts. Usually, people register with the password for their MC account, and using this password the admin can easily hack the victims account.
@tatari34
Sorry i don't speak Spanish :p
@mycgo1
http://dev.bukkit.org/bukkit-mods/login-plugin/files/1-plugin_login-v0-1-jar/
@Th3Br1x
ok ill make option for use sql or txt file
but i need some time to do that
Please, just use MySQL or SQLite! Saving passwords in a txt file is the same as going into a full IRC and write your password there into the chat
il est ou le lien ?!