介绍

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.
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.
常见问题
Saro’s Random Spawn 支持哪些 Minecraft 版本?
Saro’s Random Spawn 支持 Minecraft Java 版 1.20.1–26.3,共 4 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
Saro’s Random Spawn 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Sarocesch 的其他作品
查看全部 →
Saro´s Money
新增实体硬币(1 欧元至 2 欧元)、纸币(5 欧元至 500 欧元)、ATM 和银行账户,打造完整的多人经济系统;支持 /pay、/eco 指令、告示牌商店和排行榜。
Saro´s Road Signs
添加可用的红绿灯、限速标志、停车标志,以及带 3D 模型和音效的自定义标志包。搭配 Saro's Road Blocks,即可打造完整的道路基础设施。
Saro´s Road Blocks
添加带斜坡和楼梯变体的沥青、防撞护栏、路灯和道路标线工具,用于建造逼真的公路、高速公路和匝道。
Saro´s Construction
新增施工围挡、路锥、脚手架和可互动的工地设备,打造逼真的施工区域。
评论
登录后评论和评分