MobArena plugin for Minecraft
Go to file
Andreas Troelsen 7fc0473a72 Guess Equippables from Material name suffix.
This commit changes the way Equippable wrappers are created, such that
they more closely match the way class chest armor pieces are "guessed".
That is, instead of looking directly at the Material value of the given
item, we instead look at the name _suffix_, i.e. the part after the last
underscore in the name, e.g. `BOOTS` in `IRON_BOOTS`.

The neat thing about this approach is that it is compatible with future
items that follow the same naming convention, such as Netherite armor
pieces.

The downside is that it is stringly typed and not particularly "pretty",
and if the naming convention breaks or new items are introduced (such as
the elytra), we will have to make modifications anyway.

Fixes #636
2020-08-09 12:42:44 +02:00
.github Migrate to using multiple issue templates. 2018-06-16 17:13:40 +02:00
src Guess Equippables from Material name suffix. 2020-08-09 12:42:44 +02:00
.gitignore Update .gitignore for Python virtualenvs (for docs) 2017-11-29 14:06:51 -05:00
.travis.yml Switch to openjdk8 in .travis.yml. 2019-08-03 23:12:58 +02:00
changelog.md Guess Equippables from Material name suffix. 2020-08-09 12:42:44 +02:00
LICENSE Add LICENSE 2018-04-27 16:32:02 +02:00
pom.xml Remove MagicSpells integration. 2020-07-21 09:14:58 +02:00
README.md Remove readthedocs status from README. 2020-04-25 21:57:05 +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