molfar_audit / Rules / MAN001

MAN001 Dependency does not exist

criticalinfo Manifests & resources

A resource declares a dependency that no resource on the server provides.

Why it matters

FXServer refuses to start a resource whose dependency is missing, so everything in it silently stops working. Reported as critical for started resources and as info for stopped ones (they may be unused on purpose).

How to fix

Install the missing resource, or remove the dependency from fxmanifest.lua. If another resource replaces it, check that it declares a matching provide.

Reported
-- fxmanifest.lua
dependency 'mysql-async' -- not installed
Fixed
-- fxmanifest.lua
dependency 'oxmysql'

-- or, in oxmysql's own manifest:
provide 'mysql-async'

Not a problem in your case?

Add -- molfar-audit-ignore MAN001 on the reported line (or the line above it), or ignore it in config.json: "ignore": [{ "rule": "MAN001", "resource": "your_resource" }].