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

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

  1. Offline

    orange451

    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
    Features:
    • checks if players are mining way too many diamonds than they should be.
    Download the plugin here

    WORKS WITH PERMISSIONS 2.7.4
    The node to use, is "xraydetection.admin"

    Changelog:
    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

    Andrewkroger1

    The tag should be ADMN/MISC
     
  3. Offline

    MagicHereos

    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

    orange451

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

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

    TelephoneKiosk

    2011-08-06 13:27:15 [SEVERE] Could not load 'plugins\Xray detection.jar' in folder 'plugins':
    java.lang.ClassNotFoundException: MainXrayDet
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    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.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:168)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  6. Offline

    orange451

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

    TheBarkingFrog

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

    davidvsayshi

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

    Live or Die

    can it work with permissionsEX?
     
  10. Offline

    Kalais

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

    orange451

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

    excalibr23

    Edit: Nevermind
     
  13. Offline

    CushFiles

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

    XRayted

    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

    RustyDagger

    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

    Dysp

    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,

    Dysp
     
  18. Offline

    orange451

    you use /legit [playername]
     
  19. Offline

    tremor

    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

    Adondriel

    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

    tremor

    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

    Adondriel

    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

    tremor

    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

    Grimmy777

    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

    Dysp

    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

    Darkzero413

    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

    dbizzzle

    Source Code?
     
  29. Offline

    Poe

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

    orange451

    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 java.io.BufferedReader.<init>(Unknown Source)
    2011-09-02 07:29:32 [SEVERE] at java.io.BufferedReader.<init>(Unknown Source)
    2011-09-02 07:29:56 [SEVERE] at com.orange451.XrayDetection.Xray.getCheaters(Xray.java:97)
    2011-09-02 07:29:56 [SEVERE] at com.orange451.XrayDetection.MainXrayDet$getCheaters.run(MainXrayDet.java:104)
    2011-09-02 07:29:56 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)
    2011-09-02 07:29:56 [SEVERE] at java.util.TimerThread.run(Unknown 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(ChunkProviderServer.java:136)
    2011-09-02 07:38:21 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:65)
    2011-09-02 07:38:44 [SEVERE] at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:31)
    2011-09-02 07:38:44 [SEVERE] at net.minecraft.server.PlayerManager.a(PlayerManager.java:45)
    2011-09-02 07:39:00 [SEVERE] at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:84)
    2011-09-02 07:39:22 [SEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:134)
    2011-09-02 07:39:54 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    2011-09-02 07:40:16 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    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(NetworkManager.java:226)
    2011-09-02 07:41:10 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    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(MinecraftServer.java:454)
    2011-09-02 07:42:50 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    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 java.io.InputStreamReader.<init>(Unknown Source)


    Version 0.5, CB1060
     

Share This Page