craftyapi
v1.1.0
Published
A API wrapper for the Minecraft server controller, CraftyControl.
Downloads
4
Readme
- https://craftycontrol.com
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');
})();