跳到正文

RandomSpawn+

作者:Macronux

Randomspawn - teleports players to a random safe location on the surface within the world border, on first join and on respawn without a bed. Optional radius limit via /gamerule respawn_radius.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

RandomSpawnPlus

Random spawn plugin for Paper/Spigot/Leaf (1.16+).

Spawning

  • On first join to the server, the player is teleported to a random surface location within the world border.
  • On death without a bed/respawn anchor, the player respawns at a random location in the same zone.
  • If the player placed a bed, they respawn at the bed (vanilla); if the bed is broken, random spawn in the zone is used again.
  • Rejoining does not affect the player – they stay where they logged out.

Spawn zone

  • The main limit is the world border, with a border-margin offset from the edge.
  • An additional limit is the /gamerule respawn_radius <radius> command: the zone becomes the intersection of the border and a circle of the given radius around the world spawn. 0 or negative disables it – only the border is used. Alias: randomSpawnRadius. Query the value: /gamerule respawn_radius.
  • Values are stored in plugins/RandomSpawnPlus/spawnzones.yml (per world) and survive a server restart.

Safe spot

  • The spot is chosen on the surface (getHighestBlockYAt); water, lava, cacti, magma, fire and sweet berry bushes are excluded.
  • If a random spot is unsafe, a spiral search for a safe block is performed within safe-search-radius.
  • Up to search-attempts attempts are made to find a suitable location.

Config

config.yml: border-margin, search-attempts, safe-search-radius, worlds (empty = all worlds).

Discord

常见问题

RandomSpawn+ 支持哪些 Minecraft 版本?

RandomSpawn+ 支持 Minecraft Java 版 1.16–26.3,共 40 个版本,可用的加载器:Fabric / Folia / NeoForge / Paper / Purpur / Spigot。下载时注意选择和你游戏版本一致的文件。

RandomSpawn+ 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Folia / NeoForge / Paper / Purpur / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Macronux 的其他作品

查看全部 →