Documentation navigation

Configuration

Use config/config.lua for the command/key, staff group, per-action levels, ban durations, rate limits, webhooks, database prefix, noclip and labels. Change the table prefix only before the first start.

In bridge/server.lua, verify GetIdentifier, GetSource, GetName, GetStaffLevel, permissions, money, inventory, vehicles, bans, notify and kick against your framework. In bridge/client.lua, adapt weather, time, model, tuning, repair and area cleanup only when your base uses custom events. Outside vRP the bridges are not enough: in fxmanifest.lua, remove "vrp" from dependencies and replace @vrp/config/Item.lua, @vrp/config/Vehicle.lua and @vrp/lib/Utils.lua with your framework equivalents, or the resource will not start.

Levels are hierarchical: 1 is the highest. Webhooks resolve from action/category to category default, then global action and global default; false disables a log. retencaoLogsDias in Config.Database sets log retention (0 keeps them forever).

config/config.lua is also downloaded by every player, and anyone holding a webhook URL can post to your channel. Put the URLs in server.cfg with set sf_admin_webhook "URL" (or set sf_admin_webhook_<category> "URL") and leave Config.Webhooks as "". Use set: setr and sets publish the value to players. /sfdiagnostico warns when it finds a URL in config.lua.