EnderchestSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".instant.EnderchestSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

The EnderChest spell is an instant spell that Opens the enderchest inventory of the caster. the player has the permission magicspells.advanced.<internalSpellName> and spell cast arguments are passed either with the cast command or subspell args then the caster will open the enderchest of the player passed as the first argument.

Example:

Enderchest:
    spell-class: ".instant.EnderchestSpell"
    cast-item: blaze_rod
    description: Opens your ender chest inventory.
    cooldown: 60