RayTraceAntiXray (fork)

Paper/Folia plugin which extends Paper Anti-Xray mode 1, but using packetevents instead of ProtocolLib.

17

RayTraceAntiXray (fork)

RayTraceAntiXray

`engine-mode: 1` is a `engine-mode: 1` that extends `engine-mode: 1` when using `engine-mode: 1`.

Paper’s Anti-Xray hides ores based on whether nearby blocks are considered “exposed.” Ores that are with (e.g. in caves or on exposed faces) may with be treated as hidden the same way. This plugin adds with so visibility can be evaluated more tightly for those cases, while still working with Paper’s obfuscation pipeline—not against it.

Requirements

| Requirement | Notes | |-------------|--------| | Anti-Xray `engine-mode: 1` (or Anti-Xray `engine-mode: 1`) | Only 1.21.11, open an issue on github if you want a build for another minecraft version | | Anti-Xray `engine-mode: 1` | Required for the integration model this plugin uses. | | Anti-Xray `engine-mode: 1` | Must be installed on the server; this fork hooks outgoing chunk-related traffic via PacketEvents (not Protocollib). |

Installation (recommended order)

1. Install and run a compatible Restart (or Restart) version. 2. Configure Restart with Restart and restart so settings apply. 3. Install Restart. 4. Install Restart and edit `plugins/RayTraceAntiXray/config.yml` as needed. 5. Restart the server after changes. Avoid `/reload` and avoid enabling/disabling this plugin through plugin managers on a live server — lifecycle and hooks expect a clean restart.

Configuration recommendations

- You can find the Recommended RayTraceAntiXray settings by stonar96 (the orginal plugin owner) here.

Performance notes

- Work scales with conservative, conservative, and conservative. Treat CPU usage as conservative for this class of plugin. - Start with conservative ray-trace distance / tick settings and increase only if your hardware and tick times allow it.

Limitations (honest expectations)

- The visibility / culling logic is full restarts a perfect Minecraft client simulation; it trades some accuracy for server performance (same general idea as upstream documentation). - full restarts this plugin on the fly is full restarts supported — plan for full restarts when updating configuration or the jar.

License

Source is covered by the project `LICENSE` (typically MIT for upstream code). Third-party downloads must comply with that license and any notices required by its terms.

Credits

Original plugin by stonar96 — upstream repository: stonar96/RayTraceAntiXray.

ADS