Annotation specifying the required Bukkit permission to execute a command or subcommand.
-
Required Element Summary
Required Elements
The permission string (e.g.
-
Optional Element Summary
Optional Elements
The custom error message to send when the player does not have permission.
-
Element Details
-
value
The permission string (e.g. "myplugin.admin").
- Returns:
- the permission required
-
message
The custom error message to send when the player does not have permission.
If empty, a default message will be used.
- Returns:
- the error message
- Default:
""