HardMob
适用于 Minecraft 1.21 - 26.3 的 Paper、Spigot 和 Bukkit 插件,为游戏添加了 RPG 风格的怪物等级系统和精英 Boss。怪物的强度会随世界年龄增长而提升,获得各项属性加成,并可能以拥有自定义战利品的 Boss 形态生成。
简介
HardMob 将普通怪物转化为与世界年龄挂钩的成长系统。每个怪物都会获得 1 到 99 之间的等级,该等级根据游戏内天数计算得出。较高等级会赋予更高的生命值、伤害、速度、击退抗性、装备,以及在高等级时附加药水效果。通过可配置的概率,生成的怪物可以变为精英 Boss,其属性倍增、体型变大、穿戴全套盔甲并掉落自定义物品。
本插件专为生存服务器、RPG 服务器以及长期运行的世界设计,旨在解决原版怪物在几周后便不再构成威胁的问题。HardMob 不添加新的怪物类型,而是修改现有怪物,因此它与资源包、其他怪物插件以及原版机制保持兼容。世界黑名单和怪物白名单功能让你能够确保特定维度或实体类型不受影响。
等级分布是可配置的。你可以选择均匀分布、偏向低等级分布或偏高等级分布。装备阈值、药水效果概率以及 Boss 属性同样适用此设置。所有数值均位于 config.yml 中,大多数更改可通过 /hardmob reload 命令即时生效。
特性
- 基于游戏内天数,使用可配置的指数公式将怪物等级从 1 缩放至 99。
- 通过基于百分比的修正值,按等级倍增生命值、伤害、速度和击退抗性。
- 在等级阈值处分配盔甲套装,并可选地增加附魔倍数。
- 为高等级怪物随机附加药水效果,支持配置概率、持续时间和增强等级。
- 将一定比例的生成怪物转变为精英 Boss,其生命值、伤害、速度和体型均得到倍增。
- 精英 Boss 掉落自定义战利品,包括钻石、金锭、音乐唱片以及随等级增加的额外经验值。
- 渲染自定义名称板,显示生命值、最大生命值、名称、等级和 Boss 标签,并按等级区间着色。
- 在可配置范围内动态调整怪物的视觉大小。
- 支持世界黑名单和怪物白名单,以便精确控制插件的运行范围。
- 提供手动生成高等级怪物和 Boss 的命令,并为每项操作设置了权限节点。
- 通过
/hardmob reload 命令重载配置,无需重启服务器。
安装
- 下载 HardMob
1.0.0 JAR 文件。
- 将 JAR 文件放入服务器的
plugins 文件夹中。
- 重启服务器。建议完全重启而非使用
/reload 命令。
- 编辑
plugins/HardMob/config.yml 以匹配你的服务器需求。
- 使用
/hardmob reload 应用更改;首次加载后无需再次重启。
无需任何额外依赖项。
用法
| 命令 |
权限 |
描述 |
/hardmob reload |
hardmob.reload |
重载配置文件。 |
/hardmob spawn <mob> <level> [elite] |
hardmob.spawn |
生成指定等级的怪物。可选的 elite 参数使其成为 Boss。 |
/hardmob spawnboss <mob> <level> |
hardmob.spawnboss |
生成指定等级的精英 Boss。 |
<mob> 接受任何 Bukkit 实体类型名称,例如 ZOMBIE、SKELETON 或 CREEPER。<level> 是 1 到 99 之间的整数。所有权限默认仅对服务器操作员开放。
配置
插件会生成 plugins/HardMob/config.yml。默认文件包含以下部分:
general:
enabled: true
level_system:
enabled: true
formula:
A: 99.0
B: 98.0
C: 40.0
distribution: uniform
scaling:
health_percent_per_level: 2.0
damage_percent_per_level: 1.5
speed_percent_per_level: 0.3
knockback_resist_per_level: 0.01
equipment:
thresholds:
20: chainmail
40: iron
60: diamond
80: netherite
enchant_multiplier: 0.2
potion_effects:
chance_per_level: 0.5
duration_multiplier: 1.0
amplifier_base: 0
max_duration_seconds: 600
elite_mobs:
enabled: true
spawn_chance_percent: 0.5
health_multiplier: 2.0
damage_multiplier: 2.0
speed_multiplier: 0.7
size: 2.0
always_equipped: true
drops:
diamonds: { min: 0, max: 4 }
gold: { min: 0, max: 20 }
music_discs:
- MUSIC_DISC_13
exp_per_level: 10
visual:
dynamic_size:
enabled: true
min: 0.8
max: 1.2
custom_name:
enabled: true
visible: false
format: "&8[&c%health%&8/&c%max_health%&8] &f%name% &8[&6%level% lvl&8]"
format_boss: "&8[&c%health%&8/&c%max_health%&8] &f%name% &8[&4BOSS&8]"
colors:
low_level: "GREEN"
medium_level: "YELLOW"
high_level: "RED"
boss: "DARK_RED"
world_blacklist:
- world_the_end
mob_whitelist: []
debug_mode: false
general.enabled 是整个插件的主开关。level_system.formula 使用由 A、B 和 C 定义的指数曲线,其中 A 是无限天数后的最大等级,B 是第零天的差值,C 是达到最大等级约 63% 所需的天数。level_system.distribution 接受 uniform(均匀)、weighted_low(偏向低等级)或 weighted_high(偏高等级)。level_system.scaling 定义了每级生命值、伤害、速度和击退抗性的百分比增长。level_system.equipment.thresholds 将等级值映射到盔甲套装。
elite_mobs.spawn_chance_percent 设置生成生物成为 Boss 的概率。elite_mobs.drops 定义掉落物表和额外经验值。visual.custom_name 控制名称板格式、可见性和颜色层级。world_blacklist 列出插件不运行的世界。mob_whitelist 限制受影响的生物类型;空列表表示允许所有生物。debug_mode 会在控制台打印额外信息。
兼容性
- Minecraft:1.21 - 26.3
- 平台:Paper、Spigot、Bukkit
- Java:服务器平台支持的任何版本;无需特定 Java 版本
已知与其他插件或库无兼容性问题。
技术栈
- 语言:Java
- 平台 API:Bukkit、Spigot、Paper
- 构建:标准插件 JAR
- 关键依赖:无
许可证
本项目根据 GNU General Public License v3.0 发布。
HardMob
A Paper, Spigot, and Bukkit plugin for Minecraft 1.21 - 26.3 that adds RPG-style mob leveling and elite bosses. Mobs scale with world age, gain attributes, and can spawn as bosses with custom loot.
What is it
HardMob turns ordinary mobs into a progression system tied to the age of the world. Each mob receives a level from 1 to 99, calculated from the number of in-game days. Higher levels grant more health, damage, speed, knockback resistance, equipment, and, at high tiers, potion effects. A configurable chance turns a spawning mob into an elite boss with multiplied stats, larger size, full armor, and custom drops.
The plugin is built for survival servers, RPG servers, and long-running worlds where vanilla mobs stop being a threat after the first few weeks. Instead of adding new mob types, HardMob modifies existing ones, so it stays compatible with resource packs, mob plugins, and vanilla mechanics. World blacklists and mob whitelists let you keep specific dimensions or entity types untouched.
Level distribution is configurable. You can pick a uniform spread, weight toward low levels, or weight toward high levels. The same applies to equipment thresholds, potion effect chances, and boss stats. All values live in config.yml, and most changes apply after /hardmob reload.
Features
- Scales mob levels from 1 to 99 based on in-game days, using a configurable exponential formula.
- Multiplies health, damage, speed, and knockback resistance per level through percentage-based modifiers.
- Assigns armor tiers at level thresholds, with optional enchantment multiplier.
- Applies random potion effects to high-level mobs, with configurable chance, duration, and amplifier.
- Turns a configurable percentage of spawning mobs into elite bosses with multiplied health, damage, speed, and size.
- Drops custom loot from elites, including diamonds, gold, music discs, and bonus experience per level.
- Renders custom nameplates with health, max health, name, level, and boss tag, color-coded by tier.
- Adjusts visual mob size dynamically within a configurable range.
- Supports world blacklist and mob whitelist for precise control over where the plugin runs.
- Provides commands to spawn leveled mobs and bosses manually, with permission nodes for each action.
- Reloads configuration without a server restart through
/hardmob reload.
Installation
- Download the HardMob
1.0.0 JAR.
- Place the JAR in your server's
plugins folder.
- Restart the server. A full restart is preferred over
/reload.
- Edit
plugins/HardMob/config.yml to match your server.
- Apply changes with
/hardmob reload; no restart is needed after the first load.
No additional dependencies are required.
Usage
| Command |
Permission |
Description |
/hardmob reload |
hardmob.reload |
Reloads the configuration. |
/hardmob spawn <mob> <level> [elite] |
hardmob.spawn |
Spawns a leveled mob. The optional elite flag makes it a boss. |
/hardmob spawnboss <mob> <level> |
hardmob.spawnboss |
Spawns an elite boss with the given level. |
<mob> accepts any Bukkit entity type name, for example ZOMBIE, SKELETON, or CREEPER. <level> is an integer between 1 and 99. All permissions default to server operators.
Configuration
The plugin generates plugins/HardMob/config.yml. The default file contains the following sections:
general:
enabled: true
level_system:
enabled: true
formula:
A: 99.0
B: 98.0
C: 40.0
distribution: uniform
scaling:
health_percent_per_level: 2.0
damage_percent_per_level: 1.5
speed_percent_per_level: 0.3
knockback_resist_per_level: 0.01
equipment:
thresholds:
20: chainmail
40: iron
60: diamond
80: netherite
enchant_multiplier: 0.2
potion_effects:
chance_per_level: 0.5
duration_multiplier: 1.0
amplifier_base: 0
max_duration_seconds: 600
elite_mobs:
enabled: true
spawn_chance_percent: 0.5
health_multiplier: 2.0
damage_multiplier: 2.0
speed_multiplier: 0.7
size: 2.0
always_equipped: true
drops:
diamonds: { min: 0, max: 4 }
gold: { min: 0, max: 20 }
music_discs:
- MUSIC_DISC_13
exp_per_level: 10
visual:
dynamic_size:
enabled: true
min: 0.8
max: 1.2
custom_name:
enabled: true
visible: false
format: "&8[&c%health%&8/&c%max_health%&8] &f%name% &8[&6%level% lvl&8]"
format_boss: "&8[&c%health%&8/&c%max_health%&8] &f%name% &8[&4BOSS&8]"
colors:
low_level: "GREEN"
medium_level: "YELLOW"
high_level: "RED"
boss: "DARK_RED"
world_blacklist:
- world_the_end
mob_whitelist: []
debug_mode: false
general.enabled is the master switch for the whole plugin. level_system.formula uses an exponential curve defined by A, B, and C, where A is the maximum level after infinite days, B is the difference at day zero, and C is the number of days until roughly 63 percent of the maximum is reached. level_system.distribution accepts uniform, weighted_low, or weighted_high. level_system.scaling defines per-level percentage growth for health, damage, speed, and knockback resistance. level_system.equipment.thresholds maps level values to armor tiers.
elite_mobs.spawn_chance_percent sets the chance for a spawning mob to become a boss. elite_mobs.drops defines the loot table and bonus experience. visual.custom_name controls the nameplate format, visibility, and color tiers. world_blacklist lists worlds where the plugin does not run. mob_whitelist restricts which mob types are affected; an empty list means all mobs are allowed. debug_mode prints additional information to the console.
Compatibility
- Minecraft: 1.21 - 26.3
- Platform: Paper, Spigot, Bukkit
- Java: any version supported by the server platform; no specific Java version is required
No known incompatibilities with other plugins or libraries.
Technologies
- Language: Java
- Platform API: Bukkit, Spigot, Paper
- Build: standard plugin JAR
- Key dependencies: none
License
This project is distributed under the GNU General Public License v3.0.
评论 0
登录后参与评分
还没有评论,来抢沙发吧