MiningEvents
MiningEvents 让挖矿变得动态且充满乐趣,在挖掘过程中触发随机事件——有的带来奖励,有的则充满危险。专为 Paper 服务器构建,完全可配置,并采用轻量级监听器设计,不会对服务器性能造成影响。
✨ 功能
- 9 种独特的挖矿事件,每种均可单独开关和配置
- 5 级稀有度系统:普通 → 罕见 → 稀有 → 史诗 → 传说
- 挖矿连击系统:连续不间断地挖掘以提升幸运值、经验值和事件触发几率
- 持久化玩家统计:记录已挖掘方块数、触发事件数、稀有事件次数、最佳连击数和总挖矿时间
- 概率和奖励完全可配置——更改后无需重载或重启服务器
- 极其轻量的方块破坏监听器(每次挖方块时不会进行重型扫描)
⛏️ 事件
| 事件 |
类型 |
默认稀有度 |
效果 |
| Ancient Vein (远古矿脉) |
正面 |
稀有 |
提供一小簇额外矿石 |
| Treasure (宝藏) |
正面 |
罕见 |
提供一组可配置的道具 |
| Rare Ore (稀有矿石) |
正面 |
罕见 |
提供额外的稀有矿石掉落 |
| Mining Rush (挖掘狂热) |
正面 |
稀有 |
获得临时的急迫效果(以及可选的速度效果)增益 |
| Lucky Block (幸运方块) |
正面 |
普通 |
随机奖励:经验值或金钱 |
| Gem Vein (宝石矿脉) |
正面 |
传说 |
从可配置列表中提供一颗珍贵的宝石 |
| Cave Collapse (洞穴坍塌) |
负面 |
罕见 |
造成伤害 + 临时缓慢效果 |
| Monster Ambush (怪物伏击) |
负面 |
稀有 |
生成敌对生物并攻击玩家 |
| Meteorite (陨石) |
负面 |
史诗 |
受控爆炸 + 造成伤害 |
? 挖矿连击
连续挖掘方块会累积连击数。连击会在经过一段可配置的空闲时间后衰减,并提供以下加成:
? 统计数据
按玩家追踪并持久保存:
- 已挖掘方块数
- 触发的事件数
- 触发的稀有事件数(稀有/史诗/传说)
- 达到的最佳连击数
- 总挖矿时间
?️ 命令
| 命令 |
描述 |
/miningstats [player] |
查看挖矿统计数据 |
/miningevents |
列出所有已配置的事件及其设置 |
/miningevents reload |
重载配置文件而无需重启服务器 |
⚙️ 配置
每个事件都可以在 config.yml 中启用/禁用,其稀有度、概率和奖励参数也可完全自定义——无需触碰代码。通过执行 /miningevents reload 即可即时应用更改。
? 要求
MiningEvents
MiningEvents makes mining dynamic and exciting by triggering random events while you mine — some rewarding, some dangerous. Built for Paper servers, fully configurable, and designed with a lightweight listener so it won't impact server performance.
✨ Features
- 9 unique mining events, each individually toggleable and configurable
- 5-tier rarity system: Common → Uncommon → Rare → Epic → Legendary
- Mining Combo system: mine consecutively without stopping to boost fortune, XP, and event chance
- Persistent player stats: blocks mined, events found, rare events, best combo, total mining time
- Fully configurable probabilities and rewards — no reload/restart needed after changes
- Extremely lightweight block-break listener (no heavy scans on every block)
⛏️ Events
| Event |
Type |
Default Rarity |
Effect |
| Ancient Vein |
Positive |
Rare |
Grants a small cluster of bonus ore |
| Treasure |
Positive |
Uncommon |
Grants a configurable set of items |
| Rare Ore |
Positive |
Uncommon |
Grants an extra rare ore drop |
| Mining Rush |
Positive |
Rare |
Temporary Haste (and optional Speed) buff |
| Lucky Block |
Positive |
Common |
Random reward: XP or money |
| Gem Vein |
Positive |
Legendary |
Grants a valuable gem from a configurable list |
| Cave Collapse |
Negative |
Uncommon |
Damage + temporary Slowness |
| Monster Ambush |
Negative |
Rare |
Spawns hostile mobs that target the player |
| Meteorite |
Negative |
Epic |
Controlled explosion + damage |
? Mining Combo
Mining blocks back-to-back builds a combo. The combo decays after a configurable idle period and boosts:
- Fortune
- XP
- Event trigger chance
? Statistics
Tracked per player and saved persistently:
- Blocks mined
- Events triggered
- Rare events triggered (Rare/Epic/Legendary)
- Best combo reached
- Total mining time
?️ Commands
| Command |
Description |
/miningstats [player] |
View mining statistics |
/miningevents |
List all configured events and their settings |
/miningevents reload |
Reload the configuration without restarting |
⚙️ Configuration
Every event can be enabled/disabled, and its rarity, probability, and reward parameters fully customized in config.yml — no need to touch the code. Changes apply instantly with /miningevents reload.
? Requirements
评论 0
登录后参与评分
还没有评论,来抢沙发吧