项目作者: CloudburstMC

项目描述 :
Cloudburst Nukkit - Nuclear-Powered Minecraft: Bedrock Edition Server Software
高级语言: Java
项目地址: git://github.com/CloudburstMC/Nukkit.git
创建时间: 2017-12-04T19:55:58Z
项目社区:https://github.com/CloudburstMC/Nukkit

开源协议:GNU General Public License v3.0

下载


nukkit

Introduction

Nukkit is nuclear-powered server software for Minecraft Bedrock Edition.
It has a few key advantages over other server software:

  • Written in Java, Nukkit is faster and more stable.
  • Having a friendly structure, it’s easy to contribute to Nukkit’s development and rewrite plugins from other platforms into Nukkit plugins.

Nukkit is under improvement yet, we welcome contributions.

Compile Nukkit

  • git clone https://github.com/CloudburstMC/Nukkit
  • cd Nukkit
  • ./gradlew shadowJar

The compiled JAR can be found in the target/ directory.

Note: You don’t need to compile Nukkit yourself if you don’t intend to modify the code.

Running

Simply run java -jar nukkit-1.0-SNAPSHOT.jar.

Plugin API

Information on Nukkit’s API can be found at the wiki.

Docker

Running Nukkit in Docker (17.05+ or higher).

Build image from the source,

  1. docker build -t nukkit .

Run once to generate the nukkit-data volume, default settings, and choose language,

  1. docker run -it -p 19132:19132/udp -v nukkit-data:/data nukkit

Docker Compose

Use docker-compose to start server on port 19132 and with nukkit-data volume,

  1. docker-compose up -d

Kubernetes & Helm

Validate the chart:

helm lint charts/nukkit

Dry run and print out rendered YAML:

helm install --dry-run --debug nukkit charts/nukkit

Install the chart:

helm install nukkit charts/nukkit

Or, with some different values:

  1. helm install nukkit \
  2. --set image.tag="arm64" \
  3. --set service.type="LoadBalancer" \
  4. charts/nukkit

Or, the same but with a custom values from a file:

  1. helm install nukkit \
  2. -f helm-values.local.yaml \
  3. charts/nukkit

Upgrade the chart:

helm upgrade nukkit charts/nukkit

Testing after deployment:

helm test nukkit

Completely remove the chart:

helm uninstall nukkit