The server should send false information to the player for all the blocks that are not visible. Just as the solution the plugin provides. (The default should be false, since this feature will cost some server resources) Since he only receives useless data, he can’t use his x-ray hack.Īn option in the configs of the server that allows me to toggle a new option called “X-Ray prevention”.
The plugin changes every covered block (so the ones the player can’t see) into something random and sends that information to the player. I am sure that everyone knows how annoying x-ray hackers are.Ĭertainly, every server host wants their player to play “fair”.īukkit and Spigot have plugins against x-ray.