Skip to content

PowerNukkitX

PowerNukkitX support for Pterodactyl

egg-powernukkitx.json

updated

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
40 lines

Image

  • Debian ghcr.io/ptero-eggs/yolks:debian

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

2 variables

Startup command

./pnx start {{AUTOREBOOT}}
  • Choose between latest or dev

    VERSIONUsers can edit

    required|string

  • to set auto reboot mode please enter -r

    AUTOREBOOTUsers can edit

    nullable|string|max:2

Wings

Stop command
stop
Running when the console shows
)! For help, type

Files Wings edits

Wings sets these values in these files before each start.

server.properties properties

server-ip
0.0.0.0
server-port
{{server.build.default.port}}
query.port
{{server.build.default.port}}

Readme

PowerNukkitX

PowerNukkitX PowerNukkitX is a software for minecraft bedrock edition in Java which is a fork of PowerNukkit

Changes

  1. Minecraft: Don't force enable-query (#137)

    · Daniel Barton · 892d7e1

  2. Minecraft Eggs

    · yesBad · d749608

  3. Add Minecraft eggs

    · Daniel Barton · 7322302

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 40 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash
apt-get update
apt-get install -y git curl wget jq file tar unzip zip openssl
mkdir -p /mnt/server/ # Not required. Only here for ptero-eggs's local test setup
cd /mnt/server || exit 1
UPGRADE="no"
if [ -d "./java" ]; then
UPGRADE="yes"
fi
wget https://github.com/PowerNukkitX/PNX-CLI/releases/download/0.1.6/PNX-CLI-Linux-x86.zip -O pnx.zip
wget https://raw.githubusercontent.com/PowerNukkitX/PowerNukkitX/master/src/main/resources/default-nukkit.yml -O nukkit.yml
unzip pnx.zip
rm -fr pnx.zip 2>&1 >/dev/null
mv ./target/linux-x86/pnx ./ 2>&1 >/dev/null
rm -fr target 2>&1 >/dev/null
rm -fr java 2>&1 >/dev/null
chmod +x pnx
./pnx jvm install=GraalVM
if [ "$UPGRADE" == "no" ]; then
if [ "$VERSION" == "latest" ]; then
./pnx server install --latest
else
./pnx server install --dev
fi
else
rm -fr libs 2>&1 >/dev/null
if [ "$VERSION" == "latest" ]; then
./pnx server update --latest
else
./pnx server update --dev
fi
fi
rm -fr tmp-GraalVM.tar.gz 2>&1 >/dev/null
cat <<EOF
----------------------------------------
| |
| PowerNukkitX Installation Done |
| |
----------------------------------------
EOF