Guardian AntiCheat - An extensible anticheat plugin for Sponge


#1

This is a discussion topic for the Ore project, Guardian AntiCheat. View the full project on Ore for downloads and more information.


Important Note: I’ve released this with the idea others could assist in testing this plugin and report any issues to me to further development. Please do not put this onto your server with the assumption that it will work perfectly, because it certainly will not. This is not ready for servers on production!

Guardian

An Extensible AntiCheat Plugin For Sponge.

Guardian is an extensible AntiCheat for Sponge that gives you the flexibility to customize the checks to fit your servers needs.
Guardian also provides a service for Precogs to reduce plugin conflicts with those
who integrate with the lightweight service.

The plugin is a work in progress and there are plans for more detections to be added. Make sure to come chat with us on our
Discord Server!

This plugin requires Precogs to work!!!

Cheats Detected:
Movement:
  • [x] HorizontalSpeed (Movement Speed)
  • [x] VerticalSpeed (Movement Speed)
  • [x] Flight (Flight, Movement Speed)
  • [x] JetPack (Flight)
  • [ ] Jesus (Jesus, Movement Speed)
  • [x] Blink (Movement Speed)
  • [ ] Spider / WallClimb (Flight, Movement Speed)
  • [x] Timer (Movement Speed)
  • [x] AutoSneak (Invalid Movement, Movement Speed)
  • [x] AutoSprint (Invalid Movement, Movement Speed)
  • [x] FastLadder (Movement Speed)
  • [ ] Phase/NoClip
  • [ ] MiniJump
  • [ ] Glide (Movement Speed)
  • [ ] HighJump / LongJump

And more coming soon.

Built-In Punishments:
  • [ ] Warning
  • [x] Location Reset
  • [x] Staff Report
  • [ ] Kick
  • [ ] Ban
  • [ ] Temporary Ban
  • [ ] Custom

Guardian has an optional mixin mod called ElderGuardian that allows Guardian to access things beyond the Sponge API.
It is recommended that you use it with Guardian to improve accuracy. Some detections may also require it to work.

Contributing

There many ways to contribute to the project. Some being…

  • Creating issues for reporting bugs.
  • Creating issues for reporting new cheats that are not detected or new features.
  • Contributing to the plugin by making a pull request, which fixes bugs or adds new features.

Developers:

To compile the project. Simply type gradlew, this will licenseFormat and build the project
for you.

For code style we prefer to stick with the Sponge Code Style.

If you’re unsure about something, don’t be afraid to make an issue or join the discord to chat.

Versioning

The versioning follows:

guardian-[sponge-major | sponge-minor | sponge-patch]-[guardian-major | guardian-minor | guardian-patch]-[guardian-sub-patch]

e.g guardian-7.0.0-0.1.0-01

Ensure that the SpongeAPI version is the same for the one you are using on your server.

Credits

  • me4502 for making Precogs and spending some of his time and knowledge to improving this AntiCheat, your help is hugely appreciated.

  • ModularFramework providing a modular class loading system.

  • Precogs providing a service for plugins to integrate with the AntiCheat.

  • Thanks to SequenceAPI for providing the sequence system that powers all of the checks.


Guardian AntiCheat
#2

Good job.
I have noticed only one problem so far. Anti-cheat reacts to players who are clad in quantum armor from the ic2 mod.
I apologize for my english, I used google translator.


#3

Thanks for trying this! Could you make an issue for the IC2 incompatibility here: https://github.com/ichorpowered/guardian/issues :slight_smile:


#4

A new version has been released for Guardian AntiCheat, it is available for download here.


:trident: Guardian v7.0.0-0.6.1-01

This release is for testing purposes and shouldn’t be used on a production servers. Always backup your server first!


This release contains a few minor API additions on how Capture and Content Keys are represented and some changes in the logic for the flight and movement detections which should hopefully improve speed a bit.

Bugfixes / Improvements

  • Improved detection speed (with updated configuration)
  • Don’t make flight detection dependent on a specific analysis time.

Code / Project Changes

  • Update to stable 7.0.0
  • New keys API