-
@Target({PACKAGE,TYPE}) @Retention(RUNTIME) public @interface MCommands
-
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 String
description
String
noPermissionMessage
If this command non have permission.String
permission
The permission need to invoke this command.Class<? extends CommandProvider>
provider
The providers of this commands.
-
-
-
元素详细资料
-
value
String value
The name of this command set.- 返回:
- The name of this command set.
-
-
-
permission
String permission
The permission need to invoke this command.- 返回:
- The permission need.
- 默认值:
- ""
-
-
-
noPermissionMessage
String noPermissionMessage
If this command non have permission. Them will send this message to sender.- 返回:
- The message will send back if sender don't have permission.
- 默认值:
- ""
-
-
-
description
String description
- 默认值:
- ""
-
-
-
provider
Class<? extends CommandProvider> provider
The providers of this commands.- 返回:
- The provider using.
- 默认值:
- cn.mcres.karlatemp.mxlib.command.CommandProvider.class
-
-