MobArena plugin for Minecraft
Go to file
Andreas Troelsen e8bb8a9e4d Introduce ThingPicker.
Things work best as hardwired, atomic pieces of "stuff", so fitting RNG
into the framework is a little difficult. We could have a RandomThing,
but the issue with that is that the entropy has to live inside of it for
it to be random every time it is given, taken, or checked. This makes it
impossible to make a well-defined, atomic Thing with entropy involved.

Enter the pickers.

The ThingPicker is an early stage extension to the Things framework that
encapsulates the possibilities of entropy and grouping _around_ Things,
a type of Factory pattern.

This introductory stage consists of a "leaf picker" that can only ever
pick a single Thing, a Composite Pattern "group picker" that wraps a
list of other pickers and shoves their resulting Thing instances into a
ThingGroup (introduced in the previous commit).

These simple constructs should now make it possible to introduce entropy
without placing the responsibility on the Thing framework itself. Using
this extension requires adapting code to using the ThingPicker interface
instead of using Thing directly.
2020-08-22 16:10:07 +02:00
.github Migrate to using multiple issue templates. 2018-06-16 17:13:40 +02:00
src Introduce ThingPicker. 2020-08-22 16:10:07 +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 Add per-arena setting announcer-type. 2020-08-22 11:32:45 +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