Class PluginInfoNode<T extends me.lucyy.squirtgun.platform.audience.PermissionHolder>

  • All Implemented Interfaces:
    CommandNode<T>

    public class PluginInfoNode<T extends me.lucyy.squirtgun.platform.audience.PermissionHolder>
    extends AbstractNode<T>
    • Constructor Detail

      • PluginInfoNode

        public PluginInfoNode​(java.lang.String name,
                              me.lucyy.squirtgun.plugin.SquirtgunPlugin<?> plugin)
    • Method Detail

      • execute

        @Nullable
        public @Nullable net.kyori.adventure.text.Component execute​(CommandContext<T> context)
        Description copied from interface: CommandNode
        Execute this node. This will only be executed if there are no further nodes in the chain.
        Parameters:
        context - the context that this command was executed in
        Returns:
        a component to optionally