Class HelloResponse
-
- All Implemented Interfaces:
public final class HelloResponse extends ChatResponse
-
-
Constructor Summary
Constructors Constructor Description HelloResponse()
-
Method Summary
Modifier and Type Method Description List<String>
getTriggers()
A list of strings that trigger this response. Boolean
isFullMessage()
Require the player's full message to match one of the registered phrases. Integer
getDelay(ServerLevel level, ServerPlayer sender)
If you need more custom logic for delay times than a constant, override this. Unit
respond(ServerLevel level, ServerPlayer sender)
Called when the chat response is triggered. -
Methods inherited from class dev.wendigodrip.thebrokenscript.api.responses.ChatResponse
afterTicks, check, execute, getCaseSensitive, getDelay, getLevel, getSender, playGlobalSound, playGlobalSound, playSound, playSound, setLevel, setSender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTriggers
List<String> getTriggers()
A list of strings that trigger this response.
-
isFullMessage
Boolean isFullMessage()
Require the player's full message to match one of the registered phrases.
-
getDelay
Integer getDelay(ServerLevel level, ServerPlayer sender)
If you need more custom logic for delay times than a constant, override this.
-
-
-
-