Minecraft

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.

Last updated:

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

  1. Log in to your DazcoHost game panel.
  2. Select the server you want to work on.
  3. Head to Console and make sure your server is offline.
  4. Head to the Files tab and locate the config folder.
  5. Click on the paper-world-defaults.yml file.
  6. Find the line that mentions anti-xray.
  7. On the enabled line, set false to true.
  8. On the engine-mode line, change the value to one of the following: "1" to change visible blocks to stone, or "2" to randomly add new fake ores.
  9. Click Save Content.
  10. 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.

Back to Help Center