Example #1
0
 private void initConfig() {
   plugin.saveDefaultConfig(); // creates a copy of the provided config.yml in the plugins data
   // folder, if it does not exist
   config =
       plugin.getConfig(); // re-reads config out of memory. (Reads the config from file only, when
   // invoked the first time!)
 }