mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 14:38:48 +00:00
Trigger bukkit chat events when using message commands
This commit is contained in:
7 files changed
+45
-2
No files matched your search
@@ -227,7 +227,16 @@ public interface CarbonPlayer extends Audience, Identified {
|
||||
void sendMessageAsPlayer(final String message);
|
||||
|
||||
/**
|
||||
* Returns whether or not the player is online.
|
||||
* Checks if the player is allowed to send the message or not.
|
||||
*
|
||||
* @param message the message
|
||||
* @return if the message can be sent in chat
|
||||
* @since 2.0.4
|
||||
*/
|
||||
boolean speechPermitted(final String message);
|
||||
|
||||
/**
|
||||
* Returns whether the player is online.
|
||||
*
|
||||
* @return if the player is online.
|
||||
* @since 2.0.0
|
||||
|
||||
Reference in new issue
Block a user