#Method LoadConfig not found

1 messages · Page 1 of 1 (latest)

torpid quest
#

I'm getting following error on server start

[2025-04-19 18:12:13.867 +02:00] [ERROR] [LabApi] [LOADER] Couldn't enable the plugin 'Plugin', Version: 3.0.0.0, Author: 'SimonB50'
[2025-04-19 18:12:13.878 +02:00] [ERROR] [LabApi] System.MissingMethodException: Method not found: !!0 LabApi.Loader.ConfigurationLoader.LoadConfig<!0>(LabApi.Loader.Features.Plugins.Plugin,string)
                                   at LabApi.Loader.PluginLoader.EnablePlugin (LabApi.Loader.Features.Plugins.Plugin plugin) [0x00006] in <55a16b597ad7463da126996d837dfaa8>:0```
Some other plugins made for previous version of LabAPI also throw that error.
My code for loading configs is:
```cs
        public override void LoadConfigs()
        {
            PluginConfig = this.LoadConfig<Config>("config.yml");
            LevelConfig = this.LoadConfig<LevelConfig>("leveling.yml");
            CoinConfig = this.LoadConfig<CoinConfig>("coin.yml");
        }```

Did anything changed regarding loading the plugin configs? I don't see any changes in the `Advanced Configurations` wiki and my code is made based on that.
rare night
#

You'll need to recompile

torpid quest
#

I recompiled multiple times tho

rare night
#

You sure you got the latest dll in references?

torpid quest
#

Yep, because I already had an issue with that before kek

tidal skiff
#

reinstall it

#

and no validating wont fix

#

its steam moment you wont get latest because funky

torpid quest
#

I will try it then, but it should be the latest version since my last issue was because of the same thing

torpid quest
#

Ok, uninstalling dedicated server and installing it fully fresh worked kek