Class CommandBus
java.lang.Object
com.github.darksoulq.abyssallib.server.command.CommandBus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack> static voidinit(com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack> dispatcher) static voidregister(String pluginId, BaseCommand command) static voidDeprecated, for removal: This API element is subject to removal in a future version.static voidstatic voidremove(BaseCommand command) static voidresync()
-
Constructor Details
-
CommandBus
public CommandBus()
-
-
Method Details
-
init
public static void init(com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack> dispatcher) -
register
Deprecated, for removal: This API element is subject to removal in a future version. -
register
-
reloadAll
public static void reloadAll() -
remove
-
resync
public static void resync() -
getDispatcher
public static com.mojang.brigadier.CommandDispatcher<io.papermc.paper.command.brigadier.CommandSourceStack> getDispatcher()
-