4470b60aaf
Turns out igniting TNT _doesn't_ fire a BlockIgniteEvent but rather an ExplosionPrimeEvent, which means this code has never actually been of any use. This code block was likely dead on arrival and has been dead for almost 9 years. Wonderful... The proper handling here would be to listen for the PlayerInteractEvent and detect flint and steel interactions with TNT blocks. This is super cumbersome, however, because the event handler would have to listen on the MONITOR priority to ensure that nothing changes down the line. What we are _actually_ need to do is remove the TNT block from the arena's block set when it is ignited, but since this hasn't worked for almost a decade, we're not really in a hurry to fix it now. It just makes for a slightly slower (but negligible) cleanup procedure most of the time. |
||
---|---|---|
.github | ||
.mvn/wrapper | ||
src | ||
.gitignore | ||
changelog.md | ||
LICENSE | ||
mvnw | ||
mvnw.cmd | ||
pom.xml | ||
README.md |
MobArena
MobArena is an arena-style minigame for Spigot-based Minecraft servers
Getting Started
If you don't want to compile the plugin yourself, grab a release artifact from one of these two sites:
The wiki here on Github should have all the information you need to get started using the plugin.
Getting Help
If you run into problems or need help with something, feel free to hop on the MobArena Discord server to have a chat: Instant Invite
Remember, though, that this communication channel is idle chat, which means you likely won't get a response immediately. It could take anything from a couple of seconds to a day, but your message will be seen.
Contributing
Found a bug, got a suggestion, or want to dig into the code base? There are many ways to contribute to the project!
Get started here: Contributing