Class OrchestraCommands
java.lang.Object
com.iantapply.orchestra.platform.paper.command.OrchestraCommands
Small Brigadier command tree that adapts Paper senders to platform-neutral administration operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPermission required for every Orchestra administration command. -
Constructor Summary
ConstructorsConstructorDescriptionOrchestraCommands(com.iantapply.orchestra.administration.OrchestraAdministrationService administration, Supplier<List<String>> diagnostics) Creates the command adapter. -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> create()Builds the complete/orchestracommand tree.
-
Field Details
-
PERMISSION
Permission required for every Orchestra administration command.- See Also:
-
-
Constructor Details
-
OrchestraCommands
-
-
Method Details
-
create
public com.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> create()Builds the complete/orchestracommand tree.- Returns:
- lifecycle-registerable Brigadier root node
-