Configuration
Configuration
Die Konfiguration erfolgt an zwei Orten:
- Dem Settings-Bildschirm im Spiel — die meisten täglichen Optionen, gespeichert in
data/settings.json. config.lua— die Standardwerte, das Sit-Engine-Tuning und das Benachrichtigungssystem.
Der In-Game-Settings-Bildschirm überschreibt die entsprechenden Standardwerte in der config.lua. Das Benachrichtigungssystem ist die Ausnahme — es befindet sich ausschließlich in der config.lua und wird niemals über das UI geändert.
In-game Settings fields
Alles Folgende wird über das UI eingegeben und gespeichert. Die angezeigten Standardwerte sind die in data/settings.json ausgelieferten Werte.
| Field | Key | Default | Notes |
|---|---|---|---|
| Access | adminOnly |
false (Everyone) |
true = only ACE-allowed admins may open/edit |
| Open command | command |
chaircreator |
Opens the creator (/chaircreator) |
| Keybind | keybind |
F7 |
Binds after a resource restart; empty for none |
| Notify system | notify |
qb |
ox_lib | qb | custom — config.lua only, shown for reference |
| Default interaction | defaults.interaction |
ox_target |
New sits start with this interaction |
| Default prompt | defaults.prompt |
Otur |
TextUI / marker label |
| Default prompt key | defaults.promptKey |
E |
TextUI / marker key |
| Default anim mode | defaults.animMode |
library |
library | player | custom |
| Default scope | defaults.scope |
coord |
coord (this spot) | model (every prop) |
| Discord webhook | webhook |
(empty) | Optional; logs create/update/delete/settings events |
Behaviour toggles (defaults for new sits)
| Toggle | Key | Default | Effect |
|---|---|---|---|
| Block when occupied | behaviour.occupiedBlocking |
true |
A taken seat can't be used by someone else |
| Teleport out on exit | behaviour.exitTeleport |
false |
Move the ped clear when they get up |
| Freeze while seated | behaviour.freezeWhileSat |
false |
Lock the ped in place while sat |
Der Editor verfügt außerdem über ein Discord webhook-Feld unter Systems. Wenn dieses gesetzt ist, sendet der Server bei jedem Erstellen, Aktualisieren oder Löschen von Sitzplätzen sowie bei Einstellungsänderungen ein Embed dorthin. Die URL wird ausschließlich serverseitig gespeichert und niemals an Clients zurückgesendet.
Key config.lua options
| Option | Default | Purpose |
|---|---|---|
Config.Locale |
'en' |
Interface / notification language |
Config.Target |
'ox_target' |
Third-eye: 'ox_target' | 'qb-target' | 'qtarget' | false |
Config.MaxInteractionDist |
2.0 |
Max third-eye / interaction distance |
Config.MaxPromptDist |
1.8 |
How close before a prompt shows |
Config.MaxTilt |
20.0 |
Max prop tilt before it's unsittable |
Config.UsePrompts |
false |
Key-prompt system (uses extra resources) |
Config.ShowHelpText |
true |
Show "get up" help text while seated |
Config.AddChatSuggestions |
true |
Register chat suggestions |
Config.DefaultKeybinds |
see file | Get-up / sit-down default keys |
Config.Creator.Notify |
'ox_lib' |
Notify system: ox_lib | qb | custom |
Config.Creator.SeatCamera |
enabled | Scripted orbit camera while seated |
Config.SitTypes und Config.LayTypes sind die Posen-Definitionen der Sit-Engine — ändere diese nur, wenn du weißt, was du tust.