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
FieldsModifier and TypeFieldDescriptionprotected org.mvplugins.multiverse.core.MultiverseCoreApi
protected org.bukkit.plugin.Plugin
protected org.bukkit.configuration.file.FileConfiguration
Fields inherited from class org.mvplugins.multiverse.core.module.MultiverseModule
commandManagerProvider, dynamicListenerRegistrationProvider, serviceLocator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addWorldLink
(String from, String to, org.bukkit.PortalType type) double
getWorldLink
(String fromWorld, org.bukkit.PortalType type) boolean
boolean
isHandledByNetherPortals
(org.bukkit.Location l) boolean
boolean
boolean
boolean
void
void
void
onEnable()
void
onLoad()
boolean
removeWorldLink
(String from, String to, org.bukkit.PortalType type) boolean
void
setEndPlatformDropBlocks
(boolean endPlatformDropBlocks) void
setEndPrefix
(String endPrefix) void
setEndSuffix
(String endSuffix) void
setNetherPrefix
(String netherPrefix) void
setNetherSuffix
(String netherSuffix) void
setPortals
(org.bukkit.plugin.Plugin multiversePortals) void
setSendingDisabledPortalMessage
(boolean sendDisabledPortalMessage) void
setSendingNoDestinationMessage
(boolean sendNoDestinationMessage) void
setTeleportingEntities
(boolean teleportingEntities) void
setUsingBounceBack
(boolean useBounceBack) Methods inherited from class org.mvplugins.multiverse.core.module.MultiverseModule
getServiceLocator, getVersionAsNumber, initializeDependencyInjection, registerCommands, registerDynamicListeners, registerEvents, setUpLocales, shutdownDependencyInjection
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bukkit.plugin.Plugin
getComponentLogger, getLog4JLogger, getSLF4JLogger
-
Field Details
-
core
protected org.mvplugins.multiverse.core.MultiverseCoreApi core -
multiversePortals
protected org.bukkit.plugin.Plugin multiversePortals -
MVNPConfiguration
protected org.bukkit.configuration.file.FileConfiguration MVNPConfiguration
-
-
Constructor Details
-
MultiverseNetherPortals
public MultiverseNetherPortals()
-
-
Method Details
-
onLoad
public void onLoad()- Specified by:
onLoad
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onLoad
in classorg.bukkit.plugin.java.JavaPlugin
-
onEnable
public void onEnable()- Specified by:
onEnable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onEnable
in classorg.mvplugins.multiverse.core.module.MultiverseModule
-
loadConfig
public void loadConfig() -
onDisable
public void onDisable()- Specified by:
onDisable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onDisable
in classorg.mvplugins.multiverse.core.module.MultiverseModule
-
getTargetCoreVersion
public double getTargetCoreVersion()- Specified by:
getTargetCoreVersion
in classorg.mvplugins.multiverse.core.module.MultiverseModule
-
setNetherPrefix
-
getNetherPrefix
-
setNetherSuffix
-
getNetherSuffix
-
setEndPrefix
-
getEndPrefix
-
setEndSuffix
-
getEndSuffix
-
getWorldLink
-
getWorldLinks
-
getEndWorldLinks
-
addWorldLink
-
removeWorldLink
-
saveMVNPConfig
public boolean saveMVNPConfig() -
isUsingBounceBack
public boolean isUsingBounceBack() -
setUsingBounceBack
public void setUsingBounceBack(boolean useBounceBack) -
isTeleportingEntities
public boolean isTeleportingEntities() -
setTeleportingEntities
public void setTeleportingEntities(boolean teleportingEntities) -
isSendingDisabledPortalMessage
public boolean isSendingDisabledPortalMessage() -
setSendingDisabledPortalMessage
public void setSendingDisabledPortalMessage(boolean sendDisabledPortalMessage) -
isSendingNoDestinationMessage
public boolean isSendingNoDestinationMessage() -
setSendingNoDestinationMessage
public void setSendingNoDestinationMessage(boolean sendNoDestinationMessage) -
isEndPlatformDropBlocks
public boolean isEndPlatformDropBlocks() -
setEndPlatformDropBlocks
public void setEndPlatformDropBlocks(boolean endPlatformDropBlocks) -
isHandledByNetherPortals
public boolean isHandledByNetherPortals(org.bukkit.Location l) -
setPortals
@Internal public void setPortals(org.bukkit.plugin.Plugin multiversePortals) -
getDebugInfo
-