Class VaultLayer
java.lang.Object
com.earth2me.essentials.economy.layers.VaultLayer
- All Implemented Interfaces:
EconomyLayer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
createPlayerAccount
(OfflinePlayer player) boolean
deposit
(OfflinePlayer player, BigDecimal amount) void
disable()
void
getBalance
(OfflinePlayer player) getName()
boolean
hasAccount
(OfflinePlayer player) boolean
boolean
withdraw
(OfflinePlayer player, BigDecimal amount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.earth2me.essentials.economy.EconomyLayer
set
-
Constructor Details
-
VaultLayer
public VaultLayer()
-
-
Method Details
-
hasAccount
- Specified by:
hasAccount
in interfaceEconomyLayer
-
createPlayerAccount
- Specified by:
createPlayerAccount
in interfaceEconomyLayer
-
getBalance
- Specified by:
getBalance
in interfaceEconomyLayer
-
deposit
- Specified by:
deposit
in interfaceEconomyLayer
-
withdraw
- Specified by:
withdraw
in interfaceEconomyLayer
-
getName
- Specified by:
getName
in interfaceEconomyLayer
-
getBackendName
- Specified by:
getBackendName
in interfaceEconomyLayer
-
enable
- Specified by:
enable
in interfaceEconomyLayer
-
onServerLoad
public boolean onServerLoad()- Specified by:
onServerLoad
in interfaceEconomyLayer
-
disable
public void disable()- Specified by:
disable
in interfaceEconomyLayer
-
getPluginName
- Specified by:
getPluginName
in interfaceEconomyLayer
-
getPluginVersion
- Specified by:
getPluginVersion
in interfaceEconomyLayer
-