


JKConfig is a JLL addon that allows modders to add the ability to config Items and Enemies registered in LethalLevelLoader.
Keep in mind that this addon alone will NOT generate scrap/enemy configs by itself, Enemy and Item modders need to add this addon alongside JLL on their own (Information on how to do it below). Also this only works if your Items or Enemies are registered with LLL (LethalLevelLoader)
If you're familiar with libraries and APIs it should be fairly simple.
Add JKConfig and JLL to your project by downloading manually both packages, and dropping the corresponding DLLs into your project, in the same folder you have any other libraries (LethalLevelLoader, ManuLib,...), It does not really matter where as long as you know where it's located, for convenience sake.
Once you have both, turn off Validate References on the 3 JLL dll files. It will take a bit for Unity to gather the scripts.
Go to where your scrap mod is (or a folder of your convenience), Right Click > Create > JLL > Addon > JKConfig That should create the JKConfig file.
Add any Items (ExtendedItems) or Enemies (ExtendedEnemyTypes) that your mod has (or that you want to generate configs for).
After that, create a JLLMod Right Click > Create > JLL > JLLMod , inside that file set the Mod Author and Mod Name. Make sure that they are the same as the ones on you LethalLevelLoader ExtendedMod or it will not work. On the Addons part of the JLLMod, add the JKConfigFile.
Bundle both your JLLMod and JKConfigFile in the same .lethalbundle as your mod and you should be good to go! Keep in mind that you'd need to depend on both JLL and JKConfig for it to work.
If you'd like to support me, check out my ko-fi. https://ko-fi.com/itiskenji.
Please if you want to contact me with some feedback, bugs or suggestions my discord is isma_kenji or you can go to github. You can also find this mod's thread in the Lethal Company Modding Discord server.
Kenji: The idea man, the config code part of the configs.
JacobG5: Creating JLL and helping with the setup (like most of it basically)
Mrov: Helping me debug and adding some fixes to the code for it to work