public final class Customization extends Object
| Constructor and Description |
|---|
Customization(@Nullable String header,
@Nullable String notFound,
@Nullable String noArgs) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getHeader() |
@Nullable String |
getNoArgs(String command) |
@Nullable String |
getNotFound(String command) |
public Customization(@Nullable @Nullable String header, @Nullable @Nullable String notFound, @Nullable @Nullable String noArgs)
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 )@Nullable public @Nullable String getHeader()
@Nullable public @Nullable String getNotFound(String command)
command - The variable $cmd will be replaced with his value