Uses of Interface
org.sgrewritten.stargate.api.network.Network
Package
Description
-
Uses of Network in org.sgrewritten.stargate.api.database
Modifier 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
Modifier 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 existModifier 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
Modifier and TypeMethodDescriptionvoid
Portal.setNetwork
(Network targetNetwork) Changes the network this portal belongs to -
Uses of Network in org.sgrewritten.stargate.api.network.portal.formatting
ModifierConstructorDescriptionNetworkLine
(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
-
Uses of Network in org.sgrewritten.stargate.api.network.proxy
Modifier and TypeMethodDescriptionvoid
PluginMessageSender.sendRenamePortal
(String newName, String oldName, Network network) Send rename portal message -
Uses of Network in org.sgrewritten.stargate.database
Modifier and TypeMethodDescriptionSQLDatabase.createNetwork
(String networkName, NetworkType type, StorageType storageType) -
Uses of Network in org.sgrewritten.stargate.network
Modifier 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) Modifier and TypeMethodDescriptionStargateNetworkRegistry.iterator()
StargateNetworkRegistry.stream()
Modifier 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
Modifier and TypeMethodDescriptionvoid
StargatePortal.setNetwork
(Network targetNetwork) void
VirtualPortal.setNetwork
(Network targetNetwork) ModifierConstructorDescriptionLegacyVirtualPortal
(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
Modifier 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
Modifier 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 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
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