跳到正文

Another Random Spawn

作者:nikonru

可配置的服务器随机出生点模组,并为玩家提供图形界面。

收藏

介绍

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

About

  • Minecraft: 1.20.1
  • Mod Launcher: Forge

My fork of Just Another Random Spawn by hakujoucho.

A simple mod that allows you to configure random spawns for new players entering a Minecraft server.

The killer feature of this random spawn mod is that, instead of limiting you to the world’s center coordinates,
you can configure multiple differently sized areas where players can spawn randomly. Even better, you can let players choose
in which area they would like to spawn.

Configuration

After the first server launch, a RandomSpawn.toml file is created in the config folder.

[Config]
    RandomSpawnOnEachLogin = false
    MaxTries = 50
    "biome Blacklist" = ["mod1:biome2", "mod3:biome4"]
    "block Blacklist" = ["minecraft:magma_block", "minecraft:cactus", "minecraft:lava"]
    RandomSpawnArea = false

[[areas]]
    shape = "square"
    name = "default"
    x = 0
    z = 0
    radius = 100

  • RandomSpawnOnEachLogin – enables random spawn every time a player logs in. Useful for debugging.
  • MaxTries – how many random block positions will be tested before giving up.
  • biome Blacklist – list of biomes to avoid when searching for a spawn point.
  • block Blacklist – list of blocks to avoid when searching for a spawn point.
  • RandomSpawnArea – if true, players cannot choose an area; the server picks randomly (all areas have an equal chance).
  • shape – shape of the spawn area (circle or square).
  • name – name of the area, shown in the GUI.
  • x and z – coordinates of the area’s center.
  • radius – radius of the spawn area.

You can define as many areas as you wish. For example:

[Config]
    RandomSpawnOnEachLogin = false
    MaxTries = 50
    "biome Blacklist" = ["mod1:biome2", "mod3:biome4"]
    "block Blacklist" = ["minecraft:magma_block", "minecraft:cactus", "minecraft:lava"]
    RandomSpawnArea = false

[[areas]]
    shape = "square"
    name = "city"
    x = 250
    z = 900
    radius = 250

[[areas]]
    shape = "circle"
    name = "island"
    x = -900
    z = -76
    radius = 1000

[[areas]]
    shape = "circle"
    name = "forest"
    x = 1450
    z = 250
    radius = 670

For the player, it will look like this:

常见问题

Another Random Spawn 支持哪些 Minecraft 版本?

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

Another Random Spawn 怎么安装?

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

评论

登录后评论和评分