Package org.leralix.lib.utils
Class ChatUtils
java.lang.Object
org.leralix.lib.utils.ChatUtils
This class is used for chat related utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
sendClickableCommand
(org.bukkit.entity.Player player, String message, String command) This method is used to send a clickable message to a player.
-
Method Details
-
sendClickableCommand
public static void sendClickableCommand(org.bukkit.entity.Player player, String message, String command) This method is used to send a clickable message to a player.- Parameters:
player
- The player to send the message to.message
- The message to send.command
- The command to run when the message is clicked without the "/" (exemple : tp 0 0 0)
-