Class VaultHandler
- java.lang.Object
-
- com.onarandombox.MultiverseCore.utils.VaultHandler
-
- All Implemented Interfaces:
org.bukkit.event.Listener
public class VaultHandler extends java.lang.Object implements org.bukkit.event.ListenerA class we use to interface with Vault when it is present.
-
-
Constructor Summary
Constructors Constructor Description VaultHandler(org.bukkit.plugin.Plugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.milkbowl.vault.economy.EconomygetEconomy()Returns the Vault economy system if Vault is present and has an economy system enabled.booleanhasEconomy()Checks whether Vault is in use and has an economy system enabled.
-
-
-
Method Detail
-
hasEconomy
public boolean hasEconomy()
Checks whether Vault is in use and has an economy system enabled.- Returns:
- true if vault is in use and has an economy system enabled.
-
getEconomy
public net.milkbowl.vault.economy.Economy getEconomy()
Returns the Vault economy system if Vault is present and has an economy system enabled.- Returns:
- The vault economy system or null if not configured.
-
-