Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Saro's Random Spawn

Saro's Random Spawn

Dynamic Randomized Player Spawn System

334
4
Game Mechanics
Management
Utility
AboutChangelogVersions

Header

A simple Minecraft mod that teleports players to random locations when they first join the server.

description

  • 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

Configuration

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"]

Commands

  • /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

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.1
1.20.1

Platforms

Fabric
Forge

Supported environments

Server-side

Links

Join Discord server

Creators

Sarocesch
Sarocesch Member

Details

Licensed ARR
Published 3 months ago
Updated last month

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.