# PowerNukkit
**Repository Path**: qdez/PowerNukkit
## Basic Information
- **Project Name**: PowerNukkit
- **Description**: PowerNukkit镜像
- **Primary Language**: Unknown
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-02-07
- **Last Updated**: 2021-02-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

[](LICENSE)
[](https://github.com/PowerNukkit/PowerNukkit/actions?query=branch%3Amaster)
[](https://powernukkit.org/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.
**PowerNukkit** is a modified version of Nukkit that adds support to a huge amount of features like water-logging, all new blocks, more plugin events, offhand slot, bug fixes and many more.
Please note that PowerNukkit is not handled by Cloudburst's staff and is provided with love but without warranty. If you find any issue while running PowerNukkit you should [create a new issue](https://github.com/PowerNukkit/PowerNukkit/issues) in this repository first.
It's also advisable to have a backup schedule set up, use plugins that are made for PowerNukkit and use only stable PowerNukkit versions.
Most Cloudburst Nukkit plugins are supported but they may not understand the new blocks and items and the new stuff that you can do with PowerNukkit.
Links
--------------------
* __[PowerNukkit Website](https://powernukkit.org/)__
* __[PowerNukkit Forum and Guides](https://discuss.powernukkit.org/)__
* __[Download PowerNukkit Releases](https://powernukkit.org/releases)__
* __[Download PowerNukkit Snapshots](https://powernukkit.org/snapshots)__
* __[PowerNukkit Discord](https://powernukkit.org/discord)__
* __[Cloudburst Nukkit Plugins](https://cloudburstmc.org/resources/categories/nukkit-plugins.1/)__
Creating Plugins
----------------
Add PowerNukkit as dependency, it's hosted by maven central and jcenter, so you don't need to specify a custom repository.
[Click here to see the full gradle example](https://github.com/PowerNukkit/ExamplePlugin-Gradle)
```groovy
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.powernukkit', name: 'powernukkit', version: '1.3.2.0-PN-ALPHA.3'
}
```
[Click here to see the full maven example](https://github.com/PowerNukkit/ExamplePlugin-Maven)
```xml
org.powernukkit
powernukkit
1.3.2.0-PN-ALPHA.3
```
Build JAR file
-------------
- `git clone https://github.com/PowerNukkit/PowerNukkit`
- `cd PowerNukkit`
- `git submodule update --init`
- `./mvnw clean package`
The compiled JAR can be found in the `target/` directory.
Use the JAR that ends with `-shaded` to run your server.
Running
-------------
Simply run `java -jar powernukkit--shaded.jar` **in an empty folder**.
Docker
-------------
Running PowerNukkit in [Docker](https://www.docker.com/):
Run these commands in terminal or cmd: (copy & paste everything at once may work)
```sh
mkdir my-server
cd my-server
curl -sSL https://raw.githubusercontent.com/PowerNukkit/PowerNukkit/master/docker-compose.yml > docker-compose.yml
```
If you want to keep your server always updated when it restarts, run with:
(edit the docker-compose.yml file to choose the base version you want)
```sh
docker-compose run --rm --name powernukkit server
```
But if you want to keep using the same version and update, use this command to create a fixed container
```sh
docker-compose run --name powernukkit server
```
To return to the terminal and keep the server running:
Keep holding CTRL, press P, release P, press Q, release Q, and release CTRL
Managing your server after the docker installation:
(these commands only works if you created a fixed container)
```sh
# Starts your server, use CTRL+P+Q to detach without stopping
docker start powernukkit -i
# Attach a detached server
docker attach powernukkit
# Stops your server with system signal
docker stop powernukkit
# Uninstall the container (keeps the data), useful to update your server
docker rm powernukkit
```
Check the [docker-compose.yml](docker-compose.yml) file for more details.
### Supported tags
* _bleeding_ (⚠️ **use with care, may contains unstable code!** ⚠️)
* 1.3.1.5, 1.3.1, 1.3, 1, latest
* 1.3.1.4
* 1.3.1.3
* 1.3.1.2
* 1.3.1.1
* 1.3.0.1, 1.3.0
* 1.2.1.0, 1.2.1, 1.2
* 1.2.0.2, 1.2.0
* 1.1.1.1, 1.1.1, 1.1
* 1.1.1.0
Contributing
------------
Please read the [CONTRIBUTING](.github/CONTRIBUTING.md) guide before submitting any issue. Issues with insufficient information or in the wrong format will be closed and will not be reviewed.
---------

YourKit supports open source projects with innovative and intelligent tools
for monitoring and profiling Java and .NET applications.
YourKit is the creator of [YourKit Java Profiler](https://www.yourkit.com/java/profiler/),
[YourKit .NET Profiler](https://www.yourkit.com/.net/profiler/),
and [YourKit YouMonitor](https://www.yourkit.com/youmonitor/).