1
0
mirror of https://github.com/CloudburstMC/Nukkit.git synced 2024-09-22 01:31:33 +00:00
Cloudburst Nukkit - Nuclear-Powered Minecraft: Bedrock Edition Server Software
Go to file
2024-09-18 19:16:52 +03:00
.github 1.21.30 2024-09-18 19:16:52 +03:00
charts/nukkit Support for arm64, k8s, helm (#1552) 2021-01-15 20:54:17 +00:00
gradle Encryption & batching threshold (#2127) 2023-07-08 17:02:18 +03:00
src 1.21.30 2024-09-18 19:16:52 +03:00
.dockerignore Switch over to Gradle 2023-02-25 18:25:55 +00:00
.gitattributes Fix the gosh darn line endings! (#239) 2018-05-15 18:14:47 +02:00
.gitignore Switch over to Gradle 2023-02-25 18:25:55 +00:00
.gitmodules Use the correct language submodule 2018-07-25 10:09:33 +01:00
build.gradle.kts Add EntityPotionEffectEvent (#2189) 2024-07-09 15:45:01 +03:00
docker-compose.yml properly set up a docker volume and use it in docker-compose (#2076) 2022-11-22 15:04:20 +01:00
Dockerfile Update Dockerfile 2023-03-26 18:39:07 +01:00
Dockerfile.arm64 Switch over to Gradle 2023-02-25 18:25:55 +00:00
gradlew Switch over to Gradle 2023-02-25 18:25:55 +00:00
gradlew.bat Switch over to Gradle 2023-02-25 18:25:55 +00:00
Jenkinsfile Add back Javadocs 2023-02-26 16:02:54 +00:00
LICENSE Oops 2015-11-21 16:29:21 +08:00
Makefile Support for arm64, k8s, helm (#1552) 2021-01-15 20:54:17 +00:00
nukkit.yml.default Support for arm64, k8s, helm (#1552) 2021-01-15 20:54:17 +00:00
README.md Unregister /debugpaste as hastebin no longer allows unauthenticated uploads + update issue template (#2164) 2024-01-14 16:56:37 +02:00
settings.gradle.kts Switch over to Gradle 2023-02-25 18:25:55 +00:00

nukkit

License: GPL v3 Build Status Discord

Introduction

Nukkit is nuclear-powered server software for Minecraft: Pocket 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.

Contributing

Please read the CONTRIBUTING guide before submitting any issue. Issues with insufficient information or in the wrong format will be closed and will not be reviewed.

Build JAR file

  • git clone https://github.com/CloudburstMC/Nukkit
  • cd Nukkit
  • git submodule update --init
  • ./gradlew shadowJar

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

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,

docker build -t nukkit .

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

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,

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:

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

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

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

Upgrade the chart:

helm upgrade nukkit charts/nukkit

Testing after deployment:

helm test nukkit

Completely remove the chart:

helm uninstall nukkit