PermissionSpell - MomoPewpew/MagicSpells GitHub Wiki
spell-class: ".PermissionSpell"
Description:
Temporarily grants the caster the configured permission node.
Configuration Options:
| Option | Description | Default Value |
|---|---|---|
duration |
The duration, in ticks, the player will receive the permission for. | 0 |
permission-nodes |
A list of permission nodes to grant to the caster. |
Example:
permission:
spell-class: ".PermissionSpell"
duration: 100
permission-nodes:
- magicspells.grant.*