Class WorldHelper

java.lang.Object
xyz.geik.farmer.helpers.WorldHelper

public class WorldHelper extends Object
  • Field Details

    • allowedWorlds

      public static List<String> allowedWorlds
  • Constructor Details

    • WorldHelper

      public WorldHelper()
  • Method Details

    • loadAllowedWorlds

      public static void loadAllowedWorlds()
      Loads all the allowed worlds to cache
      Since:
      b107
    • isFarmerAllowed

      public static boolean isFarmerAllowed(String worldName)
      Checks if Farmer is allowed in a specified world.
      Parameters:
      worldName - The name of the world to check.
      Returns:
      if Farmer is allowed in the specified world