Spectator Switch (SMS) Datapack
A lightweight and multiplayer-safe datapack that lets players freely switch between Survival and Spectator mode using simple trigger commands—no OP required.
Features
/trigger sms_on→ switch to Spectator mode/trigger sms_off→ return to Survival mode- Automatically saves your exact position before switching
- Teleports you back to your original location when returning
- Fully multiplayer-safe (no player conflicts) (might be buggy)
- Works on servers and singleplayer worlds
- No mods required
How it works
Each player is assigned a unique internal ID so their saved location and teleport marker are completely isolated from other players, ensuring smooth and reliable switching even in large multiplayer worlds.

