Skip to content
JasperLorelai edited this page Mar 21, 2022 · 7 revisions

Permission Spell

Source Code

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.*
Clone this wiki locally