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
- Place TrapModLoader inside user/mods folder
- Move all other mods in user/mods/TrapModLoader/mods
- Run the server once to generate a default loadorder.json (in user/mods/TrapModLoader/mods)
- 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:
"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 rootuser/mods
directory (depends if you have installed some clients mods)
Credits
Thanks to Gave_Over for making the image
710 Downloads
Changelog
update for aki 2.3.0
489 Downloads
Changelog
Fixes
- prevent server to crash when mods listed in loadorder.json are missing
73 Downloads
Changelog
Fixes
- client mods dlls are now loaded by TML
198 Downloads
Changelog
Fix
- integration with AdvancedTraderFramework mod
58 Downloads
Not quite yet...