Interface SpecialArgumentComplexHandler

    • Method Detail

      • handle

        @NonNull String handle​(String name,
                               CommandSender sender,
                               Command command,
                               String[] args,
                               int i,
                               String... arguments)
        Handle the special argument
        Parameters:
        name - the name of the special argument
        sender - the sender of the command
        command - the command
        args - the arguments of the command
        i - the index of the argument
        arguments - the arguments of the special argument
        Returns:
        the argument after handle
      • unregister

        default void unregister()
        Unregister the special argument