Solved How do I create an Anti Cheat plugin?

Discussion in 'Plugin Development' started by Jozeth, Jul 13, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Jozeth

    Don't link me to AntiCheat, etc. - I am here to write my own plugin.

    Could people give me pointers/hints on how to do so.
     
  2. Offline

    TheMcScavenger

    Event handlers for everything you want to log, ensuring the player isn't doing it too fast / is actually able to do it. If he opens a container, see if he's actually looking at it. If a player is moving, check his speed. If a player is flying, and he's not "allowed" to, deny it.
     
  3. Offline

    CorrieKay

    When I'm trying to figure out how something works in order to make my own, i'll take a look into other plugins to see how they do it. Mind you, don't just copy their code or anything of course, but it should help you get your legs when creating a plugin about a concept you don't understand just yet.
     
  4. Offline

    TheMcScavenger

    It's a good method, but it can be quite difficult. Every developer has his or her own way of making something, linking pieces of code together, and dividing methods between multiple files. With some plugins, it can take 30 minutes to even find the file you're looking for.
     
  5. Offline

    CorrieKay

    :D thats the fun!
    ...Well, in my opinion, I guess. I work a lot with nms and obc code, so I guess i'm pretty used to it.
     
  6. Offline

    1Rogue

    You fix things. different exploitable issues have different fixes and workaronuds, the question is on par with "how to java". You just need to make it.
     
    CorrieKay likes this.
Thread Status:
Not open for further replies.

Share This Page