Class ConfigValue
java.lang.Object
wtf.nucker.kitpvpplus.api.objects.ConfigValue
- 
Constructor Summary
ConstructorsConstructorDescriptionConfigValue(org.bukkit.configuration.file.FileConfiguration config, String path)Used for initiating instance of ConfigValueClass - 
Method Summary
 
- 
Constructor Details
- 
ConfigValue
Used for initiating instance of ConfigValueClass- Parameters:
 config- The file config that the value is inpath- the path to the value
 
 - 
 - 
Method Details
- 
getAsObject
- Returns:
 - the value as an object
 
 - 
getAsString
- Returns:
 - the value as an string
 
 - 
getAsInt
public int getAsInt()- Returns:
 - the value as an integer
 
 - 
getAsBool
public boolean getAsBool()- Returns:
 - the value as a boolean
 
 - 
getAsStringList
- Returns:
 - the value as a string list
 
 - 
getAsDouble
public double getAsDouble()- Returns:
 - the value as a double
 
 - 
getAs
- Parameters:
 def- the class def you want to be returned- Returns:
 - the value as specified object
 
 
 -