Annotation Interface Permission
Annotation for commands that require a permission.
- See Also:
TippieCommand
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe permission required to execute the command. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe message to display if the player does not have the permission.
-
Element Details
-
permission
String permissionThe permission required to execute the command.- Returns:
- the permission required to execute the command.
-
-
-
noPermissionMessage
String noPermissionMessageThe message to display if the player does not have the permission.- Returns:
- the message to display if the player does not have the permission.
- Default:
- "\u00a7cYou do not have the required permission to execute this command."
-