BindSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".command.BindSpell"
Description:
The spell binds the passed spell to the held item so that it would act as a cast item of the passed spell. You can pass a spell using spell cast arguments are passed either with the cast command or subspell args.
Configuration:
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
| Option | Description | Type | Default | Supports expressions | 
|---|---|---|---|---|
bindable-items | 
Items this spell may be bound to. | Magic Item String List | false | 
|
allowed-spells | 
Spells allowed to be bound by this Bind spell. | String List | false | 
|
allow-bind-to-fist | 
Boolean | false | 
true | 
|
check-can-cast-with-item | 
Since 4.0 Beta 18. When false, the can-cast-with-item option will no longer prevent binding. | 
Boolean | true | 
true | 
str-usage | 
Message sent if no cast arguments were passed. | Rich Text | "You must specify a spell name and hold an item in your hand." | 
true | 
str-no-spell | 
Rich Text | "You do not know a spell by that name." | 
true | 
|
str-cant-bind-item | 
Rich Text | "That spell cannot be bound to that item." | 
true | 
|
str-cant-bind-spell | 
Rich Text | "That spell cannot be bound to an item." | 
true | 
|
str-spell-cant-bind | 
Rich Text | "That spell cannot be bound like this." | 
true | 
Additional Placeholders:
str-cast-self:%s: Spell name.