Interface Settings
- All Superinterfaces:
DataSerializable
Additional command settings.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Settings.Builder
builder()
boolean
containsAlias
(String value) Whether the command contains the specified alias.String[]
Command aliases.Command aliases.long
The time between uses of the command.getDelay()
Delayed command execution.getPrice()
Command price.boolean
isEnable()
Whether the registration of the command is enabled.static Settings.Builder
Builders register later than the commands.
Use this method as needed.Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializable
contentVersion, toContainer
-
Method Details
-
builder
-
unregisteredBuilder
Builders register later than the commands.
Use this method as needed. -
getAliases
String[] getAliases()Command aliases. -
getAliasesList
Command aliases. -
containsAlias
Whether the command contains the specified alias. -
getCooldown
long getCooldown()The time between uses of the command. -
getDelay
Delay getDelay()Delayed command execution. -
getPrice
Price getPrice()Command price. -
isEnable
boolean isEnable()Whether the registration of the command is enabled. -
isAutoComplete
-