Uses of Interface
org.sgrewritten.stargate.api.network.portal.flag.PortalFlag
Packages that use PortalFlag
Package
Description
-
Uses of PortalFlag in org.sgrewritten.stargate.api
Methods in org.sgrewritten.stargate.api that return PortalFlagMethods in org.sgrewritten.stargate.api with parameters of type PortalFlagModifier and TypeMethodDescriptionbooleanBlockHandlerResolver.hasRegisteredCustomFlag(PortalFlag portalFlag) -
Uses of PortalFlag in org.sgrewritten.stargate.api.event.portal
Methods in org.sgrewritten.stargate.api.event.portal with parameters of type PortalFlagModifier and TypeMethodDescriptionvoidStargateCreatePortalEvent.addFlag(PortalFlag flag) Add flag to related portal and save to storagevoidStargateCreatePortalEvent.removeFlag(PortalFlag flag) Remove flag to related portal and save to storage -
Uses of PortalFlag in org.sgrewritten.stargate.api.network
Method parameters in org.sgrewritten.stargate.api.network with type arguments of type PortalFlagModifier and TypeMethodDescriptionNetworkManager.createNetwork(String targetNetwork, Set<PortalFlag> flags, boolean isForced) Creates a new network assigned to this registry@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 -
Uses of PortalFlag in org.sgrewritten.stargate.api.network.portal
Methods in org.sgrewritten.stargate.api.network.portal with parameters of type PortalFlagModifier and TypeMethodDescriptionvoidPortal.addFlag(PortalFlag flag) Add a flag from this portal (does not do so to storage)booleanPortal.hasFlag(PortalFlag flag) Checks whether this portal has the given portal flag enabledvoidPortal.removeFlag(PortalFlag flag) Remove a flag from this portal (does not do so from storage) -
Uses of PortalFlag in org.sgrewritten.stargate.api.network.portal.behavior
Methods in org.sgrewritten.stargate.api.network.portal.behavior that return PortalFlag -
Uses of PortalFlag in org.sgrewritten.stargate.api.network.portal.flag
Classes in org.sgrewritten.stargate.api.network.portal.flag that implement PortalFlagModifier and TypeClassDescriptionclassenumRepresents a portal flag which defines an enabled behavior for a stargateFields in org.sgrewritten.stargate.api.network.portal.flag declared as PortalFlagModifier and TypeFieldDescriptionstatic final PortalFlagPortalFlag.ALWAYS_ONA stargate which is always on and always openstatic final PortalFlagPortalFlag.BACKWARDSA stargate where the exit is on the opposite side of the signstatic final PortalFlagPortalFlag.CUSTOM_NETWORKA stargate custom networkstatic final PortalFlagPortalFlag.DEFAULT_NETWORKA stargate on the default networkstatic final PortalFlagPortalFlag.FIXEDA fixed stargate with only one destinationstatic final PortalFlagPortalFlag.FORCE_SHOWA stargate displaying all available destinations, regardless of whether they are available to the playerstatic final PortalFlagPortalFlag.FREEA free stargate, regardless of all set pricesstatic final PortalFlagPortalFlag.HIDDENA stargate which is hidden on the network for unprivileged users, except for the ownerstatic final PortalFlagPortalFlag.HIDE_NETWORKA stargate with its network name hiddenstatic final PortalFlagPortalFlag.INTERSERVERAn across-server stargate using the new and better protocolstatic final PortalFlagPortalFlag.IRON_DOORA stargate whose opening can be entirely blocked by an iron doorstatic final PortalFlagPortalFlag.LEGACY_INTERSERVERAn across-server stargate using the legacy BungeeCord protocolstatic final PortalFlagPortalFlag.NETWORKEDA normal networked stargatestatic final PortalFlagPortalFlag.NO_SIGNA stargate without a sign.static final PortalFlagPortalFlag.PERSONAL_NETWORKA stargate part of a personal networkstatic final PortalFlagPortalFlag.PRIVATEA stargate which can only be used by the owner and unprivileged usersstatic final PortalFlagPortalFlag.RANDOMA random stargate which teleports to a random destination in its networkstatic final PortalFlagPortalFlag.SILENTA silent stargate which doesn't output a teleportation messagestatic final PortalFlagPortalFlag.TERMINAL_NETWORKA stargate on the terminal network NOT IMPLEMENTED AT THE MOMENT, temporary an internal flag (inaccessible)Methods in org.sgrewritten.stargate.api.network.portal.flag that return types with arguments of type PortalFlagModifier and TypeMethodDescriptionstatic Set<PortalFlag> PortalFlag.parseFlags(String flagString) -
Uses of PortalFlag in org.sgrewritten.stargate.api.permission
Methods in org.sgrewritten.stargate.api.permission that return types with arguments of type PortalFlagModifier and TypeMethodDescriptionPermissionManager.returnDisallowedFlags(Set<PortalFlag> flags) Gets all flags usable by the entityMethod parameters in org.sgrewritten.stargate.api.permission with type arguments of type PortalFlagModifier and TypeMethodDescriptionPermissionManager.returnDisallowedFlags(Set<PortalFlag> flags) Gets all flags usable by the entity -
Uses of PortalFlag in org.sgrewritten.stargate.manager
Methods in org.sgrewritten.stargate.manager that return types with arguments of type PortalFlagModifier and TypeMethodDescriptionStargatePermissionManager.returnDisallowedFlags(Set<PortalFlag> flags) UnrestrictedPermissionManager.returnDisallowedFlags(Set<PortalFlag> flags) Method parameters in org.sgrewritten.stargate.manager with type arguments of type PortalFlagModifier and TypeMethodDescriptionStargatePermissionManager.returnDisallowedFlags(Set<PortalFlag> flags) UnrestrictedPermissionManager.returnDisallowedFlags(Set<PortalFlag> flags) -
Uses of PortalFlag in org.sgrewritten.stargate.network
Methods in org.sgrewritten.stargate.network with parameters of type PortalFlagMethod parameters in org.sgrewritten.stargate.network with type arguments of type PortalFlagModifier and TypeMethodDescriptionStargateNetworkManager.createNetwork(String targetNetwork, Set<PortalFlag> flags, boolean isForced) static NetworkTypeNetworkType.getNetworkTypeFromFlags(Set<PortalFlag> flags) A method that infers a NetworkType from provided flags.static voidNetworkType.removeNetworkTypeRelatedFlags(Set<PortalFlag> flags) A method to remove internal flags related to the network's type.@NotNull NetworkStargateNetworkManager.selectNetwork(String name, PermissionManager permissionManager, org.bukkit.OfflinePlayer player, Set<PortalFlag> flags) Constructor parameters in org.sgrewritten.stargate.network with type arguments of type PortalFlagModifierConstructorDescriptionStargateNetwork(String name, Set<PortalFlag> flags, StorageType storageType) Instantiates a new network -
Uses of PortalFlag in org.sgrewritten.stargate.network.portal
Fields in org.sgrewritten.stargate.network.portal with type parameters of type PortalFlagModifier and TypeFieldDescriptionstatic final Set<PortalFlag> StargatePortal.allUsedFlagsUsed for bStats metrics, this is every flag that has been used by all portalsMethods in org.sgrewritten.stargate.network.portal with parameters of type PortalFlagModifier and TypeMethodDescriptionvoidStargatePortal.addFlag(PortalFlag flag) voidVirtualPortal.addFlag(PortalFlag flag) booleanStargatePortal.hasFlag(PortalFlag flag) booleanVirtualPortal.hasFlag(PortalFlag flag) voidStargatePortal.removeFlag(PortalFlag flag) voidVirtualPortal.removeFlag(PortalFlag flag) Constructor parameters in org.sgrewritten.stargate.network.portal with type arguments of type PortalFlagModifierConstructorDescriptionLegacyVirtualPortal(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 PortalFlag in org.sgrewritten.stargate.network.portal.portaldata
Methods in org.sgrewritten.stargate.network.portal.portaldata that return types with arguments of type PortalFlagModifier and TypeMethodDescriptionPortalData.flags()Returns the value of theflagsrecord component.Constructor parameters in org.sgrewritten.stargate.network.portal.portaldata with type arguments of type PortalFlagModifierConstructorDescriptionPortalData(GateData gateData, String name, String networkName, String destination, Set<PortalFlag> flags, UUID ownerUUID, String serverUUID, String serverName, StorageType portalType, String metaData) Creates an instance of aPortalDatarecord class. -
Uses of PortalFlag in org.sgrewritten.stargate.util
Methods in org.sgrewritten.stargate.util that return types with arguments of type PortalFlagModifier and TypeMethodDescriptionstatic Set<PortalFlag> LegacyDataHandler.parseFlags(String[] splitLine) Parses the flags found in a portal fileMethod parameters in org.sgrewritten.stargate.util with type arguments of type PortalFlagModifier and TypeMethodDescriptionstatic StringTranslatableMessageFormatter.formatFlags(String unformattedMessage, Set<PortalFlag> flags) Replaces the %flags% in a string with the given set of flags -
Uses of PortalFlag in org.sgrewritten.stargate.util.portal
Method parameters in org.sgrewritten.stargate.util.portal with type arguments of type PortalFlagModifier 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 StringPortalHelper.flagsToString(Set<PortalFlag> flags) Gets the string representation of a set of portal flags