Respawn 是一款适用于 Minecraft Forge 的模组,允许服务器管理员设置服务器的默认出生/重生维度。该模组完全运行在服务器端;客户端无需安装此模组即可连接已安装该模组的服务器,且即使客户端未安装该模组,只要服务器端已启用,玩家仍可使用该模组提供的命令。
Respawn 为服务器管理员(权限等级 2 及以上)添加了以下命令:
/respawn dimension 设置没有个人重生点的玩家出生/重生的维度
/respawn disable 禁用 Respawn 模组并恢复原版行为(或允许其他模组处理重生维度,而不受 Respawn 干扰)
可以通过执行原版命令 /execute in minecraft:overworld run setworldspawn x y z 来设置 XYZ 坐标的出生点位置(必须在主世界内执行才能生效,无论 Respawn 配置的是哪个维度)。
此外,还可以通过服务器配置文件来设置重生维度,该文件会在创建新世界存档时自动生成。你可以将此文件放入 minecraft/forge 实例中的 defaultconfig 文件夹,以设定新世界的默认出生维度。
完整文档请参阅链接 GitHub 源码中的 readme 文件:
Respawn is a mod for minecraft forge that allows server ops to set the default spawn/respawn dimension for the server. This mod is fully serversided; clients do not need to install the mod to connect to servers that have the mod, and clients without the mod can use the mod's commands if the server has the mod.
Respawn adds the following commands for server ops (permission level 2+):
/respawn dimension sets the dimension players with no personal respawn point will spawn/respawn at
/respawn disable disables the Respawn mod and reverts to vanilla behavior (or allows other mods to handle the respawn dimension without Respawn interfering)
The xyz spawn position can be set by running the vanilla command /execute in minecraft:overworld run setworldspawn x y z (it must execute in the overworld to take effect, regardless of which dimension Respawn is configured to use).
The respawn dimension can also be configured via a serverconfig file, which is generated whenever a new world save is created. This file can be placed in the defaultconfig folder of your minecraft/forge instance to set the default spawn dimension for newly created worlds.
See the readme in the linked github sources for full documentation:
评论 0
登录后参与评分
还没有评论,来抢沙发吧