Class PluginConfig

java.lang.Object
de.themoep.connectorplugin.velocity.PluginConfig

public class PluginConfig extends Object
  • Constructor Details

  • Method Details

    • load

      public boolean load()
    • createDefaultConfig

      public boolean createDefaultConfig() throws IOException
      Throws:
      IOException
    • save

      public void save()
    • set

      public Object set(String path, Object value) throws org.spongepowered.configurate.serialize.SerializationException
      Throws:
      org.spongepowered.configurate.serialize.SerializationException
    • remove

      public org.spongepowered.configurate.ConfigurationNode remove(String path)
    • getRawConfig

      public org.spongepowered.configurate.ConfigurationNode getRawConfig()
    • getRawConfig

      public org.spongepowered.configurate.ConfigurationNode getRawConfig(String path)
    • has

      public boolean has(String path)
    • isSection

      public boolean isSection(String path)
    • getInt

      public int getInt(String path)
    • getInt

      public int getInt(String path, int def)
    • getLong

      public long getLong(String path)
    • getLong

      public long getLong(String path, long def)
    • getDouble

      public double getDouble(String path)
    • getDouble

      public double getDouble(String path, double def)
    • getString

      public String getString(String path)
    • getString

      public String getString(String path, String def)
    • getBoolean

      public boolean getBoolean(String path)
    • getBoolean

      public boolean getBoolean(String path, boolean def)