Permission Level
Checks if the entity has the specified permission level.
Type ID: eggolib:permission_level
Caution
This may not work properly in singleplayer.
Fields
Field | Type | Default | Description |
---|---|---|---|
comparison |
Comparison | ">=" |
Determines how the permission level of the entity should be compared to the specified value. |
compare_to |
Integer | 2 |
The value which the permission level of the entity should be compared to. |
Examples
This example will check if the entity is opped in general.