DarkRP is tuned with GM.Config.<setting> = value lines in the darkrpmodification addon folder. This tool outputs that file from a form; each default comes from config.lua in the FPtje/DarkRP repository.
How to use the tool
Install DarkRP and the darkrpmodification addon folder on your server.
Edit the Economy, Player, Law, Chat and Limits groups; only the values you want matter.
Download settings.lua and put it in garrysmod/addons/darkrpmodification/lua/darkrp_config/.
Restart the server (or change map) and check the console: no Lua error should appear.
What the tool covers
Only a subset of GM.Config settings is offered (the most used). Tables (default weapons, laws, jobs, entities) are not handled here: they are defined in the other files of the darkrp_customthings folder. See config.lua of your DarkRP version for the full list.
Frequently asked questions
- Where do I put settings.lua?
- In garrysmod/addons/darkrpmodification/lua/darkrp_config/settings.lua. Do not edit the gamemode's own files: they would be overwritten on each update.
- Why does my server show a Lua error after editing?
- Setting names depend on your DarkRP version: a setting missing in your version is simply ignored, but a syntax mistake raises an error. Paste the file into the “Lua linter” tool to check its structure.
