Interface CommandContext

    • Method Detail

      • getCommand

        @NotNull
        @NotNull Command getCommand()
        Gets the executed command.
        Returns:
        the executed command
      • getSender

        @NotNull
        @NotNull Sender getSender()
        Gets the commander.
        Returns:
        the commander
      • getArguments

        @NotNull
        @NotNull @Unmodifiable List<ArgumentgetArguments()
        Gets the given arguments.
        Returns:
        the given arguments
      • getLabel

        @NotNull
        @NotNull String getLabel()
        Gets the string used to specify the command.

        It may always return the same string as Command.getName().

        Returns:
        the string used to specify the command