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.

  Quote

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/

  Quote

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?)

  Quote

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

Posted
  On 12/11/2013 at 7:43 PM, Ernio said:

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

  Quote

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello, I have been trying for days to create my server with forge-1.20.1-47.4.1-installer, which installs the server, but the forge-1.20.1-47.4.1.jar file, which is necessary to create the server, does not appear. I no longer know what to do. Help. hola buenas, llevo dias intentando poder hacer mi servidor con forge-1.20.1-47.4.1-installer el cual instalo el server, pero no aparece el archivo forge-1.20.1-47.4.1.jar , el cual es necesario para poder crear el server, ya no se que hacer ayuda.
    • Does this happen if you use the regular vanilla minecraft launcher? Also, unsure if TLauncher ever has a legit usage, as I have always seen it associated with software piracy, but if it has a legit mode, make sure it is using online mode so that it can authenticate your MS account to login. Aside from that, more information is likely needed. Post logs, as well as the paths you are placing files in (screenshots of your file explorer can be helpful as well).
    • I am using a third-party launcher that has pre-installed forge versions of Minecraft.  When I insert mods from CurseForge, I extract the files and as expected put them in the .mods folder. I am guessing that there is an error with the file transfer but I don't know for sure and sometimes I use Forge to test mods that I created before releasing previously on a different pc, so I don't know if it is the if it an extraction error but if are any tips or knowledge reply and I will read it. This is also will be kept on the forum for others that have the issues.
    • I make wires and i need connection 2 wires block. I have BooleanPropertys registered, but in mod loading it show Unknown the property in assets/wuntare/blockState. public static final BooleanProperty CONNECTED_NORTH = BooleanProperty.create("connected_north"); public static final BooleanProperty CONNECTED_SOUTH = BooleanProperty.create("connected_south"); public static final BooleanProperty CONNECTED_WEST = BooleanProperty.create("connected_west"); public static final BooleanProperty CONNECTED_EAST = BooleanProperty.create("connected_east"); public static final BooleanProperty CONNECTED_UP = BooleanProperty.create("connected_up"); public static final BooleanProperty CONNECTED_DOWN = BooleanProperty.create("connected_down"); public CopperWireWithoutInsulation0(Properties properties) { super(properties); this.registerDefaultState(this.stateDefinition.any() .setValue(CONNECTED_NORTH, false) .setValue(CONNECTED_SOUTH, false) .setValue(CONNECTED_WEST, false) .setValue(CONNECTED_EAST, false) .setValue(CONNECTED_UP, false) .setValue(CONNECTED_DOWN, false)); } @Override protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) { builder.add(CONNECTED_NORTH, CONNECTED_SOUTH, CONNECTED_WEST, CONNECTED_EAST, CONNECTED_UP, CONNECTED_DOWN); } In this part blockState have problem "multipart": [ { "apply": { "model": "wuntare:block/copper_wire_without_insulation0" } }, { "when": { "connected_north": true }, "apply": { "model": "wuntare:block/copper_wire_without_insulation0_north" } },  
    • How can I change Searge mappings on Mojang so that, for example, net.minecraft.client.GameSettings (srg) becomes net.minecraft.client.Options (mojang)?
  • Topics

×
×
  • Create New...

Important Information

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