This commit is contained in:
Draycia committed 2020-06-29 08:33:11 -07:00
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
*/