Package xyz.geik.farmer.helpers
Class WorldHelper
java.lang.Object
xyz.geik.farmer.helpers.WorldHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isFarmerAllowed
(String worldName) Checks if Farmer is allowed in a specified world.static void
Loads all the allowed worlds to cache
-
Field Details
-
allowedWorlds
-
-
Constructor Details
-
WorldHelper
public WorldHelper()
-
-
Method Details
-
loadAllowedWorlds
public static void loadAllowedWorlds()Loads all the allowed worlds to cache- Since:
- b107
-
isFarmerAllowed
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
-