1.1.36 • Published 3 years ago

minecraft-lookup v1.1.36

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Minecraft-Lookup

Example:

const mcapi = require("minecraft-lookup");

mcapi.skin("ZiroCore").then(data => console.log(data));
mcapi.user("ZiroCore").then(data => console.log(data));
mcapi.server("hypixel.net").then(data => console.log(data));
mcapi.head("ZiroCore").then(data => console.log(data));
mcapi.namemcfriends("adf01e23-43c8-44e7-b039-a0981da5a093").then(data => console.log(data))
mcapi.nameHistory("username", "ZiroCore").then(data => console.log(data))
mcapi.status().then(data => console.log(data));
mcapi.ofCape("Notch").then(data => console.log(data));
// You Can Also Do const data = await mcapi.skin(username) etc...

//mcapi.ofCape() Output: "http://s.optifine.net/capes/cessabit.png"

//mcapi.status() Output:
/*
[
  {"minecraft.net":"green"},
  {"session.minecraft.net":"green"},
  {"account.mojang.com":"green"},
  {"authserver.mojang.com":"green"},
  {"sessionserver.mojang.com":"red"},
  {"api.mojang.com":"green"},
  {"textures.minecraft.net":"green"},
  {"mojang.com":"green"}]
*/

// mcapi.skin() Output: { view: 'link' download: 'link' }

// mcapi.user() Output: { name: 'ZiroCore' id: 'adf01e2343c844e7b039a0981da5a093' }

/* mcapi.server() Output:
{
  servericon: 'link',
  ip: '172.65.230.166',
  port: 25565,
  debug: {
    ping: true,
    query: false,
    srv: false,
    querymismatch: false,
    ipinsrv: false,
    cnameinsrv: false,
    animatedmotd: false,
    cachetime: 1621441926,
    apiversion: 2
  },
  motd: { raw: [Array], clean: [Array], html: [Array] },
  players: { online: 128553, max: 200000 },
  version: 'Requires MC 1.8 / 1.16',
  online: true,
  protocol: 47,
  hostname: 'mc.hypixel.net'
}
*/

/*
mcapi.head() Output: 
{
  helmhead: 'https://cravatar.eu/helmhead/ZiroCore/250.png',
  helmavatar: 'https://cravatar.eu/helmavatar/ZiroCore/250.png',
  headsize: 250,
  headowner: 'ZiroCore',
  gethead: {
    '1.13': '/give @p minecraft:player_head{SkullOwner:"ZiroCore"}',
    '1.12': '/give @p minecraft:skull 1 3 {SkullOwner:"ZiroCore"}'
  }
}
*/
/*
mcapi.nameHistory("type", "content") Output:
[
  { name: 'DeltaNinja' },
  { name: 'Dream', changedToAt: 1423044676000 }
]
*/

Support Server

1.1.36

3 years ago

1.1.35

3 years ago

1.1.34

3 years ago

1.1.33

3 years ago

1.1.32

3 years ago

1.1.31

3 years ago

1.1.30

3 years ago

1.1.29

3 years ago

1.1.28

3 years ago

1.1.27

3 years ago

1.1.26

3 years ago

1.1.25

3 years ago

1.1.24

3 years ago

1.1.23

3 years ago

1.1.22

3 years ago

1.1.21

3 years ago

1.1.20

3 years ago

1.1.19

3 years ago

1.1.18

3 years ago

1.1.17

3 years ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.14

3 years ago

1.1.13

3 years ago

1.1.12

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago