X-Ray Block Percentage
X-Ray Block Percentage Version: 1.9.2 Alpha
X-Ray Block Percentage, or XBP is a plugin that adds a command to automatically search logger plugin databases (currently supports Hawkeye, LogBlock, and CoreProtect, more plugins coming) for blocks that typical X-Ray hackers will attempt to mine and displays a percentage value of total blocks broken for each type of block.
Current Features
- Displays percentages on any type of block defined in config file (defaults are Iron Ore, Gold Ore, Lapis Ore, Mossy Cobblestone, Emerald Ore, and Diamond Ore).
- Displays total number of blocks broken and amounts of each ore broken.
- Searches across time defined in config file (default is the previous 48 hours) starting from when the command is executed.
- Searches across all worlds by default, can be configured to exclude worlds.
- Displays a warning when a player breaks any type of block defined in config file (default is Diamond Ore) with parameters defined in config file (default is 1.5% and 8 blocks).
- Modification and reloading of config file is available via command.
- Searching is multithreaded to prevent server lag.
Commands
- /xbp [playername] - Performs an XBP search.
- /xbp reload - Reloads settings from config file.
- /xbp config - See here for full usage.
Permissions Nodes
- xbp.*: All permissions
- xbp.xbp: Allows running /xbp [playername] command and viewing of update alerts.
- xbp.warning: Allows viewing of XBP diamond alerts.
- xbp.bypass: Allows for player bypassing of warning checking.
- xbp.config: Allows for player to modify configs via command.
Upcoming Features
- Support for other logging plugins:
- HawkEye/HawkEye Reloaded - Released Version update in progress
- LogBlock - Released Version update in progress
- CoreProtect - Released Version update in progress
- SWatchdog - In Progress
- LogEx - Planned
- Prism - Planned
- HawkEye/HawkEye Reloaded - Released Version update in progress
- Searching for players with top break percentages
Supports
- Plugin managers such as GroupManager or PermissionsBukkit
- Multiple worlds
- Hawkeye v1.0.7b HawkEye Reloaded update in progress
- LogBlock v1.58 Version update in progress
- CoreProtect v1.54 Version update in progress
Special thanks goes to the TCNations server for providing a server with HawkEye to test on and to Vettexl for putting up with my shenanigans. Thanks a ton!
Waiting for coreprotect support, thank you for this plugin.
@FuZeEclipse
D: What logger plugin do you use? I'm in the process of adding more. (LogBlock has been added and is working. CoreProtect is being worked on.)
Looks like a plugin i could use.... Just it requires hawkeye :'(
@Jobsti2
Hmm... I haven't added that because this is still meant for 1.2.5. I haven't been able to test Hawkeye on a 1.3 server. Does it work well?
Great Update BIG thanks.
Tipp: From default, in config should be - 129 (emerald-ore) with color Lime
@C0nd3mn3d
Thanks! Just uploaded a new version with support for this. :)
So far I haven't had any issues. Great work!
The only thing i'd suggest is allowing an option in the config for a longer search time. 48H is a bit too short in my opinion, at least for my server.
@Jobsti2
It's global stats. That's not a bad idea. I'll look into adding it.
Some pre-release screenshots to add to the history of the plugin and how far it has come:
Image 1 - Image 2 - Image 3
Yeaahhh, super great. very BIG thanks!
• Allow modifying search time via config <- Would be great, 48h is a bit less for small Servers.
• Does it show global stats or for the world where executed the command?
• Cfg-Option to explude worlds would be good for some Servers, I think. (so don't have to do this with permissions)
Glad to see it's finally posted for the world to use, good job :)
@mobilephone2003 Not at the moment, unfortunately . I'll work on adding this for the next update.
@Sk8Sanctified Coming soon. :)
Holy crap yes!! So epic! Support for logblock pretty please. This plugin is the anti-xray I've been looking for all along.
Is there a way to reset/cooldown the warnings?
Theres a lot of spam when suspected xrayers are mining
@C0nd3mn3d
:D I've already uploaded version 1.5.1 Alpha. The file just needs to be approved.
Perfect. Just what I was looking for - when do you expect this to be up?