MobArena plugin for Minecraft
Go to file
Andreas Troelsen d4dcc8dc90 Don't nag players with mobarena.admin.teleport.
Changes the behavior of the ArenaListener's teleport event handler such
that it _ignores_ teleport attempts instead of _rejecting_ them when the
player in question has the `mobarena.admin.teleport` permission. Because
the global listener's event handler only ever checks the permission if
at least one per-arena listener has _rejected_ the teleport attempt, and
none of them have explicitly _allowed_ it, the change means that it will
never check the permission, because its internal `allow` flag will never
change to `false`. Thus, the check can be safely removed from the global
listener's logic.

When the response is to ignore instead of reject, the message that would
have otherwise been sent to the player is skipped. This fixes #702.

It is perhaps tempting to move the permission check up into the section
of sanity checks in the global listener, but this is very specifically
avoided to allow MobArena to _uncancel_ teleport events that have been
cancelled by other plugins, but that MobArena might need to go through.
Please see afcc526a71 for more info.
2022-02-12 19:06:40 +01: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 Don't nag players with mobarena.admin.teleport. 2022-02-12 19:06:40 +01:00
.gitignore Clean up .gitignore. 2020-11-08 19:27:22 +01:00
changelog.md Don't nag players with mobarena.admin.teleport. 2022-02-12 19:06:40 +01: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 Update JUnit to 4.13.2. 2021-10-13 23:25:13 +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