Uses of Interface
org.sgrewritten.stargate.api.network.Network
Packages that use Network
Package
Description
-
Uses of Network in org.sgrewritten.stargate.api.database
Methods in org.sgrewritten.stargate.api.database that return NetworkModifier and TypeMethodDescriptionStorageAPI.createNetwork
(String networkName, NetworkType type, StorageType storageType) Creates a new network unassigned to a registry -
Uses of Network in org.sgrewritten.stargate.api.network
Methods in org.sgrewritten.stargate.api.network that return NetworkModifier and TypeMethodDescriptionNetworkManager.createNetwork
(String targetNetwork, Set<PortalFlag> flags, boolean isForced) Creates a new network assigned to this registryNetworkManager.createNetwork
(String name, NetworkType type, StorageType storageType, boolean isForced) Creates a new network assigned to this registry@Nullable Network
NetworkRegistry.getFromName
(String name) @Nullable Network
NetworkRegistry.getNetwork
(String name) Gets the network with the given@Nullable Network
RegistryAPI.getNetwork
(String id, StorageType storageType) Gets the network with the given@NotNull Network
NetworkManager.selectNetwork
(String name, PermissionManager permissionManager, org.bukkit.OfflinePlayer player, Set<PortalFlag> flags) Interprets a networkname and type, then selects it or creates it if it does not already exist@NotNull Network
NetworkManager.selectNetwork
(String name, NetworkType type, StorageType storageType) Gets the network with the given name, and creates it if it doesn't already existMethods in org.sgrewritten.stargate.api.network that return types with arguments of type NetworkMethods in org.sgrewritten.stargate.api.network with parameters of type NetworkModifier and TypeMethodDescriptionRegistryAPI.getValidNewName
(Network network) Get a non-clashing name close to the current name of the network.void
NetworkRegistry.registerNetwork
(Network network) UseNetworkManager
instead.void
RegistryAPI.registerNetwork
(Network network) UseNetworkManager
instead.void
Rename the network to specified name, saves to storagevoid
NetworkManager.savePortal
(RealPortal portal, Network network) Add portal to network and save to storagePortalBuilder.setNetwork
(@NotNull Network network) void
NetworkRegistry.unregisterNetwork
(Network network) UseNetworkManager
instead. -
Uses of Network in org.sgrewritten.stargate.api.network.portal
Methods in org.sgrewritten.stargate.api.network.portal that return NetworkMethods in org.sgrewritten.stargate.api.network.portal with parameters of type NetworkModifier and TypeMethodDescriptionvoid
Portal.setNetwork
(Network targetNetwork) Changes the network this portal belongs to -
Uses of Network in org.sgrewritten.stargate.api.network.portal.formatting
Methods in org.sgrewritten.stargate.api.network.portal.formatting that return NetworkConstructors in org.sgrewritten.stargate.api.network.portal.formatting with parameters of type NetworkModifierConstructorDescriptionNetworkLine
(List<Holder<StargateComponent>> components, Network network) NetworkLine
(HighlightingStyle style, Network network, net.md_5.bungee.api.ChatColor textColor, net.md_5.bungee.api.ChatColor pointerColor) -
Uses of Network in org.sgrewritten.stargate.api.network.portal.formatting.data
Methods in org.sgrewritten.stargate.api.network.portal.formatting.data that return NetworkConstructors in org.sgrewritten.stargate.api.network.portal.formatting.data with parameters of type Network -
Uses of Network in org.sgrewritten.stargate.api.network.proxy
Methods in org.sgrewritten.stargate.api.network.proxy with parameters of type NetworkModifier and TypeMethodDescriptionvoid
PluginMessageSender.sendRenamePortal
(String newName, String oldName, Network network) Send rename portal message -
Uses of Network in org.sgrewritten.stargate.database
Methods in org.sgrewritten.stargate.database that return NetworkModifier and TypeMethodDescriptionSQLDatabase.createNetwork
(String networkName, NetworkType type, StorageType storageType) -
Uses of Network in org.sgrewritten.stargate.network
Classes in org.sgrewritten.stargate.network that implement NetworkMethods in org.sgrewritten.stargate.network that return NetworkModifier and TypeMethodDescriptionStargateNetworkManager.createNetwork
(String targetNetwork, Set<PortalFlag> flags, boolean isForced) StargateNetworkManager.createNetwork
(String name, NetworkType type, StorageType storageType, boolean isForced) StargateNetworkRegistry.getFromName
(String name) StargateNetworkRegistry.getNetwork
(String name) @Nullable Network
StargateRegistry.getNetwork
(String id, StorageType storageType) @NotNull Network
StargateNetworkManager.selectNetwork
(String name, PermissionManager permissionManager, org.bukkit.OfflinePlayer player, Set<PortalFlag> flags) @NotNull Network
StargateNetworkManager.selectNetwork
(String name, NetworkType type, StorageType storageType) Methods in org.sgrewritten.stargate.network that return types with arguments of type NetworkModifier and TypeMethodDescriptionStargateNetworkRegistry.iterator()
StargateNetworkRegistry.stream()
Methods in org.sgrewritten.stargate.network with parameters of type NetworkModifier and TypeMethodDescriptionStargateRegistry.getValidNewName
(Network network) void
StargateNetworkRegistry.registerNetwork
(Network network) void
StargateRegistry.registerNetwork
(Network network) void
void
StargateNetworkManager.savePortal
(RealPortal portal, Network network) void
StargateNetworkRegistry.unregisterNetwork
(Network network) -
Uses of Network in org.sgrewritten.stargate.network.portal
Fields in org.sgrewritten.stargate.network.portal declared as NetworkMethods in org.sgrewritten.stargate.network.portal that return NetworkMethods in org.sgrewritten.stargate.network.portal with parameters of type NetworkModifier and TypeMethodDescriptionvoid
StargatePortal.setNetwork
(Network targetNetwork) void
VirtualPortal.setNetwork
(Network targetNetwork) Constructors in org.sgrewritten.stargate.network.portal with parameters of type NetworkModifierConstructorDescriptionLegacyVirtualPortal
(String server, String name, Network network, Set<PortalFlag> flags, UUID ownerUUID) Instantiates a new legacy virtual portalStargatePortal
(Network network, String name, Set<PortalFlag> flags, GateAPI gate, UUID ownerUUID, LanguageManager languageManager, StargateEconomyAPI economyManager, @Nullable String metaData) Instantiates a new abstract portalVirtualPortal
(String server, String name, Network network, Set<PortalFlag> flags, UUID ownerUUID) Instantiates a new virtual portal -
Uses of Network in org.sgrewritten.stargate.network.proxy
Methods in org.sgrewritten.stargate.network.proxy with parameters of type NetworkModifier and TypeMethodDescriptionvoid
InterServerMessageSender.sendRenamePortal
(String newName, String oldName, Network network) void
LocalNetworkMessageSender.sendRenamePortal
(String newName, String oldName, Network network) -
Uses of Network in org.sgrewritten.stargate.util
Methods in org.sgrewritten.stargate.util that return NetworkModifier and TypeMethodDescriptionstatic Network
NetworkCreationHelper.getInterServerLocalConflict
(Network network, RegistryAPI registry) Get a network that is conflicting with thestatic @Nullable Network
BungeeHelper.getLegacyBungeeNetwork
(RegistryAPI registry, NetworkManager networkManager, String bungeeNetwork) Gets the legacy bungee networkMethods in org.sgrewritten.stargate.util with parameters of type NetworkModifier and TypeMethodDescriptionstatic String
TranslatableMessageFormatter.formatUnimplementedConflictMessage
(Network interServer, Network local, LanguageManager languageManager) Format theTranslatableMessage.UNIMPLEMENTED_CONFLICT
static String
BungeeHelper.generateRenamePortalMessage
(String newName, String oldName, Network network) static Network
NetworkCreationHelper.getInterServerLocalConflict
(Network network, RegistryAPI registry) Get a network that is conflicting with the -
Uses of Network in org.sgrewritten.stargate.util.portal
Methods in org.sgrewritten.stargate.util.portal with parameters of type NetworkModifier 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