Background image of the page

Help Article

Video tutorial

How to Enable Anti-Xray?

This article shows you step-by-step on how to enable AntiXray on your Paper server.

Last updated on  Jul 20, 2026

For this tutorial we will be using the built-in anti-xray system on Paper servers. If you're running Spigot, Fabric, Forge, or any other version, you may need to download a third-party anti-xray mod/plugin.


How to Enable AntiXray?

  1. Head over to the Game Panel and stop your server.
  2. Navigate to the Files → /config → paper-world-defaults.yml file.
  3. From this while you're able to enable/disable anti-xray and select the engine-mode (how powerfully would you like the anti-xray to work).

Here's an image showcasing each engine-mode affects the anti-xray (overworld and nether).