en
Switch Language
  1. PowerNukkitX
  2. Get Started
  3. Config

    1. server.properties
    2. nukkit.yml
    3. pnx-cli-config.ini
    4. Anti-xray
    5. Resource Encryption
    6. Compression Acceleration
    7. PNX with WaterDogPE
    8. Flat World
  4. FAQ

    1. To Newcomers
    2. How to use PNX-CLI
    3. Common Questions
    4. Terra Questions
    5. Spawn-point Questions
    6. Convert Worlds
  5. For Devs

    1. Java

      1. Goto JavaDoc
      2. Mod API

        1. Custom Block
        2. Custom Item
        3. Custom Entity
        4. Custom Enchantment
      3. Entity AI

        1. Behavior
        2. Memory
        3. Sensor
        4. Motion Controller
        5. Navigator
        6. Behavior Group
        7. Work Cycle
    2. JavaScript

      1. setup dev env
      2. Base LLSELib dev
      3. Hello World
      4. Basic knowledge
      5. Event Listener
      6. FAQ
    3. Resources

      1. Event List
      2. IDs(block & item)

Get Started

Follow this tutorial for ten minutes (not including the download time) to start your first PowerNukkitX server.
This tutorial will take you through a quick installation and start-up of the server using the PNX-CLI.

Download CLI

Click here to go to Github Release and download PNX-CLI.
Please download the corresponding version according to the actual situation of your computer:

OS CPU Name Note
Windows x86(x64) PNX-CLI-Windows-x86
Linux x86(x64) PNX-CLI-Linux-x86
Linux arm(aarch64) PNX-CLI-Linux-arm
Other any PNX-CLI-Jar An pre-installed jre is required.

After downloading, please unzip and extract the executable file.

Install PNX-CLI

After the download is completed, please unzip and extract the executable file into a folder, and PNX-CLI installation is completed.

Notice that in the path Cannot have spaces! Otherwise, the CLI cannot normally configure the PNX environment.

Start PNX Server

Windows

  1. Double click to run pnx.exe
  2. Next, you will be asked which version of the core you want to use. Enter1And enter to use the latest version
  3. Next, you will be asked whether to complete the dependencies. Enter1And enter to selecttrueOption
  4. Next, you will be asked about your language and inputchsSelect Chinese (Simplified)
  5. Your PNX server has been successfully started. Next, you can further configure the server or enterstopStop Server
  6. Remember, enterstopThen you need to press Enter within 10 seconds after the service is stopped, otherwise it will restart automatically

Linux

  1. Open the terminal and input ./pnx and enter
  2. Next, you will be asked which version of the core you want to use. Enter 1 and enter to use the latest version
  3. Next, you will be asked whether to complete the dependencies. Enter 1 and enter to select true option
  4. Next, you will be asked about your language and input eng to select English as your language
  5. Your PNX server has been successfully started. Next, you can further configure the server or enter stop to stop PNX server
  6. Remember, if you enter stop then you need to press Enter within 10 seconds after the service is stopped, otherwise it will restart automatically

Advanced Usage of Command Line Tools

Configure your PNX server


© PowerNukkitX Dev team