Uses of Class
org.sgrewritten.stargate.exception.name.InvalidNameException
Packages that use InvalidNameException
Package
Description
-
Uses of InvalidNameException in org.sgrewritten.stargate.api.database
Methods in org.sgrewritten.stargate.api.database that throw InvalidNameExceptionModifier 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
Methods in org.sgrewritten.stargate.api.network that throw InvalidNameExceptionModifier 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.voidRename the network to specified name, saves to storagevoidNetworkRegistry.renameNetwork(String newId, String oldId) UseNetworkManagerinstead.voidRegistryAPI.renameNetwork(String newId, String oldId, StorageType storageType) UseNetworkManagerinstead.voidNetwork.renamePortal(String newName, String oldName) Renames the portal, does not save to database and is also not cross server compatible.voidChange the name of the network -
Uses of InvalidNameException in org.sgrewritten.stargate.database
Methods in org.sgrewritten.stargate.database that throw InvalidNameExceptionModifier and TypeMethodDescriptionSQLDatabase.createNetwork(String networkName, NetworkType type, StorageType storageType) -
Uses of InvalidNameException in org.sgrewritten.stargate.network
Methods in org.sgrewritten.stargate.network that throw InvalidNameExceptionModifier and TypeMethodDescriptionStargateNetworkManager.createNetwork(String targetNetwork, Set<PortalFlag> flags, boolean isForced) StargateNetworkManager.createNetwork(String name, NetworkType type, StorageType storageType, boolean isForced) StargateRegistry.getValidNewName(Network network) voidvoidStargateNetworkRegistry.renameNetwork(String newId, String oldId) voidStargateRegistry.renameNetwork(String newId, String oldId, StorageType storageType) voidStargateNetwork.renamePortal(String newName, String oldName) voidConstructors in org.sgrewritten.stargate.network that throw InvalidNameExceptionModifierConstructorDescriptionStargateNetwork(String name, Set<PortalFlag> flags, StorageType storageType) Instantiates a new networkStargateNetwork(String name, NetworkType type, StorageType storageType)