An open API service indexing awesome lists of open source software.

https://github.com/spiderjockey02/craftyclientapi

An API wrapper for the Minecraft server controller, Crafty Controller
https://github.com/spiderjockey02/craftyclientapi

api crafty-controller

Last synced: 3 months ago
JSON representation

An API wrapper for the Minecraft server controller, Crafty Controller

Awesome Lists containing this project

README

        


CraftyAPI



Downloads


Npm version



Github stars


License




This is an API wrapper for the Minecraft server controller, CraftyControl.

- https://craftycontrol.com

## Installation

**NPM** :
```sh
npm install craftyapi
```

**Yarn** :
```sh
yarn add craftyapi
```

## Example Usage

```javascript
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');
})();
```