quick chat

This commit is contained in:
Draycia committed 2021-09-15 21:21:05 -07:00
1 parent 22f86a9268
commit 6cde90d39b
4 files changed
+32 -3

No files matched your search

@@ -3,6 +3,7 @@ package net.draycia.carbon.api.users;
import java.util.List;
import java.util.Locale;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import net.draycia.carbon.api.channels.ChatChannel;
import net.kyori.adventure.audience.Audience;
import net.kyori.adventure.identity.Identified;
@@ -172,4 +173,14 @@ public interface CarbonPlayer extends Audience, Identified {
*/
void spying(final boolean spying);
/**
* Sends the message as the player.
*
* @param message the message to be sent
* //@return the message result
* @since 2.0.0
*/
// TODO: change return type, provide information useful like what message was actually sent?
void sendMessageAsPlayer(final String message);
}