mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-07-27 16:01:35 +00:00
Add LICENSE, remove copyright notice from files that had it
This commit is contained in:
parent
6871b7e3d2
commit
1f0ee9e6a5
18 changed files with 201 additions and 172 deletions
|
@ -6,48 +6,48 @@ import com.esophose.playerparticles.particles.PPlayer;
|
|||
|
||||
public interface CommandModule {
|
||||
|
||||
/**
|
||||
* Called when this command gets executed
|
||||
*
|
||||
* @param pplayer The PPlayer who executed this command
|
||||
* @param args The arguments to this command
|
||||
*/
|
||||
public void onCommandExecute(PPlayer pplayer, String[] args);
|
||||
|
||||
/**
|
||||
* Called when a player tries to tab complete this command
|
||||
*
|
||||
* @param pplayer The PPlayer who is tab completing this command
|
||||
* @param args Arguments typed so far
|
||||
*/
|
||||
public List<String> onTabComplete(PPlayer pplayer, String[] args);
|
||||
|
||||
/**
|
||||
* Gets the name of this command
|
||||
*
|
||||
* @return The name of this command
|
||||
*/
|
||||
public String getName();
|
||||
|
||||
/**
|
||||
* Gets the description of this command
|
||||
*
|
||||
* @return The description of this command
|
||||
*/
|
||||
public String getDescription();
|
||||
|
||||
/**
|
||||
* Gets any arguments this command has
|
||||
*
|
||||
* @return The arguments this command has
|
||||
*/
|
||||
public String getArguments();
|
||||
|
||||
/**
|
||||
* True if this command requires the player to have any effects
|
||||
*
|
||||
* @return If the player must have effects to use this command
|
||||
*/
|
||||
public boolean requiresEffects();
|
||||
|
||||
/**
|
||||
* Called when this command gets executed
|
||||
*
|
||||
* @param pplayer The PPlayer who executed this command
|
||||
* @param args The arguments to this command
|
||||
*/
|
||||
public void onCommandExecute(PPlayer pplayer, String[] args);
|
||||
|
||||
/**
|
||||
* Called when a player tries to tab complete this command
|
||||
*
|
||||
* @param pplayer The PPlayer who is tab completing this command
|
||||
* @param args Arguments typed so far
|
||||
*/
|
||||
public List<String> onTabComplete(PPlayer pplayer, String[] args);
|
||||
|
||||
/**
|
||||
* Gets the name of this command
|
||||
*
|
||||
* @return The name of this command
|
||||
*/
|
||||
public String getName();
|
||||
|
||||
/**
|
||||
* Gets the description of this command
|
||||
*
|
||||
* @return The description of this command
|
||||
*/
|
||||
public String getDescription();
|
||||
|
||||
/**
|
||||
* Gets any arguments this command has
|
||||
*
|
||||
* @return The arguments this command has
|
||||
*/
|
||||
public String getArguments();
|
||||
|
||||
/**
|
||||
* True if this command requires the player to have any effects
|
||||
*
|
||||
* @return If the player must have effects to use this command
|
||||
*/
|
||||
public boolean requiresEffects();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue