FallingOverride by longbread
*警告:仅适用于已修复掉落方块复制漏洞的服务端分支,如 Spigot 和 Paper 的衍生版本。
在其他服务器上使用此插件可能会导致重复刷物品!*
掉落方块复制机制在原版 Minecraft 中早已存在,并已成为许多技术与非技术类 Minecraft 服务器的组成部分。然而,一些服务器(如 Spigot 和 Paper 的分支版本)已修补了该复制机制,且未提供重新启用掉落方块复制功能的选项。
请提供需要翻译的文本。
该插件模拟了在已修复此机制的服务器上存在的掉落方块复制功能。玩家可以更高效地收集沙子等资源,以实现原版游戏原本的设计目标,同时保留其高级 Spigot/Paper 服务器的优势。
- - - - - - - - - - - -
1.18.2 需要对 RaysWorks 复制器设计进行小幅调整(请查看下方链接视频的说明)。
适用于 1.17 版本 的内容在 1.18 服务器上通常也能正常运行。1.18 版本 与 1.17 版本仅在外观上有所区别,并已在最新的 Paper 1.18.2 发布版中经过测试。
- - - - - - - - - - - -
命令与配置
用法: /falling [方块类型] [启用/禁用]
支持的方块类型包括 sand(沙、红沙)、anvil(铁砧、受损的铁砧、破碎的铁砧)、dragon egg(龙蛋),以及 decorative(所有其他可下落方块:如砾石、混凝土粉末等)。
服务器管理员可以针对每种方块类型单独启用或禁用。所需权限:falling.cheat
默认情况下,sand 和 decorative 类型的方块已启用,而 anvil 和 dragon egg 类型的方块则被禁用。运行不带任何参数的 /falling 命令可查看当前启用的状态。
机制说明
本插件已在 Paper 版本上针对 RaysWorks 的沙粒复制器设计 () 和 Shulkercraft 的龙蛋复制器设计 () 进行了测试。
该插件会检测一个朝末地传送门方块方向移动的可下落实体,当其落在末地传送门方块旁边时触发逻辑。
如果满足所有条件且该可下落方块的类型处于启用状态,插件将生成一个对应于该可下落方块的物品,并以类似于原生物块下落的速度将其投入末地传送门。这有效地模拟了原版服务器中发生此类事件时的结果。
备注
希望您喜欢并使用这款插件。要将其添加到您的服务器,请将 .jar 文件放入服务器的 plugins 文件夹中,然后重启或重载/启用服务器。
欢迎反馈!请随时告诉我您的想法,以及 FallingOverride 未来可以如何改进。
FallingOverride by longbread
*Warning: intended only for use on servers such as forks of Spigot and Paper where falling block duplication is patched.
Use of this plugin on other servers will likely cause double-duping!*
Falling block duplication has long existed in the vanilla Minecraft game and has become an integral part of many technical as well as non-technical Minecraft servers. However, some servers such as forks of Spigot and Paper have patched the duplication mechanic and not provided an option to re-enable falling block duplication.
This plugin mimics the falling block duplication mechanic on servers where it is patched. Players can more efficiently gather sand and other resources to realize their goals as the original game intended, all while retaining the benefits of their advanced Spigot/Paper server.
- - - - - - - - - - - -
1.18.2 requires a small change to the RaysWorks duplicator design (check the description of the video linked below).
The 1.17 version should still work on 1.18 servers. The 1.18 version only differs from the 1.17 version cosmetically and has been tested on the latest Paper 1.18.2 release.
- - - - - - - - - - - -
Commands and Configuration
Usage: /falling [block type] [enable/disable]
Block types are sand (sand, red sand), anvil (anvil, chipped anvil, damaged anvil), dragon egg (dragon egg), and decorative (all other falling blocks: gravel, concrete powder, etc.)
Each block type can be individually enabled or disabled by a server operator. Permission: falling.cheat
Sand and decorative block types are enabled by default, and anvil and dragon egg block types are disabled by default. Run /falling with no arguments to check what is currently enabled.
Mechanics
Plugin tested with RaysWorks's sand duplicator design () and Shulkercraft's dragon egg duplicator design () on a Paper release.
This plugin detects when a falling block entity moving in the direction of an end portal block lands next to the end portal block.
If all requirements are met and the falling block's block type is enabled, the plugin will generate an item corresponding to the falling block that will fall into the end portal with a velocity similar to that of the falling block. This effectively mimics the outcome of the event should it have occurred on a vanilla server.
Notes
I hope you enjoy this plugin and find it easy to use. To add it to your server, drop the .jar into your server's plugins folder and restart or reload/enable.
Feedback is appreciated! Feel free to let me know what you think and how FallingOverride could be improved in the future.
评论 0
登录后参与评分
还没有评论,来抢沙发吧