Class VaultPermissions

All Implemented Interfaces:
org.bukkit.event.Listener

public class VaultPermissions extends PermissionsHook implements org.bukkit.event.Listener
  • Constructor Details

    • VaultPermissions

      public VaultPermissions(@NotNull @NotNull uSkyBlock plugin)
  • Method Details

    • addPermission

      public boolean addPermission(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String perk)
      Description copied from class: PermissionsHook
      Add permission to a player ONLY for the world the player is currently on. This is a world-specific operation.
      Specified by:
      addPermission in class PermissionsHook
      Parameters:
      player - Player Object
      perk - Permission node
      Returns:
      Success or Failure
    • removePermission

      public boolean removePermission(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String perk)
      Description copied from class: PermissionsHook
      Remove permission from a player. This is a world-specific operation.
      Specified by:
      removePermission in class PermissionsHook
      Parameters:
      player - Player Object
      perk - Permission node
      Returns:
      Success or Failure
    • onPermissionRegister

      public void onPermissionRegister(org.bukkit.event.server.ServiceRegisterEvent event)
    • onPermissionUnregister

      public void onPermissionUnregister(org.bukkit.event.server.ServiceUnregisterEvent event)