1.0.3
Class representing the authentication of a client with Mojang's authentication server
(string)
email of Mojang account
(string)
password of Mojang account
(string
= <CURRENT_WORKING_DIRECTORY>
)
path to the file that will store the client
Class representing the client
(string?)
A path to the JSON file where the client will be stored
a module that contains miscellaneous endpoint wrappers for Mojang APIs
Gets the history of names used by a user of a specified UUID
(string)
The unhyphenated UUID of the Minecraft account
Array<NameHistoryInstance>
:
An array containing the past names of a user
Gets the URL to the cape and skin textures of the specified user
(string)
The unhypenated UUID of the Minecraft account
TexturesContainer
:
The textures associated with the specified account
a container for Minecraft name history instances
Type: object
a container for Minecraft account textures
Type: object
(SkinContainer)
: Data about a minecraft skin
(CapeContainer)
: Data about a minecraft cape
a container for Minecraft skin data
Type: object
a container for Minecraft cape data
Type: object
(string)
: The url to the cape texture
a Minecraft world hosted on Minecraft Realms
Type: Object
(number)
: The ID of the world
(string)
: The owner of the world
(string)
: The unique ID of the owner, note: UUID does not have hyphens
(string)
: The name of the world
(string)
: The MOTD of the server, does not support color
(string)
: The status of the server, can be one of the following: ADMIN_LOCK, CLOSED, OPEN, UNITIALIZED
(number)
: How many days are left of subscription. Always '0' if not owner and returns '-1' if expired
(boolean)
: Whether the subscription has expired
(boolean)
: Whether the trial subscription has expired
(string)
: Type of the world, can be one of the following: NORMAL, MINIGAME, ADVENTUREMAP, EXPERIENCE, INSPIRATION
(string)
: The name of the minigame that is currently active, null if not in a minigame
(number)
: The unique ID of the minigame, null if not in minigame
(string)
: base64 of the current minigame image in the format PNG, null if not in minigame
(number)
: Current server world (1-4)
a Minecraft Realms world backup
Type: Object
(string)
: The ID of the world backup
(number)
: The timestamp the backup was created
(number)
: The size of the backup
(RealmsWorldBackupMetadata)
: Additional data about the backup
a container for additional Minecraft Realms backup data
Type: Object
(number)
: The difficulty set for the world, 0-3. The difficlties are as follows: 0 - Peaceful, 1 - Easy, 2 - Normal, 3 - Hard
(string)
: The name of the world
(string)
: The version of Minecraft when the backup was created
(string)
(string)
(number)
: The default gamemode of the world
(string)
: The type of world generation used
a container for a Minecraft Realms subscription
Type: Object
Class representing a client connected to Minecraft Realms
(Authentication)
a valid authenticated authentication client
Sets and returns list of worlds that the authenticated user has access to on Minecraft Realms
Array<RealmsWorld>
:
Array of RealmsWorld objects
Returns the current IP of the realm
(RealmsWorld)
A Minecraft Realms world object
string
:
Server IP
Returns true if the server has a pending update
(RealmsWorld)
A Minecraft Realms world object
boolean
:
server has update
Returns the list of backups for the world
(RealmsWorld)
A Minecraft Realms world object
Array<RealmsWorldBackup>
:
An array of Minecraft Realms backups
Returns the URL to the latest world backup
(RealmsWorld)
A Minecraft Realms world object
string
:
URL to Minecraft Realms backup
Gets a list of operators for a Minecraft Realm
(RealmsWorld)
A Minecraft Realms world object
Array<string>
:
A list of operators names
Gets information about the Minecraft Realms subscription
(RealmsWorld)
A Minecraft Realms world object
RealmsSubscription
:
Information about the Minecraft Realms subscription