forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
PermissionSpell
JasperLorelai edited this page May 19, 2024
·
7 revisions
This spell extends its options from Instant Spell.
spell-class: ".PermissionSpell"
Temporarily grants the caster the configured permission node.
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default | Supports expressions |
---|---|---|---|---|
duration |
The duration, in ticks, the player will receive the permission for. | Integer | 0 |
true |
permission-nodes |
A list of permission nodes to grant to the caster. | String List | false |
permission:
spell-class: ".PermissionSpell"
duration: 100
permission-nodes:
- magicspells.grant.*