Jump to content

Prevent forge from changing UUID


AlekBardzo

Recommended Posts

I stumbled upon the solution sometime ago, yet cant find it now. My point is that everytime I run minecraft from eclipse, it assigns a random player name and uuid. How do I prevent that so it launches with constant uuid ? There was a parameter that should have been called somewhere, correct ? Just a hint please ? :)

Link to comment
Share on other sites

-username [username] -password [Password] in the build configs "Program Arguments"

 

Some friendly advise, if your using some form of source control and publishing it online, make sure not to publish your project data... :)

 

You know password and all :P

 

Note: -password is optional, the UUID will not change but will not be the same one Mojang Servers give you.

I require Java, both the coffee and the code :)

Link to comment
Share on other sites

I did as You said, only with uuid, since I'd be checking uuid's internally and want to test if data saved in the world will properly belong to a player that created it, no personal paswords or such...

 

The -username only starts the game with your Username, the UUID will never change when people use the mod as Mojang gives it to you.

 

Setting your username will give a constant UUID, albeit still different then the one on the Mojang servers unless you supply the password in your Build Params.

I require Java, both the coffee and the code :)

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.



×
×
  • Create New...

Important Information

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