I wanted to make my game use a multi-script framework-style architecture, at first I thought about loading modules in a unordered fashion however I realised this can cause a dependency issue, so I decided to go with a load order system. Setup and init would be like below:
1. Register server modules
2. Register client modules
3. Init (locks client module registration)
Is this a good idea to try and implement? Or should I just go single-script? Or do you have suggestions on what can I add, remove or improve here?