? ExplosionControl
对服务器上的爆炸进行细粒度控制。
调整方块伤害、掉落率、玩家伤害和爆炸半径——按来源、按世界独立配置——无需重启。
✨ 功能介绍
ExplosionControl 允许你独立配置 Creeper、TNT 和 End Crystal 的爆炸效果。
每种爆炸来源都有自己的一套规则,你可以从游戏内命令或配置文件中实时调整。
- 按爆炸类型开启或关闭 方块破坏
- 缩放 爆炸半径(缩小弹坑或使其变得巨大)
- 控制 方块掉落概率(无掉落、原版掉落或全部掉落)
- 按类型开启或关闭 玩家伤害
- 乘以 对玩家造成的伤害
- 调整 伤害作用范围
- 将插件限制在特定的 世界 中(白名单或黑名单)
- 启用 宠物保护 以确保驯服的动物免受所有爆炸伤害
⚙️ 配置
所有设置都保存在 config.yml 中,也可以通过 /ec 命令实时更改。
worlds:
mode: whitelist # whitelist or blacklist
list:
- world
pet-protection: false # true = tamed animals immune to all explosions
explosions:
creeper:
block-damage:
enabled: true
radius-multiplier: 1.0 # 0=off 0.5=half 2.0=double
drop-chance: 0.3 # 0.0=none 0.3=vanilla 1.0=all drop
player-damage:
enabled: true
damage-multiplier: 1.0 # 0=no dmg 2.0=double
radius-multiplier: 1.0 # 0.5=shorter reach 2.0=longer
tnt: # same structure as creeper
end_crystal: # same structure as creeper
? 命令
所有命令都需要 explosioncontrol.use 权限(默认:OP)。
| 命令 |
描述 |
/ec status [type] |
显示当前设置 |
/ec reload |
重新加载 config.yml 而无需重启 |
/ec <type|all> block radius <x> |
设置弹坑大小倍率 |
/ec <type|all> block drop <0–1> |
设置方块掉落概率 |
/ec <type|all> player damage <x> |
设置玩家伤害倍率 |
/ec <type|all> player radius <x> |
设置玩家伤害作用范围 |
/ec worlds mode <whitelist|blacklist> |
更改世界模式 |
/ec worlds add/remove/list <world> |
管理世界列表 |
/ec pets <on|off> |
切换宠物保护 |
别名: /ec · /cc · /explosioncontrol
类型: creeper · tnt · crystal · all
? 权限
| 权限 |
默认值 |
描述 |
explosioncontrol.use |
OP |
访问所有 ExplosionControl 命令 |
? 安装
- 下载
ExplosionControl-x.x.x.jar
- 将其放入服务器的
/plugins/ 文件夹中
- 重启服务器
- 根据需要编辑
plugins/ExplosionControl/config.yml,或在游戏内使用 /ec 命令
?️ 要求
|
|
| 平台 |
Paper 1.21.4+ |
| Java |
21+ |
? 更新日志
v0.1.2
- 将 Paper API 目标更新为
1.21.4-R0.1-SNAPSHOT
- 修复了 TNT 和 End Crystal 的玩家伤害未在 Paper 1.21.4+ 上应用的问题(现在通过
EntityDamageEvent 正确处理)
- 修复了一个内存泄漏问题:当附近没有玩家时,爆炸数据可能会累积
- 用 Adventure
LegacyComponentSerializer 替换了已弃用的 ChatColor API,以消除 Paper 警告
由 reval_911 制作 · Discord: reval_911
? ExplosionControl
Fine-grained control over explosions on your server.
Tune block damage, drop rates, player damage, and blast radius — per source, per world — all without restarting.
✨ What It Does
ExplosionControl lets you configure Creeper, TNT, and End Crystal explosions independently.
Each source has its own set of rules you can adjust live from in-game commands or the config file.
- Toggle block destruction on or off per explosion type
- Scale blast radius (shrink craters or make them massive)
- Control block drop chance (no drops, vanilla drops, or everything drops)
- Toggle player damage per type
- Multiply damage dealt to players
- Adjust how far the damage reaches
- Restrict the plugin to specific worlds (whitelist or blacklist)
- Enable pet protection to keep tamed animals safe from all explosions
⚙️ Configuration
Every setting lives in config.yml and can also be changed live using /ec commands.
worlds:
mode: whitelist # whitelist or blacklist
list:
- world
pet-protection: false # true = tamed animals immune to all explosions
explosions:
creeper:
block-damage:
enabled: true
radius-multiplier: 1.0 # 0=off 0.5=half 2.0=double
drop-chance: 0.3 # 0.0=none 0.3=vanilla 1.0=all drop
player-damage:
enabled: true
damage-multiplier: 1.0 # 0=no dmg 2.0=double
radius-multiplier: 1.0 # 0.5=shorter reach 2.0=longer
tnt: # same structure as creeper
end_crystal: # same structure as creeper
? Commands
All commands require the explosioncontrol.use permission (default: OP).
| Command |
Description |
/ec status [type] |
Show current settings |
/ec reload |
Reload config.yml without restarting |
/ec <type|all> block radius <x> |
Set crater size multiplier |
/ec <type|all> block drop <0–1> |
Set block drop chance |
/ec <type|all> player damage <x> |
Set player damage multiplier |
/ec <type|all> player radius <x> |
Set player damage reach |
/ec worlds mode <whitelist|blacklist> |
Change world mode |
/ec worlds add/remove/list <world> |
Manage world list |
/ec pets <on|off> |
Toggle pet protection |
Aliases: /ec · /cc · /explosioncontrol
Types: creeper · tnt · crystal · all
? Permissions
| Permission |
Default |
Description |
explosioncontrol.use |
OP |
Access to all ExplosionControl commands |
? Installation
- Download
ExplosionControl-x.x.x.jar
- Drop it into your server's
/plugins/ folder
- Restart the server
- Edit
plugins/ExplosionControl/config.yml as needed, or use /ec commands in-game
?️ Requirements
|
|
| Platform |
Paper 1.21.4+ |
| Java |
21+ |
? Changelog
v0.1.2
- Updated Paper API target to
1.21.4-R0.1-SNAPSHOT
- Fixed TNT and End Crystal player damage not applying on Paper 1.21.4+ (now correctly handled via
EntityDamageEvent)
- Fixed a memory leak where explosion data could accumulate when no players were nearby
- Replaced deprecated
ChatColor API with Adventure LegacyComponentSerializer to silence Paper warnings
Made by reval_911 · Discord: reval_911
评论 0
登录后参与评分
还没有评论,来抢沙发吧