Configuration
Configuration
Configuration lives in two places:
- The in-game Settings screen — most day-to-day options, saved to
data/settings.json. config.lua— the defaults, the sit-engine tuning, and the notify system.
ℹ
The in-game Settings screen overrides the matching config.lua defaults. The notify system is the exception — it lives in config.lua only and is never changed from the UI.
In-game Settings fields
Everything below is entered and saved from the UI. Defaults shown are the shipped data/settings.json values.
| Field | Key | Default | Notes |
|---|---|---|---|
| Access | adminOnly |
false (الجميع) |
true = فقط المشرفين الحاصلين على صلاحيات ACE يمكنهم الفتح/التعديل |
| Open command | command |
chaircreator |
يفتح أداة الإنشاء (/chaircreator) |
| Keybind | keybind |
F7 |
يتم ربطه بعد إعادة تشغيل المورد؛ فارغ لعدم التعيين |
| Notify system | notify |
qb |
ox_lib | qb | custom — config.lua فقط، معروض للمرجعية |
| Default interaction | defaults.interaction |
ox_target |
الجلسات الجديدة تبدأ بهذه الطريقة للتفاعل |
| Default prompt | defaults.prompt |
Otur |
نص واجهة المستخدم / تسمية المؤشر |
| Default prompt key | defaults.promptKey |
E |
مفتاح واجهة المستخدم / المؤشر |
| Default anim mode | defaults.animMode |
library |
library | player | custom |
| Default scope | defaults.scope |
coord |
coord (هذا المكان) | model (كل مجسم / prop) |
| Discord webhook | webhook |
(فارغ) | اختياري؛ يسجل أحداث الإنشاء/التحديث/الحذف/الإعدادات |
Behaviour toggles (defaults for new sits)
| Toggle | Key | Default | Effect |
|---|---|---|---|
| Block when occupied | behaviour.occupiedBlocking |
true |
المقعد المشغول لا يمكن استخدامه من قبل شخص آخر |
| Teleport out on exit | behaviour.exitTeleport |
false |
نقل الشخص بعيداً قليلاً عند النهوض |
| Freeze while seated | behaviour.freezeWhileSat |
false |
تثبيت الشخص في مكانه أثناء الجلوس |
✓
يحتوي المحرر أيضاً على حقل Discord webhook تحت قسم Systems. عند تعيينه، يقوم السيرفر بإرسال رسالة مضمنة (Embed) إليه مع كل عملية إنشاء / تحديث / حذف لجلسة جلوس، وعند تغيير الإعدادات. يتم تخزين الرابط (URL) في جهة السيرفر فقط ولا يتم إرساله أبداً إلى العملاء (Clients).
Key config.lua options
| Option | Default | Purpose |
|---|---|---|
Config.Locale |
'en' |
لغة واجهة المستخدم / الإشعارات |
Config.Target |
'ox_target' |
العين الثالثة: 'ox_target' | 'qb-target' | 'qtarget' | false |
Config.MaxInteractionDist |
2.0 |
أقصى مسافة للعين الثالثة / للتفاعل |
Config.MaxPromptDist |
1.8 |
مدى القرب المطلوب لظهور التوجيه |
Config.MaxTilt |
20.0 |
أقصى ميل للمجسم قبل أن يصبح غير قابل للجلوس |
Config.UsePrompts |
false |
نظام التوجيه بالمفاتيح (يستهلك موارد إضافية) |
Config.ShowHelpText |
true |
إظهار نص المساعدة "النهوض" أثناء الجلوس |
Config.AddChatSuggestions |
true |
تسجيل اقتراحات الشات |
Config.DefaultKeybinds |
انظر الملف | المفاتيح الافتراضية للجلوس / النهوض |
Config.Creator.Notify |
'ox_lib' |
نظام الإشعارات: ox_lib | qb | custom |
Config.Creator.SeatCamera |
مفعل | كاميرا دوران برمجية أثناء الجلوس |
⚠
Config.SitTypes و Config.LayTypes هما تعريفا أوضاع محرك الجلوس — لا تقم بتعديلهما إلا إذا كنت على دراية بما تفعله.