The Island Warps API allows you to create, manage, and organize island warps for quick teleportation within islands.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/BG-Software-LLC/SuperiorSkyblock2/llms.txt
Use this file to discover all available pages before exploring further.
Creating Warps
createWarp(String name, Location location, WarpCategory warpCategory)
Create a warp for the island.The name of the warp
The location of the warp
The category for the warp, or null for no category
The newly created warp
createWarp(String name, WorldInfo worldInfo, WorldPosition position, WarpCategory warpCategory)
Create a warp using WorldInfo and WorldPosition.The name of the warp
The world of the warp
The position of the warp
The category for the warp, or null for no category
The newly created warp
Managing Warps
getWarp(String name)
Get a warp by its name.The name of the warp
The warp, or null if not found
getWarp(Location location)
Get a warp at a specific location.The location to check
The warp at that location, or null if not found
getIslandWarps()
Get all warps on the island.Map of warp names to warp objects
renameWarp(IslandWarp islandWarp, String newName)
Rename a warp.The warp to rename
The new name for the warp
deleteWarp(String name)
Delete a warp by name.The name of the warp to delete
deleteWarp(SuperiorPlayer superiorPlayer, Location location)
Delete a warp at a specific location.The player requesting the operation, or null
The location of the warp to delete
Warp Teleportation
warpPlayer(SuperiorPlayer superiorPlayer, String warpName)
Teleport a player to a warp.The player to teleport
The name of the warp to teleport to
warpPlayer(SuperiorPlayer superiorPlayer, String warpName, boolean force)
Teleport a player to a warp with force option.The player to teleport
The name of the warp to teleport to
Whether to force the teleportation
Warp Categories
createWarpCategory(String name)
Create a new warp category.The name of the category
The category (new or existing)
getWarpCategory(String name)
Get a warp category by name.The name of the category
The category, or null if not found
getWarpCategory(int slot)
Get a warp category by its slot in the manage menu.The menu slot
The category in that slot, or null
getWarpCategories()
Get all warp categories.Map of category names to category objects
renameCategory(WarpCategory warpCategory, String newName)
Rename a category.The category to rename
The new name for the category
deleteCategory(WarpCategory warpCategory)
Delete a category and all its warps.The category to delete
IslandWarp Interface
getIsland()
Get the island this warp belongs to.The parent island
getName()
Get the name of the warp.The warp name
getLocation()
Get the location of the warp.The warp location
setLocation(Location location)
Set the location of the warp.The new location
hasPrivateFlag()
Check if the warp is private or public to visitors.True if the warp is private
setPrivateFlag(boolean privateFlag)
Set whether the warp is private.True for private, false for public
getRawIcon()
Get the icon of the warp without placeholder parsing.The raw icon, or null if no custom icon
getIcon(SuperiorPlayer superiorPlayer)
Get the icon after parsing placeholders.The player to parse placeholders for, or null
The parsed icon, or null if no custom icon
setIcon(ItemStack icon)
Set the icon of the warp.The icon to set, or null to remove
getCategory()
Get the category of the warp.The warp’s category
WarpCategory Interface
getIsland()
Get the island this category belongs to.The parent island
getName()
Get the name of the category.The category name
getWarps()
Get all warps in this category.List of warps in the category
getSlot()
Get the menu slot of the category.The slot number
setSlot(int slot)
Set the menu slot of the category.The slot to set
getRawIcon()
Get the icon without placeholder parsing.The raw icon
getIcon(SuperiorPlayer superiorPlayer)
Get the icon after parsing placeholders.The player to parse placeholders for, or null
The parsed icon
setIcon(ItemStack icon)
Set the icon of the category.The icon to set, or null for default
Example: Warp Management System
Warp Limits
Warp limits are managed through the upgrade system:Related APIs
- Island - Main Island interface
- Island Upgrades - For warp limit upgrades