isPlayerBanned

fun isPlayerBanned(channelId: String, playerId: UUID): Result<Boolean>(source)

Checks if a player is banned from a channel.

Return

Result containing true if banned, false otherwise.

Parameters

channelId

The ID of the channel.

playerId

The UUID of the player to check.

Throws

if the channel does not exist.