Class ChatAction
java.lang.Object
io.github.lucfr1746.llibrary.action.Action
io.github.lucfr1746.llibrary.action.list.ChatAction
Represents an action where a player sends a chat message.
-
Constructor Summary
ConstructorsConstructorDescriptionChatAction
(String message) Constructs a ChatAction with the specified message. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.bukkit.entity.Player target) Executes the chat action, making the player send the predefined message.Gets the chat message.
-
Constructor Details
-
ChatAction
Constructs a ChatAction with the specified message.- Parameters:
message
- The chat message to be sent by the player.
-
-
Method Details