Subject

fun interface Subject

An object that has a queryable set of permissions.

Inheritors

Functions

Link copied to clipboard

Converts this subject to its equivalent Adventure permission checker.

Link copied to clipboard
abstract fun getPermissionValue(permission: String): TriState

Gets the value for the given permission.

Link copied to clipboard
open fun hasPermission(permission: String): Boolean

Checks if this subject has the given permission.