PlayerParticles/src/com/esophose/playerparticles/command/CommandModuleSecondary.java

27 lines
730 B
Java
Raw Normal View History

2018-12-15 18:48:07 -07:00
package com.esophose.playerparticles.command;
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
}