Class MVNameChecker

java.lang.Object
org.mvplugins.multiverse.netherportals.utils.MVNameChecker

@Service public class MVNameChecker extends Object
  • Method Details

    • isValidNetherName

      public boolean isValidNetherName(String world)
      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

      public boolean isValidEndName(String world)
      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

      public String getNetherName(String normalName)
      Takes a given normal name and adds the nether prefix and suffix onto it!
      Parameters:
      normalName -
      Returns:
    • getEndName

      public String getEndName(String normalName)
      Takes a given normal name and adds the end prefix and suffix onto it!
      Parameters:
      normalName -
      Returns:
    • getNormalName

      public String getNormalName(String netherName, org.bukkit.PortalType type)
      Takes a given normal name chops the suffix and prefix off!
      Returns: