Class StylesCommandModule
java.lang.Object
dev.esophose.playerparticles.command.StylesCommandModule
- All Implemented Interfaces:
 CommandModule
public class StylesCommandModule extends java.lang.Object implements CommandModule
- 
Constructor Summary
Constructors Constructor Description StylesCommandModule() - 
Method Summary
Modifier and Type Method Description booleancanConsoleExecute()java.lang.StringgetArguments()Gets any arguments this command hasjava.lang.StringgetDescriptionKey()Gets the locale description key of this commandjava.lang.StringgetName()Gets the name of this commandvoidonCommandExecute(PPlayer pplayer, java.lang.String[] args)Called when this command gets executedjava.util.List<java.lang.String>onTabComplete(PPlayer pplayer, java.lang.String[] args)Called when a player tries to tab complete this commandbooleanrequiresEffectsAndStyles()True if this command requires the player to have any effects and styles 
- 
Constructor Details
- 
StylesCommandModule
public StylesCommandModule() 
 - 
 - 
Method Details
- 
onCommandExecute
Description copied from interface:CommandModuleCalled when this command gets executed- Specified by:
 onCommandExecutein interfaceCommandModule- Parameters:
 pplayer- The PPlayer who executed this commandargs- The arguments to this command
 - 
onTabComplete
Description copied from interface:CommandModuleCalled when a player tries to tab complete this command- Specified by:
 onTabCompletein interfaceCommandModule- Parameters:
 pplayer- The PPlayer who is tab completing this commandargs- Arguments typed so far- Returns:
 - A list of possible argument values
 
 - 
getName
public java.lang.String getName()Description copied from interface:CommandModuleGets the name of this command- Specified by:
 getNamein interfaceCommandModule- Returns:
 - The name of this command
 
 - 
getDescriptionKey
public java.lang.String getDescriptionKey()Description copied from interface:CommandModuleGets the locale description key of this command- Specified by:
 getDescriptionKeyin interfaceCommandModule- Returns:
 - The locale description key of this command
 
 - 
getArguments
public java.lang.String getArguments()Description copied from interface:CommandModuleGets any arguments this command has- Specified by:
 getArgumentsin interfaceCommandModule- Returns:
 - The arguments this command has
 
 - 
requiresEffectsAndStyles
public boolean requiresEffectsAndStyles()Description copied from interface:CommandModuleTrue if this command requires the player to have any effects and styles- Specified by:
 requiresEffectsAndStylesin interfaceCommandModule- Returns:
 - If the player must have effects and styles to use this command
 
 - 
canConsoleExecute
public boolean canConsoleExecute()- Specified by:
 canConsoleExecutein interfaceCommandModule- Returns:
 - true if this command can be executed from console, otherwise false
 
 
 -