Package net.gcnt.additionsplus.api.utils
Interface AdditionsVaultSupport
public interface AdditionsVaultSupport
-
Method Summary
Modifier and TypeMethodDescriptiongetGroups(org.bukkit.entity.Player player) Get aListof group names that the player is in.booleanisGroup(ActionSender sender, String group) Check if a sender is in a certain Vault group.booleanCheck if a player is in a certain Vault group.booleanSet 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 aListof group names that the player is in.- Parameters:
player- Player to check.- Returns:
Listgroup 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.
-