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!
Could you please add support for CoreProtect 2.0? Right now while you use it, you get
just donated. and I will again if you develop following requests:
@Jobsti2
request 1,3,4a,4b too!
and request 5 (bug): using bukkit 1.4.7 R0.1. when i search /xray player with 672 hours (4 weeks) in config, it shows me all time at each player no values like "Iron Ore: NaN% (0)".
Does this plugin still work with no problem?
Request:
A Logfile, wich logs every warning (Important, because our mods are not 24/7 online)
Date, Time, Playername, Ore, %
Request 2:
Colored Output in Console ;-)
Request 3:
The header should be show the Playername
Request 4:
A command with optional Searchtime, like /xbp <name> <TimeInDays>
/xbptop <ID>, which has pimsserver requestet, would also be very nice ;-)
@austindkelly
Are you using /xbp? What logging plugin do you have? I am using CoreProtect 1.73 with MySQL and the latest version of XBP and can't reproduce.
shows nothing for me. not working at all, no errors.
CoreProtect Error: Player data file not found!
This occurs for every player with uppercase in their name.
Not working for me,
CoreProtect configuration not found!
Does this work?
Its taking like 5 mins to show up after i do /xbp player!
Great plugin. Could you add a '/xbp top' command or something similar?
I would like to be able to easily get an overview of all the xrayers on my server.
Also, if this command would be added, would it be possible to hide players from the list so that some xrayers won't be banned by every staff member.
Please, can you update your plugin. It's just what I want, but I have :
Coreprotect Error: Player data file not found !
Please help me
CoreProtect is active and I have not a problem with log, no error and all my plugin work perfect like coreProtect with the command /co inspect.
I don't know if you're planning on this feature already but I have a suggestion. This was a command that was used in a plugin similar to this one, but sadly that one only used logblock. The command (/xbp [ore] [percent]) would display a list of people who have broken [ore] at a rate equal to or greater than [percent]. For example (/xbp diamond 5) would display all names of people who have mined diamond at a rate greater than five percent. Thanks for considering this.
@skippyaut
Sorry, I've been rather busy as of late with classes and such. I'll be getting a break next week and I should have time to update XBP to the latest RB of Bukkit/logger plugins as well as deal with individual issues and bugs.
Hi, is this Plugin inactive? I´m still getting the Coreprotect Player Data not found message.
Can we have a little update on this, where it will calculate the rate subtracting the number of the placed diamond ores from the mined diamonds?
I have many false positives, where people mined with silktouch, then they place the ore and mine it with normal pickaxe, then the plugin indicates twice the mining rate.
@aehooo
I'd say anywhere from 2 to 1.5 is a good starting place for diamond. You can make adjustments from there, but make sure you're paying attention to how many blocks a player has broken as well. For other ores/blocks, typically X-Ray hackers won't go for them. You could come up with a percentage based off of non-hacking players who are mining and adjust it up if false positives come up.
What should be the "I should be worried" percentages? 1.5% of diamonds, what about the rest?
@the55anon
That's being worked on.
Is there any way to automatically warn admins when loging in about everybody with high percentages?