MojangAPIWrapper 1.1

A Mojang java Wrapper API which is simplified and prepared to use

  1. MrDev138
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    Warning : Please note that MojangAPIWrapper is not a plugin jar archive, It's an API library that can be used for your plugins !!

    NOTE: The API uses Gson for JSON, that wouldn't be a problem because it's by default added in spigot.jar

    What is MojangAPIWrapper :
    It's a Mojang API wrapper which is simplified and prepared to use for spigot java development (Java 8)

    How to use :

    For both Eclipse and Intellij just add it as a java library and you're ready to go!

    Note : if you are using it for bukkit/spigot api development it shouldn't be a problem otherwise Add Gson

    Code (Text):
    import me.mrdev.mojang.API; //Import

    public class Example  {

    public void testMethod() {

    String status = API.getMojangStatus(); // Example method
    //returns a string json response

    String history = API.getNameHistroyByUsername("Mrdev1");/*Another example
    returns a string json rsponse if the name is valid or not null
    (Throws NullPointerException if the name is invalid or null)*/

    //Note That All API methods are static and are returning a JSON string response expect getStringUUID() and both signature methods
    NullPointerExceptions will be thrown if the uuid or player are null or invalid and Other expections if there's a connection issue(no internet for example)

    Features :
    - Getting the player's UUID by username(Json or Normal String)
    - Getting Mojang servers Status
    - Getting the player's name history by username or UUID
    - Getting many UUIDs by usernames at one time
    - Getting the player's skin URL and cape by username or UUID
    - Getting raw and pure player's textures by username or UUID

    - Getting the player's textures signature by username or UUID(Normal String not json)

Recent Updates

  1. Signature Methods !!