Class MultiverseNetherPortals
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
org.mvplugins.multiverse.core.module.MultiverseModule
org.mvplugins.multiverse.netherportals.MultiverseNetherPortals
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter,org.bukkit.command.TabExecutor,org.bukkit.plugin.Plugin
public class MultiverseNetherPortals
extends org.mvplugins.multiverse.core.module.MultiverseModule
-
Field Summary
Fields inherited from class org.mvplugins.multiverse.core.module.MultiverseModule
commandManagerProvider, dynamicListenerRegistrationProvider, serviceLocator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddWorldLink(String from, String to, org.bukkit.PortalType type) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Debug info no longer required as dumps command directly uploads all config files.Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getEndPrefix()instead.Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getEndSuffix()instead.Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.getLinksMapForType(WorldLinkType)instead.@NotNull LoggerDeprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getNetherPrefix()instead.Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getNetherSuffix()instead.doublegetWorldLink(String fromWorld, org.bukkit.PortalType type) Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.getWorldLink(String, WorldLinkType)instead.Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.getLinksMapForType(WorldLinkType)instead.booleanDeprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isEndPlatformDropBlocks()instead.booleanisHandledByNetherPortals(org.bukkit.Location l) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isSendingDisabledPortalMessage()instead.booleanDeprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isSendingNoDestinationMessage()instead.booleanDeprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isTeleportingEntities()instead.booleanDeprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isUsingBounceBack()instead.voidDeprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.load()instead.voidvoidonEnable()voidonLoad()booleanremoveWorldLink(String from, String to, org.bukkit.PortalType type) Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.removeWorldLink(String, WorldLinkType)instead.booleanDeprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.save()andNetherPortalsConfig.save()instead.voidsetEndPlatformDropBlocks(boolean endPlatformDropBlocks) Deprecated, for removal: This API element is subject to removal in a future version.voidsetEndPrefix(String endPrefix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setEndPrefix(String)instead.voidsetEndSuffix(String endSuffix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setEndSuffix(String)instead.voidsetNetherPrefix(String netherPrefix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setNetherPrefix(String)instead.voidsetNetherSuffix(String netherSuffix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setNetherSuffix(String)instead.voidsetSendingDisabledPortalMessage(boolean sendDisabledPortalMessage) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSendingNoDestinationMessage(boolean sendNoDestinationMessage) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTeleportingEntities(boolean teleportingEntities) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setTeleportingEntities(boolean)instead.voidsetUsingBounceBack(boolean useBounceBack) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setUsingBounceBack(boolean)instead.Methods inherited from class org.mvplugins.multiverse.core.module.MultiverseModule
getServiceLocator, getVersionAsNumber, initializeDependencyInjection, registerCommands, registerDynamicListeners, registerEvents, setUpLocales, shutdownDependencyInjectionMethods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toStringMethods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bukkit.plugin.Plugin
getComponentLogger, getLog4JLogger, getSLF4JLogger
-
Constructor Details
-
MultiverseNetherPortals
public MultiverseNetherPortals()
-
-
Method Details
-
onLoad
public void onLoad()- Specified by:
onLoadin interfaceorg.bukkit.plugin.Plugin- Overrides:
onLoadin classorg.bukkit.plugin.java.JavaPlugin
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onEnablein classorg.mvplugins.multiverse.core.module.MultiverseModule
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onDisablein classorg.mvplugins.multiverse.core.module.MultiverseModule
-
getTargetCoreVersion
public double getTargetCoreVersion()- Specified by:
getTargetCoreVersionin classorg.mvplugins.multiverse.core.module.MultiverseModule
-
getLogger
- Specified by:
getLoggerin interfaceorg.bukkit.plugin.Plugin- Overrides:
getLoggerin classorg.bukkit.plugin.java.JavaPlugin
-
loadConfig
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void loadConfig()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.load()instead. -
setNetherPrefix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setNetherPrefix(String netherPrefix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setNetherPrefix(String)instead. -
getNetherPrefix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public String getNetherPrefix()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getNetherPrefix()instead. -
setNetherSuffix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setNetherSuffix(String netherSuffix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setNetherSuffix(String)instead. -
getNetherSuffix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public String getNetherSuffix()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getNetherSuffix()instead. -
setEndPrefix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setEndPrefix(String endPrefix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setEndPrefix(String)instead. -
getEndPrefix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public String getEndPrefix()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getEndPrefix()instead. -
setEndSuffix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setEndSuffix(String endSuffix) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setEndSuffix(String)instead. -
getEndSuffix
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public String getEndSuffix()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.getEndSuffix()instead. -
getWorldLink
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public String getWorldLink(String fromWorld, org.bukkit.PortalType type) Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.getWorldLink(String, WorldLinkType)instead. -
getWorldLinks
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public Map<String,String> getWorldLinks()Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.getLinksMapForType(WorldLinkType)instead. -
getEndWorldLinks
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public Map<String,String> getEndWorldLinks()Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.getLinksMapForType(WorldLinkType)instead. -
addWorldLink
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean addWorldLink(String from, String to, org.bukkit.PortalType type) Deprecated, for removal: This API element is subject to removal in a future version. -
removeWorldLink
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean removeWorldLink(String from, String to, org.bukkit.PortalType type) Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.removeWorldLink(String, WorldLinkType)instead. -
saveMVNPConfig
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean saveMVNPConfig()Deprecated, for removal: This API element is subject to removal in a future version.UseLinksManager.save()andNetherPortalsConfig.save()instead. -
isUsingBounceBack
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean isUsingBounceBack()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isUsingBounceBack()instead. -
setUsingBounceBack
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setUsingBounceBack(boolean useBounceBack) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setUsingBounceBack(boolean)instead. -
isTeleportingEntities
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean isTeleportingEntities()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isTeleportingEntities()instead. -
setTeleportingEntities
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setTeleportingEntities(boolean teleportingEntities) Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.setTeleportingEntities(boolean)instead. -
isSendingDisabledPortalMessage
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean isSendingDisabledPortalMessage()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isSendingDisabledPortalMessage()instead. -
setSendingDisabledPortalMessage
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setSendingDisabledPortalMessage(boolean sendDisabledPortalMessage) Deprecated, for removal: This API element is subject to removal in a future version. -
isSendingNoDestinationMessage
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean isSendingNoDestinationMessage()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isSendingNoDestinationMessage()instead. -
setSendingNoDestinationMessage
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setSendingNoDestinationMessage(boolean sendNoDestinationMessage) Deprecated, for removal: This API element is subject to removal in a future version. -
isEndPlatformDropBlocks
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean isEndPlatformDropBlocks()Deprecated, for removal: This API element is subject to removal in a future version.UseNetherPortalsConfig.isEndPlatformDropBlocks()instead. -
setEndPlatformDropBlocks
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public void setEndPlatformDropBlocks(boolean endPlatformDropBlocks) Deprecated, for removal: This API element is subject to removal in a future version. -
isHandledByNetherPortals
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public boolean isHandledByNetherPortals(org.bukkit.Location l) Deprecated, for removal: This API element is subject to removal in a future version. -
getDebugInfo
@Deprecated(since="5.1", forRemoval=true) @ScheduledForRemoval(inVersion="6.0") public String getDebugInfo()Deprecated, for removal: This API element is subject to removal in a future version.Debug info no longer required as dumps command directly uploads all config files.
-
LinksManager.addWorldLink(String, String, WorldLinkType)instead.