Skip to Content
Gui. InterfaceConfiguration

Configuration

Everything is in config.lua.

KeyWhat it does
Config.Idioma"pt", "en" or "es". Texts in locales/.
Config.Framework"auto" detects. To force: "vrp", "esx", "qbcore", "qbox", "standalone".
Config.pecasTurns each part on and off: notificacao, itens, progresso, habilidade.
Config.posicao.notificacao"direita-topo" (top right), "esquerda-topo" (top left), "direita-baixo" (bottom right), "esquerda-baixo" (bottom left).
Config.posicao.margemVertical / margemLadoDistance from the edge, in rem (1 rem = 16 px at 1080p).
Config.posicao.itens"baixo" (bottom) or "topo" (top).
Config.posicao.progresso"baixo", "centro" (center) or "topo".
Config.notificacaotempoPadrao (ms), maximo on screen, som.
Config.tiposColor and icon per type. Icons: ok, x, alerta, info, item, estrela.
Config.tipoPadraoType used when an unknown type arrives.
Config.apelidosOther type names mapped to ours (success, error, primary…).
Config.itensimagem ("auto" or a path with %s), tempo, maximo, som, automatico.
Config.progressosom, teclaCancelar (73 = X).
Config.habilidadeSkill check keys, sound and difficulties.
Config.pontesAnswer for other resources. See Bridges.
Config.comandoTesteTest command name (nil = no command).

Notification types

sucesso (success), negado (denied), aviso (warning), informacao (info), importante (important), usar (use).

Also accepts success, error, warning, info, inform, primary and the others in Config.apelidos.

config.lua
Config.tipos = { sucesso = { cor = "#9BE3B5", icone = "ok" }, negado = { cor = "#FF6B7A", icone = "x" }, -- ... }

To fix a type’s title regardless of language:

config.lua
Config.tipos.sucesso.titulo = "Done"

Skill check

config.lua
Config.habilidade = { teclas = { "E" }, -- one is picked per round. Allowed: E, Q, R, G, H, X, Z som = true, texto = nil, -- nil = language text. "" = no text. -- dificuldades = { ... } }