Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
JKConfig
An Addon for JLL to allow Items and Enemies registered with LLL to have configs
| Last updated | a day ago |
| Total downloads | 526 |
| Total rating | 0 |
| Categories | Libraries |
| Dependency string | rectorado-JKConfig-1.0.0 |
| Dependants | 4 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100Evaisa-HookGenPatcher
Generates MonoMod.RuntimeDetour.HookGen's MMHOOK file during the BepInEx preloader phase.
Preferred version: 0.0.5IAmBatby-LethalLevelLoader
A Custom API to support the manual and dynamic integration of all forms of custom content in Lethal Company. (v73 Compatible)
Preferred version: 1.6.0README
JKConfig
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)
Information for modders: How to I add this to my project?
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 Referenceson 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 > JKConfigThat 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.lethalbundleas 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.
Credits:
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