Interface ChestProtectAddons

All Known Implementing Classes:
ChestProtectAddon

@Deprecated public interface ChestProtectAddons
Deprecated.
Use ChestProtectAPI instead.
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      Deprecated.
      Get the name of the plugin.
      Returns:
      plugin name
    • getProtectPlayer

      ProtectPlayer getProtectPlayer(UUID UUID)
      Deprecated.
      Get cached landPlayer
      Parameters:
      UUID - UUID string of player
      Returns:
      LandPlayer or null, if not cached
      Since:
      2.5.7
    • getProtectionWorld

      ProtectionWorld getProtectionWorld(@NotNull @NotNull org.bukkit.World world)
      Deprecated.
      Get world related protection data.
      Parameters:
      world - the Bukkit world
      Returns:
      world data, or null if protections aren't enabled in that world
    • getProtectionChunk

      ProtectionChunk getProtectionChunk(@NotNull @NotNull org.bukkit.World world, int x, int z)
      Deprecated.
      Get chunk related protection data.
      Parameters:
      world - the Bukkit world
      x - chunk X coordinate
      z - chunk Z coordinate
      Returns:
      chunk data, or null if not loaded
    • getProtection

      BlockProtection getProtection(org.bukkit.Location location)
      Deprecated.
      Get protection.
      Parameters:
      location - Location of protection
      Returns:
      BlockProtection or null, if not loaded
    • getPlugin

      org.bukkit.plugin.Plugin getPlugin()
      Deprecated.
      Get's plugin wich hooks ChestProtect.
      Returns:
      Plugin
    • disable

      @Deprecated void disable(String hookKey)
      Deprecated.
      Disables the APIHook.
      Parameters:
      hookKey - key of the hook to disable
    • initialize

      @Deprecated String initialize()
      Deprecated.
      Not any longer needed.
      Returns:
      empty string
    • isProtectable

      boolean isProtectable(org.bukkit.block.Block block)
      Deprecated.
      Check if the given block can be protected.
      Parameters:
      block - the block to check
      Returns:
      true, if the block type is protectable
    • isEnabled

      @Deprecated boolean isEnabled()
      Deprecated.
      Check if hook is enabled.
      Returns:
      Status
    • getAccess

      @Deprecated boolean getAccess(String hookKey)
      Deprecated.
      Checks if you can access the hook with your key.
      Parameters:
      hookKey - Key of hook
      Returns:
      Access status
    • isPublic

      @Deprecated boolean isPublic()
      Deprecated.
      If public is true, other developers can access your LandsAPIHook.
      Returns:
      true, if the hook is public