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

    Evenprime

    Do you get any log messages from NoCheat about that (plugins/NoCheat/nocheat.log) or a message like "Permissions not found" on startup?

    PS: You could also use the command "nocheat -p playername" to see what NoCheat thinks you should be allowed to do based on permissions settings/op status.

    Version 1.13c (for CB 1060)

    • Fixed behaviour of ladders that are not connected to the ground

    Somebody told me about that via PM. Basically it was hard/impossible to go up a ladder if it wasn't connected to the ground. Not anymore.

    I've submitted a pull request for CraftBukkit that would fix pcgames3112 's problem. https://github.com/Bukkit/CraftBukkit/pull/434 . It would make what his plugin did originally look a lot smoother and would not confuse NoCheat by feeding it false coordinates (which is what led to the wrong message about cheating).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  3. Offline

    RugRats

    Argh, cool update. But I just downloaded b >.> Lol
     
  4. Offline

    Waffletastic

    It says that he has permission to fly etc. but he is still grounded, but he can speedhack
     
  5. Offline

    Evenprime

    Maybe another plugin doing this. Do you use "towny"? That has a fly-protection feature in it, that people tend to confuse with mine.

    Oh I totally forgot to say that earlier:

    @ everybody:

    I increased the limits for "med" and "high" moving violations, to get a better spread of violation levels with the new, stricter system that I introduced with 1.12. That means you'll see more "low" and "med" and less "high" messages from 1.13b on. New distance limits are:

    <1 block over what I think is acceptable -> "low"
    <4 block over what I think is acceptable -> "med"
    >4 block over what I think is acceptable -> "high"

    instead of <0.5, <2 and >2 blocks.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  6. Offline

    Waffletastic

    I think that was the issue. Thanks!
     
  7. Offline

    Sayshal

    You sir, have broken NoCheat.
    That's a guest flying.
    Here is groups.yml:
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&f[Guest] &f'
                suffix:
                build: false
                rank: 1
            permissions:
        Developer:
            default: false
            info:
                prefix: '&5[Dev] &6'
                suffix:
                build: true
                rank: 75
                inheritance: Builder
            permissions:
            - heroicrebuke.*
            - nocheat.*
            - ublock.ub
        Default:
            default: false
            info:
                prefix: '&f[&eGeneral&f] '
                suffix:
                build: true
                rank: 10
            permissions:
            - commandbook.rules
            - iCononmy.list
            - warpz0r.warp
            - mchat.list
            - heroicrebuke.*
            - lwc.protect
            - commandbook.time.check
            - BetterShop.user.*
            - commandbook.spawn
            - mchat.who
            - ublock.ub
            - mchat.me
            - commandbook.return
            - iConomy.access
            - iConomy.rank
            - commandbook.call
            - commandbook.motd
            - iConomy.payment
            - commandbook.msg
            - mchat.afk
            - commandbook.say.me
            - commandbook.who
            - commandbook.whereami
            - nSpleef.member.*
            - warpz0r.home
        Builder:
            default: false
            info:
                prefix: '&f[&9Builder&f] &b'
                suffix:
                build: true
                rank: 50
            inheritance:
            permissions:
            - commandbook.rules
            - iCononmy.list
            - commandbook.give.infinite
            - commandbook.midi
            - nocheat.speedhack
            - warpz0r.warp
            - commandbook.intro
            - commandbook.time.*
            - commandbook.spawnmob.*
            - mchat.list
            - heroicrebuke.*
            - lwc.protect
            - commandbook.more.*
            - modtrs.command.modreq
            - nocheat.moving
            - worldguard.heal
            - commandbook.weather.*
            - commandbook.spawn
            - BetterShop.user.*
            - mchat.who
            - worldguard.god
            - commandbook.say.*
            - commandbook.setspawn
            - mchat.me
            - commandbook.return
            - iConomy.access
            - nocheat.flying
            - iConomy.rank
            - commandbook.motd
            - commandbook.give
            - worldguard.ungod
            - commandbook.give.stacks.*
            - iConomy.payment
            - commandbook.whereami.*
            - worldedit.*
            - commandbook.msg
            - mchat.afk
            - commandbook.who
            - commandbook.kit.*
            - nSpleef.member.*
            - commandbook.clear
            - warpz0r.home
        Admin:
            default: false
            info:
                prefix: '&f[&cAdmin&f] &4'
                suffix:
                build: true
                rank: 100
            permissions:
            - worldguard.*
            - modtrs.*
            - warpz0r.*
            - lwc.*
            - nocheat.*
            - p2.*
            - bb.*
            - lb.*
            - iConomy.*
            - heroicrebuke.*
            - nSpleef.*
            - commandbook.*
            - BetterShop.*
            - kiwiadmin.*
            - worldedit.*
            - mcbans.*
            - mchat.*
            - hawkeye.*
            - permissions.*
            - vanish.*
    
    And his snippet of users.yml:
    Code:
        finnbar15:
            permissions:
            groups:
            - Guest
     

    Attached Files:

  8. Offline

    Kidi

    I get low warnings logged into console, sometimes 0.0 or 0.1 blocks inaccuracy. Is there a way to manually set low to 0.2-something inaccuracy?
     
  9. Offline

    Evenprime

    Currently no. You can hide those "low" messages by just setting "logtoconsole: med" and "logtochat: med". But don't get fooled. Just because it's a low distance like 0.0 or 0.1, doesn't mean it is a "low" violation. E.g. hovering in midair and looking around would show that the player didn't move at all [0.0,0.0,0.0], but that is still cheating and may even result in "med" or "high" violations.

    Have you enabled "enforceteleport" option in NoCheats configuration.

    Only explaination I can think of is another plugin prevents teleports categorically (which would be fixed by "enforceteleport; true"), or NoCheat crashed altogether. Or the new code to respect "cancelled" move events is causing this.

    Version 1.14 (for CB 1060)
    • New feature: "infinitedurability" check (be sure to write it right). Players are able to use items without damaging them. To do that, they have to send a certain signal once per session to the server. This check will capture that signal and kick the player.
    • Same stuff as always applies: read the descriptions.txt file for details, have a look at the new options, update your permissions settings (if necessary)
    Version 1.14a (for CB 1060)

    • Fixed the fix for cancelled move events - rather have false positives than people abusing it


    See https://github.com/Bukkit/CraftBukkit/pull/433 for reference.

    PS: The infinitedurability check is very simplistic and will really only capture people that switch their hack on while NoCheat is running. If they did it before or while you reload the plugins, it won't be recognised (yet). So players that are on the server already when you install the new version could be using it.

    I'll now hack together a more advanced version that'll also do the check whenever the player uses a item. Upload in ~30 minutes, if I can.

    Version 1.14b (for CB 1060)
    • More options for "infinitedurability" check. Choose if you want to log, if you want to kick or (new) if you want to prevent all interactions of the player with his environment while using an infinite durability item.

    That's enough for today. I won't build more stuff into that check, as it is only temporary till the original problem gets fixed. Have fun.

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

    RugRats

    can you make a climb check? Like the hackers that can just walk right over blocks that are 1 block high?
     
  11. Offline

    Evenprime

    Since that's so similar to jumping onto 1 block high things, I won't do that. Too much work for little payoff (plus I'd have to rewrite *again* most of the movement check).

    PS: Thanks to Zidonuke for explaination of how the infinite durability thing works.

    (you don't have to know who that is)

    @Kane : I don't think I can easily backport that to an older version. It'd be easier to write a minimalistic plugin that just kicks people if they use those items.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  12. Offline

    RugRats

    Okay.. could you add a auto ban if some tries to nuke the world?
     
  13. Offline

    Monstertke

    Evenprime,

    Can you tell me a little more about "enforce teleport"? I use Tele++ MyWarps and xcraftgate. Sometimes, but not always I see warnings from people when thet move with these plugins, but not always. Just wondering if "enforce teleport" will conflict?
     
  14. Offline

    Evenprime

    "enforceteleport" only has an effect when NoCheat tries to teleport a player (e.g. to the ground if the player is flying), but another plugin cancels the teleportation event. In such cases, if "enforceteleport" is active, NoCheat will try to "uncancel" the teleportation event afterwards again.

    It won't affect teleports that are done by other plugins, or prevent teleports done by other plugins.
     
  15. Offline

    Monstertke

    Ahh, Thank you.
     
  16. Offline

    MuisYa

    I love what you made, one of the best plugins ever! :3
     
  17. Offline

    w000rm

    I love how you quickly fixed the infinite durability, those cheaters are gonna have a hard time.
     
  18. Offline

    Trollkemada

    Still with problems, when people are placing blocks below their, they are teleported, and it is logged:

    11.08.21 02:12:08 [INFO] NC: Moving violation: Kyo from TemplarsKnights (1181.4, 71.0, -129.4) to (1181.4, 71.4, -129.4) distance (0.0, 0.4, 0.0)
    11.08.21 02:12:23 [INFO] NC: Moving summary of last ~15 seconds: Kyo total Violations: (1,0,0)
    11.08.21 02:12:24 [INFO] NC: Moving violation: Kyo from TemplarsKnights (1181.6, 86.0, -129.8) to (1181.6, 86.4, -129.8) distance (0.0, 0.4, 0.0)
    11.08.21 02:12:39 [INFO] NC: Moving summary of last ~15 seconds: Kyo total Violations: (1,0,0)
    11.08.21 02:12:42 [INFO] NC: Moving violation: Kyo from TemplarsKnights (1182.5, 72.0, -129.5) to (1182.5, 72.4, -129.5) distance (0.0, 0.4, 0.0)
    11.08.21 02:12:57 [INFO] NC: Moving summary of last ~15 seconds: Kyo total Violations: (1,0,0)

    Im using NoCheat 1.14b and #1060
     
  19. Offline

    Slugslug

    seems to have stopped working.. ppl can now speed hack -- tried reinstalling / wiping config

    zombe's flymod
     
  20. Offline

    Deathfromace

    I suggest looking into "zombe banner"
     
  21. Offline

    seventoes

    Thanks for all your hard work, man! I'm still getting tons of false alarms though :(
     
  22. Offline

    iExTaCYZz

    Can you please tell me why admins and ops arent even allowed to fly?

    Code:
    groups:
      Default:
        default: true
        permissions:
        - choptree.chop
        - choptree.command.check
        - choptree.command.chunk
        - choptree.command.toggle
        - commandbook.msg
        - craftbook.mech.bridge
        - craftbook.mech.bridge.use
        - craftbook.mech.cauldron
        - craftbook.mech.cauldron.use
        - craftbook.mech.elevator.use
        - craftbook.mech.gate
        - essentials.afk
        - essentials.back.ondeath
        - essentials.balance
        - essentials.clearinventory
        - essentials.eco.*
        - essentials.help
        - essentials.helpop
        - essentials.home
        - essentials.list
        - essentials.mail
        - essentials.motd
        - essentials.msg
        - essentials.pay
        - essentials.rules
        - essentials.sethome
        - essentials.sign.buy.use
        - essentials.sign.sell.use
        - essentials.sign.shop.use
        - essentials.sign.trade.use
        - essentials.signs.buy.use
        - essentials.signs.sell.use
        - essentials.signs.shop.use
        - essentials.signs.trade.use
        - essentials.spawn
        - essentials.suicide
        - essentials.warp
        - essentials.worth
        - essentialseco.*
        - signs.break.protection
        - signs.break.trade
        - signs.create.protection
        - signs.create.trade
        - signs.use.balance
        - signs.use.buy
        - signs.use.disposal
        - signs.use.free
        - signs.use.heal
        - signs.use.mail
        - signs.use.protection
        - signs.use.sell
        - signs.use.time
        - signs.use.trade
        - signs.use.warp
        - signs.use.weather
        - connectfour.play
        - connectfour.start
        - tictactoe.play
        - tictactoe.start
        - lockette.user.create.*
        inheritance: []
        info:
          prefix: '&e'
          build: true
          suffix: ''
      Owner:
        default: false
        permissions:
        - -essentials.protect.damage.*
        - '*'
        inheritance:
        - admin/irl
        info:
          prefix: '&6[Owner]&f'
          build: true
          suffix: ''
      SemiAdmin:
        default: false
        permissions:
        - '*'
        inheritance:
        - moderator
        info:
          prefix: '&2[SemiAdmin]&f'
          build: true
          suffix: ''
      Sister:
        default: false
        permissions:
        - '*'
        inheritance:
        - irl
        info:
          prefix: '&d[Sister]&f'
          build: true
          suffix: ''
      Builder:
        default: false
        permissions:
        - commandbook.*
        - essentials.*
        - essentials.item
        - essentials.itemspawn.item-all
        - essentials.time
        - essentials.time.world
        - kiwiadmin,*
        - nocheat.all
        - nocheat.*
        - lockette.admin.bypass
        - lockette.admin.snoop
        inheritance:
        - default
        info:
          prefix: '&5[Builder]&f'
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - '*'
        inheritance:
        - builder
        info:
          prefix: '&b[Moderator]&f'
          build: true
          suffix: ''
      Admin/IRL:
        default: false
        permissions:
        - '*'
        inheritance:
        - irl
        info:
          prefix: '&4[Admin]&e[IRL]&f'
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - semiadmin
        info:
          prefix: '&4[Admin]&f'
          build: true
          suffix: ''
      IRL:
        default: false
        permissions:
        - '*'
        inheritance:
        - admin
        info:
          prefix: '&e[IRL]&f'
          build: true
          suffix: ''
      SemiAdmin/IRL:
        default: false
        permissions:
        - '*'
        inheritance:
        - irl
        info:
          prefix: '&2[SemiAdmin]&e[IRL]&f'
          build: true
          suffix: ''
    
    I have done the correct nodes given.
     
  23. Offline

    Giacorri

    How if i don't want receive Notifications like
    "Moving violation: [player] from [world] [from] to [to] distance [distance]" ?
     
  24. Offline

    MuisYa

    Uhuu, look at ZombeBanner from @Cainfoool,
     
  25. Offline

    Kane

    Forgot to add his resume :p

    @Zidonuke =P
     
  26. Offline

    Kaosvf

    Hi,
    now sometimes when players log in game they spawn and arrive a lot alerts...
     
  27. Offline

    Evenprime

    When I set up a local test server with only CB 1060, a normal Minecraft client and NoCheat and try it, everything seems to work fine. I'm currently out of ideas for what could be causing that problem or how to fix it without completely breaking fly/climbing protection of NoCheat.

    So it is either not working at all or blocking everybody? Both of you, just type the command "/nocheat -p playername" and you'll see what NoCheat allows the corresponding player to do. That way you can check if you've set up your permission nodes correctly.

    Also, "towny" prevents people from flying, might look at that too.

    Does anybody even bother to read instructions anymore. That question has been asked 5 times in the last 2 days, the answer is written in "plugins/NoCheat/descriptions.txt" and the OP. Depending on where you don't want to get messages, you'll have to:

    - NOT give people the permission node "nocheat.notify"
    - change the config file: logtoSOMETHING: "off" instead of "low","med" or "high".
    - remove the "logXXX" words from the specific checks themself.
    ...

    What kind of errors do they get? Also, are you using any plugins that influence the movement of players when they login, e.g. authme or similar?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  28. Offline

    Kaosvf

    This is an example of an user just entered in the server: http://pastebin.com/wBitS0fJ and I have a lot of this examples, we have Authme 0.84.
     
  29. Offline

    Evenprime

    It's the result of a bug in CraftBukkit. As you see in the logs, the player really spams the server with playermove packets and playermove events because of that bug (which may have a big permformance impact if enough people are hanging around unauthenticated). I submitted a patch for this to the bukkit team, but I don't know when it will be released as part of a RB.

    Here is a more detailed explaination of that bug: https://github.com/Bukkit/CraftBukkit/pull/434 and the fix for it.

    Authme could work around that bug by completly stopping to use "event.setCancelled(true)" for PlayerMove events for now. If they just use "event.setTo(event.getFrom());" instead, it should work exactly the same but without the spam and the huge network performance impact (that lonely player caused traffic and server load for up to 50 players while not authenticated).

    Anyway it's a really bad idea by "Authme" to cancel events at Monitor level, as not only will those events be processed by all other plugins before it, but also other plugins that need to know if an event was cancelled (e.g. mine!) may or may not get that info when listening at Monitor level (it depends on luck which plugin gets loaded first and therefore in which order the event reaches them). I've dropped the developer a message in his thread about that.

    For now I'll just hide the speedhack messages in these cases. But that won't fix performance issues. And depending on luck (as said before, both listening at Monitor level may or may not work), that fix will do nothing for you.

    Version 1.14c (for CB 1060)

    • Try to make speedhack check ignore "cancelled" move events.
    Also, for everybody else that uses Authme: The same design decission by the Authme developer (cancelling at Monitor-level) may cause the flying check of NoCheat to fail too, giving false positives all over the place. I can't do anything about that.
     
  30. Offline

    Mcmaxx

    Can you put multi-world incorporation in here, so that users can fly in a creative world and not in a survival world?
     
  31. Offline

    Evenprime

    You'll get that and many new features after the 1.8 Update of Minecraft. I fear that publishing those changes now (I have them almost finished) will just cause me even more trouble when moving from 1.7.3 to 1.8.
     

Share This Page