Failed to load script server/main.lua

I just started creating a server about 3 days ago so I’m rarely new to all of this. This is the only problem I haven’t been able to fix so far. If anyone could help me out, it would be highly



appreciated!

Welcome.
Failed to load script means. Yeah obviously failed to load or find the script.
Have a look at the fxmanifest file. under dependency you will find this @oxmysql
This means that the resource you are trying to start requires something from oxmysql.
therefore this plugin needs to be startet BEFORE the script that requires this (esx_shops, esx_status etc.)
So check your server.cfg for the startup order.
If you do not have oxmysql your need to either add it (replacing your current mysql plugin), change the dependency to support your current mysql plugin.
If you do not have any mysql plugin, esx_shops and esx_status will obviously not work as they should xD

1 Like