Interface AdditionsVaultSupport


public interface AdditionsVaultSupport
  • Method Summary

    Modifier and Type
    Method
    Description
    getGroups(org.bukkit.entity.Player player)
    Get a List 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
    isGroup(org.bukkit.entity.Player player, String group)
    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

      List<String> getGroups(org.bukkit.entity.Player player)
      Get a List of group names that the player is in.
      Parameters:
      player - Player to check.
      Returns:
      List group names.
    • isGroup

      boolean isGroup(org.bukkit.entity.Player player, String group)
      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

      boolean isGroup(ActionSender sender, String group)
      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.