Package fr.fuzeblocks.homeplugin.economy
Class EconomyManager
java.lang.Object
fr.fuzeblocks.homeplugin.economy.EconomyManager
The type Economy manager.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic doubleGets cost.static doubleGets home creation cost.static doubleGets home teleport price.static doubleGets rtp price.static doubleGets tpa request price.static net.milkbowl.vault.economy.EconomyResponse.ResponseTypepay(org.bukkit.entity.Player player, double amount) Pay economy response . response type.static voidsetup(HomePlugin plugin) Sets .
- 
Constructor Details- 
EconomyManagerpublic EconomyManager()
 
- 
- 
Method Details- 
setupSets .- Parameters:
- plugin- the plugin
 
- 
getCostGets cost.- Parameters:
- key- the key
- defaultValue- the default value
- Returns:
- the cost
 
- 
getHomeCreationCostpublic static double getHomeCreationCost()Gets home creation cost.- Returns:
- the home creation cost
 
- 
getHomeTeleportPricepublic static double getHomeTeleportPrice()Gets home teleport price.- Returns:
- the home teleport price
 
- 
getTpaRequestPricepublic static double getTpaRequestPrice()Gets tpa request price.- Returns:
- the tpa request price
 
- 
getRtpPricepublic static double getRtpPrice()Gets rtp price.- Returns:
- the rtp price
 
- 
paypublic static net.milkbowl.vault.economy.EconomyResponse.ResponseType pay(org.bukkit.entity.Player player, double amount) Pay economy response . response type.- Parameters:
- player- the player
- amount- the amount
- Returns:
- the economy response . response type
 
 
-