Interface DefinedReward

All Known Implementing Classes:
DirectlyDefinedReward, RewardFileDefinedReward, SubDirectlyDefinedReward

public interface DefinedReward
Interface for defined rewards.
  • Method Details

    • createSection

      void createSection(String key)
      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

      void setData(String str, Object value)
      Sets the data.
      Parameters:
      str - the path
      value - the value