
Partial list of working alpha/beta minecraft servers. RetroMC is a server which hopes to bring together players and allow them to build communities and have fun. Retro Beta Minecraft Beta Server Server Ip: Website: Discord: Retro Beta Minecraft or RetroMC is a Minecraft Beta Server which aims to bring back the feeling of community and nostalgia.

I also released the files in the description! Hope you enjoy:)Estimated Reading Time: 50 secs. This is for old minecraft, released in This will be unstable, which is why I made a tutorial.
#MINECRAFT BETA 1.7.3 AUTH HOW TO#
#MINECRAFT BETA 1.7.3 AUTH CODE#
Here's the code I use to grab and download the files in case you wanted to see it. toString().contains(profile.getId().toString()). My goal is to set a boolean for the staff capes file and the contest capes files you can see, using a string variable and. I'm exhausted after playing with this all night and failing to do so, and thus my proofreading skills are basically gone.īasically, all I need is to just set a boolean if a UUID that matches one in the downloaded text file. Sorry if this is considered a duplicate of a few other posts that cover file reading but I found my case to be a little different.Īlso sorry if anything here is stupidly written, or confusing.

The reason why I'm posting here and not a Minecraft forum or something is that while this code is for Minecraft, file checking stuff is a general Java thing, so hopefully, this is the right place.
#MINECRAFT BETA 1.7.3 AUTH MOD#
Even though I'm using Beta 1.7.3, our mod properly updates the game's authentication and allows the use of the Mojang API, so if you're wondering why or how I'm even trying to get UUIDs in that version, that is the reason. The version I'm using is a little old (I am a Beta 1.7.3 player) and doesn't support the login variables. The reason why I made these assumptions, is that at this point it would take a long time to test something and find it isn't working and test again because I cannot use the test environment in Eclipse for this to work I must compile my mod and log in with my account, since to get the information required with this code I need to log in with my account. I'd assume that would be constantly changing the string to the line it's reading, so if I used one of these examples and checked for a matching UUID it'd set the variable to true if it found the matching one, then immediately set it back to false after it goes to the next line, right?

So the reason why I don't want the above because the code I've Googled around for iterates using while statements and such. Printing the entire file shouldn't be an issue as it's a very small file. I want to print the ENTIRE file to a string, then set a boolean if it contains something which matches a string variable I have set earlier in the code. Other solutions I've seen print each line to a string, but that's not what I want. I'm a Java amateur, and I'm completely stuck on actually printing the file to a string. I've also got it to display the capes just fine when I force it to. txt files containing the player UUIDs, which works. I'm helping write a mod for Minecraft, and I've decided to try and code in some special capes for our staff, and people who win our contests.
