MaceControl
夺回对战锤战斗的控制权。 MaceControl 解决了现代生存服务器(SMP)中过强的战锤带来的混乱。服务器管理员拥有四种运行模式、一个硬性伤害上限、可制作的战锤追踪器、全服合成公告以及带有粒子效果的独特 Mythic 战斗能力,所有功能均完全在服务器端运行。
由 by_Fury0 制作 · Minecraft 1.21.11+ · Spigot / Paper · Java 21 · 无需资源包
主要特性
4 种服务器模式
使用 /macecontrol mode <mode> 即时切换:
| 模式 |
功能说明 |
| SINGLE |
整个服务器同时只能存在或制作 1 把 战锤。 |
| DOUBLE |
仅允许存在 2 把 战锤:一把 Breach 战锤和一把 Density 战锤。第一把被制作的战锤将成为 Breach 战锤,第二把将成为 Density 战锤。它们互斥:Breach 战锤永远无法获得 Density 属性,Density 战锤也永远无法获得 Breach 属性。 |
| MULTI |
为现代 SMP 经济提供 无限数量的战锤,但每把战锤在撞击时都会 失去所有附魔。 |
| MYTHIC |
单战锤模式,具备两种高冲击力的战斗能力,包含冷却时间、音效和粒子效果。 |
合成公告(所有模式)
当战锤被制作时,全服玩家会收到一条 聊天消息、标题和声音提示。
- SINGLE / MULTI / MYTHIC:一次公告。
- DOUBLE:两条单独的公告,分别针对 Breach Mace 和 Density Mace。
- 消息格式和标签可在
config.yml 中完全编辑。
伤害上限
通过设置 max_mace_damage 设定硬性最大值,以防止破坏游戏平衡的秒杀一击。任何超过上限的战锤攻击伤害都会被缩放至该上限值。
活跃战锤定位器(追踪器)
这是一个可制作的指南针,指向最近的活跃战锤(玩家手持的战锤或掉落的战锤)。右键点击以更新目标。动作栏会显示你正在追踪的对象及其距离。
合成配方: 指南针周围环绕 4 个金锭
. G .
G C G
. G .
G = Gold Ingot C = Compass
Mythic 战锤能力(MYTHIC 模式)
| 能力 |
默认激活方式 |
效果 |
默认冷却时间 |
| Dash Strike (能力 1) |
F(交换手槽)或 /mace ability 1 |
向前冲刺并伴随闪电闪光,产生云/火花/暴击/火焰粒子轨迹及烈焰声音。对撞到的所有实体造成伤害并击退。 |
15秒 |
| Shockwave Slam (能力 2) |
Shift + F 或 /mace ability 2 |
爆炸爆发,升起光柱并扩散火花环。对半径内所有实体造成伤害并将其击飞,伴随爆炸和雷声。 |
35秒 |
- 剩余冷却时间在 动作栏 中显示。
- Mythic 战锤持有者会获得微弱的 粒子光环(可禁用)。
- 能力可以影响玩家和生物(可配置)。创造模式和旁观者模式的玩家不受影响。
持久化战锤注册表
MaceControl 维护一个保存的战锤注册表 (data.yml),记录服务器上的每一把战锤,因此即使持有者离线或服务器重启后,限制依然有效。未追踪的战锤(战利品、创造模式物品、插件前的战锤)会在玩家加入或拾取时自动注册。消失、烧毁或坠入虚空的战锤会自动从注册表中移除。
玩家设置
每位玩家可以使用 /mace settings 选择激活能力的方式:
- 交换手槽按键:
F = 能力 1,Shift + F = 能力 2
- 仅命令触发:
/mace ability 1 和 /mace ability 2
指令
管理员指令:/macecontrol (别名: /mc, /maces)
权限: macecontrol.admin (仅限 Op)
| 指令 |
描述 |
/macecontrol |
显示管理员帮助菜单。 |
/macecontrol mode <SINGLE|DOUBLE|MULTI|MYTHIC> |
切换全服战锤模式并广播更改。在线玩家持有的未追踪战锤将被注册。 |
/macecontrol tracker |
给予你活跃战锤定位器指南针。 |
/macecontrol status |
显示当前模式、已注册战锤数量及伤害上限。 |
/macecontrol list |
列出所有已注册的战锤(ID、类型、制作者/发现者)。 |
/macecontrol scan |
注册在线玩家背包中任何未追踪的战锤。 |
/macecontrol forget <id|all> |
从注册表中移除一个战锤(通过 ID 前缀)或 所有 战锤。当战锤丢失或被毁时使用,例如放入箱子并被炸毁的情况。 |
/macecontrol reload |
重新加载 config.yml 和注册表数据。 |
玩家指令:/mace
权限: macecontrol.use (默认所有人)
| 指令 |
描述 |
/mace |
显示玩家帮助菜单。 |
/mace ability 1 |
触发 Dash Strike(MYTHIC 模式,主手持有 Mythic Mace 时)。 |
/mace ability 2 |
触发 Shockwave Slam(MYTHIC 模式,主手持有 Mythic Mace 时)。 |
/mace settings |
在交换手槽按键激活和仅命令激活之间切换。 |
权限节点
| 权限节点 |
默认状态 |
描述 |
macecontrol.admin |
Op |
访问所有 /macecontrol 指令。 |
macecontrol.use |
Everyone |
访问 /mace 指令及按键触发的能力。 |
配置文件 (config.yml)
settings:
plugin_enabled: true
active_mode: "SINGLE" # SINGLE, DOUBLE, MULTI, MYTHIC
max_mace_damage: 40.0 # 最终战锤命中伤害的硬性上限
# 合成公告(所有模式)。DOUBLE 模式会分别公告 Breach 战锤
# (第一个制作的)和 Density 战锤(第二个制作的)。
announcements:
enabled: true
title: true
sound: true
format: "&6&l[MACE] &e{player} &7has crafted &f{label}&7!"
labels:
SINGLE: "&6the Mace"
MULTI: "&6a Mace"
MYTHIC: "&6<he Mythic Mace"
DOUBLE_BREACH: "&bthe Breach Mace"
DOUBLE_DENSITY: "ðe Density Mace"
tracker:
craftable: true # 需要重启服务器才能更改此设置
cooldown_seconds: 2
mythic:
aura: true # 神话重锤持有者周围的粒子效果
affect_mobs: true # 技能也会伤害生物,而不仅仅是玩家
ability_1: # 突进打击
cooldown: 15 # 秒
power: 2.2 # 突进力度
damage: 6.0
ability_2: # 冲击波猛击
cooldown: 35 # 秒
radius: 6.0
damage: 8.0
knockback: 1.1
备注
- 由于战锤的合成已被禁用,因此每次合成都会被记录并公告。
- 追踪器仅在当前世界内生效,无法查看箱子中存储的战锤或离线玩家持有的战锤。
- 在 MYTHIC 模式下,服务器中的唯一一把战锤即为神话战锤(Mythic Mace),并获得自定义名称。
- 完全基于服务端且轻量级,兼容 Spigot 和 Paper。
安装方法
- 将
MaceControl-1.3.jar 放入服务器的 plugins 文件夹中。
- 重启服务器。
- 如有需要,编辑
plugins/MaceControl/config.yml,然后运行 /macecontrol reload。
- 使用
/macecontrol mode <mode> 选择你的模式。
支持与反馈: 请使用 Issues 标签页或联系 by_Fury0。
Discord -
MaceControl
Take back control of mace combat. MaceControl solves the chaos of overpowered maces on modern SMPs. Server owners get four operating modes, a hard damage cap, a craftable mace tracker, server-wide craft announcements, and unique Mythic combat abilities with particle effects, all fully server-side.
Made by by_Fury0 · Minecraft 1.21.11+ · Spigot / Paper · Java 21 · No resource pack required
Key Features
4 Server Modes
Switch instantly with /macecontrol mode <mode>:
| Mode |
What it does |
| SINGLE |
Only 1 mace can exist or be crafted on the entire server at a time. |
| DOUBLE |
Only 2 maces can exist: a Breach mace and a Density mace. The first mace crafted becomes the Breach mace and the second becomes the Density mace. They are mutually exclusive: a Breach mace can never receive Density, and a Density mace can never receive Breach. |
| MULTI |
Unlimited maces for modern SMP economies, but every mace loses all its enchantments on impact. |
| MYTHIC |
Single-mace mode with two high-impact combat abilities, cooldowns, sounds and particles. |
Craft Announcements (all modes)
When a mace is crafted, the whole server gets a chat message, title and sound.
- SINGLE / MULTI / MYTHIC: one announcement.
- DOUBLE: two separate announcements, one for the Breach Mace and one for the Density Mace.
- Message format and labels are fully editable in
config.yml.
Damage Cap
Set a hard maximum with max_mace_damage to stop game-breaking one-shot hits. Any mace hit above the cap is scaled down to it.
Active Mace Locator (Tracker)
A craftable compass that points to the nearest active mace (a player carrying one, or a dropped mace). Right-click to update it. The action bar shows who or what you're tracking and the distance.
Recipe: 4 Gold Ingots around a Compass
. G .
G C G
. G .
G = Gold Ingot C = Compass
Mythic Mace Abilities (MYTHIC mode)
| Ability |
Default activation |
Effect |
Default cooldown |
| Dash Strike (Ability 1) |
F (swap hands) or /mace ability 1 |
Launch forward with a lightning flash, a cloud/spark/crit/flame particle trail and a blaze sound. Damages and knocks back anything you plow through. |
15s |
| Shockwave Slam (Ability 2) |
Shift + F or /mace ability 2 |
Explosion burst, a rising light column and expanding spark rings. Damages and launches everything in the radius, with explosion and thunder sounds. |
35s |
- Remaining cooldown is shown in the action bar.
- The Mythic Mace holder gets a subtle particle aura (can be disabled).
- Abilities can hit players and mobs (configurable). Creative and spectator players are never affected.
Persistent Mace Registry
MaceControl keeps a saved registry (data.yml) of every mace on the server, so limits still hold when holders are offline or after restarts. Untracked maces (loot, creative, pre-plugin maces) are picked up automatically when players join or pick them up. Maces that despawn, burn or fall into the void are removed from the registry on their own.
Player Settings
Each player can choose how to activate abilities with /mace settings:
- Swap-hand key:
F = Ability 1, Shift + F = Ability 2
- Commands only:
/mace ability 1 and /mace ability 2
Commands
Admin commands: /macecontrol (aliases: /mc, /maces)
Permission: macecontrol.admin (Op only)
| Command |
Description |
/macecontrol |
Shows the admin help menu. |
/macecontrol mode <SINGLE|DOUBLE|MULTI|MYTHIC> |
Switches the server-wide mace mode and broadcasts the change. Untracked maces held by online players are registered. |
/macecontrol tracker |
Gives you the Active Mace Locator compass. |
/macecontrol status |
Shows the current mode, number of registered maces and the damage cap. |
/macecontrol list |
Lists every registered mace (ID, type, crafter/finder). |
/macecontrol scan |
Registers any untracked maces in online players' inventories. |
/macecontrol forget <id|all> |
Removes one mace (by ID prefix) or all maces from the registry. Use it when a mace was lost or destroyed, for example in a chest that was blown up. |
/macecontrol reload |
Reloads config.yml and the registry data. |
Player commands: /mace
Permission: macecontrol.use (everyone by default)
| Command |
Description |
/mace |
Shows the player help menu. |
/mace ability 1 |
Triggers Dash Strike (MYTHIC mode, Mythic Mace in main hand). |
/mace ability 2 |
Triggers Shockwave Slam (MYTHIC mode, Mythic Mace in main hand). |
/mace settings |
Toggles between swap-hand key activation and commands-only. |
Permissions
| Permission |
Default |
Description |
macecontrol.admin |
Op |
Access to all /macecontrol commands. |
macecontrol.use |
Everyone |
Access to /mace commands and key-activated abilities. |
Configuration (config.yml)
settings:
plugin_enabled: true
active_mode: "SINGLE" # SINGLE, DOUBLE, MULTI, MYTHIC
max_mace_damage: 40.0 # Hard cap on final mace hit damage
# Craft announcements (all modes). DOUBLE mode announces the Breach mace
# (first one crafted) and the Density mace (second one) separately.
announcements:
enabled: true
title: true
sound: true
format: "&6&l[MACE] &e{player} &7has crafted &f{label}&7!"
labels:
SINGLE: "&6the Mace"
MULTI: "&6a Mace"
MYTHIC: "&6<he Mythic Mace"
DOUBLE_BREACH: "&bthe Breach Mace"
DOUBLE_DENSITY: "ðe Density Mace"
tracker:
craftable: true # needs a server restart to change
cooldown_seconds: 2
mythic:
aura: true # particles around the holder of the Mythic Mace
affect_mobs: true # abilities also hurt mobs, not only players
ability_1: # Dash Strike
cooldown: 15 # seconds
power: 2.2 # dash strength
damage: 6.0
ability_2: # Shockwave Slam
cooldown: 35 # seconds
radius: 6.0
damage: 8.0
knockback: 1.1
Notes
- Shift-click crafting is disabled for maces so every craft is counted and announced.
- The tracker works within the same world and cannot see maces stored in chests or held by offline players.
- In MYTHIC mode, the server's single mace is the Mythic Mace and gets a custom name.
- Fully server-side and lightweight. Works on Spigot and Paper.
Installation
- Drop
MaceControl-1.3.jar into your server's plugins folder.
- Restart the server.
- Edit
plugins/MaceControl/config.yml if you want, then run /macecontrol reload.
- Pick your mode with
/macecontrol mode <mode>.
Support & feedback: use the issues tab or contact by_Fury0.
DC-
评论 0
登录后参与评分
还没有评论,来抢沙发吧