Package xyz.geik.farmer.model
Class FarmerLevel
java.lang.Object
xyz.geik.farmer.model.FarmerLevel
Level object of farmer
Which contains capacity, required money, required perm etc.
-
Constructor Summary
ConstructorDescriptionConstructor of classFarmerLevel
(String dataName, long capacity, long reqMoney, double tax, String perm) Main constructor of farmer level -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull FarmerLevel
Gets single level from farmerLevels by config name
-
Constructor Details
-
FarmerLevel
public FarmerLevel()Constructor of class -
FarmerLevel
Main constructor of farmer level- Parameters:
dataName
- data name of levelcapacity
- capacity of levelreqMoney
- required money of leveltax
- tax amount of levelperm
- permission requirement of level
-
-
Method Details
-
getLevel
Gets single level from farmerLevels by config name- Parameters:
name
- of level- Returns:
- FarmerLevel object of level
-