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


    can this plugin support spout ?
  3. Offline


    Updated to bukkit 1185.
  4. Offline


    I second this, currently players can do /ratio to themselves, and know how the plugin works, so they will just mine stone to keep it down
  5. Offline


    I can't believe the dev won't add super perms. I find it much, much, much easier to do than the old Permissions systems. I takes about 10 seconds to switch.
  6. Offline


    Would be great if you could actually change the delay between two "I think that XY is xraying"-messages - we´d like to observe people first - to see if they keep using Xray. But being spammed with something we already know isn´t helpful in any way at all. Or at least an individual toggle for those messages.
  7. Offline


    does it has a log, which logs these events on the server on a file?

  8. Offline


    Where did I say I wouldn't add superperms?
    I've never used superperms, care to give me some documentation of it before you throw more accusations?
  9. Offline


    Id love to see this have options to monitor gold also. With a separate ratio of course, like /ratiogold playername. Reason I ask is because I use gold ingots for currency on my server. Other then that, thanks for keeping it up to date, love your plugin and will always continue to use it!
  10. Offline


    how it wor? will it let know me or what? please can you specifi it , thank you

    how does ratio work?
  11. Offline

    Mosh Mage

    Sir, after some fine thinkering and error-thread reading, i found this:
    2011-10-04 06:28:05 [SEVERE] Too many open files
    2011-10-04 06:28:05 [SEVERE]     at Method)
    2011-10-04 06:28:05 [SEVERE]     at
    2011-10-04 06:28:05 [SEVERE]     at
    2011-10-04 06:28:05 [SEVERE]     at
    2011-10-04 06:28:05 [SEVERE]     at
    Why do i think its yours? Well, here the OP posts its plugins; checking those against the plugins i use, we only have xray detection in common.

    please? This plugin is awesomely simple, it would hurt me to change to ore-to-client obfuscation :\
  12. Offline


    2011-10-05 01:10:53 [SEVERE] Could not load 'plugins/Xray detection.jar' in folder 'plugins': error in opening zip file
    at Method)
    at java.util.jar.JarFile.<init>(
    at java.util.jar.JarFile.<init>(
    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(

    Any fix?
  13. Offline

    Mosh Mage

    Aftet disabling xray detection and 24Hours after, no SocketException: Too many open files.

    It's safe to say that error is xrayD fault. Could you fix this?
  14. Offline


    @MashMage: I have the same Problem with xray detection (To Many open files..). Do you have a solution?
  15. Offline

    Mosh Mage

    I have not encountered a solution no. But removing the plugin DID solve the console-spam. I guess im going OTCO.
  16. Offline


    I've done another check on the plugin (and reuploaded it).
    I don't know what could be causing the error with too many open files, I'm sure I'm closing them all after use.
  17. Offline


    I'd love an option to change the [CHEATER] message time. (unless you did already i didnt see it) other than that, its great!
  18. Offline


    i think you should appologize to the first person who told you that your plug has the too many open files bug , i googled "bukkit too many open files" and was lead directly to your plugin and i do have it installed also i run the highest performance minecraft server in the world (as far as ive ever seen) and your plug has caused it to drop with that error .
    When people post errors or bugs on your plugins page its because someone had a problem with it not that they "have a sucky server" its because we found your plugin , tried it and found that you are a "sucky" developer :D
    On a lighter note do you have a version for 1185 that doesnt blow ? :)
    your plugin has potential man get it working and try not to be negative about the feedback your testers give to you !
  19. Offline


    Could you add some minor way to detect x-rayers using a bit different method — the time/dug diamonds ratio?
    I think it might be useful, because most of the cheaters do the same mistake, getting diamonds too fast comparing to the straight players.
    According to this method you should check not overall time, but some short period around the moment, when the first diamond was dug.
    sorry for my english, i believe you got the idea ;)
  20. Offline


    The main problem is that he's reading/writing to files to keep track of player diamond gathering. Somewhere in the code a stream isn't getting shut so the file handles slowly get consumed. He could eliminate the whole issue if he just saved everyone to a configuration file instead. Then you'd just have a read on start up and a write on shut down.
    ZerG likes this.
  21. Offline


    ive allready pulled the plug and dont plan on using it again im not a plug dev im an admin but this should have been easy to write , i will have to wait for someone to re-instate "founddiamonds" its the perfect plug as far as xraying notification is concerned but like most good plugs it is abandoned or just not active enough to be used regularily
    WTB A DEV FOR MY 600 SLOT SERVER >.< lol
  22. Offline


    All plugins seem easy until you start writing them. :)

    Also, what the hell is a 600 slot server? Is pornography involved?
  23. Offline


    And yes, orange451, to avoid file io problems you definetly should rewrite your plugin code to be used with MySQL.
  24. Offline


    Also, what the hell is a 600 slot server? Is pornography involved?[/quote]
    LOL you know it , anything that serves with that many slots has to be rated r :)
  25. Offline


    As people have been asking, SuperPerms support would be great.
  26. Offline


    Any chance of getting a command to display the "s" and "d" values for admins to see?
  27. Offline


    Amazing, yet simple plugin.

    NEEDS: For the love of god, please get rid of the broadcasting.
  28. Offline


    Solution to too many files open
    cd /etc/security. nano limits.conf. add these lines:
    root hard nofile 100000
    root soft nofile 100000. (where root is your minecraft user).
    Reboot after reboot type ulimit -n should be 100000
  29. Offline


    Where did you put the permission node? if you have any...
  30. Offline


    ya the too many open files thing is still happening for me on .6 and CB 1337 :/

    edit: removed the plugin and havent had it since.
  31. Offline


    Players now publicly speak of their ratio, compare with each other and ask us other peoples when they are banned for xraying.

    This is a good plugin but can we please deny players to /ratio themselves?

Share This Page