TrapModLoader 1.0.5

Do not ask when mod authors will update their mods or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
Due to an unusually high volume of traffic, our site may be experiencing intermittent slowdowns. If you notice any issues, log out of your account and browse anonymously so you can better utilize caching or try using forge.sp-tarkov.com to search for and download mods.

a tool for modpack makers which allow to change the mod loading order and prevent duplicates mods.

This mod is no longer maintained!

Deprecated since aki 2.3.1


TrapModLoader


Description

Initially, the official ModLoader from spt-aki offers a way to load mods in a certain orders using a loadorder.json inside the mods folder.

Unfortunately, the load order is applied only for the onLoad method, not at js package import.


This mod hijack the official ModLoader api and allow you to setup a proper loadorder.json

Usage

  1. Place TrapModLoader inside user/mods folder
  2. Move all other mods in user/mods/TrapModLoader/mods
  3. Run the server once to generate a default loadorder.json (in user/mods/TrapModLoader/mods)
  4. edit the generated loadorder.json as you want


Be sure to use a version >= 1.0.2

Compatibility with other mods

- For Le Kaiju Advanced modding, change the API.Override part in config.json to:

Code
"Override": {   "enabled": true,   "value": "CoreMod" }


Notes

  • mods can be disabled, remove the name of the concerned mod from the loadorder.json file
  • loadorder.json file can be re-generated, delete the file and run the spt-aki server again
  • at each start, some folders prefixed by `TML_DLLS_*` could be generated in your root `user/mods` directory (depends if you have installed some clients mods)


Credits

Thanks to Gave_Over for making the image ;)