Class AntiCheatHookAAC

java.lang.Object
wtf.choco.veinminer.anticheat.AntiCheatHookAAC
All Implemented Interfaces:
org.bukkit.event.Listener, AntiCheatHook

public final class AntiCheatHookAAC
extends Object
implements AntiCheatHook, org.bukkit.event.Listener
The default Advanced AntiCheat (AAC) hook implementation
  • Constructor Details

  • Method Details

    • getPluginName

      @NotNull public @NotNull String getPluginName()
      Description copied from interface: AntiCheatHook
      Get the name of the plugin representing this hook
      Specified by:
      getPluginName in interface AntiCheatHook
      Returns:
      this plugin hook
    • exempt

      public void exempt​(@NotNull @NotNull org.bukkit.entity.Player player)
      Description copied from interface: AntiCheatHook
      Exempt a player from a fast-break check in the hooked anticheat
      Specified by:
      exempt in interface AntiCheatHook
      Parameters:
      player - the player to exempt
    • unexempt

      public void unexempt​(@NotNull @NotNull org.bukkit.entity.Player player)
      Description copied from interface: AntiCheatHook
      Unexempt a player from a fast-break check in the hooked anticheat
      Specified by:
      unexempt in interface AntiCheatHook
      Parameters:
      player - the player to unexempt
    • onAACViolation

      public void onAACViolation​(me.konsolas.aac.api.PlayerViolationEvent event)