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!
does this work with cb1.7.2-r0.3?
(if using log block) /lb clearlog player <player> block <ore> time <however long you want to clear>
A command to reset specific players would be nice. I have lot of Cave Miners on my server, and getting the warning from them gets a bit old.
Really what this plugin needs is an efficient way to check xray ratios for all players. I think the default way would be to look through the player data folder in the world folder, but that means checking data for a lot of players who are inactive. Perhaps you could use "File.lastModified()" as a means of only checking players who have been online within the past month.
suggestion could you add in options to disable ores like coal and iron? the plug goes off about these even with increased rates and honestly i dont need them tracked. I tried to work the source code but i cant change nothing lol but if you could do something like this that would be great
using the command(s) fires errors in console:
16:13:46 [SEVERE] Exception in thread "pool-1-thread-3354" 16:13:46 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin XRayLookup v0.1.3 generated an exception while executing task 2478939 at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at de.diddiz.LogBlock.QueryParams.getTable(QueryParams.java:153) at de.diddiz.LogBlock.QueryParams.getQuery(QueryParams.java:138) at de.diddiz.LogBlock.LogBlock.getBlockChanges(LogBlock.java:248) at de.cubecontinuum.XRayLookup.ExtensionHandlers.LogBlockExtension.lookup(LogBlockExtension.java:63) at de.cubecontinuum.XRayLookup.CommandHandlers.LookupAllCommand$1.run(LookupAllCommand.java:43) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
Just tried it (we have someone on our server we're trying to catch), but I get this error with every command:
11.08 23:46:20 [Server] INFO ... 15 more 11.08 23:46:20 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 11.08 23:46:20 [Server] INFO at de.cubecontinuum.XRayLookup.XRayLookup.onCommand(XRayLookup.java:80) 11.08 23:46:20 [Server] INFO at de.cubecontinuum.XRayLookup.ExtensionHandlers.PrismExtension.lookup(PrismExtension.java:45) 11.08 23:46:20 [Server] INFO Caused by: java.lang.NoClassDefFoundError: me/botsko/prism/actionlibs/QueryParameters 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:837) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:880) 11.08 23:46:20 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:962) 11.08 23:46:20 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) 11.08 23:46:20 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:191) 11.08 23:46:20 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 11.08 23:46:20 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'xla' in plugin XRayLookup v0.1.0 11.08 23:46:20 [Server] SEVERE null
@BadDog8891
Same issue
@IAnon
What version on XL are you using ?
I have a problem, I lost lots of data after my server crashed one day. From the looks of it it DIDN'T rollback it just left some data in and some out. Any Help?
@IAnon
I'm using the latest build and the 1.6.2 version as well..
@BadDog8891
Works fine with me, are you using 1.6.2 bukkit with 1.6.2 version?
Every time I use the command /xl bob123 it tells me "Please use /xl [player]" and when i use /xla it tells me "Please use /xla"
2013-07-28 05:46:41 [INFO] [XRayLookup] Enabling XRayLookup v0.1.3 2013-07-28 05:46:41 [SEVERE] Error occurred while enabling XRayLookup v0.1.3 (Is it up to date?) java.lang.NoSuchMethodError: net.coreprotect.CoreProtectAPI.APIVersion()I at de.cubecontinuum.XRayLookup.ExtensionHandlers.CoreProtectExtension.load(CoreProtectExtension.java:30) at de.cubecontinuum.XRayLookup.ExtensionHandlers.CoreProtectExtension.<init>(CoreProtectExtension.java:20) at de.cubecontinuum.XRayLookup.XRayLookup.loadDependencies(XRayLookup.java:83) at de.cubecontinuum.XRayLookup.XRayLookup.onEnable(XRayLookup.java:38) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:313) at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:290) at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:250) at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:151) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Men, i have one problem, "Error! No Logging Plugin was loaded" .-. and the version 1.5.2 no working :/, my server is 1.5.2 :/
wow nice. Could u expand this for custom ids (modpacks)
Awesome Plugin! Great Job!
Will this be updated to 1.6?
org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 01.06 23:51:50 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58) 01.06 23:51:50 [Server] INFO at de.cubecontinuum.XRayLookup.XRayListener$1.run(XRayListener.java:36) 01.06 23:51:50 [Server] INFO at de.cubecontinuum.XRayLookup.ExtensionHandlers.LogBlockExtension.lookup(LogBlockExtension.java:63) 01.06 23:51:50 [Server] INFO at de.diddiz.LogBlock.LogBlock.getBlockChanges(LogBlock.java:243) 01.06 23:51:50 [Server] INFO at de.diddiz.LogBlock.QueryParams.getQuery(QueryParams.java:138) 01.06 23:51:50 [Server] INFO at de.diddiz.LogBlock.QueryParams.getTable(QueryParams.java:153) 01.06 23:51:50 [Server] INFO Caused by: java.lang.NullPointerException 01.06 23:51:50 [Server] INFO at java.lang.Thread.run(Thread.java:722) 01.06 23:51:50 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 01.06 23:51:50 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 01.06 23:51:50 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 01.06 23:51:50 [Server] SEVERE org.apache.commons.lang.UnhandledException: Plugin XRayLookup v0.1.2 generated an exception while executing task 1766 01.06 23:51:50 [Server] SEVERE Exception in thread "Craft Scheduler Thread - 44"
Got LogBlock, is working fine..
can you make it so it doesnt log blocks youve broken in creative?
I've got this installed...and it's showing up on my plugin list but when I do /xl or /xla it doesn't give me anything...have I done something wrong?
How to put a plugin into my server? and i make a hamachi server with online mode false can anyone teach me so my friend could join my server?