SpoutLogin
SpoutLogin
What is Spoutlogin?
This Addon adds an login system to the server. Every Player has to login with username and password bevore he could change anything of the server world.
The login happens on a welcome page with much informations about the server (should be configureable in future). At the moment there is a server logo, an welcome text, a list of currently online ops and the count of online players on it.
New users can register on an register page. When the account is created they are still guests until an op will approve them (this also should be configureable)
The data is atm saved in a MySQL database. Further variants will hopefully come in future. Some ideas I have: File on Server, phpBB?! Encryption happens with JBCrypt, a Java Implementation of Blowfish.
Actually Status
BETA Status, means the plugin is not recommend for using on gaming servers. I have to do some more work until it would be completly stable.
Screenshots
Welcome Screen with login
Registration Window
Test Server
91.226.88.173:20002
running:
- Bukkit b1566
- Spout 589
- Spoutlogin 0.0.4
Server-password: test
Commands
- /slogin - shows the graphical login window
- /sapp - approves user (not implemented yet)
Ideas?
If someone has ideas how to make it better, please feel free to leave a comment or ticket.
Where to get this?
You could find an Download under the files-page. This version is in BETA-stadium, so only use if you want to find bugs for me;)
TODO
create configs- create configs for welcome screen
- remove some Events that Players also could do when not logged in (item drop, attacking mobs, getting XP-Orbs, ...)
- adding Permissions support
create database table when first starting- add phpBB3 support
- add auto updates?
PLEASE someone take on this plugin!
@Cybermaxke yes...I'm really sry for this, but in the last time I didn't had any time for it:(
I'm not sure if I ever will do any work on it in future...
Death?
Hey, i got this error:
my config is:
RIP?
post this on http://forums.spout.org/view/plugin-releases.7/ and update please :]
@rbs90
I had a long talk with the spout dev and it was there fault not yours :] and I'm glad to hear your better and back :D now I can use your plugin again :DD
@EMOberger
yes...this is really buggy:( Not sure if the problem is in my code, and where I should search for it, or if it is a general Spout Problem.
@all: I'm sorry for the long time nothing happend here, but I was ill for longer time:( Development will go on this week. Already have an idea how to fix the Security-Fail mentioned by Nilinking.
If i try to type, it randomly deselects the typing forum making me re-click it to continue typing. This happens on all typing forums on the login screen and register screen. Not sure if someone has already said this, just wanted to make sure you knew so you can fix this. It's really annoying xD
@Nilinking
ok, that will be a big security fail:( I will test it and hopefully fix it.
Normally the plugin looks for the row in database where the name is equal with the inserted one and then checks if the password is ok...if the name is not listed then login should fail:(
Guest-Mode: Will fix this in the next version, then everything is saved and a guest plays with an fresh player (empty inventory, spawn position, ...). Code is already finished, but there are some extreme bugs that I have to fix before release, and I don't have much time atm:(
@CersoLox could you please post your configuration file? You have to create an MySQL-Database and then insert the connection data in the plugin configuration.
@rbs90
i found a terrible security fail bro, if you register an acount (by example Nilinking) put the name of somebody else in your minecraft client (on a cracked client, by example rbs90) and them you enter your Nilinking´s password on the login section youll be able to login even when youre not rbs90... You have to put a client name check or something to fix this, also, youve to disable the "guest" mode, because even when you dont login you can manipulate the inventory of that person in guest mode, and trow things on the floor... i hope my testing helps you out :) tnx for answering n_n
How do I configure his? I'm getting this: "2011-12-17 23:40:03" [SEVERE] java.sql.SQLException: No suitable driver found for jdbc:mc:null/slogin "2011-12-17 23:40:03" [INFO] [BukkitInventoryTools] Spout is detected. "2011-12-17 23:40:03" [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:640) "2011-12-17 23:40:03" [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:200) "2011-12-17 23:40:03" [SEVERE] at de.rbs90.bukkit.plugins.spoutlogin.crypting.LoginChecker.<init>(LoginChecker.java:27) "2011-12-17 23:40:03" [SEVERE] at de.rbs90.bukkit.plugins.spoutlogin.MainAuthentificate$1.run(MainAuthentificate.java:65)
And "unknow command" when trying to register. Sorry for my bad english.
@Nilinking
I will add source in future to my jar-Files, for now you can look at my github repo (will add it under Repository), but the actually revision is already for the next release;)
password-length: will be fixed in next release, thx:)
only writing for short times: I also have this problem, but I thought this is a problem of Spout/Spoutcraft, i will look if I could find some info
yeah the source would be great! XD also, im looking foward to the next version! ive noticed a bug btw, when you type in the login section it lets you write only for 3 or 4 seconds, them you have to click again (for another 4 seconds of writing LOL) thats anoing when youre registering, also the password lenght on the register section is not limited, but it is limited on the login section (if you put a large password when registering, you´ll not be able to login because you cant white more than 8 leters on the login password field)
Thats all i hope it helps n_n
source please? if you could just stick it in the jar/git that would be GREAT!
@carrrlwithaK
look for XAuth for example:
http://forums.bukkit.org/threads/sec-xauth-v2-0-beta-4-3-offline-mode-authentication-1000-1337.8712/
Such functionality will be added eventueally in future, but it has no priority for me.
@Shortelz, sorry i'm still new to what types of plugins are offered. Would you have any recommendations for which one would be the best?
@carrrlwithaK
Theres 100 other plugins for that
@rbs90 thanks, i'll try setting up my server for 1.0.1 as well.
EDIT: Just tried it, I realized you need to use the spoutcraft client. When do you think you'll have non-spoutcraft support, just by using a command probably like /login <password>
@carrrlwithaK
I will test it with Bukkit 1337 and Spout 510. Why are you still use 1337? There is now a recommend bukkit build out for 1.0.1 :)