Class PluginTags

java.lang.Object
valorless.havenbags.datamodels.PluginTags

public class PluginTags extends Object
Simple data model that describes an external plugin tag used by AutoPickup.

Instances represent how a plugin identifies its items or data, allowing AutoPickup.checkPlugins() to recognize and interoperate with those plugins. Each tag provides a human-friendly name, a namespace, and a specific Persistent Data Container (PDC) key string.

See Also:
  • AutoPickup#checkPlugins()
  • Field Details

    • name

      public String name
      Plugin name (as shown in it's plugin.yml, or the Console).
    • namespace

      public String namespace
      Namespace used in filters.yml, such as "nexo:".
    • pdcKey

      public String pdcKey
      PDC key string used to detect or mark items belonging to the plugin.
  • Constructor Details

    • PluginTags

      public PluginTags(String name, String namespace, String pdcKey)
      Create a new plugin tag descriptor.
      Parameters:
      name - Plugin name (as shown in it's plugin.yml, or the Console)
      namespace - Namespace used in filters.yml, such as "nexo:"
      pdcKey - Persistent Data Container key string for plugin-specific data