Package net.gcnt.additionsplus.api.utils
Interface AdditionsVaultSupport
public interface AdditionsVaultSupport
-
Method Summary
Modifier and TypeMethodDescriptiongetGroups
(org.bukkit.entity.Player player) Get aList
of group names that the player is in.boolean
isGroup
(ActionSender sender, String group) Check if a sender is in a certain Vault group.boolean
Check if a player is in a certain Vault group.boolean
Set up the economy hook for Vault.
-
Method Details
-
setupEconomy
boolean setupEconomy()Set up the economy hook for Vault.- Returns:
- True when set up correctly, false otherwise.
-
getGroups
Get aList
of group names that the player is in.- Parameters:
player
- Player to check.- Returns:
List
group names.
-
isGroup
Check if a player is in a certain Vault group.- Parameters:
player
- Player to check.group
- Name of the group.- Returns:
- True when in the group, false otherwise.
-
isGroup
Check if a sender is in a certain Vault group.- Parameters:
sender
- Sender to check.group
- Name of the group.- Returns:
- True when in the group, false otherwise.
-