Back to Mods
Project

Saro's Random Spawn

Randomly teleports players to a safe location upon their first join. Configurable distance and scenic mode.

Header

On first join, teleports each player to a random safe location at a configurable distance from world spawn. Prevents everyone from piling up at the same coordinates and naturally spreads players across the map.

Description

The safe-spawn algorithm avoids lava, oceans, and solid walls. Enable scenic mode to spawn players at Y=100 with Slow Falling — they get a view of the landscape as they float down.

Configuration

randomspawn-common.toml:

Option Default Description
minDistance 500 Minimum distance from spawn
maxDistance 2000 Maximum distance from spawn
teleportOnEveryJoin false Teleport on every login
allowNetherTeleport false Random spawn in Nether
allowEndTeleport false Random spawn in End
safeTeleport true Avoid lava, oceans, etc.
spawnHighWithSlowFalling false Scenic mode (Y=100 + Slow Fall)
showTeleportMessage false Show message after teleport
teleportMessage "You have been..." Custom message text
useWhitelist false Whitelist mode
playerExceptions [] Excluded/included players
debugMode false Debug logging

Commands

Command Permission Description
/newspawn OP Teleport yourself to a new random location
/newspawn <player> OP Teleport a specific player
/newspawn @a OP Teleport all players randomly

Gallery

Configuration Commands

Note: This wiki serves as documentation. For active discussion, please join the Discord Server.

Featured

Need a Custom Mod?

Concept to code. I build professional, optimized mods tailored to your exact specifications.

Hire me on Fiverr