open-index/open-npm huggingface dataset:
npm package: @magikcraft/commando
Description: Add commands to Minecraft
Author: Josh Wulf
Latest version: 0.0.5

# @magikcraft/commando [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]

> Add commands to Minecraft

## Installation

Install to your project:

```bash
npm install @magikcraft/commando
```

## Use it

```typescript
import commando from '@magikcraft/commando'
const log = Logger(__filename)

log('Plugin loaded!')

log(`Registering 'custom' command`)
commando('custom', (args, player) => {
	console.log(args)
})
```

## License

Apache-2.0 © [Josh Wulf](https://github.com/jwulf)

[npm-image]: https://badge.fury.io/js/%40magikcraft%2Fcommando.svg
[npm-url]: https://npmjs.org/package/@magikcraft/commando
[travis-image]: https://travis-ci.org/Magikcraft/commando.svg?branch=master
[travis-url]: https://travis-ci.org/Magikcraft/commando
[daviddm-image]: https://david-dm.org/Magikcraft/commando.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/Magikcraft/commando
[coveralls-image]: https://coveralls.io/repos/Magikcraft/commando/badge.svg
[coveralls-url]: https://coveralls.io/r/Magikcraft/commando
npm package: @magikcraft/core
Description: Magikcraft core library for SMA plugins
Author: Josh Wulf
Latest version: 0.2.0

# @magikcraft/core [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]

> Core Magikcraft utilities for SMA plugins

This repository contains the Magikcraft API - `magikcraft.io` - as well as the reusable utilities that are used to implement the Magikcraft API.

To see how methods like `magik.dixit` and `magik.exsultus` are implemented, take a look in the [`magik` directory](https://github.com/Magikcraft/magikcraft-core/tree/master/magik).

## Installation

```bash
npm install @magikcraft/core
```

## Testing

Use the SMA image in test mode to run the unit tests.

Make sure you have the latest version of smac installed:

```
npm i -g smac
```

Then run the tests:

```
npm test
```

## License

Apache-2.0 © [Josh Wulf](https://github.com/Magikcraft)

[npm-image]: https://badge.fury.io/js/%40magikcraft%2Fserver.svg
[npm-url]: https://npmjs.org/package/@magikcraft/server
[travis-image]: https://travis-ci.org/Magikcraft/server.svg?branch=master
[travis-url]: https://travis-ci.org/Magikcraft/server
[daviddm-image]: https://david-dm.org/Magikcraft/server.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/Magikcraft/server