Class SubDirectlyDefinedReward
java.lang.Object
com.bencodez.advancedcore.api.rewards.SubDirectlyDefinedReward
- All Implemented Interfaces:
DefinedReward
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateSection(String key) Creates a section.voidcreateSectionLocal(String key) org.bukkit.configuration.ConfigurationSectionGets the file data.Gets the full path.booleanneedsDot()Needs dot separator.voidsave()Saves the configuration.voidSets the data.voidsetParentValue(Object value) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.bencodez.advancedcore.api.rewards.DefinedReward
getPath
-
Constructor Details
-
SubDirectlyDefinedReward
-
-
Method Details
-
createSection
Description copied from interface:DefinedRewardCreates a section.- Specified by:
createSectionin interfaceDefinedReward- Parameters:
key- the key
-
createSectionLocal
-
getFileData
public org.bukkit.configuration.ConfigurationSection getFileData()Description copied from interface:DefinedRewardGets the file data.- Specified by:
getFileDatain interfaceDefinedReward- Returns:
- the file data
-
getFullPath
Description copied from interface:DefinedRewardGets the full path.- Specified by:
getFullPathin interfaceDefinedReward- Returns:
- the full path
-
getReward
-
getValue
-
isDirectlyDefined
public boolean isDirectlyDefined() -
needsDot
Description copied from interface:DefinedRewardNeeds dot separator.- Specified by:
needsDotin interfaceDefinedReward- Returns:
- the dot string
-
save
public void save()Description copied from interface:DefinedRewardSaves the configuration.- Specified by:
savein interfaceDefinedReward
-
setData
Description copied from interface:DefinedRewardSets the data.- Specified by:
setDatain interfaceDefinedReward- Parameters:
path- the pathvalue- the value
-
setParentValue
-
setValue
-