BEFORE MOVING FORWARD IT IS BEST RECOMMENDED TO DOWNLOAD MINE ALERT 1.12+ AS OTHER VERSIONS ARE BUGGED Mine Alert is a top notch plugin that'll notify you if someone is actually using X-Ray.
Mine Alert notifies staff members with notifications on how much a player mined of a certain ore / spawner. Violation amounts are totally configurable. Say for example if a player mined diamond ore 3 times or what ever the configuration has it set to it'll notify the staff member with notifications on of what they mined, and how much they mined it. All X-Ray data does save cached data then resets after a certain interval has passed (also configurable). Mine Alert flags players that mine all ores that have been introduced in Minecraft between 1.8-1.19.
This plugins offers a lot of options when it comes to trying to catch X-Rayers. Features including:
Toggle on and off alerts
Full MySQL Support (Required)
Inspect menu of how much a player mined.
Interval command to see how long until all X-Ray Data saves then resets (configurable)
Easy resource for your staff to catch X-Rayers easier.
And more to come.
/minealert notifications(turn on and off alerts)
/minealert interval (see how much time is left before date caches and resets)
/minealert inspect <player> (menu display of player's mine data)
/minealert reload (reloads all files)
minealert.help (to access the help page when /minealert is typed)
minealert.staff(to access notifications, inspect, and interval command)
minealert.admin(to access admin commands like reload, and bypass the xray listeners)