Loading Config File

Discussion in 'Plugin Development' started by wangsauces, Oct 3, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    wangsauces

    I'm currently attempting to load the configuration file that is saved before the plugin is disabled, but I'm stuck on the part of loading it.

    What I'm wanting is a way to save the configuration file as the plugin is being disabled, store it somewhere, then load it up when the plugin is being enabled. How does one do this?
     
  2. Offline

    Retherz_

  3. Offline

    mythbusterma

    @wangsauces

    When the plugin disables, save the configuration.

    Read from the config when you need a value.
     
Thread Status:
Not open for further replies.

Share This Page