Interface SpecialArgumentComplexHandler

  • All Known Subinterfaces:
    SpecialArgumentHandler

    public interface SpecialArgumentComplexHandler
    This class is used to handle special arguments, which start with "@"
    • Method Detail

      • handle

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

        default void unregister()