I think you can get the plugin instance from PluginManager then call getConfig() on the plugin instance if that's what you want, not sure how would you get it by it's name tho
This may be outdated or not recommended but it's the only way I currently can think of. PHP: @mkdir($this->getDataFolder());$this->saveResource("config.yml");$this->coin = new Config($this->getDataFolder() . "config.yml", Config::YAML); // now you can use $this->coin to call this db
1. mkdir() isn't needed here 2. you can use saveDefaultConfig() instead if you want to save the config, otherwise use saveResource() for other files 3. if you want to get your config instance, just use getConfig(), if you have other yml or json files create a new Config instance ig (btw i assumed they wanted to get the config of other plugins lol)
Ah...yes. I’ve see lots of posts regarding mkdir() and other config management but I’ve never really paid attention to them. Thanks!