flying-squid/docs
2021-04-21 18:59:44 +02:00
..
.nojekyll empty commit 2021-04-21 18:59:44 +02:00
_sidebar.md empty commit 2021-04-21 18:59:44 +02:00
API.md empty commit 2021-04-21 18:59:44 +02:00
CNAME empty commit 2021-04-21 18:59:44 +02:00
CONTRIBUTE-kr.md empty commit 2021-04-21 18:59:44 +02:00
CONTRIBUTE.md empty commit 2021-04-21 18:59:44 +02:00
examples.md empty commit 2021-04-21 18:59:44 +02:00
HISTORY.md empty commit 2021-04-21 18:59:44 +02:00
index.html empty commit 2021-04-21 18:59:44 +02:00
README.md empty commit 2021-04-21 18:59:44 +02:00
screens.md empty commit 2021-04-21 18:59:44 +02:00

flying-squid - fork by Daniel Bulant

Discord

Create Minecraft servers with a powerful, stable, and high level JavaScript API.

New features (I added to fork)

  • Permissions
  • Player grouping
  • Prefixes

Test server

  • No test server currently 24/7 of this fork *

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.

World generation

There are several modules than can be used to generate the world. The default one is called diamond-square

  • node-voxel-worldgen a voxel world generator written in Rust, compatible with flying-squid and allows basic minecraft-like generation including caves.
  • diamond-square a diamond square minecraft generation

To install a world generation, all you have to do is npm install it and then change the generation option in settings.json.

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)
  • flying-squid-schematic Flying-squid plugin providing /listSchemas and /loadSchema commands. You can add schema through a simple http api and then add them in your world by just calling /loadSchema in game. Http api available in the test instance at flying-squid.rom1504.fr
  • flying-squid-modpe load modpe plugins
  • flying-squid-essentials Plugin that in a future will be like Essentials of bukkit/spigot. All the basic commands that a server should have

Documentation

For development see the API documentation, CONTRIBUTE.md and HISTORY.md

Using as a lib

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

const mcServer = require('flying-squid')

mcServer.createMCServer({
  'motd': 'A Minecraft Server \nRunning flying-squid',
  'port': 25565,
  'max-players': 10,
  'online-mode': true,
  'logging': true,
  'gameMode': 1,
  'difficulty': 1,
  'worldFolder':'world',
  'generation': {
    'name': 'diamond_square',
    'options':{
      'worldHeight': 80
    }
  },
  'kickTimeout': 10000,
  'plugins': {

  },
  'modpe': false,
  'view-distance': 10,
  'player-list-text': {
    'header':'Flying squid',
    'footer':'Test server'
  },
  'everybody-op': true,
  'max-entities': 100,
  'version': '1.12.2'
})

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

For further examples, see the examples page.

Contributors

  • @mhsjlw creator of flying-squid
  • @roblabla for helping out with the protocols
  • @rom1504 for massive contributions to the code
  • @demipixel
  • The PrismarineJS team for creating prismarine-chunk and node-minecraft-protocol
  • wiki.vg for documenting minecraft protocols
  • All of our other awesome contributors!