Spawn and back
Module teleport. Settings files: spawn.toml, back.toml.
Commands
| Command | What it does | Permission | Default |
|---|---|---|---|
/spawn | Teleport to the server spawn | brita.essentials.spawn | everyone |
/setspawn | Set the server spawn where you stand, with your view direction | brita.essentials.setspawn | operators |
/back | Return to the place before your last teleport or death (kept until the server stops) | brita.essentials.back | everyone |
Spawn
/setspawn saves the spawn point in britaessentials-spawn.json in the world folder. Until then /spawn
says that there is none, and joining and dying stay as in vanilla Minecraft.
| Setting | What it does | Default |
|---|---|---|
enabled | Switches /spawn, /setspawn and the two rules below on or off | true |
onJoin | Send players to spawn when they join: FIRST (only their very first time), ALWAYS or NEVER | FIRST |
onRespawn | Send players to spawn after death: WITHOUT_BED (no bed, anchor or set spawn point), ALWAYS or NEVER | WITHOUT_BED |
waitSeconds | Seconds to stand still before /spawn teleports; moving cancels it (0 to 300) | 0 |
cooldownSeconds | Seconds before /spawn can be used again | 0 |
Leaving the End through its portal is not a death. With onRespawn = "ALWAYS" a respawn anchor still uses
up a charge.
Back
back.toml:
| Setting | What it does | Default |
|---|---|---|
enabled | Switches /back on or off | true |
afterDeath | /back also returns to where you died | true |
safeLanding | Arrive on safe ground near the place, never in the air or in lava | true |
waitSeconds, cooldownSeconds | Like /spawn | 0 |
Prices
With the economy module, "spawn" and "back" under costs in economy.json set a price.
A teleport pays on arrival, so a cancelled one costs nothing.