Package me.clientastisch.cardinal.checks
Class Checks
java.lang.Object
me.clientastisch.cardinal.checks.Checks
- Since:
- CAC v. 5.4.30
- Author:
- micartey
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTrigger a flag / alert for a suspected player.voidsetBanType(Checks.BanType banType) Set the ban type.voidsetToggle(boolean state) Enable or disable a check
-
Constructor Details
-
Checks
public Checks()
-
-
Method Details
-
flag
Trigger a flag / alert for a suspected player. It does not necessarily flag as it can be cancled, hidden, ...- Parameters:
player- suspectvalue- flag information
-
setToggle
public void setToggle(boolean state) Enable or disable a check- Parameters:
state- true if enabled
-
setBanType
Set the ban type. E.g. kick, ban, tempban or non- Parameters:
banType- type
-