No description
Find a file
2015-11-24 18:02:32 -05:00
config Lots and lots and lots of changes... Plugins begin again! 2015-11-21 14:30:16 -08:00
doc Merge pull request #89 from demipixel/sound 2015-11-06 03:04:21 +01:00
examples fix basic.js, fix #74 2015-10-11 14:25:47 +02:00
logs Added logs folder 2015-08-24 09:07:10 -04:00
src No more crashes 2015-11-24 18:02:32 -05:00
test fix test 2015-10-26 03:10:16 +01:00
.gitignore Lots and lots and lots of changes... Plugins begin again! 2015-11-21 14:30:16 -08:00
.npmignore go to es6 + use real prismarine-chunk and prismarine-world 2015-10-02 00:12:09 +02:00
app.js Lots and lots and lots of changes... Plugins begin again! 2015-11-21 14:30:16 -08:00
circle.yml Create circle.yml 2015-08-25 16:28:58 -04:00
gulpfile.js go to es6 + use real prismarine-chunk and prismarine-world 2015-10-02 00:12:09 +02:00
index.js go to es6 + use real prismarine-chunk and prismarine-world 2015-10-02 00:12:09 +02:00
LICENSE Create LICENSE 2015-08-25 17:35:16 -04:00
package.json Implement player inventory using prismarine-windows and prismarine-item 2015-11-23 00:47:02 +01:00
README.md add a plugins section in the README 2015-11-22 23:45:40 +01:00
TODO.md mark block dropping and entity basics as done 2015-11-17 13:42:50 +01:00

Flying-squid

NPM version [Join the chat at https://gitter.im/mhsjlw/flying-squid] (https://gitter.im/mhsjlw/flying-squid?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) License Minecraft version [Github issues] (https://img.shields.io/github/issues/mhsjlw/flying-squid.svg) [Build Status] (https://circleci.com/gh/mhsjlw/flying-squid) [Gratipay] (https://gratipay.com/~mhsjlw/)

A semi-functional minecraft server in Node.js

Features

  • Support for Minecraft 1.8
  • Players can see the world
  • Players see each other in-game and in tab
  • Digging
  • Placing blocks
  • Player movement
  • World generation
  • Anvil loading
  • Multi-world

Test server

Building / Running

Before running or building it is recommended that you configure the server in config/settings.json

npm install
node app.js

Or try our autoupdating flying-squid server autonomous-squid

You can also install flying-squid globally with sudo npm install -g flying-squid and then run it with flying-squid command.

Plugins

  • flying-squid-irc a bridge between a irc chan and the minecraft server. Currently used between our test server (rom1504.fr) and our gitter room (through the official gitter irc bridge)

Documentation

Documentation for how to operate and how to customize your server are coming soon!

Dev Documentation

For development see api.md, contribute.md and history.md

Using as a lib

Flying-squid is also a server lib. Here is a basic example of usage :

var mcServer=require("flying-squid");

mcServer.createMCServer({
  "motd": "A Minecraft Server \nRunning flying-squid",
  "port": 25565,
  "maxPlayers": 10,
  "onlineMode": true,
  "logging": true,
  "gameMode": 1,
  "generation": {
    "name":"diamond_square",
    "options":{
      "worldHeight":80
    }
  },
  "modpe": false
});

You can add server plugins and player plugins in your package, following contribute.md.

Contributors

  • @roblabla for helping out with the protocols
  • @rom1504 for massive contributions to the code
  • The PrismarineJS team for creating prismarine-chunk and node-minecraft-protcol
  • wiki.vg for documenting minecraft protocols