Annotation Type PluginInfo
-
@Retention(RUNTIME) @Target(TYPE) public @interface PluginInfo
Class Annotation for informing Plan about a plugin.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
name
Name of the plugin, limited to 50 characters.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Color
color
Color preference of the plugin.Family
iconFamily
Family of Font Awesome icon.java.lang.String
iconName
Name of Font Awesome icon.
-
-
-
-
iconName
java.lang.String iconName
Name of Font Awesome icon.See https://fontawesome.com/icons (select 'free')) for icons and their
Family
.- Returns:
- Name of the icon, if name is not valid no icon is shown.
- Default:
- "cube"
-
-
-
color
Color color
Color preference of the plugin.This color will be set as the default color to use for plugin's elements.
- Returns:
- Preferred color. If none are specified defaults are used.
- Default:
- com.djrapitops.plan.extension.icon.Color.NONE
-
-