Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
SpawnCommand is a lightweight server‑side utility mod that adds a simple and reliable spawn system to your server. Admins can set a global spawn point using /setspawn, and players can teleport to it using /spawn — but only after a short delay to prevent abuse.
✨ Features
/setspawn – Sets the global spawn location (requires permission level 4)
/spawn – Teleports the player to the set spawn point
⏳ 3‑second teleport delay
❌ Teleport cancellation when the player:
-moves
-takes damage
✔ Server‑side only – No client mod required
⚙ Configurable (delay duration, movement cancel, damage cancel)
🔧 How it works
When a player runs /spawn, a 3‑second countdown begins. If the player stays still and avoids damage, the teleport completes successfully. If they move or take damage, the teleport is cancelled and a message is shown.
Everything can be configured:
{
"teleport_delay": 3,
"cancel_on_move": true,
"cancel_on_damage": true,
"spawn_point": {
"dimension": "minecraft:overworld",
"x": 0.0,
"y": 120.0,
"z": 0.0,
"yaw": 0,
"pitch": 90.0
}
}


