Class ConfiguredRegion

java.lang.Object
net.islandearth.rpgregions.managers.data.region.ConfiguredRegion

public class ConfiguredRegion extends Object
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • getCustomName

      public String getCustomName()
    • setCustomName

      public void setCustomName(String customName)
    • getRewards

      @Nullable public @Nullable List<DiscoveryReward> getRewards()
    • getSound

      @Nullable public @Nullable org.bukkit.Sound getSound()
    • getIcon

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getIcon()
    • setIcon

      public void setIcon(@NotNull @NotNull org.bukkit.Material material)
    • getUndiscoveredIcon

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getUndiscoveredIcon()
    • setUndiscoveredIcon

      public void setUndiscoveredIcon(@NotNull @NotNull org.bukkit.Material material)
    • getIconCommand

      @NotNull public @NotNull List<IconCommand> getIconCommand()
    • getLocation

      public org.bukkit.Location getLocation()
    • setLocation

      public void setLocation(org.bukkit.Location location)
    • isShowCoords

      public boolean isShowCoords()
    • getHints

      @Nullable public @Nullable List<String> getHints()
    • isShowHint

      public boolean isShowHint()
    • isTeleportable

      public boolean isTeleportable()
    • setTeleportable

      public void setTeleportable(boolean teleportable)
    • getWorld

      @Nullable public @Nullable org.bukkit.World getWorld()
    • isDiscoverable

      public boolean isDiscoverable()
    • setDiscoverable

      public void setDiscoverable(boolean discoverable)
    • isHidden

      public boolean isHidden()
    • setHidden

      public void setHidden(boolean hidden)
    • getEffects

      @Nullable public @Nullable List<RegionEffect> getEffects()
    • getRequirements

      @Nullable public @Nullable List<RegionRequirement> getRequirements()
    • getDiscoveredLore

      @Nullable public @Nullable List<String> getDiscoveredLore()
    • alwaysShowTitles

      public boolean alwaysShowTitles()
    • getTitle

      @NotNull public @NotNull List<String> getTitle(org.bukkit.entity.Player player)
      Gets the region title for a player. If region title is null, the translation files will be used.
      Parameters:
      player - the player
      Returns:
      A string list of title
    • getSubtitle

      @NotNull public @NotNull List<String> getSubtitle(org.bukkit.entity.Player player)
      Gets the region subtitle for a player. If region subtitle is null, the translation files will be used.
      Parameters:
      player - the player
      Returns:
      A string list of subtitles
    • getDiscoveredTitle

      @NotNull public @NotNull List<String> getDiscoveredTitle(org.bukkit.entity.Player player)
      Gets the region discovered title for a player. If region title is null, the translation files will be used.
      Parameters:
      player - the player
      Returns:
      A string list of title
    • getDiscoveredSubtitle

      @NotNull public @NotNull List<String> getDiscoveredSubtitle(org.bukkit.entity.Player player)
      Gets the region discovered subtitle for a player. If region subtitle is null, the translation files will be used.
      Parameters:
      player - the player
      Returns:
      A string list of subtitles
    • getRegenerate

      @Nullable public @Nullable Regenerate getRegenerate()
    • setRegenerate

      public void setRegenerate(@NotNull @NotNull Regenerate regenerate)
    • getTeleportCooldown

      public int getTeleportCooldown()
    • setTeleportCooldown

      public void setTeleportCooldown(int teleportCooldown)
    • showActionbar

      public boolean showActionbar()
    • setShowActionbar

      public void setShowActionbar(boolean showActionbar)
    • getBoundingBox

      @Nullable public @Nullable List<org.bukkit.Location> getBoundingBox()
    • getColour

      public String getColour()
    • getLineColour

      public String getLineColour()
    • isDynmap

      public boolean isDynmap()
    • getFile

      public File getFile(IRPGRegionsAPI plugin)
    • save

      public void save(IRPGRegionsAPI plugin)
    • delete

      public boolean delete(IRPGRegionsAPI plugin)