Skip to content

An API wrapper for the Minecraft server controller, Crafty Controller

Notifications You must be signed in to change notification settings

Spiderjockey02/CraftyClientAPI

Repository files navigation

CraftyAPI

Downloads Npm version
Github stars License
This is an API wrapper for the Minecraft server controller, CraftyControl.

Installation

NPM :

npm install craftyapi

Yarn :

yarn add craftyapi

Example Usage

const CraftyAPI = require('craftyapi');

const API = new CraftyAPI('https://192.168.0.2:8000', 'YourAdminKey');

(async () => {
	console.log('Fetching hosts');
	console.log(await API.fetchHost());
	API.runCommand(4, 'save-all');
})();

About

An API wrapper for the Minecraft server controller, Crafty Controller

Topics

Resources

Code of conduct

Stars

Watchers

Forks