Uses of Enum Class
nl.minetopiasdb.api.enums.BankPermission
Package
Description
Package that contains the API methods for banking
Package that contains the enums used in MinetopiaSDB
Package that contains all of the banking related MinetopiaSDB v2 events
-
Uses of BankPermission in nl.minetopiasdb.api.banking
Modifier and TypeMethodDescriptionBankaccount.getUsers()
Return a Map of the users with their respective permission on this bankaccountModifier and TypeMethodDescriptionvoid
Bankaccount.addUser(UUID uuid, BankPermission permission)
Add a user to this bankaccount and give him the provided permission.void
Bankaccount.addUserSilent(UUID uuid, BankPermission permission)
Add a user to this bankaccount and give him the provided permission.boolean
Bankaccount.hasPermission(UUID uuid, BankPermission permission)
Check if player has provided bankpermission.ModifierConstructorDescriptionBankaccount(int id, BankAccountType type, double balance, String name, boolean frozen, HashMap<UUID,BankPermission> users)
-
Uses of BankPermission in nl.minetopiasdb.api.enums
Modifier and TypeMethodDescriptionstatic BankPermission
BankPermission.getPermission(String name)
static BankPermission
Returns the enum constant of this class with the specified name.static BankPermission[]
BankPermission.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of BankPermission in nl.minetopiasdb.api.events.bank
Modifier and TypeMethodDescriptionBankAccountAddUserEvent.getPermission()
Get the bankpermission of this userModifierConstructorDescriptionBankAccountAddUserEvent(org.bukkit.command.CommandSender player, org.bukkit.OfflinePlayer addedPlayer, BankPermission permission, int bankId)