Inactive [ADMIN/MISC] XrayDetection v0.6 - Simple xray detection [1529]

Discussion in 'Inactive/Unsupported Plugins' started by orange451, Jul 18, 2011.

  1. Offline


    xraydetection plugin - allows for simple detection of xrayers:
    Version: v0.6
    This plugin allows for admins to find some xrayers in the server. No, it wont find them all, nor is it perfect. It is up to you to teleport yourself to them, when it tells you it thinks they're cheating. (it will only kick in once they've mined more than 150 stone blocks).
    admins can use the following commands:
    • /legit [playername] to pardon a player from the xray detection
    • /ratio [playername] returns their ratio
    • checks if players are mining way too many diamonds than they should be.
    Download the plugin here

    The node to use, is "xraydetection.admin"

    Version 0.6
    • changed the plugin to 1240 bukkit. Attempted to fix the too many open files bug.
    Version 0.5
    • Apparently, there was a slight memory leak error, shouldn't happen anymore.
    Version 0.4
    • Added permission support
    Version 0.1
    • Releasing my plugin
    Version 0.2

    • changed it from /pardon to /legit [playername] for it was conflicting with the unban method
    clitcomander likes this.
  2. Offline


    The tag should be ADMN/MISC
  3. Offline


    This shit crashed my server few times... It opens a lot of files and I gotta error 'Too many open files' -.-! You could do it better...
  4. Offline


    Then your server must really suck.
    This is on nearly 24/7 on a really popular 40-50 player server, no errors.

    version 0.4 has added permissions 2.7.4 support. check the main post for more details
  5. Offline


    2011-08-06 13:27:15 [SEVERE] Could not load 'plugins\Xray detection.jar' in folder 'plugins':
    java.lang.ClassNotFoundException: MainXrayDet
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.<init>(
    at net.minecraft.server.ServerConfigurationManager.<init>(
    at net.minecraft.server.MinecraftServer.init(
  6. Offline


    Sorry for that.
    Should be fixed now.
  7. Offline


    This looks good, will definitely try this out soon.
  8. Offline


    my favorite plugin...keep it up :)
  9. Offline

    Live or Die

    can it work with permissionsEX?
  10. Offline


    What ratio (/ratio) should alert me that someone is using Xray?
  11. Offline


    above 15, you know for sure.
    above 5, you should check to make sure.
    Currently, it warns you at 9%.
  12. Offline


    Edit: Nevermind
  13. Offline


    Please add Permissions 3 support :)
    Love the idea
  14. Offline


    It is funny that my name is abused :)

    Looks good and would like to test it.
  15. Offline

    The Wizard

    make /ratio only for admins.
    and add support for superperms pls.
  16. Offline


    Yes yes superperms please it is like the only plugin currently on my server that dose not support superperms i could just remove the plugin i guess but would prefer to keep it. super perms is easy to add compard to permissions 2 its like player.hasPermission"nodehere"

    the rest is handled by bukkit :D im so sick of every 1 talking down superperms its quite good once you get it setup and even that is really easy.
  17. Offline


    Hi! Great plugin.

    One thing that annoys me, however, is the constant stream of broadcasting "[CHEATER] I THINK THAT X IS USING..." every 60th seconds.
    I'm glad it is there, but I just logged on and the user isn't online, and I am still being spammed every minute. Is it possible to make a command, that says "okay! I got it! Stop broadcasting!".
    However the information/list should still be retractable by another command.

    Thank you,

  18. Offline


    you use /legit [playername]
  19. Offline


    want real xray detection, check for players that dig from surface Y:60+ ... straight down on the same x/y to y:12 the vertical pillar.. the hallmark of an xrayer
  20. Offline


    good thought but it wouldn't work in my opinion i would think that might lag.... ALOT
  21. I'm not sure there's supposed to be a space in the jar file name (easily fixed, but just a heads up).
  22. Offline


    There is no reason it should lag, on block break events are already watched by dozens of plugins already like big brother... there should be no reason why when a player does a vertical down pillar of say 10 blocks or more that an alert can't be sent out to the admins so they can /vanish, teleport and inspect. In fact this might be one of the most lightweight possibilities for anti-xray imagineabe, i'm going to post it as a plugin REQ.
  23. Offline


    Oh true... that isnt a bad idea... Idk though there could be a bunch of False positives. Maybe someone made a 10x10x10 house and had to destroy it lol.
  24. Offline


    True, that's why it would just notify online ops, save a log file with player name and coords - not auto kick or anything, because you would want to investigate. On my server after I installed "LogBlock" plugin (like big brother) I made a bunch of trap hidden chest areas, ended up banning about 5 xrayers, each one dug straight down from the surface to the chests. Since then, I still probably have xrayers but they stopped pillaring i think lol
  25. Offline


    this does not seem to be working correctly. I have the latest version of bukkit and of this and when i do /ratio player it reads out 0.0 for everyone even if their file has data. It also does not seem to be logging data for every player.
  26. Offline


    Yes, but doesn't that exclude him from being observed by the plugin later on? I think this guy was hacking, however he was offline, so I couldn't investigate.
    I would like it to pop up again, if he joins or if his ratio doesn't go down.
  27. Offline


    Hi i like this plugin using on my server now is there anyway u can make it so it can detect gold, iron, diamond as gold is the economic backbone on my server.

  28. Offline


    Source Code?
  29. Offline


    the message I think User is Cheating keeps popping up every few seconds any way to fix that?
  30. Offline


    it will only remove his ratio once.
    If he comes back, and xrays again, he'll be back on the list.
  31. Error:
    Show Spoiler

    [SEVERE] Exception in thread "Timer-6"
    2011-09-02 07:29:32 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-09-02 07:29:32 [SEVERE] at<init>(Unknown Source)
    2011-09-02 07:29:32 [SEVERE] at<init>(Unknown Source)
    2011-09-02 07:29:56 [SEVERE] at com.orange451.XrayDetection.Xray.getCheaters(
    2011-09-02 07:29:56 [SEVERE] at com.orange451.XrayDetection.MainXrayDet$
    2011-09-02 07:29:56 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)
    2011-09-02 07:29:56 [SEVERE] at Source)
    2011-09-02 07:32:51 [SEVERE] Exception in thread "Timer-1"
    2011-09-02 07:34:09 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-09-02 07:37:04 [SEVERE] at java.util.ArrayList.<init>(Unknown Source)
    2011-09-02 07:37:27 [SEVERE] at net.minecraft.server.RegionFile.<init>(SourceFile:122)
    2011-09-02 07:37:27 [SEVERE] at net.minecraft.server.RegionFileCache.a(SourceFile:63)
    2011-09-02 07:37:43 [SEVERE] at net.minecraft.server.RegionFileCache.c(SourceFile:88)
    2011-09-02 07:37:43 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(SourceFile:25)
    2011-09-02 07:38:05 [SEVERE] at net.minecraft.server.ChunkProviderServer.loadChunk(
    2011-09-02 07:38:21 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(
    2011-09-02 07:38:44 [SEVERE] at net.minecraft.server.PlayerInstance.<init>(
    2011-09-02 07:38:44 [SEVERE] at net.minecraft.server.PlayerManager.a(
    2011-09-02 07:39:00 [SEVERE] at net.minecraft.server.PlayerManager.addPlayer(
    2011-09-02 07:39:22 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(
    2011-09-02 07:39:54 [SEVERE] at net.minecraft.server.NetLoginHandler.b(
    2011-09-02 07:40:16 [SEVERE] at net.minecraft.server.NetLoginHandler.a(
    2011-09-02 07:40:32 [SEVERE] at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-09-02 07:40:55 [SEVERE] at net.minecraft.server.NetworkManager.b(
    2011-09-02 07:41:10 [SEVERE] at net.minecraft.server.NetLoginHandler.a(
    2011-09-02 07:41:33 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-09-02 07:42:11 [SEVERE] at net.minecraft.server.MinecraftServer.h(
    2011-09-02 07:42:50 [SEVERE] at
    2011-09-02 07:45:16 [INFO] Stopping server
    2011-09-02 07:58:23 [SEVERE] java.lang.OutOfMemoryError: Java he
    2011-09-02 08:09:14 [SEVERE] ap space
    2011-09-02 08:11:25 [SEVERE] Exception in thread "Listen thread"
    2011-09-02 08:13:07 [INFO] Stopping server
    2011-09-02 08:16:33 [INFO] [AssignPermissions] Plugin disabled. (version1.1)
    2011-09-02 08:16:59 [INFO] [AuthMe] Version 0.84 is disabled!
    2011-09-02 08:16:33 [SEVERE] Exception in thread "Thread-63534"
    2011-09-02 08:16:59 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-09-02 08:16:59 [INFO] [BananaChunk] version 4.6 is disabled!
    2011-09-02 08:16:59 [SEVERE] at java.nio.HeapByteBuffer.<init>(Unknown Source)
    2011-09-02 08:16:59 [SEVERE] at java.nio.ByteBuffer.allocate(Unknown Source)
    2011-09-02 08:16:59 [INFO] [boosCoolDown] version 1.4.4 disabled!
    2011-09-02 08:16:59 [SEVERE] at sun.nio.cs.StreamDecoder.<init>(Unknown Source)
    2011-09-02 08:16:59 [SEVERE] at sun.nio.cs.StreamDecoder.<init>(Unknown Source)
    2011-09-02 08:16:59 [SEVERE] at sun.nio.cs.StreamDecoder.forInputStreamReader(Unknown Source)
    2011-09-02 08:17:19 [SEVERE] at<init>(Unknown Source)

    Version 0.5, CB1060

Share This Page