Overview
TheSuperiorSkyblockAPI class is the main entry point for interacting with the SuperiorSkyblock2 plugin. It provides static methods to access various managers, retrieve player and island data, and perform core operations.
API Version
Returns the current API version number. The version changes whenever modifications are made to the API.Current Version: 15
General Methods
Returns the plugin instance.
Player Methods
Get the SuperiorPlayer wrapper from a Bukkit Player instance.Parameters:
player- The Bukkit player object
Get the SuperiorPlayer object by a player’s name.Parameters:
name- The player’s name
Get the SuperiorPlayer object from a player’s UUID.Parameters:
uuid- The player’s UUID
Island Methods
Create a new island.Parameters:
superiorPlayer- Owner of the islandschemName- The schematic of the island to be pastedbonus- The default island bonus levelbiome- The default island biomeislandName- The island name
Create a new island with offset option.Parameters:
superiorPlayer- The new owner for the islandschemName- The schematic that should be usedbonus- A starting worth for the islandbiome- A starting biome for the islandislandName- The name of the new islandoffset- Should the island have an offset for its values? If disabled, the bonus will be given
Create a new island with separate worth and level bonuses.Parameters:
superiorPlayer- The new owner for the islandschemName- The schematic that should be usedbonusWorth- A starting worth for the islandbonusLevel- A starting level for the islandbiome- A starting biome for the islandislandName- The name of the new islandoffset- Should the island have an offset for its values? If disabled, the bonus will be given
Delete an island.Parameters:
island- The island to delete
Get an island by its name.Parameters:
islandName- The name to check
Get an island by its UUID.Parameters:
uuid- The UUID of the island
Get the spawn island.Returns: The spawn island object
Get the world of an island by the world’s dimension.Parameters:
island- The island to checkdimension- The world dimension
Get an island at a specific location.Parameters:
location- The location to check
Calculate all island worths on the server.
Schematic Methods
Get a schematic object by its name.Parameters:
name- The schematic name
Provider Methods
Set custom spawners provider for the plugin.Parameters:
spawnersProvider- The spawner provider to set
Command Methods
Register a sub-command.Parameters:
superiorCommand- The sub command to register
Manager Access Methods
Get the grid manager of the core.Returns: GridManager instance
Get the players manager of the core.Returns: PlayersManager instance
Get the settings manager of the plugin.Returns: SettingsManager instance
Get the stacked-blocks manager of the core.
Get the blocks manager of the core.
Get the schematics manager of the core.
Get the roles manager of the core.
Get the missions manager of the core.
Get the menus manager of the core.
Get the keys manager of the core.
Get the providers manager of the core.
Get the upgrades manager of the core.
Get the commands manager of the core.
Get the objects factory of the plugin.
Get the modules manager of the plugin.