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!
Get a error : Logging plugin not found.
Please help.
Can you make it so if we type /xbp or /xray it will do the same thing? Basically add /xray as a command alias
Amazing.
@Pyho
Yeah that's fine but might have some kind of option to remove them or something or list multiple pages. Else you will end up with always having the same players in that list until you ban them or something.
@Dinastya
I'm planning on adding a feature that will list the top, say, 10 players (configurable) that have broken a particular block and their percentages. Would that work?
@Pyho
Got it now and seems to work 100% thanks :)
Got a suggestion though to search for like xx block and then higher then xx percentage. Like /xbp all 56 3% and then it show a list of all players who mined more then 3% diamondore in last 48 hours.
@Dinastya
D: I guuuuuess.
Yep. Submitted it this morning. Hopefully it will be approved soon.
@Pyho
Lol don't worry it's fine.
From bugs you learn from :)
Update is waiting approval i guess?
@Dinastya
D: I am officially a fail dev. That fix earlier didn't work if you have two adjacent worlds disabled. I've submitted a REAL fix.
I apologize profusely. I am the worst. D:
@Pyho
Still getting a error.
But when breaking blocks there is no error anymore.
Only by using /xbp <player>
http://pastebin.com/xNJJEEqV
Cant wait for CoreProtect Support! Where is the "I like" Button for this plugin?
@Pyho
Thanks :)
@Dinastya
Just submitted v1.7.1 :) Should fix this problem. (You can remove the world(s) that were causing issues from the XBP config now, if you'd like.)
@Pyho
K will try that i have lb only enabled on 1 world so that's probably the issue then.
@Dinastya
Ah, I see what the problem is. Do you have LogBlock disabled on certain worlds? If so, they need to be added to the XBP disabled worlds list. I'll post an update with a fix for this soon.
@Pyho
Last version that got released today
@Dinastya
This appears to be an error on LogBlock's end. What version of LogBlock are you running?
Getting a lot of errors:
http://pastebin.com/nUSxi6bM
Using version 1.7 and cb 1.3.1 R1
And using LogBlock
@mobilephone2003
Not a bad idea. I'll add it to the list of coming features. :)
Hey, loving this
Is there anyway we can have a "Leaderboard" that will scan the database for the top percentages in the defined time?
e.g:
XPB Highest DIAMOND_ORE percentages:
It would be good to see a list of people to watch out for, or deal with when they're offline, thanks!