Javascript Library for Minecraft Utilities https://mcutils.xyz/
Go to file
Liam 2f666a9cfa
All checks were successful
Publish Package / build (push) Successful in 19s
Merge remote-tracking branch 'origin/master'
2024-04-19 17:28:54 +01:00
.gitea/workflows update readme 2024-04-15 09:02:07 +01:00
src use new endpoint status model 2024-04-19 17:28:50 +01:00
test fix tests part 2 2024-04-17 16:40:02 +01:00
.gitignore Initial commit 2024-04-14 20:11:04 +00:00
.npmrc joe 2024-04-14 22:45:08 +01:00
jest.config.ts initital commit 2024-04-14 21:11:46 +01:00
package.json use new endpoint status model 2024-04-19 17:28:50 +01:00
pnpm-lock.yaml migrate to fetch 2024-04-18 09:16:41 +01:00
README.md update readme 2024-04-17 17:51:39 +01:00
renovate.json Add renovate.json 2024-04-18 20:16:35 +00:00
tsconfig.json use the new api format 2024-04-17 16:35:39 +01:00

Minecraft Utilities - Javascript Library

The JavaScript library for the Minecraft Utilities API.

Usage

Install the package using npm:

npm install mcutils-library

Get player:

import { getPlayer, CachedPlayer } from "mcutils-library";

const cachedPlayer = await getPlayer(playerId);

console.log(player);

Get Server:

import { getServer, CachedJavaMinecraftServer } from "mcutils-library";

const cachedServer = await getServer(ServerPlatform.Java, "hypixel.net");

console.log(server);