2019-10-17 16:04:43 -06:00
|
|
|
package dev.esophose.playerparticles.command;
|
2018-12-15 18:48:07 -07:00
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
|
|
|
|
public interface CommandModuleSecondary {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when this command gets executed
|
|
|
|
*
|
|
|
|
* @param sender The CommandSender who executed this command
|
|
|
|
* @param args The arguments to this command
|
|
|
|
*/
|
2019-04-28 00:17:08 -06:00
|
|
|
void onCommandExecute(CommandSender sender, String[] args);
|
2018-12-15 18:48:07 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Called when a player tries to tab complete this command
|
|
|
|
*
|
|
|
|
* @param sender The CommandSender who is tab completing this command
|
|
|
|
* @param args Arguments typed so far
|
|
|
|
* @return A list of possible argument values
|
|
|
|
*/
|
2019-04-28 00:17:08 -06:00
|
|
|
List<String> onTabComplete(CommandSender sender, String[] args);
|
2018-12-15 18:48:07 -07:00
|
|
|
|
|
|
|
}
|