Package com.olziedev.playereconomy.api
Interface PluginAPI
- All Known Implementing Classes:
PlayerEconomyAPI
public interface PluginAPI
Represents an API implementation that can be used to implement the API
-
Method Summary
Modifier and TypeMethodDescriptioncreateConfigItem(ConfigurationSection section, boolean containsTag) Use the plugin create item method for all type item creation support.voidsendMessage(CommandSender sender, String message) Use the plugin send message method for all type of syntax support.
-
Method Details
-
getExpansionRegistry
ExpansionRegistry getExpansionRegistry()- Returns:
- The expansion registry to manage the plugin expansions.
-
sendMessage
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
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.
-