Annotation Interface CmdMapping
Command mapping annotation.
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
format
String format- Returns:
- command format
For example: if command is "/test" then
"" stands for "/test";
"<player>" stands for "/test <player>";
"send <message>" stands for "/test send <message>"
-
permission
String permission- Returns:
- command permission
- Default:
""
-
requireOp
boolean requireOp- Returns:
- if command requires op
- Default:
false
-