WarpManager

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addWarp(warp: Warp): Boolean

Adds a warp to the warps collection and saves it to the config file.

Link copied to clipboard
fun getWarp(name: String): Warp?

Retrieves the Warp with the specified name.

Link copied to clipboard

Retrieves all available warps.

Link copied to clipboard

Reloads the list of warps from the "warps.yml" configuration file. Existing warps will be cleared before loading new ones. Errors encountered during the loading process will be logged and captured using Sentry.

Link copied to clipboard

Removes a warp from the warps collection and saves the updated list to the config file.