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

    forceserver

    can this plugin support spout ?
     
  3. Offline

    orange451

    Updated to bukkit 1185.
     
  4. Offline

    effortless

    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

    ichingpow

    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

    c-eAgle

    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

    idragon2000

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

    ty
     
  8. Offline

    orange451

    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

    Tha_Wolf

    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

    oglop

    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:
    Code:
    2011-10-04 06:28:05 [SEVERE] java.net.SocketException: Too many open files
    2011-10-04 06:28:05 [SEVERE]     at java.net.PlainSocketImpl.socketAccept(Native Method)
    2011-10-04 06:28:05 [SEVERE]     at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:375)
    2011-10-04 06:28:05 [SEVERE]     at java.net.ServerSocket.implAccept(ServerSocket.java:470)
    2011-10-04 06:28:05 [SEVERE]     at java.net.ServerSocket.accept(ServerSocket.java:438)
    2011-10-04 06:28:05 [SEVERE]     at net.minecraft.server.NetworkAcceptThread.run(SourceFile:35)
    
    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

    prefix

    2011-10-05 01:10:53 [SEVERE] Could not load 'plugins/Xray detection.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:135)
    at java.util.jar.JarFile.<init>(JarFile.java:99)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)


    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

    n0nick

    @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

    orange451

    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

    mineHAVOC

    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

    ZerG

    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

    SomeOneElse

    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

    phondeux

    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

    ZerG

    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

    phondeux

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

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

    SomeOneElse

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

    ZerG

    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

    Nima304

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

    Bringiton

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

    Austin

    Amazing, yet simple plugin.

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

    Komiak

    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

    orange451

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

    mineHAVOC

    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

    effortless

    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