Class Checks


  • public abstract class Checks
    extends java.lang.Object
    Since:
    CAC v. 0.9999 patch 2
    Author:
    Clientastisch
    • Constructor Summary

      Constructors 
      Constructor Description
      Checks()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void flag​(org.bukkit.entity.Player player, java.lang.String information)
      Throws a flag message for each stuff who has alerts enabled
      abstract void punish​(org.bukkit.entity.Player player, org.bukkit.Location location)
      Setback a player to a certain location in case if setback is enabled for the current detection
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Checks

        public Checks()
    • Method Detail

      • flag

        public abstract void flag​(org.bukkit.entity.Player player,
                                  java.lang.String information)
        Throws a flag message for each stuff who has alerts enabled
        Parameters:
        player - suspected player
        information - short information for the flag
      • punish

        public abstract void punish​(org.bukkit.entity.Player player,
                                    org.bukkit.Location location)
        Setback a player to a certain location in case if setback is enabled for the current detection
        Parameters:
        player - suspected player
        location - setback location