The Command Provider offers a modern, object-oriented way to create Brigadier-style commands for PaperMC. It handles registration, subcommands, and auto-completion automatically.

Creating a Command

In-depth documentation is a work in progress. For now, simply view the in-code documentation on SubCommand and Core.commands.create(String) and Core.commands.register().

Registration

Easily register all of your initialized commands at once in your onEnable method.

Core.commands.register();