Repository navigation
PasteSpell
JasperLorelai edited this page Nov 11, 2023
·
13 revisions
spell-class: ".targeted.PasteSpell"Targeted Spell that pastes a WorldEdit schematic at the target location. Create a .schem file with WorldEdit and put it into MagicSpells/schematics folder.
Since Beta 13 some of these options support dynamic values through numeric or string expressions.
| Option | Description | Type | Default | Supports expressions |
|---|---|---|---|---|
schematic |
Name of the schematic file. | String | "none" |
false |
y-offset |
Modifies the start height location. | Integer | 0 |
true |
undo-delay |
Delay before removing the schematic. | Integer | 0 |
true |
paste-air |
Should the schematic paste air? | Boolean | false |
true |
remove-paste |
Should the schematic be removed on server stop/reload? | Boolean | true |
true |
paste-at-caster |
Should the schematic be pasted at the caster's location? | Boolean | false |
true |
paste:
spell-class: ".targeted.PasteSpell"
schematic: schematicName.schem
y-offset: 1
undo-delay: 100
paste-air: false
remove-paste: true
paste-at-caster: false