跳到正文

Random First Spawn

作者:USlayout

Randomizes the initial spawn point.

收藏

介绍

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

RandomFirstSpawn Guide

Overview

  • Server-side Forge 1.20.1 mod that teleports first-time players to a random location within a configurable radius around the shared world spawn and persists the coordinates for future deaths.

Config (config/randomspawn-common.toml)

Key Description Default Range
spawnRange Random radius from the shared spawn (blocks) 4000 100–50000
minDistance Minimum straight-line distance to other players 300 10–5000
maxTries Attempts before escalating search 20 1–200
heightDiff Allowed elevation delta for the 7×7 flatness check 4 1–20
debugLogs Print accept/reject reasons to the console false true / false
["RandomSpawn Settings"]
    spawnRange = 4000
    minDistance = 300
    maxTries = 20
    heightDiff = 4
    debugLogs = false
  • Toggle debugLogs = true when you need to see candidate coordinates and rejection reasons while tuning the values.

日本語説明

概要

  • 初回ログインしたプレイヤーをワールド共有スポーンを中心とした半径範囲内でランダムにテレポートし、以降の死亡時も再利用できるよう座標を永続化する Forge 1.20.1 サーバー用 Mod。

コンフィグ (config/randomspawn-common.toml)

キー 説明 デフォルト 範囲
spawnRange 共有スポーンからのランダム半径 (ブロック) 4000 100–50000
minDistance 既存プレイヤーとの最低距離 300 10–5000
maxTries 1 回目の最大探索試行数 20 1–200
heightDiff 平坦判定で許容する高さ差 4 1–20
debugLogs 候補・却下理由を INFO で出力 false true / false
["RandomSpawn Settings"]
    spawnRange = 4000
    minDistance = 300
    maxTries = 20
    heightDiff = 4
    debugLogs = false
  • debugLogs = true にすると安全判定の詳細がコンソールに流れるため、設定調整や検証時に有効。

常见问题

Random First Spawn 支持哪些 Minecraft 版本?

Random First Spawn 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Random First Spawn 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

USlayout 的其他作品

查看全部 →