Class RelayCommands
java.lang.Object
com.iantapply.relay.paper.command.RelayCommands
Small command tree that adapts Paper senders to Relay's operational services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPermission required for every Relay administration command. -
Constructor Summary
ConstructorsConstructorDescriptionRelayCommands(com.iantapply.relay.core.DefaultMessagingService messaging, 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/relaycommand tree.
-
Field Details
-
PERMISSION
Permission required for every Relay administration command.- See Also:
-
-
Constructor Details
-
RelayCommands
-
-
Method Details
-
create
public com.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> create()Builds the complete/relaycommand tree.- Returns:
- lifecycle-registerable command root
-