java.lang.Object
tfagaming.projects.minecraft.homestead.resources.ResourceFile
Direct Known Subclasses:
ConfigFile, FlagsFile, LanguageFile, LevelsFile, LimitsFile, MenusFile, RegionsFile

public class ResourceFile extends Object
  • Constructor Details

  • Method Details

    • getBoolean

      public boolean getBoolean(String path, boolean defaultValue)
    • getBoolean

      public boolean getBoolean(String path)
    • getInt

      public int getInt(String path, int defaultValue)
    • getInt

      public int getInt(String path)
    • getFloat

      public float getFloat(String path, float defaultValue)
    • getFloat

      public float getFloat(String path)
    • getLong

      public long getLong(String path, long defaultValue)
    • getLong

      public long getLong(String path)
    • getDouble

      public double getDouble(String path, double defaultValue)
    • getDouble

      public double getDouble(String path)
    • getString

      public String getString(String path, String defaultValue)
    • getString

      public String getString(String path)
    • getStringList

      public List<String> getStringList(String path)
    • getIntegerList

      public List<Integer> getIntegerList(String path)
    • getKeysUnderPath

      public List<String> getKeysUnderPath(String path)
      Returns every direct child key of the given configuration section, or an empty list if the path is not a section.
    • getRaw

      public Object getRaw(String path)
    • getConfig

      public org.bukkit.configuration.file.FileConfiguration getConfig()