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 NetworkNetworkRegistry.getFromName(String name) @Nullable NetworkNetworkRegistry.getNetwork(String name) Gets the network with the given@Nullable NetworkRegistryAPI.getNetwork(String id, StorageType storageType) Gets the network with the given@NotNull NetworkNetworkManager.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 NetworkNetworkManager.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.voidNetworkRegistry.registerNetwork(Network network) UseNetworkManagerinstead.voidRegistryAPI.registerNetwork(Network network) UseNetworkManagerinstead.voidRename the network to specified name, saves to storagevoidNetworkManager.savePortal(RealPortal portal, Network network) Add portal to network and save to storagePortalBuilder.setNetwork(@NotNull Network network) voidNetworkRegistry.unregisterNetwork(Network network) UseNetworkManagerinstead. -
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 TypeMethodDescriptionvoidPortal.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 TypeMethodDescriptionvoidPluginMessageSender.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 NetworkStargateRegistry.getNetwork(String id, StorageType storageType) @NotNull NetworkStargateNetworkManager.selectNetwork(String name, PermissionManager permissionManager, org.bukkit.OfflinePlayer player, Set<PortalFlag> flags) @NotNull NetworkStargateNetworkManager.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) voidStargateNetworkRegistry.registerNetwork(Network network) voidStargateRegistry.registerNetwork(Network network) voidvoidStargateNetworkManager.savePortal(RealPortal portal, Network network) voidStargateNetworkRegistry.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 TypeMethodDescriptionvoidStargatePortal.setNetwork(Network targetNetwork) voidVirtualPortal.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 TypeMethodDescriptionvoidInterServerMessageSender.sendRenamePortal(String newName, String oldName, Network network) voidLocalNetworkMessageSender.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 NetworkNetworkCreationHelper.getInterServerLocalConflict(Network network, RegistryAPI registry) Get a network that is conflicting with thestatic @Nullable NetworkBungeeHelper.getLegacyBungeeNetwork(RegistryAPI registry, NetworkManager networkManager, String bungeeNetwork) Gets the legacy bungee networkMethods in org.sgrewritten.stargate.util with parameters of type NetworkModifier and TypeMethodDescriptionstatic StringTranslatableMessageFormatter.formatUnimplementedConflictMessage(Network interServer, Network local, LanguageManager languageManager) Format theTranslatableMessage.UNIMPLEMENTED_CONFLICTstatic StringBungeeHelper.generateRenamePortalMessage(String newName, String oldName, Network network) static NetworkNetworkCreationHelper.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 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