Blockland Forums > Help
Add-Ons Not Sorted Or Executing In Order
phflack:
I would say name it starting with Z, but that's only when the reverse alphabetical loading is working (pretty sure it's reverse? which is why VIP had to be renamed to AVIP and load after the core minigame addon)
without knowing what the load order is, it might be a bit more difficult
you could look at what's loading first and just add your script to it, but wouldn't be helpful to others
jes00:
That won't work though because I need it to execute before function loadAddOns starts so that I can overwrite it.
jes00:
Fixed it.
https://forum.blockland.us/index.php?topic=321647.0
Greek2me:
--- Quote from: jes00 on November 28, 2018, 09:51:16 PM ---Anyone know how to make a server add-on get executed before any others and before function loadAddOns starts?
--- End quote ---
Fyi, Support_PreLoad can help you with this: http://www.greek2me.us/code/Support_PreLoad.cs
jes00:
I tried that but the function that you need to overwrite is executed after config/main.cs. In the end, I had to add an execution to the bottom of config/client/config.cs. I posted the add-on.