Class CheckFlagEvent
- java.lang.Object
-
- me.clientastisch.events.event.impl.server.others.CheckFlagEvent
-
- All Implemented Interfaces:
Event<CheckFlagEvent>
public abstract class CheckFlagEvent extends java.lang.Object implements Event<CheckFlagEvent>
Will be called right before a flag message will be broadcast
In case this is cancelled no chat message will be send but the violation level changes- Since:
- CAC v. 0.9992
- Author:
- Clientastisch
-
-
Constructor Summary
Constructors Constructor Description CheckFlagEvent()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.StringgetCategory()abstract java.lang.StringgetCheckName()abstract java.lang.StringgetPunishment()abstract intgetViolation()abstract booleanisHidden()abstract booleanisPunishable()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface me.clientastisch.events.event.Event
cancelled, continued, getController, getPacket, getPipeline, getPlayer, getUUID, isCancelled, isContinue
-
-
-
-
Method Detail
-
getCategory
public abstract java.lang.String getCategory()
-
getCheckName
public abstract java.lang.String getCheckName()
-
getPunishment
public abstract java.lang.String getPunishment()
-
isPunishable
public abstract boolean isPunishable()
-
isHidden
public abstract boolean isHidden()
-
getViolation
public abstract int getViolation()
-
-