Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

Introduction to platform manager

Mazen edited this page Apr 16, 2023 · 1 revision

Platform Manager

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 .

Command Manager

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

Spigot Command Manager Example

private SpigotCommandManager commandManager;

@Override
public void onEnable() {
   commandManager = new SpigotCommandManager(this);
}

Clone this wiki locally