HomeJavaModsCommandFactory [1.8-1.16] | Replace nasty onCommand methods with clean code.
CommandFactory [1.8-1.16] | Replace nasty onCommand methods with clean code.
ModsJava

CommandFactory [1.8-1.16] | Replace nasty onCommand methods with clean code.

⬇ Download on Spigot
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?

beforeafter.png


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.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CommandFactory [1.8-1.16] | Replace nasty onCommand methods with clean code. is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 167 times (via Spigot). Download it and open it directly in the game.

Explore more