
Saro's Random Spawn
Dynamic Randomized Player Spawn System
About this Mod
!
A simple Minecraft mod that teleports players to random locations when they first join the server.
!
- Random First Spawn: Players are teleported to a random location when they first join the server
- Safe Teleportation: Advanced algorithm ensures players spawn safely on the surface, not in caves, walls, or dangerous areas
- Scenic Spawn Option: Players can spawn high in the air with slow falling effect for a scenic view of their new home
- Configurable Settings: Server administrators can customize teleportation settings
- Customizable Messages: Configure messages shown to players when they are teleported
- Optional Repeat Teleportation: Option to teleport players on every join, not just the first time
- Player Exceptions: Configure whitelist/blacklist for players who should not be teleported
!
The mod includes a configuration file where you can adjust:
- Minimum and maximum teleportation distance from spawn
- Whether to teleport players on every join or just the first time
- Custom messages to display when players are teleported (disabled by default)
- Safe teleportation toggle (ensures players don't spawn in dangerous areas)
- Scenic spawn option (players spawn high in the air with slow falling effect)
- Dimension-specific teleportation settings (Nether and End teleportation options)
- List of players who should be excluded from random teleportation
Here's an example of the configuration file (randomspawn-common.toml):
[general]
# Minimum distance from spawn to teleport players (in blocks)
minDistance = 500
# Maximum distance from spawn to teleport players (in blocks)
maxDistance = 2000
# Whether to teleport players on every join, not just the first time
teleportOnEveryJoin = false
# Whether to allow teleportation in the Nether dimension
allowNetherTeleport = false
# Whether to allow teleportation in the End dimension
allowEndTeleport = false
[messages]
# Whether to show a message to players when they are teleported
showTeleportMessage = false
# Message to show to players when they are teleported
teleportMessage = "You have been teleported to a random location!"
[safety]
# If true, ensures players are teleported to safe locations (not in lava, caves, etc.)
safeTeleport = true
# If true, players will spawn at Y=100 with slow falling effect and gently float down to the ground
spawnHighWithSlowFalling = false
[debug]
# If true, enables detailed debug logging to help diagnose issues
debugMode = false
[exceptions]
# If true, only players in the list will be teleported. If false, players in the list will NOT be teleported.
useWhitelist = false
# List of player names to whitelist or blacklist from teleportation
playerExceptions = ["ExamplePlayer1", "ExamplePlayer2"]
!
/newspawn- Teleports yourself to a random location (requires OP permission)/newspawn <player>- Teleports the specified player to a random location (requires OP permission)/newspawn @a- Teleports all players to random locations (requires OP permission)/newspawn @r- Teleports a random player to a random location (requires OP permission)/newspawn @p- Teleports the nearest player to a random location (requires OP permission)
The command supports all player selectors (@a, @p, @r, @e[type=player]) and can teleport multiple players at once.
](https://server.sarocesch.de/refersaro.php "https://server.sarocesch.de/refersaro.php")
Project Support & Usage
Hosting: For the best performance, I recommend using BisectHosting linked in the banner.
Modpacks: You are free to include my work in any modpack. Please ensure proper credit is given by providing a link to this project page.
Available Versions
How to Install Saro's Random Spawn on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Saro's Random Spawn". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Saro's Random Spawn server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Saro's Random Spawn compatible with fabric and forge?
Saro's Random Spawn officially supports fabric, forge for Minecraft 1.21.1, 1.20.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Saro's Random Spawn – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Saro's Random Spawn consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Saro's Random Spawn with just one click on your server.