注释类型 MCommand

    • 元素详细资料

      • name

        String name
        The name of this command.

        If it is empty. then will use Class/Method name.

        返回:
        The name of this command.
        默认值:
        ""
      • description

        String description
        The description of this command.
        返回:
        The description of this command.
        默认值:
        ""
      • usage

        String usage
        The Usage of current commands
        返回:
        默认值:
        ""
      • permission

        String permission
        The permission of this command.
        返回:
        The permission need check.
        默认值:
        ""
      • 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.
        默认值:
        ""
      • provider

        Class<? extends CommandProvider> provider
        The provider using.
        返回:
        The provider of this command.
        默认值:
        cn.mcres.karlatemp.mxlib.command.CommandProvider.class