implement player ignore api

This commit is contained in:
Draycia authored and Josua Parks committed 2021-11-30 12:04:56 -08:00
1 parent ad2b7be13d
commit bf9e4e8148
3 files changed
+43

No files matched your search

@@ -346,4 +346,22 @@ public interface CarbonPlayer extends Audience, Identified {
*/
boolean awareOf(final CarbonPlayer other);
/**
* If this player is ignoring and hiding the messages of the sender.
*
* @param sender the player that may or may not be ignored
* @return if this player is ignoring the sender
* @since 2.0.0
*/
boolean ignoring(CarbonPlayer sender);
/**
* Ignores/unignores the player.
*
* @param player the player to ignore/unignore
* @param nowIgnoring if the player will be ignored
* @since 2.0.0
*/
void ignoring(CarbonPlayer player, boolean nowIgnoring);
}