PowerNukkitX / PowerNukkitX-Legacy

GNU General Public License v3.0
6 stars 4 forks source link

PowerNukkitX

🌐Need to switch languages? / 多语言文档

Discord English 简体中文 繁體中文 License: GPL v3 ChangeLog FAQ PNX-DOC Maven Central

🤔What is PowerNukkitX ?

PowerNukkitX is a branch version based on PowerNukkit, developed and maintained by PowerNukkitX, any problems can be submitted to Issue feedback.

Join US:

What's new in PowerNukkitX? Let's See:


🎮 How to use

1.Run from PNX-CLI:

  1. Download the PNX-CLI-Jar.zip latest version from release
  2. Run java -jar PNX-CLI-0.1.6.jar

you can click here to get more information.

2.Run from command:

PowerNukkitX requires a minimum Java version of 17, please install it yourself and configure the environment variables.

  1. Download libs.tar.gz and powernukkitx.jar from release
  2. Extract the libs folder in libs.tar.gz to the same path as powernukkitx.jar
  3. Run the following command

Windows Version

java -Dfile.encoding=UTF-8 ^
-Djansi.passthrough=true ^
-Dterminal.ansi=true ^
-XX:+UnlockExperimentalVMOptions ^
-XX:+UseG1GC ^
-XX:+UseStringDeduplication ^
-XX:+EnableJVMCI ^
--module-path=.\libs\graal-sdk-23.0.0.jar;.\libs\truffle-api-23.0.0.jar; ^
--add-opens java.base/java.lang=ALL-UNNAMED ^
--add-opens java.base/java.io=ALL-UNNAMED ^
-cp .\powernukkitx.jar;.\libs\* ^
cn.nukkit.Nukkit

Linux Version

java -Dfile.encoding=UTF-8 \
-Djansi.passthrough=true \
-Dterminal.ansi=true \
-XX:+UnlockExperimentalVMOptions \
-XX:+UseG1GC \
-XX:+UseStringDeduplication \
-XX:+EnableJVMCI \
--module-path=./libs/truffle-api-23.0.0.jar:./libs/graal-sdk-23.0.0.jar: \
--add-opens java.base/java.lang=ALL-UNNAMED \
--add-opens java.base/java.io=ALL-UNNAMED \
-cp ./powernukkitx.jar:./libs/* \
cn.nukkit.Nukkit

3.Run from docker image:

https://hub.docker.com/r/coolloong/powernukkitx


📌 Statement

PowerNukkitX is a modified and optimized version based on PowerNukkit and Nukkit, fixing its bugs, adding more feature support, such as LiteLoader (WIP) plugin compatibility.

🧾 About Nukkit

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


🛠 Creating Plugins

Click here to see full Gradle Example

repositories {
    mavenCentral()
}

dependencies {
    compile group: 'cn.powernukkitx', name: 'powernukkitx', version: '1.20.40-r1'
}

Click here to see full Maven Example

<dependencies>
    <dependency>
        <groupId>cn.powernukkitx</groupId>
        <artifactId>powernukkitx</artifactId>
        <version>1.20.40-r1</version>
    </dependency>
</dependencies>

🛠 Build JAR file

🧐 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.


🌐 Links

🎨 Statistics

Issues Issues-Closed Pull-pr Pull-pr-closed

⭐ Stargazers over time

Stargazers over time

2019 - 2023 © BlocklyNukkit | PowerNukkitX