ObsidianBreakerTNT is a plugin for PocketMine-MP. The plugin introduces a new mechanic where obsidian blocks can be destroyed by TNT explosions. The plugin can be handy in servers featuring game modes like Factions.
.phar
file into your server's plugins
directory.You can adjust the hit count (the number of TNT explosions an obsidian block can withstand before breaking) in the config.yml
file.
The plugin registers two event listeners:
EntityExplodeEvent
: Checks if the exploding entity is a PrimedTNT. If so, the plugin will check the surrounding blocks and add a hit to the directly hitting obsidian(s).BlockBreakEvent
: If an obsidian block is broken by a player, it is removed from the plugin's internal tracking.Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is GNU licensed.