java.lang.Object
dev.despical.commandframework.CommandAttributes
Immutable command metadata used to replace the attributes of a command that
was already registered by
CommandFramework.- Since:
- 1.6.4
- Author:
- Despical
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable builder used byCommandFramework.updateCommandAttributes(String, java.util.function.Consumer). -
Method Summary
-
Method Details
-
builder
@NotNull @Contract("_ -> new") public static @NotNull CommandAttributes.Builder builder(@NotNull @NotNull Command command) -
name
-
fallbackPrefix
-
permission
-
aliases
-
desc
-
usage
-
min
@Contract(pure=true) public int min() -
max
@Contract(pure=true) public int max() -
onlyOp
@Contract(pure=true) public boolean onlyOp() -
async
@Contract(pure=true) public boolean async() -
senderType
-
toCommand
-