Jump to content

Authentication in launcher


0Flash0

Recommended Posts

No. Example, I have database of players who signed up for my project. I would like them login in the launcher, got some data(e.g. id from my database) and then could connect to the server.  In short I would like to make my system administration and vip-account.

Link to comment
Share on other sites

That's what I want to get the result:

1) The user starts the launcher and enters username and password, which he enters at registration on my project.

2) If the data is correct, the user enters the server.

Perhaps this is a classical problem, tell me the best way to solve it.

Link to comment
Share on other sites

Connecting to a database is easy, there are several ways to do it.

I would recommend googling basic Java questions or go to dedicated java forums like the ones on DreamInCode :)

 

Anyways here you go:

docs.oracle.com/javase/tutorial/jdbc/basics/

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Well, last time I checked Minecraft Launcher is NOT Minecraft Game.

Since Forge is modification for Minecraft Game which is loaded by Launcher you cannot possibly make something that loads data in reverse without going into Launchers code.

Thing you'll need here is to write whole new launcher and totally screw minecraft.net using your databases and then downloading game (non-premium) from your repo. Or you can make minecraft.net account checking AND your own in addition which wil be held in some variables that will be used by your Forge Mod inside Minecraft Game.

 

I did thing described here, but this would take at least 10 hours (only if you are good) to write in GOOD way with whole graphics and nice handling of code (took me about 30h if not more to finish)

 

Conclusion: Nope, you cannot modify launcher by forge. (Or am I wrong?)

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Conclusion: Nope, you cannot modify launcher by forge. (Or am I wrong?)

That would be correct.

 

What you could do is to write a mod with forge that only lets you join servers if the server can verify you by taking in a username(minecraft name?) and a supplied password. You could make a GUI screen which is shown when you try to connect to a server while having your mod which would send the info to the server and the server can then authenticate you using the db

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.