java.lang.Object
studio.magemonkey.codex.manager.IListener<CodexEngine>
studio.magemonkey.codex.hooks.NHook<CodexEngine>
studio.magemonkey.codex.hooks.external.VaultHK
All Implemented Interfaces:
org.bukkit.event.Listener, studio.magemonkey.codex.manager.AbstractListener

public class VaultHK extends NHook<CodexEngine>
  • Constructor Details

    • VaultHK

      public VaultHK(@NotNull CodexEngine plugin)
  • Method Details

    • setup

      @NotNull protected studio.magemonkey.codex.hooks.HookState setup()
      Specified by:
      setup in class NHook<CodexEngine>
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in class NHook<CodexEngine>
    • onEconomyFix

      public void onEconomyFix(org.bukkit.event.server.ServiceRegisterEvent e)
    • hasPermissions

      public boolean hasPermissions()
    • getPermissions

      @Nullable public net.milkbowl.vault.permission.Permission getPermissions()
    • hasChat

      public boolean hasChat()
    • getChat

      @Nullable public net.milkbowl.vault.chat.Chat getChat()
    • hasEconomy

      public boolean hasEconomy()
    • getEconomy

      @Nullable public net.milkbowl.vault.economy.Economy getEconomy()
    • getEconomyName

      @NotNull public String getEconomyName()
    • getPlayerGroup

      @NotNull public String getPlayerGroup(@NotNull org.bukkit.entity.Player p)
    • getPlayerGroups

      @NotNull public Set<String> getPlayerGroups(@NotNull org.bukkit.entity.Player p)
    • getPrefix

      @NotNull public String getPrefix(@NotNull org.bukkit.entity.Player p)
    • getSuffix

      @NotNull public String getSuffix(@NotNull org.bukkit.entity.Player p)
    • getBalance

      public double getBalance(@NotNull org.bukkit.OfflinePlayer p)
    • give

      public boolean give(@NotNull org.bukkit.OfflinePlayer p, double amount)
    • take

      public boolean take(@NotNull org.bukkit.OfflinePlayer p, double amount)
    • canPay

      public boolean canPay(@NotNull org.bukkit.OfflinePlayer p, double amount)
    • reset

      public void reset(org.bukkit.OfflinePlayer player)
    • format

      public String format(double input)