Teleport Players to Spawn on World Change
Automatic Spawn Teleport Between Worlds
When players travel between different worlds or dimensions on your server, you can automatically send them to the spawn point of the new world. This keeps players oriented and prevents them from spawning in dangerous or unintended locations.
Setting It Up
1. Enable the "teleport on world change" feature in the plugin configuration
2. Ensure each world has its own spawn point set using /spawn set while in that world
3. Players will now automatically teleport to the appropriate spawn when switching worlds
Fine-Tuning Behavior
You can apply a teleport delay so the transition isn't instant—players will see a countdown before being moved. Add a blindness effect during the delay to prevent disorientation.
Use the whitelist/blacklist feature to exclude specific worlds from this behavior. For example, you might want players to teleport to spawn when entering a lobby world, but not when moving between survival worlds.
Players with the spawn.bypass permission (if available) can skip this teleport, allowing them to retain their position when changing worlds.