Uses of Interface
org.sgrewritten.stargate.api.StargateAPI
Package
Description
-
Uses of StargateAPI in org.sgrewritten.stargate
Modifier and TypeClassDescriptionclass
A plugin that allows for instant-teleportation between large distances and across servers. -
Uses of StargateAPI in org.sgrewritten.stargate.api.database
Modifier and TypeMethodDescriptionvoid
StorageAPI.loadFromStorage
(StargateAPI stargateAPI) Loads all portals from storage and adds them to the portal registry -
Uses of StargateAPI in org.sgrewritten.stargate.api.network
Modifier and TypeMethodDescriptionvoid
NetworkManager.loadPortals
(StargateAPI stargateAPI) Loads all portals from storageModifierConstructorDescriptionPortalBuilder
(StargateAPI stargateAPI, org.bukkit.OfflinePlayer owner, String portalName) Construct an instance of a PortalBuilder -
Uses of StargateAPI in org.sgrewritten.stargate.database
-
Uses of StargateAPI in org.sgrewritten.stargate.listener
ModifierConstructorDescriptionBlockEventListener
(@NotNull StargateAPI stargateAPI) Instantiates a new block event listener -
Uses of StargateAPI in org.sgrewritten.stargate.migration
Modifier and TypeMethodDescriptionabstract void
DataMigration.run
(@NotNull SQLDatabaseAPI base, StargateAPI stargateAPI) Runs this configuration modifiervoid
DataMigration6.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) void
DataMigration7.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) void
DataMigration9.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) boolean
DataMigrator.run
(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) Runs all relevant config migrations -
Uses of StargateAPI in org.sgrewritten.stargate.network
Modifier and TypeMethodDescriptionvoid
StargateNetworkManager.loadPortals
(StargateAPI stargateAPI) -
Uses of StargateAPI in org.sgrewritten.stargate.util
Modifier and TypeMethodDescriptionLegacyPortalStorageLoader.loadPortalsFromStorage
(File dir, String defaultNetworkName, StargateAPI stargateAPI) Loads legacy portals in .db files from the given folderstatic boolean
BlockEventHelper.onAnyBlockChangeEvent
(org.bukkit.event.Cancellable event, BlockEventType type, org.bukkit.Location location, StargateAPI stargateAPI) Does event handling for any event that changes one blockstatic void
BlockEventHelper.onAnyMultiBlockChangeEvent
(org.bukkit.event.Cancellable event, BlockEventType type, List<org.bukkit.block.Block> blocks, StargateAPI stargateAPI) Does event handling for any event that changes multiple block -
Uses of StargateAPI in org.sgrewritten.stargate.util.portal
Modifier and TypeMethodDescriptionstatic RealPortal
PortalCreationHelper.createPortal
(Network network, String name, String destination, String targetServer, Set<PortalFlag> flags, GateAPI gate, UUID ownerUUID, StargateAPI stargateAPI, String metaData) Creates a new portal of the correct typestatic RealPortal
PortalCreationHelper.createPortal
(Network network, PortalData portalData, Gate gate, StargateAPI stargateAPI) Creates a new portal of the correct type