update readme

This commit is contained in:
Romain Beaumont 2018-05-27 19:40:07 +02:00
parent a3631cfc19
commit 39e8ce50a1
No known key found for this signature in database
GPG key ID: DB60E388B3BCF286

View file

@ -4,14 +4,13 @@ flying-squid
[![NPM version](https://img.shields.io/npm/v/flying-squid.svg)](http://npmjs.com/package/flying-squid) [![NPM version](https://img.shields.io/npm/v/flying-squid.svg)](http://npmjs.com/package/flying-squid)
[![Join the chat at https://gitter.im/PrismarineJS/flying-squid](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/PrismarineJS/flying-squid?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Join the chat at https://gitter.im/PrismarineJS/flying-squid](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/PrismarineJS/flying-squid?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Minecraft version](https://img.shields.io/badge/minecraft%20version-1.8-brightgreen.svg)](http://wiki.vg/Protocol)
[![Github issues](https://img.shields.io/github/issues/PrismarineJS/flying-squid.svg)](https://img.shields.io/github/issues/PrismarineJS/flying-squid.svg) [![Github issues](https://img.shields.io/github/issues/PrismarineJS/flying-squid.svg)](https://img.shields.io/github/issues/PrismarineJS/flying-squid.svg)
[![Build Status](https://img.shields.io/circleci/project/PrismarineJS/flying-squid/master.svg)](https://circleci.com/gh/PrismarineJS/flying-squid) [![Build Status](https://img.shields.io/circleci/project/PrismarineJS/flying-squid/master.svg)](https://circleci.com/gh/PrismarineJS/flying-squid)
A semi-functional minecraft server in Node.js Create Minecraft servers with a powerful, stable, and high level JavaScript API.
## Features ## Features
* Support for Minecraft 1.8 * Support for Minecraft 1.8 and 1.12
* Players can see the world * Players can see the world
* Players see each other in-game and in tab * Players see each other in-game and in tab
* Digging * Digging
@ -65,34 +64,36 @@ For development see [API.md](doc/API.md), [CONTRIBUTE.md](doc/CONTRIBUTE.md) and
flying-squid is also a server lib. Here is a basic example of usage: flying-squid is also a server lib. Here is a basic example of usage:
```js ```js
const mcServer = require("flying-squid"); const mcServer = require('flying-squid')
mcServer.createMCServer({ mcServer.createMCServer({
"motd": "A Minecraft Server \nRunning flying-squid", 'motd': 'A Minecraft Server \nRunning flying-squid',
"port": 25565, 'port': 25565,
"max-players": 10, 'max-players': 10,
"online-mode": true, 'online-mode': true,
"logging": true, 'logging': true,
"gameMode": 1, 'gameMode': 1,
"generation": { 'generation': {
"name": "diamond_square", 'name': 'diamond_square',
"options":{ 'options': {
"worldHeight": 80 'worldHeight': 80
} }
}, },
"kickTimeout": 10000, 'kickTimeout': 10000,
"plugins": { 'plugins': {
}, },
"modpe": false, 'modpe': false,
"view-distance": 10 'view-distance': 10
}); })
``` ```
You can add server plugins and player plugins in your package, following [CONTRIBUTE.md](doc/CONTRIBUTE.md). You can add server plugins and player plugins in your package, following [CONTRIBUTE.md](doc/CONTRIBUTE.md).
## Contributors ## Contributors
- [@mhsjlw](https://github.com/mhsjlw) creator of flying-squid
- [@roblabla](https://github.com/roblabla) for helping out with the protocols - [@roblabla](https://github.com/roblabla) for helping out with the protocols
- [@rom1504](https://github.com/rom1504) for massive contributions to the code - [@rom1504](https://github.com/rom1504) for massive contributions to the code
- [@demipixel](https://github.com/demipixel) - [@demipixel](https://github.com/demipixel)