How To Prevent X-Ray On Your Minecraft Server
Learn how to enable anti-xray protection on Paper servers by editing paper-world-defaults.yml to block X-ray users from seeing ores.
How to Prevent Third-Party Modifications (Like X-ray) on Your Minecraft Server
Preventing third-party modifications on your Minecraft server, like X-ray, is simple. This shows the possible options on how to take precautions for players using X-ray.
Important Information
⚠️ Warning:
This may not provide complete coverage for X-ray exploits.
You can find plugins that will help with this better.
Steps
- Log in to your DazcoHost game panel.
- Select the server you want to work on.
- Head to Console and make sure your server is offline.
- Head to the Files tab and locate the
configfolder. - Click on the
paper-world-defaults.ymlfile. - Find the line that mentions
anti-xray. - On the
enabledline, setfalsetotrue. - On the
engine-modeline, change the value to one of the following:"1"to change visible blocks to stone, or"2"to randomly add new fake ores. - Click Save Content.
- Go to the Console tab and restart your server.
Need more help?
Search the help center or reach our team directly, we reply in about 10 minutes.