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)

Server.properties Configuration

motd=PowerNukkitX Server

Motd text displayed on client

sub-motd=https://powernukkitx.cn

The name displayed at the top of the right menu when ESC is pressed

server-port=19132

Server port

server-ip=0.0.0.0

IP address used by the server (default 0.0.0.0)

view-distance=10

Maximum viewing distance limited by the server (4 to 6 recommended)

white-list=off

Enable server whitelist (off/on)

achievements=on

Whether to open the achievement system (off/on)

announce-player-achievements=on

Whether to send a prompt message when player gets achievements (off/on)

spawn-protection=16

Protection scope of birthplace

max-players=20

Maximum number of player

allow-flight=off

Whether flight is allowed (Nukkit's own anti-flight and anti-cheat) (off/on)

spawn-animals=on

Whether to generate animals (currently invalid) (off/on)

spawn-mobs=on

Whether to generate monster (currently invalid) (off/on)

gamemode=0

Default game mode

force-gamemode=off

Whether the player is set to the default game mode when joining the server (off/on)

hardcore=off

Enable limit mode (death means ban) (off/on)

pvp=on

Enable PVP (off/on)

difficulty=1

World difficulty:

generator-settings=

World generator settings

level-name=world

Name of main world map

level-seed=

Main World Map Seed

level-type=DEFAULT

allow-nether=on

Whether to open the lower world (off/on)

allow-the_end=on

Whether to open the end world (off/on)

use-terra=on

Whether Terra Epic World is enabled (off/on)

enable-custom-item=off

Enable custom item (off/on)

enable-query=on

Whether to enable protocol server listener to display server information (off/on)

enable-rcon=off

Whether the server remote control protocol is enabled (off/on)

rcon.password=iMDhjOTcxN

Remote Control Protocol Password

auto-save=on

Auto Save World (off/on)

force-resources=off

Force the use of the server's resource package (off/on)

xbox-auth=on

Enable Xbox online verification (this function can prevent unlisted player from entering the server) (off/on)

check-login-time=on

Enable player login package time check (off/on)

allow-shaded=off

Whether to allow the use of shaded packages to start the server (off/on)

server-authoritative-movement=server-auth

Server movement authentication mode (client-auth/server-auth/server-auth-with-rewind)

network-encryption=on

Whether network encryption is enabled (off/on)


© PowerNukkitX Dev team