Ic0nic 的全限制大锤插件
本插件将多种功能整合为一个通用的大锤插件。
该插件为开源项目,您可以查看代码仓库并自行构建。
功能
Mace-Limit(大锤数量限制)
服务器上可制作的大锤总数上限。
此功能通过在安装本插件后对制作出的大锤进行标记来实现。未被标记的大锤不受本插件逻辑控制,其他功能也仅对已标记的大锤生效。
然而,使用管理员命令复制或删除已标记的大锤可能会导致大锤计数器出现混乱,因此建议避免此类操作。
Glowing-Mace(发光大锤)
启用此功能后,掉落的大锤会发出光芒。
Enforce-Mace-Limit(强制执行大锤限制)
这是一个破坏性过程,会删除所有未标记的大锤。
Enabled(启用)
切换“强制执行大锤限制”功能的开关。
Enforce-Enchantments(强制执行附魔限制)
当玩家尝试使用超过限制等级的附魔时,会降低大锤的附魔等级(前提是附魔等级受到限制)。
Register-Old-Maces(注册旧大锤)
开启此选项后,如果大锤数量上限尚未达到,“强制执行大锤限制”会将大锤注册而非删除。
Stash-Mace(储物大锤)
如果关闭此选项,大锤将无法放入任何容器(如箱子、 barrels、潜影盒、布袋等)。
Undestructable-Maces(不可摧毁的大锤)
如果开启此选项,大锤将不再燃烧、爆炸或自然消失。此时,唯一能销毁大锤的方式是将其扔进虚空或将其打碎。
Enchantment-limits(附魔限制)
Enchantable(可附魔)
如果关闭此选项,大锤将无法被附魔。
[Enchant Name : Level](附魔名称:等级)
限制任意附魔的最高等级。您可以将某项附魔的限制等级设置为 0,使其无法获得。
Cooldown(冷却时间)
添加大锤攻击冷却机制。
Enabled(启用)
切换此功能的开关。
Time(时间)
冷却时间的长度,单位为刻(ticks)。
(1 秒 = 20 刻)
Forgive-Shield-Hit(盾牌格挡豁免)
如果启用此选项,当玩家击中盾牌时,不会触发冷却时间。
Punish-Missing(惩罚落空)
如果启用此选项,当玩家攻击落空时,会触发冷却时间。
Mace-Craft-Event(大锤合成事件)
Enabled(启用)
如果启用了合成事件,当玩家合成大锤时,大锤不会直接掉落,而是先广播玩家的位置,然后在指定时间后将大锤投放到该位置。
Time(时间)
从合成大锤到大锤掉落所需的时间。
如果时间为 0,则仅广播玩家的位置。
Reveal Player(显示玩家)
是否显示合成大锤的玩家。
Reveal Position(显示位置)
如果时间为 0,则不会广播大锤合成的位置。
Commands & Permissions(命令与权限)
| Command |
Description |
Permission |
/iconicFML maceCount |
查看服务器上的大锤数量 |
iconicfml.view |
/iconicFML reload |
重新加载配置文件 |
iconicfml.reload |
/iconicFML setMaceCount <amount> |
修改大锤计数器数值 |
iconicfml.set |
Note: 权限可以通过任何标准的权限插件(如 LuckPerms)进行管理。
如果您有任何问题、反馈或建议,请通过 Discord 联系我,我的用户名是 abdulla12e84
Ic0nic's Full Mace Limiter
This plugin groups many feature for a general mace plugin.
this plugin is open source, so you can view the repo and build it yourself
Features
Mace-Limit
the number of maces that can be crafted on the server
this works by marking crafted maces after this plugin is installed, making any other mace separate from this plugin's logic, and other features only work on marked maces.
however, duplicating a marked mace or destroying a marked mace using admin commands can be mess up with the mace counter, so it's advised to refrain from doing so
Glowing-Mace
Turning this feature on causes maces to glow when they are dropped
Enforce-Mace-Limit
it's a destructive process that deletes all unmarked maces.
Enabled
Toggles Enforce Mace Limit
Enforce-Enchantments
degrades mace enchants (if enchants are limited) when the player attempts to use them
Register-Old-Maces
by turning this on, enforce-mace-limit would register a mace instead of deleting it if the mace cap hasn't been reached
Stash-Mace
if this option is turned off, maces can no longer be placed inside any containers (chests, barrels, shulkers, bundles.. etc)
Undestructable-Maces
if this option is turned on, maces will no longer burn, blow up or despawn. making the only way to destroy a mace if it's thrown in the void or has been broken
Enchantment-limits
Enchantable
if this is turned off, maces can no longer be enchanted
[Enchant Name : Level]
limits any enchant level, you can make an enchantment unobtainable by setting it to 0
Cooldown
Adds Mace Cooldown
Enabled
option to toggle this feature
Time
how long the cooldown is in ticks
(Ticks = 20 x Seconds)
Forgive-Shield-Hit
if this option is enabled, cooldowns will no longer be triggered if a player hits a shield
Punish-Missing
if this option is enabled, cooldowns will be triggered if the player misses their hit
Mace-Craft-Event
Enabled
if craft events are enabled, when a player crafts a mace, it won't drop, instead, it'd announce the player position, then drop the mace at that location after the given time
Time
how long it takes after crafting the mace for it to drop.
if time is 0, it'll only announce the player position
Reveal Player
if the player crafting the mace should be revealed
Reveal Position
if the time is 0, it wouldn't announce the position the mace was crafted
Commands & Permissions
| Command |
Description |
Permission |
/iconicFML maceCount |
Views the number of maces on the server |
iconicfml.view |
/iconicFML reload |
reloads config file |
iconicfml.reload |
/iconicFML setMaceCount <amount> |
modify the mace counter |
iconicfml.set |
Note: Permissions can be managed through any standard permissions plugin (like LuckPerms).
If you have any questions, feedback or suggestions, you can message me through discord, my username is abdulla12e84
评论 0
登录后参与评分
还没有评论,来抢沙发吧