Player.revokePermission

Revokes a permission.

class Player
bool
revokePermission
(
string permission
)

Return Value

Type: bool

whether the permission was revoked.

Examples

player.revokePermission("minecraft.teleport");
player.revokePermission("example.*");

Meta