TheDocumentation 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.
FactoriesManager provides methods to register custom factory implementations and create various game objects like islands, players, positions, and transactions.
Factory Registration
registerIslandsFactory
Register a custom islands factory.The new factory to set. If set to null, the default factory will be used.
getIslandsFactory
Get the current islands factory.The current islands factory instance.
registerPlayersFactory
Register a custom players factory.The new factory to set. If set to null, the default factory will be used.
getPlayersFactory
Get the current players factory.The current players factory instance.
registerBanksFactory
Register a custom banks factory.The new factory to set. If set to null, the default factory will be used.
getBanksFactory
Get the current banks factory.The current banks factory instance.
registerDatabaseBridgeFactory
Register a custom database-bridge factory.The new factory to set. If set to null, the default factory will be used.
getDatabaseBridgeFactory
Get the database bridge factory.The database bridge factory instance.
Island Creation
createIsland
Create a new Island object.The owner of the island.
The uuid of the island.
The location of the island.
The name of the island.
The schematic used to create the island.
The newly created island instance.
createIslandBuilder
Create a new builder for an Island object.A new island builder instance.
Player Creation
createPlayer
Create a new SuperiorPlayer object.The uuid of the player.
The newly created player instance.
createPlayerBuilder
Create a new builder for a SuperiorPlayer object.A new player builder instance.
Position Objects
createBlockOffset
Create a BlockOffset object from given offsets.The x-coords offset.
The y-coords offset.
The z-coords offset.
The created block offset.
createBlockPosition (with coordinates)
Create a BlockPosition object from given block coordinates.The x-coords of the block.
The y-coords of the block.
The z-coords of the block.
The created block position.
createBlockPosition (from Location)
Create a BlockPosition object from a location.The location.
The created block position.
createWorldPosition (with coordinates)
Create a WorldPosition object from given world coordinates.The x-coords of the position.
The y-coords of the position.
The z-coords of the position.
The created world position.
createWorldPosition (with rotation)
Create a WorldPosition object from given world coordinates with rotation.The x-coords of the position.
The y-coords of the position.
The z-coords of the position.
The yaw of the position.
The pitch of the position.
The created world position.
createWorldPosition (from Location)
Create a WorldPosition object from a location.The location.
The created world position.
Transaction Objects
createTransaction
Create a new bank transaction.The player that made the transaction. Can be null if console made it.
The transaction action.
The position of the transaction.
The time the transaction was made.
The reason of failure for this transaction, if exists. On successful transactions, empty string should be set.
The amount of money that was transferred in this transaction.
The created bank transaction.
World and Sound Objects
createWorldInfo
Create a new world info.The name of the world.
The dimension of the world.
The created world info.
createGameSound
Create a new game sound instance.The sound to play.
The volume to play the sound.
The pitch to play the sound.
The created game sound.
Schematic Options
createSchematicOptionsBuilder
Create a new builder for a SchematicOptions object.The name of the schematic to create.
A new schematic options builder.