
AdvancedMobGriefing
为 Minecraft 服务器提供选择性实体破坏控制。
在不影响其他实体的情况下,禁止特定实体破坏方块——这是全局 mobGriefing false 游戏规则的替代方案。
? 背景介绍
AdvancedMobGriefing 最初是为一个私人 Minecraft 服务器开发的,其唯一目标是:针对某些特定实体选择性地禁用破坏行为,而不是像内置的 gamerule mobGriefing false 那样针对所有实体。
虽然该插件最初是出于个人用途而创建的,但后来被公开发布,以便惠及更广泛的受众。
与许多其他解决方案不同,AdvancedMobGriefing 并不会完全取消爆炸事件。相反,它会清除受爆炸影响的方块列表。这保留了视觉和听觉效果(粒子效果和声音),同时也保留了对玩家和实体造成的伤害,提供了与 mobGriefing false 相同的功能结果,同时保持了更具沉浸感的游戏体验。
? 功能说明
Minecraft 内置的游戏规则 mobGriefing false 会禁用所有由实体引起的方块变化。
但如果你只想阻止苦力怕炸毁你的建筑,而不想改变末影人的行为呢?
AdvancedMobGriefing 允许你按实体类型控制破坏行为,让你在无需牺牲原版行为的情况下,对游戏玩法进行精确控制。
✅ 防止苦力怕爆炸
✅ 禁用恶魂火球造成的破坏
✅ 阻止末影人拾取方块
✅ 保持爆炸音效和粒子效果完整
✅ 保留对玩家和实体的伤害——仅保护方块不受损
✅ 支持平台
- Minecraft Java 版:
1.20.4
- 服务端类型: Paper、Spigot
- Java 版本: 21 或更高版本
⚠️ 警告:
该插件可能在更新版本中也能运行,但尚未经过官方测试。
⚙️ 使用方法(面向服务器管理员)
安装完成后,操作员可以在游戏内或通过控制台使用以下命令:
/mobgriefing (creeper|fireball|enderman) (true|false)
? 示例
/mobgriefing creeper false
这将禁用苦力怕的方块破坏能力。
支持的实体类型
creeper(苦力怕)
fireball(火球)(包括恶魂火球和大火球)
enderman(末影人)
ℹ️ 注意:
禁用 fireball 会影响所有大火球,包括通过命令或插件生成的火球。
? 配置
首次启动服务器后会生成配置文件:
can-grief:
creeper: true
fireball: true
enderman: true
? 文件路径:
/plugins/AdvancedMobGriefing/config.yml
你可以手动编辑这些值并重启服务器以应用更改。
? 权限
| 节点 |
描述 |
默认值 |
amg.mobgriefing |
允许使用 /mobgriefing 命令 |
仅限 OP |
? 安装步骤
- 从 Modrinth 或 Releases 页面 下载最新的
.jar 文件。
- 将其放入服务器的
plugins 文件夹中。
- 启动或重启服务器。
- 通过命令或
config.yml 进行配置。
? 许可证
本项目采用 MIT License 许可。
你可以在该许可证条款下自由使用、修改和分发它。
? 参与交流
有问题、想法,或者只是想分享反馈?
加入 讨论区 参与对话,或者如果发现了 Bug 或想要建议新功能,请 提交 Issue。

AdvancedMobGriefing
Selective mob griefing control for Minecraft servers.
Disable block destruction for specific mobs without affecting others — an alternative to the global mobGriefing false gamerule.
? Background
AdvancedMobGriefing was originally developed for a private Minecraft server with one specific goal: to selectively disable griefing for certain mobs — rather than all mobs, as the built-in gamerule mobGriefing false does.
Although the plugin was initially created for personal use, it was later released to the public to benefit a wider audience.
Unlike many other solutions, AdvancedMobGriefing does not cancel explosion events entirely. Instead, it clears the list of blocks affected by an explosion. This preserves visual and audio effects (particles and sounds), and also retains damage dealt to players and entities, providing the same functional result as mobGriefing false, while maintaining a more immersive gameplay experience.
? What It Does
Minecraft’s built-in gamerule mobGriefing false disables all mob-related block changes.
But what if you only want to stop creepers from blowing up your builds — without breaking Enderman behavior?
AdvancedMobGriefing lets you control griefing per mob type, giving you precise control over gameplay without sacrificing vanilla behavior.
✅ Prevent creeper explosions
✅ Disable fireball destruction from ghasts
✅ Stop Endermen from picking up blocks
✅ Keep explosion sounds and particles intact
✅ Preserve damage to players and mobs — only blocks are protected
✅ Supported Platforms
- Minecraft Java Edition:
1.20.4
- Server Types: Paper, Spigot
- Java: 21 or newer
⚠️ WARNING:
The plugin may work on newer versions, but they have not been officially tested.
⚙️ How to Use (for Server Admins)
Once installed, operators can use the following command in-game or from the console:
/mobgriefing (creeper|fireball|enderman) (true|false)
? Example
/mobgriefing creeper false
This disables block destruction from creepers.
Supported Entity Types
creeper
fireball (includes ghast fireballs and large fireballs)
enderman
ℹ️ NOTE:
Disabling fireball affects all large fireballs, including those spawned by commands or plugins.
? Configuration
A configuration file is created after first server startup:
can-grief:
creeper: true
fireball: true
enderman: true
? File path:
/plugins/AdvancedMobGriefing/config.yml
You can manually edit these values and reload the server to apply changes.
? Permissions
| Node |
Description |
Default |
amg.mobgriefing |
Allows use of the /mobgriefing command |
OP-only |
? Installation
- Download the latest
.jar file from Modrinth or the Releases page.
- Place it in your server’s
plugins folder.
- Start or restart the server.
- Configure via command or
config.yml.
? License
This project is licensed under the MIT License.
You are free to use, modify, and distribute it under the terms of that license.
? Get Involved
Have a question, idea, or just want to share feedback?
Join the conversation in the Discussions section or open an issue if you've found a bug or want to suggest a feature.
评论 0
登录后参与评分
还没有评论,来抢沙发吧