Class ConfigManager

java.lang.Object
com.ticxo.modelengine.api.utils.config.ConfigManager

public class ConfigManager extends Object
  • Constructor Details

    • ConfigManager

      public ConfigManager(org.bukkit.plugin.java.JavaPlugin plugin)
  • Method Details

    • register

      public void register(Property property)
    • register

      public void register(String path, @NotNull @NotNull Object def)
    • registerReferenceUpdate

      public void registerReferenceUpdate(Runnable runnable)
    • reload

      public void reload()
    • updateReferences

      public void updateReferences()
    • get

      public <T> T get(String path)
    • get

      public <T> T get(Property property)
    • getInt

      public int getInt(Property property)
    • getDouble

      public double getDouble(Property property)
    • getString

      public String getString(Property property)
    • getBoolean

      public boolean getBoolean(Property property)
    • save

      public void save()