Jump to content

Recommended Posts

Posted

Hello, guys. I would like to know: is it possible create authentication in launcher by using the possibilities Forge. If yes, please tell me how to do it. I'll be very grateful to you.

Posted

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.

Posted

I'm sorry mate you lost me completely in what the database should do and what all this is for.

Your sentences is quite confusing, you may want to re-phrase yourself.

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

Posted

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.

Posted

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...

Posted

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.

Posted

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...

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.