XRayLookup
XRayLookup
What does this Plugin?
It look up on your Logging Plugin Data and generate mining rates of them.
Features:
- Automatic Notification on high ore Mining Rates (on player join / leave)
- Ore rate lookup per Player
- TOP Diamondrates from all online Players
- Multiworld Support
- Supports CoreProtect / LogBlock or Prism
Commands:
- /xl [player] - Shows the mining rate of player
- /xla - Shows the Diamond Rate of all Online Players
Configuration
- rate_xxx - Define the ore rate of xxx for the automatic notification
- worlds - List all of your worlds, where the plugin should be enabled
- lookuptime - Time for the lookup (in sec)
- lookupcount - The minimal count of stone for the automatic notification
Permissions
- xraylookup.look - Can use the /xl Command
- xraylookup.lookall - Can use the /xla Command
- xraylookup.recieve - Gets automatic notification of high ore mining rates
Source
The source code can be found here: https:github.com/Gemil/XRayLookup Feel free to contribute!
@Gemil01
I did nothing, just joined and typed /ch help, server freezed and cpu of the server went over 100% I have a 1Gig server
@therealspoljo
I need more information about your environment: how much ram have your server? what plugins?
the error on its own says that your server has not enough ram. maybe you set the lookup time to a huge amount your server could not handle?
Im getting this error with the latest version (XRayLookup V0.1.2 Beta):
http://pastebin.com/n6WCk93v
Sweet plugin this is going up on my server!
@boushwa
I uploaded V0.1.2 - this should fix your issue.
I installed the latest .jar file for your plugin and I can't get it to work. Are there any known conflicts with other plugins. I have many but here is the error I get in console:
http://pastebin.com/0hjS5kcb
@Syhlo
There shouldn't be any issue with prism like that, because prism does a lookup in an async task on its own. for all other logging plugins i uploaded a beta version. please let me know if there are any bugs out there.
Thanks for the update, it's working well with Prism. I am having a slight issue where players logging in or out causes a short lag spike, though.
Version V 0.1.0 is uploaded and waiting for approval.
Changelog:
Add prism support!
Just a request, could you possibly add this for Prism too? I think this is a great plugin but I've recently switched from LogBlock to Prism.
I have finally found Xray with CoreProtect support !
An easy way would be to search just for all player who are currently online. A generel search of all player who has been logged seems impossible for me - because no logging plugin api (either logblock or coreprotect) offers me a function to do things like this.
i will look into it - i find your idea very useful. maybe i can find a way.
Is there a way you can do an automatic /xltop to display the top suspected xrayers? Or would that cause incredible lag as every logblocked file is being indexed?
Just curious, any particular reason to cast your Sender object from onCommand to a Player before calling sendMessage? Doing it this way makes it impossible to call from the console.
@jyrgas
Did you have configurated your worlds in die config? The default value is "world" and "world_nether". When your maps has custom namens, then the plugin wont track this worlds until you tell it to do it.
I cant get this to work on coreprotect
Info:
Bukkit (dev) 1.5.1-R0.1 build #2717
Coreproteckt: 2.05 (sqlLite database)
XrayLookup 0.02
I got no stats att all when i typ /xl playername (it says 0.000% (0) )
And i got no warnings in chat
And no error or nothing in consol
I am using CoreProtect. Anyway, i did what you said and so far it seems working like i wanted it to. But you said it divides the ore with the stone count. But i'd like to suggest a (maybe toggleable) feature that also does something with the rest of the ores. So if you have mined 5 diamonds and 0 of all the other ores it increases the percent of diamond and maybe an average of all ores? Thanks for answering. Anyway, why is the quartz rate so high?
-BronzeCheese
@BronzeCheese
The rates are just simple generated by dividing the ore with the stone count. which plugin are you using - coreprotect or logblock?
the showup of the percentage can be configurated in the config file:
lookupcount - The minimal count of stone for the automatic notification
could you test this dev build, and tell me if it is better?