Uses of Class
org.sgrewritten.stargate.exception.name.InvalidNameException
Package
Description
-
Uses of InvalidNameException 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 InvalidNameException 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 registryRegistryAPI.getValidNewName
(Network network) Get a non-clashing name close to the current name of the network.void
Rename the network to specified name, saves to storagevoid
NetworkRegistry.renameNetwork
(String newId, String oldId) UseNetworkManager
instead.void
RegistryAPI.renameNetwork
(String newId, String oldId, StorageType storageType) UseNetworkManager
instead.void
Network.renamePortal
(String newName, String oldName) Renames the portal, does not save to database and is also not cross server compatible.void
Change the name of the network -
Uses of InvalidNameException in org.sgrewritten.stargate.database
Modifier and TypeMethodDescriptionSQLDatabase.createNetwork
(String networkName, NetworkType type, StorageType storageType) -
Uses of InvalidNameException 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) StargateRegistry.getValidNewName
(Network network) void
void
StargateNetworkRegistry.renameNetwork
(String newId, String oldId) void
StargateRegistry.renameNetwork
(String newId, String oldId, StorageType storageType) void
StargateNetwork.renamePortal
(String newName, String oldName) void
ModifierConstructorDescriptionStargateNetwork
(String name, Set<PortalFlag> flags, StorageType storageType) Instantiates a new networkStargateNetwork
(String name, NetworkType type, StorageType storageType)