CommandFactory [1.8-1.16] | Replace nasty onCommand methods
1.1A better way to handle commands.
CommandFactory [1.8-1.13 ]
Please feel free to write a review, if you like this library :)
This Project is OpenSource! Feel free to do anything you like with it, as long as you obey the license terms (LICENSE file or in simple words https://www.tldrlegal.com/l/apache2)
Are you tired of endless onCommand methods, with several if, else statements to check all the arguments, a player entered?
There is a solution! CommandFactory is a small but powerful library, which reduces each command into a single, tidy class. It takes care of parsing all the arguments and can handle required and optional args.
Why would you use it?
Because it takes almost no time to setup, and makes your life a whole lot easier. Check out these example below, which showcase a before & after situation.
TODO: Add images
Want to use it?
Awesome! Just visit the GitLab Page and read the README.md file. It explains everything you need to know and provides useful examples.
Additional Info
Please consider writing a review about this library.
If you have any issues or suggestions, please send them to me on my Discord / or post them into the discussion.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta