Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Authentication server/database
03-09-2011, 02:39 AM (This post was last modified: 03-09-2011 08:01 PM by Tim.)
Post: #1
Authentication server/database
I'm making this authenticator thing which, when a player logs in and.. bla bla bla... forgot what i was gonna say so i'll just describe it! Smile

Basically when someone goes on the server it uses the authentication in settings.ini to contact a database. Players can register their nickname on a website and disable (or enable) themselves from logging in - perfect for people who dont want to use the default minecraft authentication server but want some kind of protection against people with 'naughty' copies of minecraft Tongue

Its very very basic at the moment and when its a bit better i might post the code for you guys Tongue

Register your name here:
and you can see it in action on my server:
OR change your settings.ini authentication to this:


and for anyone freaking out about the password box, I made it store passwords in md5 hash so chill out Cool

Anyways, check it out and let me know what you think Smile

Knowing me I've probably forgotten to include a few things in this post so if something is missing that you think i should have said about bugs or features or anything, let me know Rolleyes

catch ya all later Big Grin

EDIT: oh yeah, theres a thing i havent sorted out yet with the sessions, if you try and refresh any page or whatever after you've logged in it decides you arent allowed to be logged in anymore and you have to log in again, but its not a HUMONGOUS problem right now so i'll fix that when i get home tonight!

ONE MORE THING! you need to make sure your server name/id is set to "-" without quote marks to disable client authentication!
Visit this user's website Find all posts by this user
Quote this message in a reply
03-09-2011, 06:29 AM
Post: #2
RE: Server authentication thing!
Sorry if anyones tried to have a look at this and hasnt been able to - looks like i had downtime to my minecraft server. Back up now Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)