Get random spawns, unique for every player. Lava excluded.
/spawnpoint can be respected or ignored./drandomspawn get_spawn [player]: Shows a saved spawn point. Specifying a player requires OP./drandomspawn random_teleport [player]: Sends you or another player to a new random spawn. Requires OP./drandomspawn set_spawn [player] [x] [y] [z]: Sets a player's saved spawn manually. Requires OP.Notable config options in dRandomSpawn.toml:
useSpectatorLock: Briefly locks the player and hides loading while a random spawn is being found.ignoreRespawnPoint: Ignores beds, respawn anchors, and /spawnpoint, so the mod handles every respawn.alwaysRandomSpawn: Gives a fresh random spawn on each mod-handled respawn instead of reusing the saved one.biomeBlacklist: Lists biomes that should never be used for random spawns.blockBlacklist: Lists blocks that players should never spawn on.Respawn behavior combinations:
ignoreRespawnPoint = false, alwaysRandomSpawn = false: Beds and anchors work normally. Otherwise, players return to their saved random spawn.ignoreRespawnPoint = false, alwaysRandomSpawn = true: Beds and anchors work normally. Otherwise, players get a fresh random spawn each time.ignoreRespawnPoint = true, alwaysRandomSpawn = false: Beds and anchors are ignored. Players return to their saved random spawn.ignoreRespawnPoint = true, alwaysRandomSpawn = true: Beds and anchors are ignored. Players get a fresh random spawn on every respawn.This project is a heavily revamped fork of the original RandomSpawn project by rinko1231, released under MIT; the original license is available under LICENSE.original.md.
Just comment or DM me or leave me something on GitHub issues, I'll probably do it.