Sueta
MO

Modular

0.2.0

Autoload/save data, command handler

·Plugin

----------- STILL IN DEV -----------

This plugin is an API which allows developpers to develop in a modular way.
Its aim is to make each project beginning easier.
I work for a few years now on spigot and each time a new project begin, each time we have to dev again the same feature as command handler or save/load system for players data.
This plugin supports both functions. To add your code to this project, you just have to add it in dependency of your project. Make an implementation of IModule (working the same way as standard plugin). See docs for further information.

It allows :

  • Autosave/load with a properties system. It used an annotation system to save elected data in json. It already works successfull with Redis. (MySQL support and YAML support are planned (easier to setup for little server i think.))
  • Command Handler. It's a hierarchical system where CommandSpec are the rules. Each CommandSpec can have CommandSpec child. The system is completely automated, throwing this one or that one according to what you code.
  • Other features which could be usefull. I am open to any suggestion to add/improve features.

For those who already worked on SpongeAPI or Forge API, these system
might be familiar to you. In fact, I worked a lot on Sponge API and Forge API and I found that each of these projects have their good features so I tried to bring them all together to make this plugin/API.

Similar projects

Plugin →