By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Make obsidians breakable with TNT
version 0.0.2
Approved
Direct Download How to install?
Switch version
95 Downloads / 111 Total
Plugin Description §

ObsidianBreakerTNT

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.

Features

  • TNT Explosions: TNT explosions can now break obsidian blocks.
  • Water Protection: TNT explosions in water will not break obsidian blocks.
  • Hit Count: Obsidian blocks will only break after a certain number of TNT explosions. The hit count is configurable.

Installation

  1. Download the latest release from the GitHub repository, or download from the latest Poggit Release
  2. Place the .phar file into your server's plugins directory.
  3. Restart your server so that PocketMine-MP can load the plugin.

Configuration

You can adjust the hit count (the number of TNT explosions an obsidian block can withstand before breaking) in the config.yml file.

Events

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.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

License

This project is GNU licensed.

What's new §
  • Bump version
  • Update Main.php
    • Code Cleanup
  • Update README.md
Supported API versions
5.10.0
->
5.27.1
Producers §
  • Collaborators:
    • @minijaham
Categories:
General
Miscellaneous
Keywords

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...