Uses of Class
com.palmergames.bukkit.towny.object.economy.Account
Package
Description
-
Uses of Account in com.palmergames.bukkit.towny
Modifier and TypeMethodDescriptionstatic void
TownyLogger.logMoneyTransaction
(Account a, double amount, Account b, String reason) -
Uses of Account in com.palmergames.bukkit.towny.confirmations
ModifierConstructorDescriptionConfirmationTransaction
(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
ModifierConstructorDescriptionDeathPriceEvent
(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
ModifierConstructorDescriptionBankTransactionEvent
(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
Modifier and TypeClassDescriptionclass
Economy object which provides an interface with the Economy Handler.Modifier and TypeMethodDescriptionEconomyHandler.getAccount()
Gets theAccount
associated with this object.Resident.getAccount()
@Nullable Account
Resident.getAccountOrNull()
Resident.getTeleportAccount()
final @Nullable Account
TeleportRequest.teleportAccount()
Modifier 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
Modifier and TypeClassDescriptionclass
A variant of anAccount
that belongs to aGovernment
.class
For internal use only.Modifier 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
ModifierConstructorDescriptionBankTransaction
(TransactionType type, long time, Account account, double amount, double balance, String reason) -
Uses of Account in com.palmergames.bukkit.towny.tasks
Modifier 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.