Annotation Type CommandType


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface CommandType
    Represent this class is a Command. It means that this class must extend Command class.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] aliases
      Set the aliases of the command
      String name
      Set the name of the command
    • Element Detail

      • name

        String name
        Set the name of the command
        Returns:
        the name of the command
        Default:
        ""
      • aliases

        String[] aliases
        Set the aliases of the command
        Returns:
        the aliases of the command
        Default:
        {}