Annotation Type AnnotatedCommandExecutor.Command
-
@Retention(RUNTIME) @Target(METHOD) public static @interface AnnotatedCommandExecutor.Command
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description GrantdefaultGrantDefault grant behavior of permission property.java.lang.StringdescriptionDescription of this command, used in command help.java.lang.StringpermissionPermission to check for when this command is execute.
-
-
-
-
defaultGrant
Grant defaultGrant
Default grant behavior of permission property. When set to Grant.DENY, permission is assumed denied when no permission is set on the user. When set to Grant.ALLOW, command execution is allowed unless the user explicitly has a defined Grant.DENY permission grant matching the command's required node.- Returns:
- default grant behavior.
- Default:
- io.manebot.security.Grant.DENY
-
-