Player.grantPermission

Grants a permission.

class Player
bool
grantPermission
(
string permission
)

Return Value

Type: bool

whether the permission was granted.

Examples

player.grantPermission("minecraft.teleport");
player.grantPermission("minecraft.*");

Meta