Package me.s3ns3iw00.jcommands.type
Class GlobalCommand
- java.lang.Object
-
- me.s3ns3iw00.jcommands.Command
-
- me.s3ns3iw00.jcommands.type.GlobalCommand
-
-
Constructor Summary
Constructors Constructor Description GlobalCommand(java.lang.String name, java.lang.String description)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableInDMs()
Disables the command in DMsvoid
enableInDMs()
Enables the command in DMsboolean
isEnabledInDMs()
Checks if the command is enabled in DMs-
Methods inherited from class me.s3ns3iw00.jcommands.Command
addArgument, addArgument, addConcatenator, addPermissions, getActionListener, getArguments, getConcatenators, getDefaultPermissions, getDescription, getName, isNsfw, isOnlyForAdministrators, setNsfw, setOnAction, setOnlyForAdministrators
-
-
-
-
Constructor Detail
-
GlobalCommand
public GlobalCommand(java.lang.String name, java.lang.String description)
Default constructor- Parameters:
name
- the name of the command Its length must between 1 and 32 Can contain only: - word characters - numbers - '-' charactersdescription
- the description of the command Its length must between 1 and 100
-
-