Interface PluginAPI

All Known Implementing Classes:
PlayerEconomyAPI

public interface PluginAPI
Represents an API implementation that can be used to implement the API
  • Method Details

    • getExpansionRegistry

      ExpansionRegistry getExpansionRegistry()
      Returns:
      The expansion registry to manage the plugin expansions.
    • sendMessage

      void sendMessage(CommandSender sender, String message)
      Use the plugin send message method for all type of syntax support.
      Parameters:
      sender - The entity who will receive the message.
      message - The message.
    • createConfigItem

      ItemStack createConfigItem(ConfigurationSection section, boolean containsTag)
      Use the plugin create item method for all type item creation support.
      Parameters:
      section - The configuration section to get the item from.
      containsTag - If the item contains a tag.
      Returns:
      The item from the configuration section.
    • getPlugin

      OlziePluginAPI getPlugin()
      Returns:
      The plugin instance.