mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
stonks
This commit is contained in:
1 parent
244fff263e
commit
c798208670
6 files changed
+62
-265
No files matched your search
@@ -7,6 +7,7 @@ import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.javacord.api.event.message.MessageCreateEvent;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public abstract class ChatChannel {
|
||||
@@ -101,6 +102,10 @@ public abstract class ChatChannel {
|
||||
*/
|
||||
public abstract boolean canPlayerUse(Player player);
|
||||
|
||||
public abstract boolean canPlayerSee(OfflinePlayer offlinePlayer, Player player);
|
||||
|
||||
public abstract List<Player> getAudience(OfflinePlayer offlinePlayer);
|
||||
|
||||
/**
|
||||
* @return If the channel should forward its formatting / formatted message to other servers
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user