GateSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".instant.GateSpell"
Description:
Teleports you to the existing world and defined coordinates; both world and coordinates are case-sensitive. Use SPAWN
instead of coordinates for the highest y-value safe location or EXACTSPAWN
for the exact spawn coordinates, including y-value, or CURRENT
.
Configuration:
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
world |
Specify which world you would teleport to. May be: current , default (first loaded world), or a specific world name. |
String | "current" |
coordinates |
Coordinates to teleport to. May be: spawn (safe location), exactspawn (may be unsafe), current , or a specific location through the format x,y,z or x,y,z,yaw,pitch . |
String | "spawn" |
str-gate-failed |
What to say when the teleport fails. | Rich Text | "Unable to teleport." |
Example:
spawn:
spell-class: ".instant.GateSpell"
always-granted: true
incantations: ["/spawn"]
cooldown: 50
cost:
- mana 10
str-cost: "10 mana."
world: current
coordinates: spawn
str-gate-failed: "Unable to teleport."