Warp

data class Warp(val name: String, val location: Location, val rankNeeded: Ranks = Ranks.TEAM, val type: WarpType = WarpType.GENERIC, val parkArea: ParkArea = ParkArea.PARADISE_BAY, val material: Material = Material.DIAMOND, val customModelData: Int = 0)(source)

Warp represents a location that players can teleport to.

See also

Constructors

Link copied to clipboard
constructor(name: String, location: Location, rankNeeded: Ranks = Ranks.TEAM, type: WarpType = WarpType.GENERIC, parkArea: ParkArea = ParkArea.PARADISE_BAY, material: Material = Material.DIAMOND, customModelData: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
val location: Location

the location coordinates of the warp

Link copied to clipboard
val material: Material
Link copied to clipboard

the name of the warp

Link copied to clipboard
Link copied to clipboard

the minimum rank required to access the warp, default is Ranks.Trial

Link copied to clipboard