How to prevent X-Ray on a Minecraft Server


Summary 
X-ray in Minecraft refers to third-party modifications or texture packs that allow players to see through solid objects, revealing valuable resources such as ores or caves. This practice is considered cheating and is against the terms of service of most Minecraft servers, as it undermines the game's intended exploration and resource-gathering mechanics. Server administrators often implement anti-x-ray plugins or measures to detect and prevent players from using such cheats, ensuring fair and balanced gameplay for all participants.

Note This is not a full-proof method, as there are alternative plugins.


How to Stop X-Ray on a Minecraft Server (PaperMC)
1. Log in to the BisectHosting Games panel.

2Stop the server.


3. Go to the Files tab.


4. Open the config folder.


5. Select the paper-world-defaults.yml file.


6. Navigate to the anti-xray line.


7. On the 
enabled: line, change the value to true.


8. On the engine-mode: line, edit the value to either
1 or 2.

Engine Mode Description
engine-mode: 1 Changes visible blocks to stone.
engine-mode: 2 Randomly adds new fake ores.



9
. Press the Save Content button.


10. Start the server.


How to Prevent X-Ray Using Plugins
1. Download the desired Anti X-Ray plugin like OreAnnouncer.


2. Log in to the BisectHosting Games panel.

3. Stop
the server.


4
. Go to the Files tab.


5. Open the plugins folder.


6. Upload the downloaded Anti X-Ray plugin from Step 1.


7. Start the server.

Note The server will send a customized alert when a player mines a block based on how many blocks have been found in a desired time.





Was this answer helpful?

4
« Back