How to prevent X-Ray on a Minecraft Server


Summary
Minecraft is a procedurally generated survival game in which players progress by finding new ore while mining. Players can forge armor or weapons from the strongest materials, such as netherite or diamonds. Some players may try to expedite getting ore quickly on Minecraft servers by using XRay cheats to see through walls. A few methods are available to combat this, with the quickest and easiest method being PaperMC's anti-xray feature.

How to Stop XRayers on a Minecraft Server with Paper
1. Log in to your BisectHosting Premium or Budget panel.

2. Open the JAR Menu and verify the game version is PaperMC.


3. Start the server with PaperMC installed, then Stop the server.


4. Go to the File Manager tab.


5. Open the config folder.


6. Edit the paper-world-defaults.yml file.


7. Underneath anti-xray, change enabled:false to enabled:true .


8. Change engine-mode to either 1 or 2.
engine-mode: 1 Changes visible blocks to stone.
engine-mode: 2 Randomly adds new fake ores.


9
. Press Save and close.


10. Start the server. The server will now have Anti-Xray.


How to Prevent XRay Using Plugins
1. Browse for a preferred Anti X-Ray plugin such as OreAnnouncer.


2. Log in to the BisectHosting Premium or Budget panel.

3. Stop
the server.


4
. Ensure the server runs a plugin-compatible version of Minecraft, such as Spigot or Paper.


5. Go to the File Manager.


6. Open the plugins folder.


7. Press the Upload button.


8. Upload the .jar file of the Anti-XRay plugin.


9. Start the server.


10. The server will send a customizable alert whenever a player digs a block based on how many blocks have been found in X time.




Was this answer helpful?

2
« Back