MobArena plugin for Minecraft
Go to file
Andreas Troelsen 7317c64678 Use max health value instead of base value in SetHealth step.
This commit changes the SetHealth step such that it uses the player's own value for max health rather than the generic base value. As a result, players who join holding items that lower their max health will be missing health as soon as they join the lobby. But because food levels are maxed and locked, the health will quickly regenerate.

Unfortunately, players who join with a higher health value than the base max health value will have their health capped to the base max health value on the way out of the arena. This was also the case before this commit, but it is worth mentioning again for completeness.

These odd side effects are currently "necessary" because the effects of items that change max health values for players don't take immediate effect in the same tick as they are added/removed, so because MobArena's join sequence is synchronous, we can't feasibly "get it right".

Fixes #545
2019-07-20 22:37:23 +02:00
.github Migrate to using multiple issue templates. 2018-06-16 17:13:40 +02:00
docs Update Commands documentation (#413) 2019-01-01 15:03:31 +01:00
src Use max health value instead of base value in SetHealth step. 2019-07-20 22:37:23 +02:00
.gitignore Update .gitignore for Python virtualenvs (for docs) 2017-11-29 14:06:51 -05:00
.travis.yml Build against Java 8. 2018-04-17 18:18:05 +02:00
changelog.md Use max health value instead of base value in SetHealth step. 2019-07-20 22:37:23 +02:00
LICENSE Add LICENSE 2018-04-27 16:32:02 +02:00
pom.xml Bump version to 0.103.3 2019-04-23 12:42:17 +02:00
README.md Update README with new Discord invite. 2018-09-23 16:21:43 +02:00

MobArena Build Status Documentation 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