Frontend/documentation/libraries/javascript.md
Liam a0e08ff437
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m11s
fix descriptions
2024-04-20 02:15:27 +01:00

611 B

title description
Javascript Library The Javascript library for Minecraft Utilities is a simple way to interact with the plugin from Javascript!

Javascript Library

This is the Javascript library for Minecraft Utilities.

Installation

To use the Javascript library, you can run the following command:

npm install mcutils-library

Usage

This is a simple example of how to use the Javascript library to get a player's information.

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

const cachedPlayer = await getPlayer(playerId);

console.log(player);