e8bb8a9e4d
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. |
||
---|---|---|
.github | ||
src | ||
.gitignore | ||
.travis.yml | ||
changelog.md | ||
LICENSE | ||
pom.xml | ||
README.md |
MobArena
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