Inactive [SEC] NoCheat v3.5.0 [CB 1.2.4 R1.0][ABANDONED]

Discussion in 'Inactive/Unsupported Plugins' started by Evenprime, Feb 15, 2011.

  1. Offline

    Evenprime

    Xp10d3, Dereku, MyPictures and 35 others like this.
  2. Offline

    Kartus

    can you please rename your "NoCheatPlugin.jar" to "NoCheat.jar" ;)
     
  3. Offline

    ZachBora

    May I suggest adding a feature to decide on the coordinates format?
    -977,93452, 90,00000, 918,38228
    Is a big big on the chat, and to read. Either round it or give use a format option (0.0 or 0) so it displays like this (for 0.0) :
    -977,9, 90,0, 918,4
     
  4. Offline

    Umbra

    Could you please check this video and tell me if there's something you can do about it ? All my members are aware of this and use it to mine obsidian instantly and NoCheat isn't saying anything.

    Here's the vid:
    http://www.youtube.com/watch?v=II7keVr0F1M


    Thanks in advance
     
  5. Offline

    Evenprime

    Any specific reason for that or just optics? Renaming the file now will break craftbukkitup2date support so I'd rather not do that.
    Yes, I can do that.

    The speedhack check currently only monitors moving around.

    Build 628 has a change regarding block breaking times: https://github.com/Bukkit/CraftBukkit/commit/06702ad4f268b9e65fb8951a1c9a80019722fdff that could probably fix that. I'll go and try that build now to see if it has an impact on that kind of cheat. If not, I'll try to add something to my plugin to prevent this cheat.
     
  6. Offline

    Umbra

    That was really fast. Thanks again.
     
  7. Offline

    Evenprime

    Back from testing. As I expected, that change to bukkit prevents this exploit. So you'll just have to wait for the next craftbukkit RB (or upgrade to at least Build 628 http://ci.bukkit.org/job/dev-CraftBukkit/628/ to get that feature earlier).
     
  8. Offline

    Umbra

    I guess next recommended build will come out soon now. I'll wait a few days.

    Thanks
     
  9. Offline

    Evenprime

    Ah, I can see now why you requested that. It seems I'll have to make changes to that anyway with newer CB builds. So yeah, I'll rename everything from NoCheatPlugin to NoCheat with the next version, even if it will annoy people a lot.

    Version 0.8

    Name change: "NoCheatPlugin" is now called "NoCheat" everywhere (filenames, jar-file, logs, sourcecode) to satisfy bukkits wish to have configuration folders and other stuff match the plugins name and be consistent about it. You have to delete your NoCheatPlugin.jar if you start using the new NoCheat.jar (obviously).

    Configurable messages: write your own messages for moving and speedhack checks, if you want to. Every "%...d" (integer number), "%...f" (floating point number) and "%...s" (text string) is replaced with actual information during execution. You can move them around to change the order of these inside the log message or omit them (e.g. if you are not interested in coordinates at all). For the "%...f" numbers the digit between the . and the f is the number of digits behind the . that should be displayed. If you want less precision for the coordinates you can replace ".5f" with ".2f" or ".1f"

    EDIT: Informed craftbukkitup2date about the change.

    Very late answer: The mod I had in mind is called Yiffcraft. Here is a video of it: . It says "Outofbody" on the left side in the options of the plugin. I just stumbled upon that in another thread here in the forums where someone was called out for using/developing that mod: http://forums.bukkit.org/threads/un...nts-all-plugins-work.10691/page-3#post-182833 .

    Quite funny, the guy (Zidonuke) recommended the server admin in the first "pastie" linked in that post http://pastie.org/1755178 (look around tim 03:34:33) to use my plugin, because it stops most of his hacks. If the guy (claiming to be) developing such hacks says so... *g*

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  10. Offline

    Scott

    Is it possible to change the color of the messages?
     
  11. Offline

    ledhead900

    Some reason this version wont start fails to start actually. CB627

    Code:
    17:16:42 [SEVERE] Could not load plugins\NoCheatPlugin.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:105)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:101)
            ... 8 more
    Caused by: java.lang.NoSuchMethodError: cc.co.evenprime.bukkit.nocheat.checks.Mo
    vingCheck.<init>(Lcc/co/evenprime/bukkit/nocheat/NoCheatPlugin;)V
            at cc.co.evenprime.bukkit.nocheat.NoCheatPlugin.<init>(NoCheatPlugin.jav
    a:60)
            ... 13 more
    Older version works tho.
     
  12. Offline

    Evenprime

    From the look of that error message I'd guess that you have the old and new version of the plugin in your plugins folder at the same time. Could that be?
     
  13. Offline

    ledhead900

    OMG F*** sorry to waste your time, completely forgot about the old one.
    I'm probably not the only one who forgets from time to time to remove older renamed plug-ins.
     
  14. Offline

    Evenprime

    No time wasted, it was easy to find out (for me) what went wrong.

    @ everybody else (also written in first post):

    If you get an error when loading v0.8 you probably forgot to delete the old NoCheatPlugin.jar when using the new NoCheat.jar.
    I will likely not have time for the next two days (6.-7. April) to provide support for this plugin and/or answer questions. But feel free to ask anyway, maybe some other players can help you with your problems before I come back.
     
  15. Offline

    Chekkaa

    Ah, ty. I had an old version of the config that didn't have the "logtochat" option. I just let it generate a new config for me. :D
     
  16. Offline

    Cool12309

    Too lazy to read(lol), but, does this also detect for X-Ray?
     
  17. Offline

    The PC Tech Guy

    Ya it would be a good thing to read, because this is based off of events. This cannot stop any type of hack that reveals certain ores, etc... I think this is because it doesn't send the server anything to find the blocks (it has already downloaded the chunks, which go from sky to bedrock).
     
  18. Offline

    Kartus

    Can someone tell me if there is a cheater on my server when looking in my pastebin logfile? http://pastebin.com/g2V7Jz8N
    i get a lot of messages in log or sometimes in chat, but never can watch one when i port to him 10 secs later. i think they are negative alerts? expcet of user "miggiman", he told me that he tried flymod and it wasn't working. i have default config. but now im trying to alter medium (log to chat) alerts to 50.
     
  19. Offline

    Olat

    Is there a way to allow some players to use Client side fly mods through Permissions? Im sure there is, but your Config files confuse the hell out of me. I want 1 member of my server to use it to film stuff for our YouTube channel. If you could help me figure this out id appreciate it.
     
  20. Offline

    Cool12309

    Not to toot my own horn, but CJB's X-Ray requires his own plugin for it to work, and all other X-Ray's are not allowed on Minecraft Forums or MCModCenter unless they have a controllable setting to be on/off by any server admin.
     
  21. Offline

    The PC Tech Guy

    Unfortunately, the ones I encountered can do so without server configuration. This happened when I invited someone to my server and they said they found diamond via the xray mod.
     
  22. Offline

    cloudafloat

    I found with this plugin after a random amount of hours my server would go offline there would be no errors in console and server is unreponsive. CB 617 NoCheat v0.8
     
  23. Offline

    Evenprime

    I'm almost back home. I'll use the time to answer questions:

    You may want to remove the "reset"/"cancel" from the nocheat config file from the entries "moving: actions: low" and "moving: actions: med", effectively letting people fly (only small height and distances ~ 2 Blocks higher than normal ~ if you also remove them from "moving: actions: high" they can fly free). That way you'll still get logs and you'll have more chances to see if they are flying or not when you teleport to them, plus the ones who are flying will cause a lot more violations - intsead of getting "a slap on the wrist" and stopping after their first attempt, letting you clueless wether there it was a fly attempt or just a bug, they can actually use their flymod.

    Alternatively deactivate just the logging (remove loglow, logmed, loghigh from the config file) and keep the "reset"/"cancel". My plugin does a very good job now to stop people from flying, so it shouldn't be necessary to ban them from the server for trying to fly to keep the game nice and fair.

    yes. Just give the player that is allowed to fly the permission "nocheat.moving" and he will no longer be checked.

    Without any error messages it's hard to tell if at all and what is wrong with the plugin. CB617 isn't really stable and lots of people get random server crashes with it, independent of the used plugins.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  24. Offline

    Kartus

    Thank you very much. I decided to take your personally advice and removed logs, new its at speedhack + flyhack:
    Code:
        action:
            low: cancel
            med: cancel
            high: cancel
     
  25. Offline

    Evenprime

    Halfway through rewriting my first post to make it better structured.
     
  26. Offline

    Dominick

    Link to download latest does not work!
    Dropbox - 500.png
     
  27. Offline

    Evenprime

    It's online again now.
     
  28. Offline

    NickBrahz

    Wow... This repeats for about 10,000 lines...
    Code:
    at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.log(NoCheat.java:243)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.hasPermission(NoCheat.java:288)
        at cc.co.evenprime.bukkit.nocheat.NoCheat.logToChat(NoCheat.java:253)
    
     
  29. Offline

    Evenprime

    I can tell you as much as that you have a mistake somewhere in your permissions File. I'll fix the problem of the neverending error message and upload a new plugin version in a minute.

    Uploaded a new version. This should fix the endless error message problem and replace it with a nice message telling you what is (probably) wrong with your Permissions configuration.

    Version 0.8.1

    Fixed recursion bug within logging of Permissions errors

    Edit: So here is the long story about what happened. People complained for previous versions of the plugin that their console would be spammed with error messages in the case that the Permissions plugin failed to give my plugin an answer to the question "hasPermission(Player, permission)" which my plugin has to ask a lot.

    So I decided to capture those messages and replace them with a more useful text stating what my plugin requested to do and that Permissions failed while doing so. I did however not think about the fact that I also ask the Permissions plugin about permissions of players every time I log something to the chat (only players with permission "nocheat.notify" get a chat message). Therefore that second request could also fail (depending on what was the reason for the first fail), would cause another log message, which causes another permission question, failed, log, request, fail, ... classic recursion.

    Now no more, because I now definitely show that nice log message only once and after that just silently ignore error messages of the Permissions plugin and consider a failed request the same as the answer "player has no permission".

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  30. Offline

    MCAndi

    Please support the jumps and speedups of "Vampires" Plugin...
     
  31. Offline

    Evenprime

    Have you tried it? I made some changes recently that should allow my plugin to play nice with such things. But I never explicitly tested "Vampires". If you tried it and it didn't work, please give me instructions on what you did exactly such that I can reproduce it and hopefully make it compatible.
     

Share This Page