Class VaultEconomyProvider
java.lang.Object
com.palmergames.bukkit.towny.object.economy.provider.EconomyProvider
com.palmergames.bukkit.towny.object.economy.provider.VaultEconomyProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable EconomyAdapter
getEconomyAdapter
(@NotNull String name) name()
Methods inherited from class com.palmergames.bukkit.towny.object.economy.provider.EconomyProvider
isLegacy, setLegacy
-
Constructor Details
-
VaultEconomyProvider
public VaultEconomyProvider()
-
-
Method Details
-
name
- Specified by:
name
in classEconomyProvider
- Returns:
- The name of the plugin that provides the economy API in use, e.g. "Vault".
-
economyType
- Specified by:
economyType
in classEconomyProvider
-
mainAdapter
- Specified by:
mainAdapter
in classEconomyProvider
- Returns:
- The main economy adapter that should be used for all transactions.
-
economyAdapters
- Specified by:
economyAdapters
in classEconomyProvider
- Returns:
- All existing registered adapters
-
getEconomyAdapter
- Specified by:
getEconomyAdapter
in classEconomyProvider
-