Botanical Machinery

Botanical Machinery

3M Downloads

[1.16.5] Mod attempting to load non-existent config files

Sandriell opened this issue ยท 1 comments

commented

Versions

Minecraft: 1.16.5 Dedicated Server
Forge: 36.2.23
Botania: Botania-1.16.5-420.2
Botanical Machinery: botanicalmachinery-1.16.4-0.4.4
LibX: LibX-1.16.3-1.0.76
Modpack: Custom ATM6

Describe the bug

Log is showing the mod is complaining about the config being incorrect, but it appears to be looking in the wrong place?

[13:29:44] [modloading-worker-27/WARN]: Configuration file \Minecraft\config\botanicalmachinery-client.toml is not correct. Correcting
[13:29:44] [modloading-worker-27/WARN]: Incorrect key numericalMana was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering was corrected from null to its default, SimpleCommentedConfig:{}. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.all was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.alfheim-market was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.industrial-agglomeration-factory was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.mechanical-apothecary was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.mechanical-brewery was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.mechanical-daisy was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.mechanical-mana-pool was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key advanced-rendering.mechanical-runic-altar was corrected from null to its default, true. 
[13:29:44] [modloading-worker-27/WARN]: Configuration file \Minecraft\defaultconfigs\botanicalmachinery-server.toml is not correct. Correcting
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier was corrected from null to its default, SimpleCommentedConfig:{}. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier.alfheim-market was corrected from null to its default, 1. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier.industrial-agglomeration-factory was corrected from null to its default, 1. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier.mechanical-mana-pool was corrected from null to its default, 1. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier.mechanical-runic-altar was corrected from null to its default, 1. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier.mechanical-daisy was corrected from null to its default, 3. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier.mechanical-brewery was corrected from null to its default, 1. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key working-duration-multiplier.mechanical-apothecary was corrected from null to its default, 1. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key alfheim-market was corrected from null to its default, SimpleCommentedConfig:{}. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key alfheim-market.recipe-cost was corrected from null to its default, 500. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key max-mana-capacity was corrected from null to its default, SimpleCommentedConfig:{}. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key max-mana-capacity.alfheim-market was corrected from null to its default, 100000. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key max-mana-capacity.industrial-agglomeration-factory was corrected from null to its default, 1000000. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key max-mana-capacity.mechanical-mana-pool was corrected from null to its default, 100000. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key max-mana-capacity.mechanical-runic-altar was corrected from null to its default, 250000. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key max-mana-capacity.mechanical-brewery was corrected from null to its default, 100000. 
[13:29:44] [modloading-worker-27/WARN]: Incorrect key max-mana-capacity.mana-battery was corrected from null to its default, 10000000. 

Meanwhile configs are actually located in:

"\Minecraft\config\botanicalmachinery\client.json5"
"\Minecraft\config\botanicalmachinery\server.json5"

However, for the server config, should that not be loaded from "\Minecraft\world\serverconfig\botanicalmachinery-server.toml", which does exist- if it is loading that later on, it is never mentioned in the logs.

How to reproduce

  1. Add mods.
  2. Start dedicated server
  3. Watch logs.

Expected behavior

Loading the correct configs from the correct location

Screenshots

N/A

commented

I think it was enough time for everyone to switch to newer versions. I think I could remove the old config now. Thank you for this reminder, will remove the old config soon.