Back to Mods

Saro's Random Spawn

Sends each player to a random safe spot on first join, at a distance you configure.

Header

Everybody spawning on the same block is a mess, so this throws each new player somewhere random within a distance you set.

Description

The search avoids lava, oceans, and waking up inside a wall. Scenic mode drops them in at Y=100 with Slow Falling instead, which is a better first look at a map than the inside of a dirt hole.

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 is the documentation. Questions and bug reports are faster on the Discord server.

Featured

Need a custom mod?

Tell me what the mod should do and I build it.

Hire me on Fiverr