Package com.griefdefender.api.provider
Interface AudienceProvider
public interface AudienceProvider
-
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.audience.AudienceGets the consoleAudience.@Nullable net.kyori.adventure.audience.AudienceGets the playerAudienceforUUID.net.kyori.adventure.audience.AudienceGets the senderAudience.
-
Method Details
-
getPlayer
Gets the playerAudienceforUUID.- Parameters:
uuid- The player uuid- Returns:
- The audience, if available
-
getConsole
net.kyori.adventure.audience.Audience getConsole()Gets the consoleAudience.- Returns:
- The audience
-
getSender
Gets the senderAudience. Note: The sender should be a command source of the platform.- Parameters:
sender- The sender- Returns:
- The audience
-