mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-07-08 23:07:49 +00:00
27 lines
744 B
Java
27 lines
744 B
Java
![]() |
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
|
||
|
*/
|
||
|
public void onCommandExecute(CommandSender sender, String[] args);
|
||
|
|
||
|
/**
|
||
|
* 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
|
||
|
*/
|
||
|
public List<String> onTabComplete(CommandSender sender, String[] args);
|
||
|
|
||
|
}
|