Package nl.minetopiasdb.api.events.bank
Class BankAccountCreatedEvent
java.lang.Object
org.bukkit.event.Event
nl.minetopiasdb.api.events.bank.BankAccountCreatedEvent
public class BankAccountCreatedEvent
extends org.bukkit.event.Event
Event thrown when someone has created a bankaccount using /bankaccount create
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionBankAccountCreatedEvent
(org.bukkit.command.CommandSender player, int bankId, BankAccountType accountType) -
Method Summary
Modifier and TypeMethodDescriptionint
Get the account associated with this actionGet the type of bankaccountstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.command.CommandSender
See who added the playerMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
BankAccountCreatedEvent
public BankAccountCreatedEvent(org.bukkit.command.CommandSender player, int bankId, BankAccountType accountType)
-
-
Method Details
-
getPlayer
public org.bukkit.command.CommandSender getPlayer()See who added the player- Returns:
- Player who executed /bankaccount create
-
getAccountId
public int getAccountId()Get the account associated with this action- Returns:
- account assosiated with this event
-
getBankAccountType
Get the type of bankaccount- Returns:
- Type of bankaccount
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-