mc-realms
Minecraft Realms API
simple node wrapper for theinstall
npm install mc-realms
use
- find the server address of a minecraft realm
- use the address with mineflayer to create minecraft bots
const Realms PRealms = ; // PROMISE EXAMPLE START const pr = "test@example.com" "1.16.4"; pr // PROMISE EXAMPLE END // CALLBACK EXAMPLE START const r = "test@example.com" "1.16.4"; r // CALLBACK EXAMPLE END /* GET_ADDRS EX PAYLOAD: servers: { ServerName: { id: 0123456, remoteSubscriptionId: '00000000000000000000000', owner: 'OwnerName', ownerUUID: '00000000000000000000000000000', name: 'ServerName', motd: "Server MOTD", defaultPermission: 'MEMBER', state: 'OPEN', daysLeft: 0, expired: false, expiredTrial: false, gracePeriod: false, worldType: 'NORMAL', players: null, maxPlayers: 10, minigameName: null, minigameId: null, minigameImage: null, activeSlot: 1, slots: null, member: false, clubId: null, addr: { host: '123.45.6.789', port: '30575' } } */
npm libraries
- yggdrasil
- request
author
- revzim