Custom Anvil
Custom Anvil 是一个插件,允许服务器管理员自定义铁砧机制的方方面面。
Custom Anvil 具有以下功能:
- 类似原版(Vanilla)的默认配置。
- 自定义附魔等级上限。
- 自定义铁砧配方。
- 自定义附魔限制(仅允许对特定物品组进行不安全附魔,或创建新的限制)。
- 自定义修复单位(使用“材料”单位修复损坏的物品,例如用钻石修复钻石剑)。
- 铁砧各方面操作的自定义经验值消耗。
- 拥有权限可绕过等级限制或附魔限制。
- 当经验值消耗超过 40 级时,显示具体的经验值消耗而非“过于昂贵”。(更多信息见下文)
- 可以处理某些自定义附魔插件。(更多信息见下文)
- 游戏内图形用户界面(GUI)用于配置插件。
- 支持使用颜色代码、十六进制颜色和 MiniMessage 进行颜色/装饰设置。
- (实验性)Folia 支持(GUI 无法工作)
- (实验性)对话框重命名(允许更长的重命名文本)
- (实验性)带有货币成本的铁砧(使用 Vault)(需要启用对话框重命名)
以及更多!
权限说明:
请注意,对于大多数权限,您还需要启用相应功能,并且在大多数情况下需为特定功能启用权限使用(标有 (toggleable) 表示可切换)。
# 通用和绕过权限
ca.affected: 拥有此权限的玩家将受到该插件的影响
ca.bypass.fuse: 允许玩家将任意附魔组合到任意物品上(无自定义限制)
ca.bypass.level: 允许玩家绕过所有等级限制(无自定义限制)
# 命令权限
ca.command.reload: 允许管理员重新加载插件配置
ca.command.diagnostic: 允许管理员诊断插件的一些简单问题
ca.config.edit: 允许管理员在游戏内编辑插件配置
# -----------------------------------------------------------------------------
# 以下权限也需要一些配置更改才能启用功能的使用
# 这些权限的使用可以在基本配置 GUI 或 config.yml 中切换
# -----------------------------------------------------------------------------
# 与颜色和 MiniMessage 使用相关的权限
ca.color.code: 如果已启用,允许玩家在重命名时使用颜色代码(可切换)
ca.color.code.[thecode](例如 ca.color.code.a):仅允许使用特定的颜色代码(可切换)
ca.color.hex: 如果已启用,允许玩家在重命名时使用十六进制颜色(可切换)
ca.rename.minimessage: 如果已启用,允许玩家在重命名时使用 MiniMessage 格式(可切换)
# 与编辑描述 Lore 相关的权限
ca.lore_edit.book: 如果已启用,允许玩家通过书本和羽毛笔编辑描述(可切换)
ca.lore_edit.paper: 如果已启用,允许玩家通过纸张编辑描述(可切换)
# 其他
ca.rename.dialog: 允许玩家使用重命名对话框(可切换)
命令
运行 /customanvil help 以获取可用命令的信息
此命令仅显示您拥有权限的子命令
支持的插件
请参阅 兼容性列表
覆盖“过于昂贵”提示
一项配置允许显示高于 40 的经验值消耗并移除“过于昂贵”的提示。
由于 Minecraft 客户端的工作原理:超过 40 级的价格只能显示为绿色,即使玩家没有足够的经验等级。
Spigot 版本 1.18 至 1.21.11 不需要任何 ProtocolLib 依赖。(26.1.0 或以上版本需要它)
任何较新的 Paper 版本也支持此功能。
但如果添加了新的可附魔物品或新附魔,请等待更新后的版本。
否则,在当前使用的 Paper 新版本上使用当前版本应该是没问题的。
针对自定义附魔插件开发者
有关 API 的信息,请参阅 Wiki
(请注意,Wiki 目前尚不完整)
插件默认配置
请参阅 此处
指标与遥测数据
Custom Anvil 使用 bstat 和 faststats 进行指标收集和错误报告。
您可以在 config.yml 中选择特定的遥测数据或禁用所有遥测。
如果您愿意,也可以在它们的 /plugins 文件夹中 禁用 bstat 和 faststats。
Faststats 处于 beta 测试阶段,如果遇到任何错误,请向我或他们报告。
鸣谢与感谢
鸣谢与感谢信息可查看 此处
计划中:
- 更好的 Folia 支持(使 GUI 正常工作,修复一些处理不当的部分)
- 获取未知附魔的限制(计划用于 V2)
- 更多自定义铁砧制作功能
已知问题:
大多数未注册的附魔(由不支持的自定义附魔插件和数据包添加)默认不会有限制。已列入计划但暂无预计完成时间。
需要插件帮助,或有遇到问题或建议?
您可以在讨论页提问,创建 GitHub Issue 或加入我的 Discord
Custom Anvil
Custom Anvil is a plugin that allows server administrators to customize every aspect of the anvil's mechanics.
Custom Anvil have the following features:
- Vanilla like default configuration.
- Custom enchantment level limit.
- Custom anvil recipes.
- Custom enchant restrictions (allows unsafe enchantment only for a group of item or create new restriction).
- Custom items of unit repairs (repair damaged with unit of "material", for example the repair of diamond sword by diamonds).
- Custom XP cost for every aspect of the anvil.
- Permissions to bypass level limit or enchantment restriction.
- Display XP cost instead of "too expensive" when above level 40. (see below for more information)
- Can handle some custom enchantment plugins (see below for more information)
- Gui to configure the plugin in game.
- Support use of color code, hexadecimal color and minimessage for color/decoration
- (Experimental) Folia support (gui do not work)
- (Experimental) Dialog rename (allows longer rename)
- (Experimental) Anvil with monetary cost (using vault) (require dialog rename)
And more !
Permissions:
Note that for most of them you also need to enable feature and in most case enable use of permission for the specfic feature (indicated with (toggleable))
# Generic and bypass permissions
ca.affected: Player with this permission will be affected by the plugin
ca.bypass.fuse: Allow player to combine every enchantments to every item (no custom limit)
ca.bypass.level: Allow player to bypass every level limit (no custom limit)
# Command permissions
ca.command.reload: Allow administrator to reload the plugin's configs
ca.command.diagnostic: Allow adminastator to diagnistic some simple problem with the plugin
ca.config.edit: Allow administrator to edit the plugin's config in game
# -----------------------------------------------------------------------------
# Bellow permissions also require some config change to allow usage of features
# Usage of these permission is toggleable in basic config gui or config.yml
# -----------------------------------------------------------------------------
# Permissions related to use of color and minimessage
ca.color.code: Allow player to use color code on rename if enabled (toggleable)
ca.color.code.[thecode] (for example ca.color.code.a): Allows usage of only certain color code (toggleable)
ca.color.hex: Allow player to use hexadecimal color on rename if enabled (toggleable)
ca.rename.minimessage: Allow player to use minimessage formating on rename if enabled (toggleable)
# Permissions related to edition of the lore
ca.lore_edit.book: Allow player to edit lore via book and quil if enabled (toggleable)
ca.lore_edit.paper: Allow player to edit lore via paper if enabled (toggleable)
# Others
ca.rename.dialog: Allow player to use the rename dialog (toggleable)
Commands
run /customanvil help to get information about available commands
this only show subcommands you have permission for
Supported Plugins
See the Compatibility list
Overriding Too Expensive
One of the configurations allow displaying price about 40 and removing Too Expensive.
By how the minecraft client work: price above 40 can only be displayed green, even if the player does not own enough experience level.
spigot version 1.18 to 1.21.11 do not need any ProtocoLib dependency. (26.1.0 or above requires it)
Any recent paper version also are supported for this feature.
But you should wait for update for new version containing new enchantable item or new enchantments if any of this got added.
Else it is, likely, fine to use the current version you are ussing on a new paper version
For custom enchantment plugin developers
For information about the API, please refer to the Wiki
(Please note that the wiki is currently incomplete)
Default Plugin's Configurations
see Here
Metric And Telemetry
Custom anvil use bstat and faststats for metric and error reporting.
You can select specific telemetry or disable all in config.yml.
You can also disable bstat and faststats in their /plugin folder if you like too.
faststats is in beta testing please report me or them any error you encounter
Credits and Thanks
Credits and thanks can be seen Here
Planned:
- Better Folia support (make gui work. fix some dirty handled parts)
- Get restriction on unknown enchantments (planned for V2)
- More features for custom anvil craft
Known issue:
Most unknown registered enchantments (by unsupported custom enchantment plugin & datapacks) will not have restriction by default. Planned but no eta.
Do you need help with the plugin, or have any issue or suggestion?
You can ask on the discussion page, create a GitHub issue or join my discord
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomAnvil
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新 IF
修复断开连接时潜在的 null 问题
修复锁定问题,在出现锁定问题时发出警告并为所有情况启用锁定(#135)
使用 AI 诊断该问题
一些非常细微的修复:
- 更新了 Inventory Framework
- 修复了一些罕见的错误
完整更新日志:
本次更新添加了翻译系统!
目前仅支持英文。由于我只会法语和英语,因此非常欢迎任何帮助!
你也可以自行添加翻译。更多详情请参见 此处。
如果你发现任何问题,尤其是视觉方面的问题,请告诉我!
此外,还增加了对 UberEnchants 的支持。
一些修复!
- 编写默认值时,稀有度和等级默认为 -1
- 默认情况下,仅在 Folia 上使用锁实现
- 修复经济附魔类型限制未按预期工作的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧