LimitedMaces
Limited Maces 是一款小型插件,允许服务器控制玩家可用的锤子数量。它非常适合硬核服务器、生存多人游戏(SMP)或活动服务器!
想要像 Lifesteal SMP 那样的“一锤服务器”?只需将锤子限制设置为 1!
⚠️ 警告
自版本 1.3.0 起,已正式停止对 Spigot 和 Bukkit 的支持!虽然不太可能,但该插件可能与 Spigot/Bukkit 兼容;然而,由于这些服务器软件被视为过时,我们将不会对其进行测试或提供官方支持。
功能
-
限制锤子总数 允许服务器设置通过制作获得的锤子数量的上限。
-
锤子容器限制
锤子不能存储在以下容器中:- 箱子 (Chests)
- 桶 (Barrels)
- 潜影盒 (Shulker Boxes)
- 漏斗 (Hoppers)
- 所有其他容器
-
锤子制作限制
- 当达到上限时,锤子的合成配方会自动禁用
- 自动合成器无法制作锤子
- 如果任何锤子的状态发生变化,聊天中会发送消息(未来可能会支持 Discord Webhook)
-
被摧毁的锤子
- 当锤子被摧毁时:
- 聊天中会发送一条消息
- 可以制作另一把锤子(最多达到最大限制)
- 当锤子被摧毁时:
-
非法锤子检测器
- 所有被追踪和重复的锤子都会被删除。这会产生一个副作用,即阻止创造模式用户随意摆弄锤子。
-
锤子攻击冷却时间
- 将
mace-cooldown-seconds设置为正整数并运行/maces reload以启用此功能。默认值为0(禁用)。 - 玩家使用锤子造成伤害后,必须等待指定的秒数才能再次使用任何锤子进行攻击。其他武器仍可正常使用。
- 将
-
附魔锤子
- 决定你是否希望锤子可附魔
- 如果启用了
allow-mace-enchanting,则可以将锤子放入附魔台和铁砧中。 - 如果禁用,则不能将锤子放入任何附魔台或铁砧中,使其完全不可附魔
命令
| 命令 | 权限 | 描述 |
|---|---|---|
/maces |
limitedmaces.use |
检查被追踪的锤子 |
/maces reload |
limitedmaces.reload |
重新加载配置文件 |
/maces setlimit <n> |
limitedmaces.setlimit |
设置锤子数量 |
/maces enchanting <on|off> |
limitedmaces.enchanting |
开启/关闭锤子附魔 |
/getuntrackedmace |
limitedmaces.getuntracked |
获取一把未被追踪的锤子(忽略限制) |
/clearuntrackedmaces |
limitedmaces.clearuntracked |
清除所有未被追踪的锤子 |
/removemace <id> |
`limitedmaces |
配置
配置文件位置:plugins/LimitedMaces/config.yml
数据文件位置:plugins/LimitedMaces/maces.yml。除非你知道自己在做什么,否则请勿编辑此文件。
默认 / 示例 config.yml
version: 1.4.0
# 服务器上允许的锤子最大数量
allowed-maces: 3
mace-cooldown-seconds: 0
# 允许在锤子上附魔
# 设置为 false 时,不允许将锤子放入附魔台/铁砧
allow-mace-enchanting: true
messages:
prefix: "&6[LimitedMaces]&r "
crafted-broadcast: "&a%player% &7制作了 &f%amount%&7 个锤子! &7(%current%/%max%)"
destroyed-broadcast: "&c一把锤子被摧毁了! &7(最后持有者为 &f%lastHolder%&7) &7(%current%/%max%)"
containers-blocked: "&c你不能将锤子放入任何容器中。"
limit-reached: "&c已达到锤子限制。必须
从 MultiMace 迁移
如果你是从使用名称 "MultiMace" 的旧版本(1.1.3 及以下版本)迁移过来:
- 插件将自动检测旧的插件文件夹:
plugins/MultiMace/ - 配置和数据将迁移到
plugins/LimitedMaces/ - 成功迁移后,旧文件夹将被自动删除。
- 前缀将从 "MultiMace" 更改为 "LimitedMaces"。任何自定义前缀也将被替换!
如果你在以上过程中遇到问题,或者未自动完成,请随时访问我们的 Discord 并创建工单。链接可在侧边栏找到。
兼容性
- Minecraft 1.21.x - 26.x
- 轻量级
- 无需依赖
LimitedMaces
Limited Maces is a small plugin that allows servers to control the number of Maces available to players. It's great for hardcore servers, SMPs, or event servers!
Want a one-mace server like the Lifesteal SMP? Just set the mace limit to 1!
⚠️ Warning
Spigot and Bukkit support has officially been dropped as of version 1.3.0! Although unlikely, the plugin may work with Spigot/Bukkit; however, we will not test or officially support these server softwares since they are considered outdated.
Features
-
Limit total maces Allows servers to set a limit on how many maces can be obtained through crafting.
-
Mace Container Restrictions
Maces cannot be stored in:- Chests
- Barrels
- Shulker Boxes
- Hoppers
- All other containers
-
Mace Crafting Restrictions
- The mace recipe becomes automatically disabled when the limit is reached
- Autocrafters cannot craft maces
- Messages will be sent in chat if any mace's state changes (Discord webhook support may come in the future)
-
Destroyed Maces
- When the mace gets destroyed:
- A message is sent in chat
- Another mace can be crafted (up to the maximum limit)
- When the mace gets destroyed:
-
Illegal Mace Detector
- All tracked and duplicate maces get deleted. This has the side effect of preventing creative users from playing around with maces.
-
Mace Hit Cooldown
- Set
mace-cooldown-secondsto a positive whole number and run/maces reloadto enable it. The default is0(disabled). - After a player deals damage with a mace, they must wait that many seconds before attacking with any mace again. Other weapons remain usable.
- Set
-
Enchanted Maces
- Decide whether you want to make the maces enchantable or not
- If
allow-mace-enchantingis enabled, maces can be put in enchant tables and anvils. - If it is disabled, maces cannot be put in any enchantment table or anvil and become completely unenchantable
Commands
| Command | Permission | Description |
|---|---|---|
/maces |
limitedmaces.use |
Check tracked maces |
/maces reload |
limitedmaces.reload |
Reload configuration file |
/maces setlimit <n> |
limitedmaces.setlimit |
Set the number of maces |
/maces enchanting <on|off> |
limitedmaces.enchanting |
Turn on/off mace enchanting |
/getuntrackedmace |
limitedmaces.getuntracked |
Get an untracked mace (ignores the limit) |
/clearuntrackedmaces |
limitedmaces.clearuntracked |
Clear all untracked maces |
/removemace <id> |
`limitedmaces |
Configuration
Configuration file location: plugins/LimitedMaces/config.yml
Data file location: plugins/LimitedMaces/maces.yml. DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING.
Default / Example config.yml
version: 1.4.0
# Max number of maces that are allowed on the server
allowed-maces: 3
mace-cooldown-seconds: 0
# Allow enchants on the maces
# When set to false, maces won't be allowed to be placed in enchant tables / anvils
allow-mace-enchanting: true
messages:
prefix: "&6[LimitedMaces]&r "
crafted-broadcast: "&a%player% &7crafted &f%amount%&7 mace(s)! &7(%current%/%max%)"
destroyed-broadcast: "&cA mace was destroyed! &7(last held by &f%lastHolder%&7) &7(%current%/%max%)"
containers-blocked: "&cYou can't put the mace in any container."
limit-reached: "&cMace limit reached. A mace must
Migrating from MultiMace
In case you are coming from an older release (version 1.1.3 and below) using the name "MultiMace":
- Plugin will detect automatically the old plugin folder:
plugins/MultiMace/ - Configurations/data will migrate to
plugins/LimitedMaces/ - Old folder will be automatically deleted after successful migration.
- Prefix will change from "MultiMace" to "LimitedMaces". Any custom prefix will be replaced as well!
Should you experience problems regarding the process above or it is not automatically done, feel free to stop by our Discord and create a ticket. Link available on the sidebar.
Compatibility
- Minecraft 1.21.x - 26.x
- Lightweight
- No dependencies needed
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Limited Maces
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
版本 1.4.0
- 添加了可配置的每个玩家战锤命中冷却时间,默认禁用。
版本 1.3.0
- 已正式放弃对 Spigot 和 Bukkit 的支持!尽管可能性不大,该插件仍可能与 Spigot/Bukkit 兼容;然而,由于这些服务端软件已被视为过时,我们将不再对其进行测试或提供官方支持。
- 新增 Folia 支持,包括基于区域的所有权库存/物品操作以及序列化狼牙棒注册表更新
- 新增可选的离线闲置销毁功能,默认禁用,可配置超时时间为 21 天
- 原子化保存离线库存更改,保留备份,并在保存后广播消息
- 跨重启保留已移除的狼牙棒身份,防止旧副本再次被注册
- 在检测销毁时忽略物品卸载和拾取事件
- 在制作事件中强制执行全局上限的同时,保持 Folia 配方的注册状态
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧