Created
August 10, 2016 15:13
-
-
Save games647/615846434bfc08c2164349eefdd35d33 to your computer and use it in GitHub Desktop.
Generate a offline uuid based on the minecraft player name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.base.Charsets; | |
import java.util.UUID; | |
public class OfflineUUID { | |
public static void main(String[] test) throws Exception { | |
UUID.nameUUIDFromBytes(("OfflinePlayer:" + "playerName").getBytes(Charsets.UTF_8)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment