Create Minecraft servers with a powerful, stable, and high level JavaScript API.
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.
Docker allows a higer level of isolation, compatibily and consistency. You can learn how to install Docker here
docker run prismarinejs/flying-squid
With specific flying-squid configuration, container name and the most important, opening the port to flying-squid:
docker run -p 25565:25565 -v $(pwd)/config:/config --name my-flying-squid --rm prismarinejs/flying-squid
docker-compose is useful to quickly launch & stop a single container with a specific configuration.
version: '3.8'
services:
flying-squid:
image: prismarinejs/flying-squid
volumes:
- ${PWD}/config:/config
ports:
- "25565:25565"
volumes:
flying-squid:
docker-compose -f path/to/docker-compose.yaml up
There are several modules than can be used to generate the world. The default one is called diamond-square
To install a world generation, all you have to do is npm install it and then change the generation option in settings.json.
online-mode=false
servers.For development see the API documentation, CONTRIBUTE.md and HISTORY.md
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.16.1'
})
You can add server plugins and player plugins in your package, following CONTRIBUTE.md.
For further examples, see the examples page.
flying 是一个可以极大增加 mybatis 开发速度的插件组,它提供了一种全新的操作数据的方式,希望能对您有所帮助。 flying 主要特点: 以前我们在 mapper.xml 中要写很复杂的 sql 语句,但现在在 mapper.xml 中只需这样: <select id="select" resultMap="result"> flying#{?}:
Flying Saucer 用纯 Java 编写的,可以将 XML/XHTML 应用 CSS2.1 样式渲染为 PDF、图片。此库基本上能实现 CSS 2.1 的整体性, 并且完全符合 W3C 规范。
Flying-Swift项目是一个纯Swift语言开发的iOS8项目
flying-fish-gateway(飞鱼网关系统)是基于spring-cloud-gateway开发的网关路由服务,用于服务与服务之间的通讯边界管理,支持过滤器、熔断、鉴权、限流、日志、监控等功能 解决目前项目中A==>B,A==>C,A==>...,服务与服务之间以直链访问的方式,改为A==>gateway==>B\C...,服务走网关访问另一个服务,使得服务通讯可控、可复用、统一管理、安全
标题 内容 类型 通用 支持布局 responsive, fixed-height, flex-item 所需脚本 https://c.mipcdn.com/static/v2/mip-fx-flying-carpet/mip-fx-flying-carpet.js 说明 镂空滚动。 镂空滚动组件将其内容包括在一个高度固定的容器中,其表现为容器随着正文上下滚动,而在视觉上,其内容不会随着滚动,从而
match-engine 介绍 match-trade超高效的交易所撮合引擎,采用伦敦外汇交易所LMAX开源的Disruptor框架,用Hazelcast进行分布式内存存取,以及原子性操作。使用数据流的方式进行计算撮合序列,才用价格水平独立撮合逻辑,实现高效大数据撮合。 优势 match-engine是以水平价格为独立撮合逻辑,相比于别的订单队列为撮合队列的交易引擎来说,价格区间越小订单数越大时,