LocationManager

interface LocationManager : WarpManager, SpawnManager

Manages all the location methods

Functions

Link copied to clipboard
abstract fun deleteWarp(name: String): Boolean

Delete a warp.

Link copied to clipboard
abstract fun getAllWarps(): Map<String, LocationHolder>
Link copied to clipboard
abstract fun getSpawn(): LocationHolder

Get the spawn location.

Link copied to clipboard
open fun getWarp(name: String): LocationHolder?
Link copied to clipboard
abstract fun setSpawn(locationHolder: LocationHolder, player: Player?)

Set the spawn of the server.

Link copied to clipboard
abstract fun setWarp(name: String, locationHolder: LocationHolder)

Set a warp