MobArena plugin for Minecraft
Go to file
Andreas Troelsen 951e83cc55 Rework some of the wave parsing logic.
This commit is a full sweep across the WaveParser. It introduces the ConfigError exception to the WaveParser and throws it whenever something isn't right. There's quite a lot of stuff going on, but in overall:

- Errors are thrown rather than null values being returned
- Defaults are picked in lieu of explicit values when they "make sense"
- Most list-type values can now be either the default comma-separated string or a string list

Common nodes:
- Spawnpoints can now be a string list

Default waves:
- Missing or empty monsters map throws an error
- Missing wave growth defaults to medium
- Invalid wave growth throws an error

Special waves:
- Missing or empty monsters map throws an error

Swarm waves:
- Missing or empty monster node throws an error
- Missing swarm amount defaults to low
- Invalid swarm amount throws an error

Supply waves:
- Missing or empty monsters map throws an error
- Missing or empty drops node throws an error
- Invalid drop throws an error
- Drops can now be a string list

Upgrade waves:
- Missing or empty upgrades map throws an error

Boss waves:
- Missing or empty monster node throws an error
- Missing or empty boss health defaults to medium
- Invalid boss health throws an error
- Invalid ability throws an error
- Invalid drop throws an error
- Abilities and drops can now be string lists
2018-08-06 01:22:27 +02:00
.github Migrate to using multiple issue templates. 2018-06-16 17:13:40 +02:00
docs Update "Item and reward syntax" documentation (see full commit) 2018-01-15 22:05:05 +01:00
lib Add MagicSpells to the lib/ folder. 2017-11-19 17:07:00 +01:00
src Rework some of the wave parsing logic. 2018-08-06 01:22:27 +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 Rewrite ThingParser usages. 2018-08-05 23:14:01 +02:00
LICENSE Add LICENSE 2018-04-27 16:32:02 +02:00
pom.xml Bump version to 0.102.1 2018-07-05 23:06:07 +02:00
README.md Rewrite "Getting Help" section in README. 2018-04-27 16:53:40 +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 or IRC channel to have a chat:

Remember, though, that these communication channels are 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