Class ReserveEconomyProvider
java.lang.Object
com.palmergames.bukkit.towny.object.economy.provider.EconomyProvider
com.palmergames.bukkit.towny.object.economy.provider.ReserveEconomyProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable EconomyAdapter
getEconomyAdapter
(@NotNull String name) @Nullable EconomyAdapter
name()
Methods inherited from class com.palmergames.bukkit.towny.object.economy.provider.EconomyProvider
isLegacy, setLegacy
-
Constructor Details
-
ReserveEconomyProvider
public ReserveEconomyProvider(net.tnemc.core.Reserve reserve)
-
-
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
-