Class MVNameChecker
java.lang.Object
org.mvplugins.multiverse.netherportals.utils.MVNameChecker
-
Method Summary
Modifier and TypeMethodDescriptiongetEndName
(String normalName) Takes a given normal name and adds the end prefix and suffix onto it!getNetherName
(String normalName) Takes a given normal name and adds the nether prefix and suffix onto it!getNormalName
(String netherName, org.bukkit.PortalType type) Takes a given normal name chops the suffix and prefix off!boolean
isValidEndName
(String world) Returns true if the world meets the naming criteria for an end world.boolean
isValidNetherName
(String world) Returns true if the world meets the naming criteria for a nether world.
-
Method Details
-
isValidNetherName
Returns true if the world meets the naming criteria for a nether world. It is NOT checked against the actual worlds here!- Parameters:
world
- The world name to check- Returns:
- True if the world has the correct
-
isValidEndName
Returns true if the world meets the naming criteria for an end world. It is NOT checked against the actual worlds here!- Parameters:
world
- The world name to check- Returns:
- True if the world has the correct
-
getNetherName
Takes a given normal name and adds the nether prefix and suffix onto it!- Parameters:
normalName
-- Returns:
-
getEndName
Takes a given normal name and adds the end prefix and suffix onto it!- Parameters:
normalName
-- Returns:
-
getNormalName
Takes a given normal name chops the suffix and prefix off!- Returns:
-