Interface DefinedReward
- All Known Implementing Classes:
DirectlyDefinedReward,RewardFileDefinedReward,SubDirectlyDefinedReward
public interface DefinedReward
Interface for defined rewards.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateSection(String key) Creates a section.org.bukkit.configuration.ConfigurationSectionGets the file data.Gets the full path.getPath()Gets the path.needsDot()Needs dot separator.voidsave()Saves the configuration.voidSets the data.
-
Method Details
-
createSection
Creates a section.- Parameters:
key- the key
-
getFileData
org.bukkit.configuration.ConfigurationSection getFileData()Gets the file data.- Returns:
- the file data
-
getFullPath
String getFullPath()Gets the full path.- Returns:
- the full path
-
getPath
String getPath()Gets the path.- Returns:
- the path
-
needsDot
String needsDot()Needs dot separator.- Returns:
- the dot string
-
save
void save()Saves the configuration. -
setData
Sets the data.- Parameters:
str- the pathvalue- the value
-