Class PortalsConfig

java.lang.Object
org.mvplugins.multiverse.portals.config.PortalsConfig

@AvailableSince("5.1") @Service public final class PortalsConfig extends Object
Since:
5.1
  • Field Details

  • Method Details

    • load

      public org.mvplugins.multiverse.external.vavr.control.Try<Void> load()
    • isLoaded

      public boolean isLoaded()
    • save

      public org.mvplugins.multiverse.external.vavr.control.Try<Void> save()
    • getStringPropertyHandle

      @AvailableSince("5.1") public org.mvplugins.multiverse.core.config.handle.StringPropertyHandle getStringPropertyHandle()
      Returns:
      Since:
      5.1
    • getWandMaterial

      @AvailableSince("5.1") public org.bukkit.Material getWandMaterial()
      Returns:
      Since:
      5.1
    • setWandMaterial

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setWandMaterial(org.bukkit.Material wand)
      Parameters:
      wand -
      Returns:
      Since:
      5.1
    • getBucketFilling

      @AvailableSince("5.1") public boolean getBucketFilling()
      Returns:
      Since:
      5.1
    • setBucketFilling

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setBucketFilling(boolean bucketFilling)
      Parameters:
      bucketFilling -
      Returns:
      Since:
      5.1
    • getFrameMaterials

      @AvailableSince("5.1") public List<org.bukkit.Material> getFrameMaterials()
      Returns:
      Since:
      5.1
    • setFrameMaterials

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setFrameMaterials(List<org.bukkit.Material> frameMaterials)
      Parameters:
      frameMaterials -
      Returns:
      Since:
      5.1
    • getClearOnRemove

      @AvailableSince("5.1") public boolean getClearOnRemove()
      Returns:
      Since:
      5.1
    • setClearOnRemove

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setClearOnRemove(boolean clearOnRemove)
      Parameters:
      clearOnRemove -
      Returns:
      Since:
      5.1
    • getEnforcePortalAccess

      @AvailableSince("5.1") public boolean getEnforcePortalAccess()
      Returns:
      Since:
      5.1
    • setEnforcePortalAccess

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setEnforcePortalAccess(boolean enforcePortalAccess)
      Parameters:
      enforcePortalAccess -
      Returns:
      Since:
      5.1
    • getPortalCooldown

      @AvailableSince("5.1") public int getPortalCooldown()
      Returns:
      Since:
      5.1
    • setPortalCooldown

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setPortalCooldown(int portalCooldown)
      Parameters:
      portalCooldown -
      Returns:
      Since:
      5.1
    • getPortalsDefaultToNether

      @AvailableSince("5.1") public boolean getPortalsDefaultToNether()
      Returns:
      Since:
      5.1
    • setPortalsDefaultToNether

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setPortalsDefaultToNether(boolean portalsDefaultToNether)
      Parameters:
      portalsDefaultToNether -
      Returns:
      Since:
      5.1
    • getNetherAnimation

      @AvailableSince("5.1") public boolean getNetherAnimation()
      Returns:
      Since:
      5.1
    • setNetherAnimation

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setNetherAnimation(boolean netherAnimation)
      Parameters:
      netherAnimation -
      Returns:
      Since:
      5.1
    • getTeleportVehicles

      @AvailableSince("5.1") public boolean getTeleportVehicles()
      Returns:
      Since:
      5.1
    • setTeleportVehicles

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setTeleportVehicles(boolean teleportVehicles)
      Parameters:
      teleportVehicles -
      Returns:
      Since:
      5.1
    • getTeleportEntities

      @AvailableSince("5.2") public boolean getTeleportEntities()
    • setTeleportEntities

      @AvailableSince("5.2") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setTeleportEntities(boolean teleportEntities)
    • getUseOnMove

      @AvailableSince("5.1") public boolean getUseOnMove()
      Returns:
      Since:
      5.1
    • setUseOnMove

      @AvailableSince("5.1") public org.mvplugins.multiverse.external.vavr.control.Try<Void> setUseOnMove(boolean useOnMove)
      Parameters:
      useOnMove -
      Returns:
      Since:
      5.1
    • getConfig

      @AvailableSince("5.1") @Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public org.bukkit.configuration.file.FileConfiguration getConfig()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Only here to allow for backwards compatibility with old methods in MultiversePortals class.
      Returns:
      Since:
      5.1