维度与鞘翅控制
Dimension and Elytra Control 是一款轻量级的服务端模组,允许服务器管理员通过游戏内规则(game rules)来控制对末地(The End)的访问、对下界(The Nether)的访问以及 Minecraft 标准鞘翅飞行机制。
该模组仅安装在专用服务器上。玩家无需安装它。
所有限制默认处于关闭状态,因此安装此模组不会改变正常的游戏玩法,直到管理员启用所需的游戏内规则。
功能特性
- 阻止前往末地。
- 阻止前往下界。
- 阻止 Minecraft 标准的坠落飞行机制。
- 独立控制每项限制。
- 即时应用更改,无需重启服务器。
- 将所有设置存储为正常的按世界生效的游戏内规则。
- 保留鞘翅物品、装备、耐久度及状态效果。
- 支持原版及兼容的模组鞘翅。
- 无需客户端安装。
游戏内规则 (Game Rules)
| 游戏内规则 |
默认值 |
描述 |
disableEnd |
false |
阻止前往末地 |
disableNether |
false |
阻止前往下界 |
disableElytraFlight |
false |
阻止 Minecraft 标准的坠落飞行 |
命令
末地访问
/gamerule disableEnd true
/gamerule disableEnd false
下界访问
/gamerule disableNether true
/gamerule disableNether false
鞘翅飞行
/gamerule disableElytraFlight true
/gamerule disableElytraFlight false
更改立即生效,并随世界一起保存。
鞘翅兼容性
该模组阻止的是 Minecraft 标准的坠落飞行状态,而不是维护一个硬编码的物品 ID 列表。
这使得它能够覆盖:
- 原版鞘翅
- 兼容的模组鞘翅
- 使用标准坠落飞行的临时飞行效果
- 其他基于 Minecraft 鞘翅飞行机制的物品或效果
该模组不会移除、损坏或卸下鞘翅,也不会移除相关的状态效果。
它不适用于影响以下情况:
- 创造模式飞行
- 喷气背包
- 漂浮效果
- Create: Aeronautics
- 不使用标准坠落飞行的载具或飞行器
- 其他独立于鞘翅机制的飞行系统
安装
- 在服务器上为 Minecraft 1.21.1 安装 NeoForge。
- 下载模组 JAR 文件。
- 将 JAR 文件放入服务器的
mods 目录中。
- 重启服务器。
- 使用游戏内规则命令启用所需的限制。
客户端不需要安装此模组。
下界配置
建议在 server.properties 文件中保留以下设置:
allow-nether=true
然后可以通过 disableNether 游戏内规则来控制下界访问,而无需重启服务器。
当 allow-nether=false 时,原版服务器会独立禁用下界,此模组无法仅通过游戏内规则来恢复访问权限。
要求
- Minecraft 1.21.1
- NeoForge 21.1.x
- Java 21
文档
英文和俄文文档可在项目的 GitHub 仓库中找到。
许可证
本模组采用 MIT 许可证授权。
在许可证条款允许的范围内,允许将其包含在整合包中。
Dimension and Elytra Control
Dimension and Elytra Control is a lightweight server-side mod that lets server administrators control access to the End, access to the Nether, and Minecraft's standard elytra flight through game rules.
The mod is installed only on the dedicated server. Players do not need to install it.
All restrictions are disabled by default, so installing the mod does not change normal gameplay until an administrator enables the required game rules.
Features
- Block travel to the End.
- Block travel to the Nether.
- Block Minecraft's standard fall-flying mechanics.
- Control each restriction independently.
- Apply changes immediately without restarting the server.
- Store all settings as normal per-world game rules.
- Preserve elytra items, equipment, durability, and status effects.
- Support vanilla and compatible modded elytras.
- Require no client-side installation.
Game rules
| Game rule |
Default |
Description |
disableEnd |
false |
Blocks travel to the End |
disableNether |
false |
Blocks travel to the Nether |
disableElytraFlight |
false |
Blocks standard Minecraft fall flying |
Commands
End access
/gamerule disableEnd true
/gamerule disableEnd false
Nether access
/gamerule disableNether true
/gamerule disableNether false
Elytra flight
/gamerule disableElytraFlight true
/gamerule disableElytraFlight false
Changes take effect immediately and are saved with the world.
Elytra compatibility
The mod blocks Minecraft's standard fall-flying state instead of maintaining a hardcoded list of item IDs.
This allows it to cover:
- Vanilla elytras
- Compatible modded elytras
- Temporary flight effects that use standard fall flying
- Other items or effects based on Minecraft's elytra-flight mechanics
The mod does not remove, damage, or unequip elytras, and it does not remove related status effects.
It is not intended to affect:
- Creative flight
- Jetpacks
- Levitation
- Create: Aeronautics
- Vehicles or aircraft that do not use standard fall flying
- Other flight systems independent of elytra mechanics
Installation
- Install NeoForge for Minecraft 1.21.1 on the server.
- Download the mod JAR.
- Place the JAR in the server's
mods directory.
- Restart the server.
- Enable the desired restrictions using the game-rule commands.
Clients do not need to install the mod.
Nether configuration
It is recommended to keep the following setting in server.properties:
allow-nether=true
Nether access can then be controlled through the disableNether game rule without restarting the server.
When allow-nether=false, the vanilla server disables the Nether independently, and this mod cannot restore access using a game rule alone.
Requirements
- Minecraft 1.21.1
- NeoForge 21.1.x
- Java 21
Documentation
English and Russian documentation is available in the project's GitHub repository.
License
Licensed under the MIT License.
Modpack inclusion is permitted under the terms of the license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧