OPOresLoot 是一款适用于 Minecraft Java Edition 1.21 Paper/Spigot 的服务端插件,每当玩家挖掘矿石时,都会奖励他们强大的物品。矿石越稀有,获得的奖励就越超模。
工作原理
挖掘任意矿石,即可将随机 OP 物品静默地直接放入你的背包。没有任何消息提示、音效或视觉效果。如果背包已满,物品会掉落在方块处。
9 种矿石等级,9 个战利品池
每种矿石都有自己独立的加权战利品池。奖励从低到高呈显著递增:
| 等级 |
奖励 |
| ? Coal |
附魔铁制装备、金苹果 |
| ? Copper |
锋利 IV 的剑、火焰附加工具 |
| ⚙️ Iron |
钻石装备、效率 V、附魔金苹果 |
| ? Gold |
锋利 VII 的钻石剑、幸运 III、图腾 |
| ? Redstone |
锋利 VIII 全套装备、力量 VI 的弓、无限 |
| ? Lapis |
锋利 IX + 亡灵杀手 V、呼吸 III、疾行潜步 III |
| ? Diamond |
下界合金装备、锋利 X、效率 X、幸运 IV、经验修补 |
| ? Emerald |
下界合金 + 耐久 X、幸运 V、保护 X |
| ? Ancient Debris |
全套神级下界合金装备、8× 图腾、16× 附魔金苹果 |
所有深板岩变种、下界金矿石、下界石英和下界残骸都会被自动追踪。
完全可配置
所有设置都集中在一个 config.yml 文件中——无需修改代码:
- 单独启用或禁用任何矿石等级
- 设置每种矿石的掉落概率(0% 到 100%)
- 保留或取消原版矿石掉落物
- 将战利品给予背包或直接掉落至地面
- 编辑每个战利品池中的所有物品——材质、自定义名称、数量、附魔和权重
管理员命令
/opores reload — 实时重载配置,无需重启服务器
/opores give <player> <tier> — 手动向任何在线玩家发放指定等级的战利品
两个命令均支持完整的 Tab 补全,并需要 opores.admin 权限(默认:OP)。玩家需要 opores.use 权限才能接收战利品(默认:所有人)。
性能表现
仅使用一个轻量级的 BlockBreakEvent 监听器。无数据库、无异步线程、无复杂逻辑——在任何 Paper 或 Spigot 1.21+ 服务器上均可流畅运行。
OPOresLoot is a Minecraft Java Edition 1.21 Paper/Spigot plugin that rewards players with powerful items every time they mine an ore. The rarer the ore, the more overpowered the reward.
How it works
Break any ore, get a random OP item — silently, directly into your inventory. No messages, no sounds, no effects. If your inventory is full, the item drops at the block.
9 Ore Tiers, 9 Loot Pools
Every ore has its own weighted loot pool. Rewards scale dramatically from bottom to top:
| Tier |
Rewards |
| ? Coal |
Enchanted iron gear, Golden Apples |
| ? Copper |
Sharpness 4 swords, Fire Aspect tools |
| ⚙️ Iron |
Diamond gear, Efficiency 5, Enchanted Golden Apples |
| ? Gold |
Sharp 7 diamond sword, Fortune 3, Totems |
| ? Redstone |
Sharp 8 full kit, Power 6 bow, Infinity |
| ? Lapis |
Sharp 9 + Smite 5, Respiration, Swift Sneak 3 |
| ? Diamond |
Netherite gear, Sharp 10, Eff 10, Fortune 4, Mending |
| ? Emerald |
Netherite + Unbreaking 10, Fortune 5, Protection 10 |
| ? Ancient Debris |
Full god-tier netherite set, 8× Totems, 16× Enchanted Apples |
All deepslate variants, nether gold ore, nether quartz, and ancient debris are automatically tracked.
Fully Configurable
Everything lives in one config.yml — no code changes needed:
- Enable or disable any ore tier individually
- Set drop chance per ore (0% to 100%)
- Keep or cancel vanilla ore drops
- Give loot to inventory or drop it on the ground
- Edit every item in every loot pool — material, custom name, amount, enchantments, and weight
Admin Commands
/opores reload — reload config live, no restart needed
/opores give <player> <tier> — manually give any tier's loot to any online player
Both commands have full tab completion and require the opores.admin permission (default: OP). Players need opores.use to receive loot (default: everyone).
Performance
One lightweight BlockBreakEvent listener. No database, no async threads, no heavy logic — runs cleanly on any Paper or Spigot 1.21+ server.
评论 0
登录后参与评分
还没有评论,来抢沙发吧