Uses of Interface
org.sgrewritten.stargate.api.StargateAPI
Packages that use StargateAPI
Package
Description
-
Uses of StargateAPI in org.sgrewritten.stargate
Classes in org.sgrewritten.stargate that implement StargateAPIModifier and TypeClassDescriptionclassA plugin that allows for instant-teleportation between large distances and across servers. -
Uses of StargateAPI in org.sgrewritten.stargate.api.database
Methods in org.sgrewritten.stargate.api.database with parameters of type StargateAPIModifier and TypeMethodDescriptionvoidStorageAPI.loadFromStorage(StargateAPI stargateAPI) Loads all portals from storage and adds them to the portal registry -
Uses of StargateAPI in org.sgrewritten.stargate.api.network
Methods in org.sgrewritten.stargate.api.network with parameters of type StargateAPIModifier and TypeMethodDescriptionvoidNetworkManager.loadPortals(StargateAPI stargateAPI) Loads all portals from storageConstructors in org.sgrewritten.stargate.api.network with parameters of type StargateAPIModifierConstructorDescriptionPortalBuilder(StargateAPI stargateAPI, org.bukkit.OfflinePlayer owner, String portalName) Construct an instance of a PortalBuilder -
Uses of StargateAPI in org.sgrewritten.stargate.database
Methods in org.sgrewritten.stargate.database with parameters of type StargateAPI -
Uses of StargateAPI in org.sgrewritten.stargate.listener
Constructors in org.sgrewritten.stargate.listener with parameters of type StargateAPIModifierConstructorDescriptionBlockEventListener(@NotNull StargateAPI stargateAPI) Instantiates a new block event listener -
Uses of StargateAPI in org.sgrewritten.stargate.migration
Methods in org.sgrewritten.stargate.migration with parameters of type StargateAPIModifier and TypeMethodDescriptionabstract voidDataMigration.run(@NotNull SQLDatabaseAPI base, StargateAPI stargateAPI) Runs this configuration modifiervoidDataMigration6.run(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) voidDataMigration7.run(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) voidDataMigration9.run(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) booleanDataMigrator.run(@NotNull SQLDatabaseAPI database, StargateAPI stargateAPI) Runs all relevant config migrations -
Uses of StargateAPI in org.sgrewritten.stargate.network
Methods in org.sgrewritten.stargate.network with parameters of type StargateAPIModifier and TypeMethodDescriptionvoidStargateNetworkManager.loadPortals(StargateAPI stargateAPI) -
Uses of StargateAPI in org.sgrewritten.stargate.util
Methods in org.sgrewritten.stargate.util with parameters of type StargateAPIModifier and TypeMethodDescriptionLegacyPortalStorageLoader.loadPortalsFromStorage(File dir, String defaultNetworkName, StargateAPI stargateAPI) Loads legacy portals in .db files from the given folderstatic booleanBlockEventHelper.onAnyBlockChangeEvent(org.bukkit.event.Cancellable event, BlockEventType type, org.bukkit.Location location, StargateAPI stargateAPI) Does event handling for any event that changes one blockstatic voidBlockEventHelper.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
Methods in org.sgrewritten.stargate.util.portal with parameters of type StargateAPIModifier and TypeMethodDescriptionstatic RealPortalPortalCreationHelper.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 RealPortalPortalCreationHelper.createPortal(Network network, PortalData portalData, Gate gate, StargateAPI stargateAPI) Creates a new portal of the correct type