Jump to content

[SOLVED] - Get inventory from offline player by name


Recommended Posts

Thanks, bro!

I'm not using names. I just need to get the inventory by name (in the command).

But how to get the UUID by name without the player?

I do so:

Map<String, UUID> players = flipMap(UsernameCache.getMap());
UUID uuid = players.get(name);

It is right?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now


  • Create New...

Important Information

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