Skip to content

Commands

All commands are under /raytraceantixray. Tab-completion suggests subcommands you have permission for.

/raytraceantixray reload
Permission:raytraceantixray.command.raytraceantixray.reload
Reloads config.yml and reapplies ray-trace scheduling, world controllers, and online player tasks.
  • Does not replace a restart after JAR, PacketEvents, or Paper Anti-Xray changes.
  • Chunk block lists rebuild only when chunks are resent — have players reconnect if obfuscation looks wrong.
/raytraceantixray timings on
Permission:raytraceantixray.command.raytraceantixray.timings.on
Enables per-tick ray batch duration logging to the console. Requires raytraceantixray.command.raytraceantixray.timings as well.
/raytraceantixray timings off
Permission:raytraceantixray.command.raytraceantixray.timings.off
Disables timings output. Also requires the .timings parent node.

Base permission

Bukkit checks raytraceantixray.command.raytraceantixray (declared on the command in plugin.yml) before any subcommand runs.

What reload does

reloadPluginConfiguration() runs on the main thread and:

  1. Reloads config.yml from disk.
  2. Shuts down and recreates the ray-trace thread pool and async tick.
  3. Reapplies ChunkPacketBlockControllerAntiXray on all loaded worlds.
  4. Clears and re-registers all online players.

See Troubleshooting for cases where a full restart is still required.