- Get Started
- Resource Encryption
- Compression Acceleration
- PNX with WaterDogPE
- Flat World
Anti-xray is a built-in anti-cheat function in PowerNukkitX, which can prevent player from penetrating ore block to the ground through X-ray, commonly known as fake ores.
The anti-xray of PowerNukkitX in uses multicore parallel obfuscation algorithm, which can effectively prevent player from cheating in perspective without causing excessive performance overhead to your server.
How to enable anti-xray
nukkit.yml server configuration file, find the configuration item of
anti-xray and set the sub item
true. If it does not exist, manually add the sub item.
anti-xray configuration item also does not exist. Please add the following content to a new line at the end of the configuration file：
Please remember to modify
world-name to the real name of your world. The default world name is
If you have multiple worlds, you can configure anti mining options for them separately：
world: # Default overworld
nether: # Default nether
the_end: # Default end
|Whether anti-xray is enabled
|The higher the anti-xray level, the more fake ores
|Whether to deobfuscate fake mines around player in advance
Reverse permeability grade
There are three grades of anti-xray：
The higher the level, the more fake ores, and the more difficult it is for player to distinguish real ores from a pile of fake ores.
Pre-deobfuscate fake ores
The fake ores of PNX are all virtual ores. Each time they enter the server, the location of fake ores is different, and each player sees a different location of fake ores.
Fake ore will not generate a surface that can be directly seen by players, so players cannot see fake ores under normal circumstances.
However, when the server network connection is poor, if the player destroys the block quickly, he will see the fake ore flash on the screen, which will affect the game experience. Therefore, we can pre deobfuscate the fake ores around player by enabling the function of pre-eliminating fake ores, so that player will not see the fake ores flash on the screen.
Please note that this function will cause greater pressure on the network, so it is strongly recommended using this function with hardware accelerated compression and higher compression ratio.
© PowerNukkitX Dev team