How do I use the DarkRP Config Validator?
The Config Validator is a tool on the Configuration page of GMod servers running DarkRP. It reads your jobs.lua, entities.lua, and settings.lua files and checks for common syntax errors, missing required fields, and known misconfiguration patterns, before they cause a server crash.
To run it, open the GMod Tools section in the panel sidebar and click "Validate config". The validator runs in the background and returns a list of errors and warnings. Errors are things that will prevent DarkRP from loading correctly. Warnings are things that will load but may cause unexpected behaviour.
Each result includes the file, the line number, and a description of the problem. Click the file link to open it directly in the File Manager. Fix the issue, save, and re-run the validator before restarting the server.
Common errors the validator catches: job entries missing the required color, model, or weapons field; entities with a price of 0 (valid but usually unintentional); GM.Config.startingmoney set lower than the cheapest entity price (the new-player economy trap); and duplicate job command strings.
Running the validator before every restart after config changes saves time compared to diagnosing the same errors from the Console log.
Want to try this on a real server?
Everything described here is available on the trial too, on the same hardware and the same panel as the paid plans. Try it free for 24-hour, no credit card required.
Didn't fix it? Ask in Discord.
Ask in our Discord - we help with hosting questions whether or not you host with us.