Javascript Library for Minecraft Utilities https://mcutils.xyz/
Go to file
Liam bdc56e454a
Some checks failed
Publish Package / build (push) Has been cancelled
migrate to fetch
2024-04-18 09:16:41 +01:00
.gitea/workflows update readme 2024-04-15 09:02:07 +01:00
src migrate to fetch 2024-04-18 09:16:41 +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 migrate to fetch 2024-04-18 09:16:41 +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
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);