Skip to content
JasperLorelai edited this page May 19, 2024 · 2 revisions

Source Code

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