Convars
Most settings are edited in game with /nay. A few options live in server.cfg because they are needed before the database is read, or because they concern the server itself.
cfg
setr nay:framework "auto"
setr nay:inventory "auto"
setr nay:target "auto"
setr nay:notify "auto"
setr nay:locale "en"
set nay:logLevel "info"
set nay:versionCheck "true"
set nay:apiTrustedProxies ""
setr nay:debugZones "false"Use setr where the table says so: the client reads those values too.
| Convar | Set with | Default | Description |
|---|---|---|---|
nay:framework | setr | auto | Forces the framework adapter: esx, qbcore, qbox, ox, custom. See Bridge. |
nay:inventory | setr | auto | Forces the inventory adapter: ox_inventory, qs-inventory, qb-inventory, framework. |
nay:target | setr | auto | Forces the target adapter: ox_target, qb-target, none. |
nay:notify | setr | auto | Forces the notifications: ox_lib, nayretis, framework, native. |
nay:locale | setr | en | Language used until it is changed in /nay: en, fr, es, pt, pl, de. |
nay:logLevel | set | info | Console log level: debug, info, warn, error. |
nay:versionCheck | set | true | Reads the public version file at start and prints available updates. false turns it off. |
nay:versionUrl | set | Nayretis version file | Advanced: another version file URL. Leave it unset. |
nay:apiTrustedProxies | set | empty | Reverse proxies whose X-Forwarded-For is trusted, as comma separated addresses or CIDR ranges. See HTTPS. |
nay:debugZones | setr | false | true draws every zone outline in game. For setup only. |