MobArena plugin for Minecraft
Go to file
Andreas Troelsen 14ad15b15d Cross check arena/lobby regions in intersects().
This commit changes how the ArenaRegion `intersects()` method works:

- The implicit null checks in the `setup` and `lobbySetup` flags have been replaced with actual null checks inside the auxiliary `intersects()` function. Not only does this make the auxiliary method more robust for potential future use, it also helps tidy up the code a bit. So neat!
- The semantics have changed, since `setup` depends on more than just the `p1` and `p2` points. This fixes an (unreported) bug where the check would report a false negative in case an overlapping arena region was defined, but e.g. the arena warp was missing.
- Instead of only checking arena vs. arena and lobby vs. lobby, we now also check arena vs. lobby and lobby vs. arena. That is, if the arena region is defined, we check it against both the arena region and lobby region of the other ArenaRegion (if they are defined). Same deal with the lobby region. This should ensure that no combination of overlaps pass through the check.
2020-01-03 02:05:24 +01: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 Cross check arena/lobby regions in intersects(). 2020-01-03 02:05:24 +01: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 Cross check arena/lobby regions in intersects(). 2020-01-03 02:05:24 +01:00
LICENSE Add LICENSE 2018-04-27 16:32:02 +02:00
pom.xml Bump version to 0.104.2. 2020-01-01 00:03:36 +01: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