PackagesLoaded
Server-Side Event
JavaScript |
---|
This event is triggered when the server has loaded all packages resources' folders in **packages** directory. You can delay this event's trigger through **mp.events.delayInitialization**.
JavaScript Syntax
Example
mp.events.add('packagesLoaded', () => { console.log('Loaded all resources successfully'); });