Interface RtpWorldSettings


public interface RtpWorldSettings
RTP settings for one world. Get them from RtpManager.
  • Method Details

    • getWorldName

      String getWorldName()
      Gets the world name.
      Returns:
      the world name
    • getDisplayName

      String getDisplayName()
      Gets the display name shown to players.
      Returns:
      the display name
    • getMinRadius

      int getMinRadius()
      Gets the min teleport radius in blocks.
      Returns:
      min radius
    • getMaxRadius

      int getMaxRadius()
      Gets the max teleport radius in blocks.
      Returns:
      max radius
    • getBlockedBiomes

      List<String> getBlockedBiomes()
      Gets biomes RTP will not land in.
      Returns:
      blocked biomes, never null
    • isEnabled

      boolean isEnabled()
      Checks if RTP is on for this world.
      Returns:
      true if enabled