trap added a new file:
QuoteDisplay MoreThis 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 themods
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
insideuser/mods
folder- Move all other mods in
user/mods/TrapModLoader/mods
- Run the server once to generate a default
loadorder.json
(inuser/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:
Notes
- mods can be disabled, remove the name of the concerned mod from the
loadorder.json
fileloadorder.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