Interface CommandModuleSecondary

All Known Implementing Classes:
OtherCommandModule

public interface CommandModuleSecondary
  • Method Summary

    Modifier and Type Method Description
    void onCommandExecute​(org.bukkit.command.CommandSender sender, java.lang.String[] args)
    Called when this command gets executed
    java.util.List<java.lang.String> onTabComplete​(org.bukkit.command.CommandSender sender, java.lang.String[] args)
    Called when a player tries to tab complete this command
  • Method Details

    • onCommandExecute

      void onCommandExecute​(org.bukkit.command.CommandSender sender, java.lang.String[] args)
      Called when this command gets executed
      Parameters:
      sender - The CommandSender who executed this command
      args - The arguments to this command
    • onTabComplete

      java.util.List<java.lang.String> onTabComplete​(org.bukkit.command.CommandSender sender, java.lang.String[] args)
      Called when a player tries to tab complete this command
      Parameters:
      sender - The CommandSender who is tab completing this command
      args - Arguments typed so far
      Returns:
      A list of possible argument values