Annotation Interface CmdExecutor
Command executor annotation.
- Version:
- 1.0.0
- Author:
- qianmo
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanNote on what a player sees when they lack this permission (#383). This value is also registered with Bukkit, so Paper removes the command from an unpermitted player's command tree and answers with a parse error -- the framework's own refusal message is shown to the console only.boolean
-
Element Details
-
permission
String permissionNote on what a player sees when they lack this permission (#383). This value is also registered with Bukkit, so Paper removes the command from an unpermitted player's command tree and answers with a parse error -- the framework's own refusal message is shown to the console only. Declare the permission on@CmdMappinginstead if a player should be told why. SeePermissionValidator's class javadoc.- Default:
""
-
description
String description- Returns:
- description
- Default:
""
-
alias
String[] alias- Returns:
- command alias
-
requireOp
boolean requireOp- Returns:
- if requires op
- Default:
false
-
manualRegister
boolean manualRegister- Returns:
- if it is manually register
- Default:
false
-