# minecraft-control

> Minecraft process runner

Latest version **0.0.1** (published 2014-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install minecraft-control
pnpm add minecraft-control
yarn add minecraft-control
bun add minecraft-control
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-08-08 |
| First published | 2014-08-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Sage Imel |
| Maintainers | nightfly19 |
| Keywords | minecraft |

## Links

- npm: https://www.npmjs.com/package/minecraft-control
- Repository: https://github.com/nightfly19/minecraft-control
- Issues: https://github.com/nightfly19/minecraft-control/issues
- npm.io page: https://npm.io/package/minecraft-control

## Dependencies (2)

- [dev-null](https://npm.io/package/dev-null.md) *
- [underscore](https://npm.io/package/underscore.md) *

## Recent versions

- 0.0.1 (latest) — 2014-08-08

## README

# Minecraft Control

A simple Minecraft process runner

## Example Usage

```js
var minecraft = require('minecraft-control');
var game = new minecraft.Game({
  server: "./servers/minecraft_server.1.7.10.jar",
  world: "./worlds/example",
});

game.start(function(loadtime){
  console.log("Server started");

  setTimeout(function(){
    game.stop();
  }, 10000);
});

game.on("stop", function(){
  console.log("server stopped");
});

game.on("joined", function(player){
  console.log(player + " has joined the game!");
});

game.on("error", function(err){
  console.log(err);
});
```
## License

MIT

---
_Source: https://npm.io/package/minecraft-control · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
