Class PluginData

java.lang.Object
com.djrapitops.plan.data.plugin.PluginData

@Deprecated public abstract class PluginData extends Object
Deprecated.
PluginData API has been deprecated - see https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API for new API.
This is an abstract class that can be used to add data from a plugin to the "Plugins"-sections of Analysis and Inspect pages.

API-section of documentation has examples on the usage of this class and how to register objects extending this class.

  • Field Details

  • Constructor Details

  • Method Details

    • getPlayerData

      public abstract InspectContainer getPlayerData(UUID uuid, InspectContainer fillThis) throws Exception
      Deprecated.
      Throws:
      Exception
    • getServerData

      public abstract AnalysisContainer getServerData(Collection<UUID> uuids, AnalysisContainer fillThis) throws Exception
      Deprecated.
      Throws:
      Exception
    • setPluginIcon

      protected final void setPluginIcon(Icon pluginIcon)
      Deprecated.
    • setPluginIcon

      @Deprecated protected final void setPluginIcon(String pluginIcon)
      Deprecated.
      Use setPluginIcon(Icon) instead
    • setIconColor

      @Deprecated protected final void setIconColor(String iconColor)
      Deprecated.
      Use setPluginIcon(Icon) instead
    • getHelpText

      public final String getHelpText()
      Deprecated.
    • parsePluginIcon

      public final String parsePluginIcon()
      Deprecated.
    • getSize

      public final ContainerSize getSize()
      Deprecated.
    • getSourcePlugin

      public final String getSourcePlugin()
      Deprecated.
    • setHelpText

      protected final void setHelpText(String html)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • getWithIcon

      @Deprecated public final String getWithIcon(String text, String icon)
      Deprecated.
      Use getWithIcon(String, Icon) instead
    • getWithIcon

      @Deprecated public final String getWithIcon(String text, String icon, String color)
      Deprecated.
      Use getWithIcon(String, Icon) instead
    • getWithIcon

      public final String getWithIcon(String text, Icon.Builder builder)
      Deprecated.
    • getWithIcon

      public final String getWithIcon(String text, Icon icon)
      Deprecated.
    • setAnalysisData

      public final void setAnalysisData(AnalysisContainer analysisData)
      Deprecated.