-
Notifications
You must be signed in to change notification settings - Fork 4
Introduction to platform manager
Mazen edited this page Apr 16, 2023
·
1 revision
Each platform of the current main platforms (spigot/bungee) has it's own command manager.
CommandManager has several implementations such as SpigotCommandManager
and BungeeCommandManager
You could even make your own implementation if you are working on a custom platform .
A command manager is responsible for registering commands and handling them it can also be used to fetch the commands and adding other options to the lib
private SpigotCommandManager commandManager;
@Override
public void onEnable() {
commandManager = new SpigotCommandManager(this);
}
I hope this wiki helped you with learning how to fully utilize mCommands