Uses of Class
com.palmergames.bukkit.towny.object.economy.Account
Packages that use Account
Package
Description
-
Uses of Account in com.palmergames.bukkit.towny
Methods in com.palmergames.bukkit.towny with parameters of type AccountModifier and TypeMethodDescriptionstatic void
TownyLogger.logMoneyTransaction
(Account a, double amount, Account b, String reason) -
Uses of Account in com.palmergames.bukkit.towny.confirmations
Methods in com.palmergames.bukkit.towny.confirmations that return AccountConstructors in com.palmergames.bukkit.towny.confirmations with parameters of type AccountModifierConstructorDescriptionConfirmationTransaction
(Supplier<Double> costSupplier, Account payee, String loggedMessage) Deprecated.ConfirmationTransaction
(Supplier<Double> costSupplier, Account payee, String loggedMessage, Translatable insufficientFundsMessage) Deprecated.since 0.100.0.10 useConfirmationTransaction(Supplier, EconomyHandler, String, Translatable)
instead. -
Uses of Account in com.palmergames.bukkit.towny.event.deathprice
Fields in com.palmergames.bukkit.towny.event.deathprice declared as AccountMethods in com.palmergames.bukkit.towny.event.deathprice that return AccountConstructors in com.palmergames.bukkit.towny.event.deathprice with parameters of type AccountModifierConstructorDescriptionDeathPriceEvent
(Account payer, double amount, Resident deadResident, org.bukkit.entity.Player killer) NationPaysDeathPriceEvent
(Account payer, double amount, Resident deadResident, org.bukkit.entity.Player killer, Nation nation) PlayerPaysDeathPriceEvent
(Account payer, double amount, Resident deadResident, org.bukkit.entity.Player killer) TownPaysDeathPriceEvent
(Account payer, double amount, Resident deadResident, org.bukkit.entity.Player killer, Town town) -
Uses of Account in com.palmergames.bukkit.towny.event.economy
Methods in com.palmergames.bukkit.towny.event.economy that return AccountConstructors in com.palmergames.bukkit.towny.event.economy with parameters of type AccountModifierConstructorDescriptionBankTransactionEvent
(Account account, Transaction transaction) Called whenever a deposit or withdrawl is made to/from a Bank account associated with a Town or Nation. -
Uses of Account in com.palmergames.bukkit.towny.object
Subclasses of Account in com.palmergames.bukkit.towny.objectModifier and TypeClassDescriptionclass
Economy object which provides an interface with the Economy Handler.Methods in com.palmergames.bukkit.towny.object that return AccountModifier and TypeMethodDescriptionEconomyHandler.getAccount()
Gets theAccount
associated with this object.Resident.getAccount()
@Nullable Account
Resident.getAccountOrNull()
Resident.getTeleportAccount()
final @Nullable Account
TeleportRequest.teleportAccount()
Methods in com.palmergames.bukkit.towny.object with parameters of type AccountModifier and TypeMethodDescriptionvoid
Resident.setTeleportAccount
(Account payee) Deprecated.Deprecated as of 0.99.0.10, teleport request related values are no longer modifiable once the teleport has been requested.static TeleportRequest
TeleportRequest.teleportRequest
(long requestTime, @NotNull org.bukkit.Location destination, int cooldown, double teleportCost, @Nullable Account account) -
Uses of Account in com.palmergames.bukkit.towny.object.economy
Subclasses of Account in com.palmergames.bukkit.towny.object.economyModifier and TypeClassDescriptionclass
A variant of anAccount
that belongs to aGovernment
.class
For internal use only.Methods in com.palmergames.bukkit.towny.object.economy that return AccountMethods in com.palmergames.bukkit.towny.object.economy with parameters of type AccountModifier and TypeMethodDescriptionvoid
Called whenever an account money is deposited to an account.void
void
boolean
Pays another account the specified funds.void
Called whenever an account money is withdrawn from an account.void
void
Constructors in com.palmergames.bukkit.towny.object.economy with parameters of type AccountModifierConstructorDescriptionBankTransaction
(TransactionType type, long time, Account account, double amount, double balance, String reason) -
Uses of Account in com.palmergames.bukkit.towny.tasks
Methods in com.palmergames.bukkit.towny.tasks with parameters of type AccountModifier and TypeMethodDescriptionstatic void
TeleportWarmupTimerTask.requestTeleport
(@NotNull Resident resident, @NotNull org.bukkit.Location destination, int cooldown, @Nullable Account teleportAccount, double teleportCost) This does not refund any other teleport requests that might be active for the resident, useTeleportWarmupTimerTask.abortTeleportRequest(Resident)
first if you want them to be refunded.
ConfirmationTransaction(Supplier, EconomyHandler, String)
instead.