MobArena plugin for Minecraft
Go to file
Andreas Troelsen 15698d3eee Use block data to check if blocks are signs.
Instead of relying on the evolving Material enum values, we can use the
new BlockData API as advised by some of the folks "in the know". It is
unclear how much of a performance impact the the "block data gathering"
and `instanceof` checks incur, but this is a pretty secluded place in
the code base, so probably nothing to worry about.

An alternative solution could have been to check if the _name_ of the
Material equals "SIGN" or "WALL_SIGN", or ends with "_SIGN". That should
cover all cases in a sorta kinda safe manner, but it isn't as resilient
as the BlockData/BlockState hierarchies.

We could also employ the new Materials utility class and enumerate all
sign types by name and just check for membership of the resulting set,
but this creates another brittle crash point.
2021-07-30 18:21:41 +02:00
.github Replace Travis CI with Github Actions. 2021-04-15 17:24:56 +02:00
.mvn/wrapper Add Maven Wrapper. 2020-11-04 01:21:50 +01:00
src Use block data to check if blocks are signs. 2021-07-30 18:21:41 +02:00
.gitignore Clean up .gitignore. 2020-11-08 19:27:22 +01:00
changelog.md Add reload events. 2021-07-07 00:14:29 +02:00
LICENSE Add LICENSE 2018-04-27 16:32:02 +02:00
mvnw Add Maven Wrapper. 2020-11-04 01:21:50 +01:00
mvnw.cmd Add Maven Wrapper. 2020-11-04 01:21:50 +01:00
pom.xml Switch to Spigot API and bump version to 1.17. 2021-07-30 18:21:39 +02:00
README.md Replace Travis CI with Github Actions. 2021-04-15 17:24:56 +02:00

MobArena Build Status

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