Uses of Class
org.sgrewritten.stargate.exception.TranslatableException
Package
Description
-
Uses of TranslatableException in org.sgrewritten.stargate.api.network
Modifier and TypeMethodDescriptionPortalBuilder.build()
Build an instance of a portal@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 exist -
Uses of TranslatableException in org.sgrewritten.stargate.exception
Modifier and TypeClassDescriptionclass
Generic exception for any exception that can directly provide a localized messageclass
-
Uses of TranslatableException in org.sgrewritten.stargate.exception.name
Modifier and TypeClassDescriptionclass
class
The name error exception is thrown when a portal name is invalid for whatever reasonclass
class
-
Uses of TranslatableException in org.sgrewritten.stargate.network
Modifier and TypeMethodDescription@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) -
Uses of TranslatableException in org.sgrewritten.stargate.util
Modifier and TypeMethodDescriptionLegacyPortalStorageLoader.loadPortalsFromStorage
(File dir, String defaultNetworkName, StargateAPI stargateAPI) Loads legacy portals in .db files from the given folder -
Uses of TranslatableException 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