Class Customization
java.lang.Object
me.lorenzo0111.pluginslib.command.Customization
Class for command customization
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Customization
public Customization(@Nullable @Nullable String header, @Nullable @Nullable String notFound, @Nullable @Nullable String noArgs) - Parameters:
header- Message that is sent every time the sender executes the commandnotFound- Message that is sent when the arg does not existsnoArgs- Message that is sent when there are no args ( /command )
-
-
Method Details
-
getHeader
- Returns:
- Message that is sent every time the sender executes the command
-
getNotFound
- Parameters:
command- The variable $cmd will be replaced with his value- Returns:
- Message that is sent when the arg does not exists
-
getNoArgs
- Parameters:
command- The variable $cmd will be replaced with his value- Returns:
- Message that is sent when there are no args ( /command )
-