Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.7.10] minecraft user account / list of premium accounts for my entity

Featured Replies

Posted

in my mod im making a new entity.

I have the skin working so that if give it a custom name tag, it gets the skin for the given user name(name of the name tag)

so is there away i can download / get a list of user names and pick a random one then get the skin

 

i know that to get a skin the website is

 

http://skins.minecraft.net/MinecraftSkins/YOUR_USERNAME_HERE.png

 

so as i said above is there away to get a list and just replace the "YOUR_USERNAME_HERE" bit with the chosen user name

 

note that at the moment i am doing this in my EntityHelper class and just calling

EntityHelper.getRandomUsername();

on spawn

 

public static String getRandomUsername()
{
	String[] usernames = new String[] {"Notch", "Dinnerbone", "iprosyndicte", "SynHD", "AntVenom", "Soaryn", "Wyld", "Wolv21", "Direwolf20"};
	return usernames[new Random().nextInt(usernames.length)];
}

From wiki:

"As of June 25, 2014, (...) over 15 million copies on PC have been sold."

 

You do realise that EVEN if that would be possible (it ain't) the total weight of all nicks would be easily more than 0.5GB.

 

What you can is to generate array of Strings corresponding to all users that ever logged on particular (your) server.

 

Last option would be writing totally new program and send about 977 septilion (977 480 813 971 145 474 830 595 007) http-requests to mojang servers that would confirm if given user name exists. And that is considering small/big letters and numbers in nick with max 15 chars.

<joke alert>

width=410 height=296http://d3dsacqprgcsqh.cloudfront.net/photo/aOqggDN_460sa_v1.gif[/img]

 

And finally - maybe I don't understand what you wanna do, because your english is not yet mastered - please correct me and your post if I am wrong.

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

  • Author

From wiki:

"As of June 25, 2014, (...) over 15 million copies on PC have been sold."

 

You do realise that EVEN if that would be possible (it ain't) the total weight of all nicks would be easily more than 0.5GB.

 

What you can is to generate array of Strings corresponding to all users that ever logged on particular (your) server.

 

Last option would be writing totally new program and send about 977 septilion (977 480 813 971 145 474 830 595 007) http-requests to mojang servers that would confirm if given user name exists. And that is considering small/big letters and numbers in nick with max 15 chars.

width=410 height=296http://d3dsacqprgcsqh.cloudfront.net/photo/aOqggDN_460sa_v1.gif[/img]

 

thanks for the reply i just thought with it just being strings it would be a small text file or something, but now that you mention it it could just hard code some names as easter eggs and get players that have played on the server / sp world

Skulls display player skins. Maybe look at those?

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.