HUD, menus, notifications and other on-screen systems.
هذا المجلد فيه 27 سكربت. اختر سكربت من التبويبات تحت.
مدفوع (السيرفر فقط) jrs-Radio
الراديو في jrs core مع أبراج حقيقية دائمة ووظايف صيانة
| الريسورس | jrs-Radio |
| المجلد | [INTERFACE] |
| الإصدار | 3.25.3-jrs-radio-optional-strawberry |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql, pma-voice |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 6,161 Lua lines |
الأوامر
/radiotowerstatus
الـ Exports
GetRadioSignal, HasRadioSignal
جداول قاعدة البيانات
jrs_radio_towers
config/config.lua - 98 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
CoreResource |
"jrs_core" |
REDEMPIRE resources |
InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
RadioItem |
"radio" |
أغراض المخزون المستخدمة في radio item. الأسماء لازم تكون موجودة في جدول jrs_items. |
RequireRadioItem |
true |
يتطلب radio item: true = نعم، false = لا (الافتراضي true). |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
VoiceChat |
"pma" |
Voice system: "pma" or "saltychat" |
VoiceResource |
"pma-voice" |
إعداد لـ voice resource. |
Language |
"ar" |
لغة واجهة السكربت (en أو ar). |
CheckItemInterval |
2500 |
إعداد وقت لـ check item interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
MinFrequency |
0 |
الحد الأدنى أو المستوى المطلوب لـ min frequency. |
MaxFrequency |
999.99 |
الحد الأعلى لـ max frequency. |
SOSCooldown |
10000 |
إعداد وقت لـ sos cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
JoinCooldown |
750 |
إعداد وقت لـ join cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
AutoReconnect |
table |
Restore the player's previous radio channel after this resource restarts. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ DelayMs |
3500 |
إعداد وقت لـ delay ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ RetryDelayMs |
2500 |
إعداد وقت لـ retry delay ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ MaxAttempts |
2 |
الحد الأعلى لـ max attempts. |
TowerSystem |
table |
Radio tower / signal system. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ DefaultRadius |
1000.0 |
Default coverage settings. Each tower can override these values. |
↳ StrongSignalDistance |
400.0 |
المسافة بوحدات اللعبة لـ strong signal distance. |
↳ ClientCheckInterval |
400 |
How often the local client recalculates its signal. |
↳ SignalReportInterval |
1000 |
How often the server receives an authoritative position/signal refresh. |
↳ SignalReportCooldown |
500 |
إعداد وقت لـ signal report cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ BroadcastStep |
4 |
Only rebroadcast player-list signal changes when strength changes by this amount. |
↳ NoSignalDisableBit |
64 |
A dedicated pma-voice disable bit used while outside all tower coverage. Existing pma-voice bits currently occupy lower values, so 64 is reserved here. |
↳ NotifyOnSignalLost |
true |
مفتاح لـ notify on signal lost: true = شغّال، false = طافي (الافتراضي true). |
↳ NotifyOnSignalRestored |
true |
مفتاح لـ notify on signal restored: true = شغّال، false = طافي (الافتراضي true). |
↳ Interference |
table |
جدول عناصر interference. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
يمكنك تعديل الأبراج الحالية أو إضافة أبراج جديدة من عندك بكل سهولة!
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
RadioTowers |
table |
radius : [float] أقصى مدى لتغطية الإشارة بالأمتار (Coverage radius) strongDistance : [float] مدى الإشارة القوية والممتازة (Strong signal radius) enabled : [boolean] true لتفعيل البرج، false لتعطيله |
TowerBlip |
table |
Map blip settings for radio towers. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Sprite |
-1018697504 |
-1018697504 (blip_bolt) = Lightning bolt / electric power transmission (recommended) 877823184 (blip_rc_crackpot) = Marko Dragic Tesla laboratory tower -1962480616 (blip_rc_lightning) = Stranger lightning bolt |
↳ Scale |
0.75 |
نسبة أو مضاعف لـ scale. |
↳ Color |
"BLIP_MODIFIER_MP_COLOR_21" |
Bright Cyan / Electric Blue |
↳ DisabledColor |
"BLIP_MODIFIER_MP_COLOR_2" |
Red |
↳ Display |
2 |
Always show on radar and map |
CustomTower |
table |
Dynamic beacon used by the streamed custom towers. |
↳ Enabled |
true |
فعّل true لإظهار برج الستريم في فلنتاين فقط، ثم أعد تشغيل jrs-Radio. false keeps the existing native poles and all maintenance missions. |
↳ SpawnAllOnSync |
false |
false = each tower prop is created only when a player is within SpawnDistance. Spawning all 10 towers across the whole map at login (true) stalled client model streaming (every RequestModel timed out). |
↳ ModelLoadTimeoutMs |
10000 |
إعداد وقت لـ model load timeout ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ SpawnDistance |
550.0 |
Used only when SpawnAllOnSync is false. |
↳ DespawnDistance |
700.0 |
المسافة بوحدات اللعبة لـ despawn distance. |
↳ Lamp |
table |
جدول عناصر lamp. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Variants |
table |
جدول عناصر variants. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
TowerManagement |
table |
Persistent physical tower management. |
↳ NativePoles |
table |
position is saved (anchor_* columns), so the prompt, signal and repair all sit on that pole. The prompt only shows when that pole is really there. Moving a tower's coords in this file re-resolves it on restart. |
↳ Placement |
table |
جدول عناصر placement. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Interaction |
table |
جدول عناصر interaction. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Admin |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin. |
↳ Repair |
table |
جدول عناصر repair. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Mission |
table |
Field repair mission dispatched to technicians (RDO Stranger / Bounty scale) |
↳ Store |
table |
Supply prompt (G) next to "Tower Control" at every tower pole. Sells the kit Repair.RequiredItems consumes. Paid in cash through jrs_core. |
↳ Maintenance |
table |
جدول عناصر maintenance. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Radio Tower Sabotage Configuration / إعدادات تخريب أبراج الراديو
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
TowerSabotage |
table |
جدول عناصر tower sabotage. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ AllowEveryone |
true |
Who can sabotage: true allows all players (outlaws, civilians), false restricts to AllowedJobs |
↳ AllowedJobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ allowed jobs. |
↳ BlockedJobs |
table |
Disallow law enforcement and certified technicians from sabotaging towers |
↳ RequiredItem |
nil |
e.g. "lockpick" or nil |
↳ CooldownSeconds |
180 |
Cooldown in seconds before the same tower can be sabotaged again |
↳ FineAmount |
35.0 |
Financial fine automatically deducted/issued against the vandal |
↳ BountyReward |
25.0 |
Bounty registered in police wanted board |
↳ BlipDurationSeconds |
120 |
Duration in seconds that the live tracking blip stays active on the vandal (visible ONLY to Sheriff & Mayor) |
↳ AllowLawEmergencyRepair |
false |
Allow town sheriff, deputies and mayor to perform emergency repairs on sabotaged towers |
↳ Control |
0x8AAA0AE4 |
Prompt control: [X] = 0x8AAA0AE4 (INPUT_INTERACTION_SECONDARY) |
↳ PromptLabel |
"Sabotage Tower" |
نص يظهر للاعب لـ prompt label. غيّره للترجمة أو لتغيير الاسم. |
↳ Minigame |
table |
Minigame settings for sabotage |
TowerTownLaw |
table |
Mapping of Radio Towers to their governing Town Law and Government City |
↳ valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ saint_denis |
table |
جدول عناصر saint denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ armadillo |
table |
جدول عناصر armadillo. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ tumbleweed |
table |
جدول عناصر tumbleweed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ van_horn |
table |
جدول عناصر van horn. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ emerald_ranch |
table |
جدول عناصر emerald ranch. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Locale |
table |
لغة واجهة السكربت (en أو ar). |
↳ en |
table |
جدول عناصر en. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ar |
table |
جدول عناصر ar. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ProtectedFrequenciesEnabled |
true |
Job names are compared without case sensitivity. Enable this only when you want specific frequencies restricted by job. When false, every valid frequency is open to every job. |
Whitelisted |
table |
جدول عناصر whitelisted. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 2 |
table |
جدول عناصر 2. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 3 |
table |
جدول عناصر 3. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 4 |
table |
جدول عناصر 4. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 5 |
table |
جدول عناصر 5. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 6 |
table |
جدول عناصر 6. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 7 |
table |
جدول عناصر 7. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 8 |
table |
جدول عناصر 8. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 9 |
table |
جدول عناصر 9. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 10 |
table |
جدول عناصر 10. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 11 |
table |
جدول عناصر 11. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
SOS |
table |
جدول عناصر sos. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
مدفوع (السيرفر فقط) jrs_alert
| الريسورس | jrs_alert |
| المجلد | [INTERFACE] |
| الإصدار | 1.0.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | لا |
| اللغات | ar, en |
| حجم الكود | 339 سطر Lua |
config/config.lua - 15 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
cooldown |
120 |
2m -- times |
jrs_Notify |
true |
مفتاح لـ jrs notify: true = شغّال، false = طافي (الافتراضي true). |
Image |
"police" |
إعداد لـ image. |
Image_2 |
"doctor" |
إعداد لـ image 2. |
lang |
table |
لغة واجهة السكربت (en أو ar). |
↳ 1 |
"police_help_needed" |
إعداد لـ 1. |
↳ 2 |
"doctor_way" |
إعداد لـ 2. |
↳ 3 |
"no_doctors" |
إعداد لـ 3. |
alerts |
table |
جدول عناصر alerts. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ police |
table |
اسم الوظيفة |
↳ medic |
table |
جدول عناصر medic. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ doctor |
table |
جدول عناصر doctor. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
medicresponse |
"resp" |
إعداد لـ medicresponse. |
cancelblipcommand |
"calert" |
removes alert |
alertcooldown |
10 |
ثواني |
مدفوع (السيرفر فقط) jrs_announce
إعلانات JRS - جرائد لكل قبيلة لـ jrs_core / jrs_inventory
| الريسورس | jrs_announce |
| المجلد | [INTERFACE] |
| الإصدار | 2.7.0 |
| المطوّر | jrs |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 1,570 Lua lines |
الأوامر
/givenewspaper
جداول قاعدة البيانات
jrs_newspaper_publications, jrs_newspapers
config.lua - 18 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
CoreResource |
"jrs_core" |
إعداد لـ core resource. |
InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
ItemName |
"newspaper" |
أغراض المخزون المستخدمة في item name. الأسماء لازم تكون موجودة في جدول jrs_items. |
AdminCommand |
"newspaperadmin" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin command. |
AdminGroups |
table |
Admin groups are read directly from jrs_core User.group. |
↳ owner |
true |
مفتاح لـ owner: true = شغّال، false = طافي (الافتراضي true). |
↳ admin |
true |
مفتاح لـ admin: true = شغّال، false = طافي (الافتراضي true). |
↳ support |
true |
مفتاح لـ support: true = شغّال، false = طافي (الافتراضي true). |
MessageMaxLength |
700 |
الحد الأعلى لـ message max length. |
NameMaxLength |
80 |
الحد الأعلى لـ name max length. |
UrlMaxLength |
2048 |
الحد الأعلى لـ url max length. |
PublishCooldownSeconds |
60 |
إعداد وقت لـ publish cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
AnnouncementDurationMs |
10000 |
إعداد وقت لـ announcement duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
NotificationDurationMs |
4500 |
إعداد وقت لـ notification duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
GpsCommand |
"newsgps" |
Players type /newsgps to set a waypoint to the last announcement that shared its location (only newspapers whose design allows location sharing). |
GpsWindowSeconds |
300 |
رقم لـ gps window seconds (الافتراضي 300). |
ImageHosts |
table |
Hosts a writer may attach a picture from (https only). Every player loads the picture, so an open list would let anyone log the IP of the whole server. Subdomains are allowed automatically. Empty table = any https host. |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
ملاحظات من ملف README#
# jrs_announce v2.0.0
Complete replacement for the old `jrs_announceV2` resource.
## What changed
- No VORP dependency.
- Uses `jrs_core`, `jrs_inventory`, and `oxmysql` only.
- One inventory item only: `newspaper`.
- Every item instance stores only `{ newspaper_id = <id> }` in JRS inventory metadata.
- Newspaper name, tribe name, logo and background are stored centrally in `jrs_newspapers`.
- Editing a newspaper updates every existing item immediately because items resolve the current database record when used.
- Deleting a newspaper invalidates every existing item linked to that ID.
- Server validates the exact `itemId` and `newspaper_id` before publishing.
- Admin UI supports create, edit, enable/disable, delete, refresh, and issuing another copy.
- Publications are saved in `jrs_newspaper_publications`.
## Installation
1. Import `install/jrs_announce.sql`.
2. Copy `install/item_images/newspaper.png` into the item-image directory used by your `jrs_inventory` UI if your inventory expects item images there.
3. Put the resource folder in your resources directory as `jrs_announce`.
4. Start in this order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_announce
'''
5. In game, admins use:
'''text
/newspaperadmin
'''
Admin permission is read directly from `jrs_core` (`User.group`). No ACE permission or direct users-table lookup is used. Allowed JRS groups are configured in `
'''lua
Config.AdminGroups = {
owner = true,
admin = true,
support = true,
}
'''
## Important item behavior
The `newspaper` definition's `items.metadata` column is a `varchar(1)` on this server - too narrow to ever hold real JSON, so `jrs_inventory`'s default-metadata
## Editing behavior
Editing does **not** create a new inventory item. An existing copy only keeps its stable `newspaper_id`, so a changed name/logo/background is read live from the
## v2.0.2
- Newspaper use now captures the exact `itemId` directly from the JRS inventory `jrs:use` event.
- No longer depends only on `jrsCore:getLastUsedId`, preventing false `missing valid data` errors when the inventory definition cache has not refreshed.
## v2.0.3 inventory compatibility
This build targets the current JRS Inventory API. The usable-item callback receives the exact `itemId` and `metaData` from `jrs_inventory`, so `jrs_announce` noمدفوع (السيرفر فقط) jrs_backpack
شنط فريدة تلبسها مع تخزين دائم في JRS Inventory
| الريسورس | jrs_backpack |
| المجلد | [INTERFACE] |
| الإصدار | 1.2.2 |
| المطوّر | JRS |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | لا |
| حجم الكود | 1,037 Lua lines |
config.lua - 40 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Backpacks |
table |
Each backpack has its own inventory item, storage capacity and wearable object. The existing "backpack" item remains the large backpack for compatibility. |
↳ small |
table |
جدول عناصر small. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ medium |
table |
جدول عناصر medium. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ large |
table |
جدول عناصر large. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
AutoInstallItems |
true |
يتعامل تلقائياً مع install items: true = نعم، false = لا (الافتراضي true). |
StoragePrefix |
"jrs_backpack_" |
إعداد لـ storage prefix. |
Ground |
table |
Ground placement and animation while a backpack storage is open. |
↳ forwardOffset |
0.90 |
رقم لـ forward offset (الافتراضي 0.90). |
↳ groundOffset |
0.0 |
رقم لـ ground offset (الافتراضي 0.0). |
↳ headingOffset |
180.0 |
رقم لـ heading offset (الافتراضي 180.0). |
↳ rotation |
vector3(0.0, 0.0, 0.0) |
إعداد لـ rotation. |
↳ scenario |
"WORLD_HUMAN_CROUCH_INSPECT" |
إعدادات الأنيميشن لـ scenario. |
↳ openDelayMs |
350 |
إعداد وقت لـ open delay ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
ToggleCommand |
"bag" |
/bag toggles only the visible object. Using an inventory item opens its storage. |
ToggleKey |
"" |
Example: 'B'. Leave empty to avoid a key conflict. |
ToggleKeyDescription |
"Show or hide backpack" |
الزر أو التحكم المستخدم لـ toggle key description. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
ModelLoadTimeoutMs |
10000 |
إعداد وقت لـ model load timeout ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
VisualRefreshMs |
1000 |
رقم لـ visual refresh ms (الافتراضي 1000). |
ServerValidationMs |
3000 |
رقم لـ server validation ms (الافتراضي 3000). |
RequestCooldownMs |
600 |
إعداد وقت لـ request cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
NotifyTitle |
"Backpack" |
نص يظهر للاعب لـ notify title. غيّره للترجمة أو لتغيير الاسم. |
Admin |
table |
Admin: allows staff to inspect any player's backpack storage. |
↳ AcePermission |
"command" |
ACE permission required (e.g. 'command', 'group.admin', 'admin') |
↳ Command |
"viewbag" |
/viewbag <server_id> |
Messages |
table |
نص يظهر للاعب لـ messages. غيّره للترجمة أو لتغيير الاسم. |
↳ equipped |
'The backpack is now visible... |
إعداد لـ equipped. |
↳ placed |
"The backpack is on the ground." |
إعداد لـ placed. |
↳ returned |
'The backpack is back on you... |
إعداد لـ returned. |
↳ shown |
"Backpack shown." |
إعداد لـ shown. |
↳ hidden |
"Backpack hidden." |
إعداد لـ hidden. |
↳ closeStorageFirst |
'Close the backpack storage ... |
إعداد لـ close storage first. |
↳ useFirst |
"Use a backpack item first." |
إعداد لـ use first. |
↳ noLongerOwned |
'You no longer have this bac... |
إعداد لـ no longer owned. |
↳ notYourBag |
'You cannot use the storage ... |
إعداد لـ not your bag. |
↳ storageFailed |
'The backpack storage could ... |
إعداد لـ storage failed. |
↳ nestedBag |
'You cannot place a backpack... |
إعداد لـ nested bag. |
↳ adminNoPlayer |
"Usage: /%s <server_id>" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin no player. |
↳ adminNotFound |
'That player has no equipped... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin not found. |
↳ adminOpened |
"Opened backpack for player %s." |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin opened. |
ملاحظات من ملف README#
# jrs_backpack
Three wearable backpacks built specifically for REDEMPIRE Core (`jrs_core` and `jrs_inventory`).
## Backpack types
| Item name | Label | Object | Capacity |
| --- | --- | --- | ---: |
| `backpack_small` | Small Backpack | `p_ambpack02x` | 15 kg |
| `backpack_medium` | Medium Backpack | `p_ambpack01x` | 25 kg |
| `backpack` | Large Backpack | `p_ambpack04x` | 40 kg |
The original `backpack` item is retained as the large backpack, so existing player items continue to work.
## Features
- Every physical backpack item has its own persistent storage.
- Storage capacity is selected from the backpack type.
- Storage follows the same item when it is given, dropped or picked up.
- Using a backpack places its matching object in front of the player and starts a crouched inspection animation.
- Closing the backpack storage removes the ground object and returns the backpack to the player's back.
- Equipping another backpack replaces the visible object immediately.
- `/bag` shows or hides the equipped backpack object.
- Backpack objects are synchronized for nearby players.
- No backpack type can be placed inside another backpack.
- The object is removed when the player no longer owns its item.
## Starting the resource
The resource is inside `[JRS_newscript]`, so an existing server configuration line such as:
'''cfg
ensure [JRS_newscript]
'''
starts it automatically. After updating the resource, run:
'''text
restart jrs_backpack
'''
Item definitions are installed and reloaded automatically. If the inventory does not show the two new items immediately, restart it once:
'''text
restart jrs_inventory
restart jrs_backpack
'''
## Configuration
Edit `Config.Backpacks` in `config.lua` to change:
- Item names, labels and descriptions.
- Backpack item weights.
- Storage capacities.
- Object models.
- Bone, position and rotation values for each wearable object.
- Ground placement distance, rotation and inspection animation in `Config.Ground`.
The default attachment values are individually tuned for the three included RedM objects.مجاني (موجود مع JRS Core) jrs_bathing
حمّام عام وغسيل في الحوض بشكل مستقل مع ربط بنظام الأكل والشرب
| الريسورس | jrs_bathing |
| المجلد | [INTERFACE] |
| الإصدار | 1.5.8 |
| المطوّر | jrs team |
| يعتمد على | jrs_character, jrs_core, jrs_metabolism |
| الواجهة | لا |
| اللغات | bathi |
| حجم الكود | 2,485 Lua lines |
الأوامر
/exitbath/safebathexit
الـ Exports
GetClosestConsumer, IsBusy
config/bathing_client.cfg.lua - 18 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
EnableBlips |
true |
يشغّل أو يطفّي blips (الافتراضي true). |
BlipName |
"Bath House" |
إعدادات علامة الخريطة أو الأيقونة لـ blip name. |
UndressCommand |
"undress" |
إعداد لـ undress command. |
DressCommand |
"rc" |
إعداد لـ dress command. |
BathExitAnimPhase |
0.35 |
Exit (S): outro plays until this scene phase (0-1, player out of the tub), then the exit finishes like the D exit (placed outside the door, dressed). |
BathingZones |
table |
جدول عناصر bathing zones. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ SaintDenis |
table |
جدول عناصر saint denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Vanhorn |
table |
جدول عناصر vanhorn. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Tumbleweed |
table |
جدول عناصر tumbleweed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
BathingModes |
table |
جدول عناصر bathing modes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
2026-09-12 correction: that claim was wrong for Q specifically - Q isn't in
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
PromptDefs |
nil |
with 0xDE794E3E, Q's entry in jrs_utils/shared/keys.lua's canonical keyboard table - the same table whose E/G/X/R/D/S/W values already match what this file uses successfully for every other prompt here. |
Prompts |
table |
جدول عناصر prompts. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
CreatedEntries |
table |
جدول عناصر created entries. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مدفوع (السيرفر فقط) jrs_camera
كاميرا JRS Pro - كاميرا يدوية وثابتة/على حامل وكاميرا استوديو Rockstar متزامنة لـ RedM.
| الريسورس | jrs_camera |
| المجلد | [INTERFACE] |
| الإصدار | 2.3.1 |
| المطوّر | JRS Team |
| يعتمد على | jrs_core |
| الواجهة | لا |
| اللغات | ar, en |
| حجم الكود | 2,615 Lua lines |
الأوامر
/cameradebug/cameradiag
الـ Exports
IsCameraActive, IsCameraMode, OpenAlbum, OpenFixedCameraPlacement, OpenGallery, StartCamera, StopCamera, UseFixedCamera
config/config.lua - 116 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Lang |
"ar" |
'en' for English. Matches locales/<lang>.lua. |
Debug |
table |
Diagnostic logging, off by default. Flip Enabled to true to re-trace with /cameradiag and /cameradebug. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ WeaponTraceIntervalMs |
3000 |
إعداد وقت لـ weapon trace interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
KeyCam |
0xF84FA74F |
INPUT_AIM / MOUSE RIGHT CLICK (reliable camera activation) |
KeyCamFallbacks |
table |
INPUT_INSPECT_ZOOM fallback |
KeyPickUpCam |
0xB28318C0 |
MOUSE LEFT CLICK / INPUT_ATTACK |
KeyMoreZoom |
0x911CB09E |
UP ARROW (INPUT_SNIPER_ZOOM_IN_ONLY) |
KeyLessZoom |
0x4403F97F |
DOWN ARROW (INPUT_SNIPER_ZOOM_OUT_ONLY) |
KeyNextFilter |
0x65F9EC5B |
RIGHT ARROW (INPUT_VEH_FLY_ROLL_RIGHT_ONLY) |
KeyOldFilter |
0x20190AB4 |
LEFT ARROW (INPUT_VEH_FLY_ROLL_LEFT_ONLY) |
KeyTakePhoto |
0x2CD5343E |
ENTER (INPUT_FRONTEND_ACCEPT) |
KeyExitCamera |
0x156F7119 |
BACKSPACE (INPUT_FRONTEND_CANCEL) |
ChangeBackground |
table |
S / W (INPUT_MOVE_DOWN_ONLY, INPUT_MOVE_UP_ONLY) |
ChangeBackgroundFallbacks |
table |
Fallback: Down Arrow / Up Arrow |
KeyStudioPose |
0xCEE12B50 |
E (INPUT_PICKUP) |
KeyStudioPoseFallback |
0x5415BE48 |
G (INPUT_INTERACT_LOCKON_DETACH) |
KeyPoseNext |
0xB4E465B4 |
D / Right (INPUT_MOVE_RIGHT_ONLY) |
KeyPosePrev |
0x7065027D |
A / Left (INPUT_MOVE_LEFT_ONLY) |
TakePhotoTime |
2000 |
HUD/prompt hide duration around capture |
ItemFixedCamera |
"fixedcamera" |
أغراض المخزون المستخدمة في item fixed camera. الأسماء لازم تكون موجودة في جدول jrs_items. |
CommandsHUD |
table |
جدول عناصر commands hud. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
SudioCameraJobs |
table |
Compatible with job checks |
StudioCameraJobs |
Config.SudioCameraJobs |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ studio camera jobs. |
CommandGalleryPhotos |
"gallery" |
Rockstar Photo Mode album commands |
CommandGalleryAliases |
table |
جدول عناصر command gallery aliases. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Zoom |
table |
جدول عناصر zoom. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Filters |
table |
جدول عناصر filters. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
General |
table |
جدول عناصر general. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ RefreshRate |
450 |
نسبة أو مضاعف لـ refresh rate. |
↳ FreezePlayer |
true |
مفتاح لـ freeze player: true = شغّال، false = طافي (الافتراضي true). |
↳ HideRadar |
true |
يخفي radar: true = نعم، false = لا (الافتراضي true). |
↳ HideHudDuringPhoto |
true |
يخفي hud during photo: true = نعم، false = لا (الافتراضي true). |
↳ LookSensitivityX |
4.5 |
رقم لـ look sensitivity x (الافتراضي 4.5). |
↳ LookSensitivityY |
4.5 |
رقم لـ look sensitivity y (الافتراضي 4.5). |
↳ MinPitch |
-70.0 |
الحد الأدنى أو المستوى المطلوب لـ min pitch. |
↳ MaxPitch |
70.0 |
الحد الأعلى لـ max pitch. |
↳ PhotoCooldown |
2000 |
إعداد وقت لـ photo cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ SessionRequestTimeout |
3500 |
إعداد وقت لـ session request timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CameraOffset |
vector3(0.0, 0.12, 1.58) |
إعداد لـ camera offset. |
↳ ViewfinderFX |
table |
Real RDR2 PostFX names for Viewfinder and Capture |
↳ StudioViewfinderFX |
table |
جدول عناصر studio viewfinder fx. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ PhotoFX |
"CameraTakePicture" |
إعداد لـ photo fx. |
↳ StudioPhotoFX |
"CameraTakePicture" |
إعداد لـ studio photo fx. |
↳ ShowInfoOverlay |
true |
On-screen HUD showing active filter name and zoom level |
↳ PhotoFlash |
table |
Vintage Screen Blur Flash with 3D Environmental Light & Smoke |
↳ OperateAnim |
table |
Photographer pose when operating fixed/studio camera |
Handheld |
table |
جدول عناصر handheld. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Cameras |
table |
جدول عناصر cameras. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
FixedCamera |
table |
جدول عناصر fixed camera. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Model |
"p_camera01x" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ UseItem |
true |
يشغّل أو يطفّي item (الافتراضي true). |
↳ RemoveItemOnPlace |
true |
Removes 1 item when placed, returns 1 item when picked up |
↳ EnableCommand |
true |
يشغّل أو يطفّي command (الافتراضي true). |
↳ CommandName |
"fixedcam" |
نص يظهر للاعب لـ command name. غيّره للترجمة أو لتغيير الاسم. |
↳ PlacementDistance |
1.10 |
المسافة بوحدات اللعبة لـ placement distance. |
↳ InteractionDistance |
2.25 |
المسافة بوحدات اللعبة لـ interaction distance. |
↳ MaxPlacementDistanceFromPlayer |
4.0 |
المسافة بوحدات اللعبة لـ max placement distance from player. |
↳ CameraHeightOffset |
1.38 |
رقم لـ camera height offset (الافتراضي 1.38). |
↳ CameraForwardOffset |
0.38 |
Forward at the camera lens |
↳ CameraHeadingOffset |
0.0 |
رقم لـ camera heading offset (الافتراضي 0.0). |
↳ MaxPanAngle |
35.0 |
Authentic tripod pan swivel limit (+/- degrees left/right) |
↳ MinPitch |
-20.0 |
Tripod tilt down limit |
↳ MaxPitch |
20.0 |
Tripod tilt up limit |
↳ LookSensitivityX |
2.0 |
Smooth tripod swivel sensitivity |
↳ LookSensitivityY |
2.0 |
Smooth tripod tilt sensitivity |
↳ AllowZoom |
true |
يسمح بـ zoom: true = نعم، false = لا (الافتراضي true). |
↳ AllowFilters |
true |
يسمح بـ filters: true = نعم، false = لا (الافتراضي true). |
↳ OwnerOnlyPickup |
true |
مفتاح لـ owner only pickup: true = شغّال، false = طافي (الافتراضي true). |
↳ RemoveOnPlayerDrop |
true |
مفتاح لـ remove on player drop: true = شغّال، false = طافي (الافتراضي true). |
↳ OnePerPlayer |
true |
مفتاح لـ one per player: true = شغّال، false = طافي (الافتراضي true). |
Studio |
table |
جدول عناصر studio. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ InteractionRadius |
6.0 |
المسافة بوحدات اللعبة لـ interaction radius. |
↳ ValidationRadius |
35.0 |
المسافة بوحدات اللعبة لـ validation radius. |
↳ BackdropSearchRadius |
35.0 |
المسافة بوحدات اللعبة لـ backdrop search radius. |
↳ CameraPropSearchRadius |
15.0 |
المسافة بوحدات اللعبة لـ camera prop search radius. |
↳ CameraModels |
table |
موديل أو كيان في اللعبة يُستخدم لـ camera models. |
↳ FlashModels |
table |
موديل أو كيان في اللعبة يُستخدم لـ flash models. |
↳ CameraHeightOffset |
1.38 |
رقم لـ camera height offset (الافتراضي 1.38). |
↳ CameraForwardOffset |
0.38 |
Forward at the studio camera lens |
↳ CameraHeadingOffset |
0.0 |
رقم لـ camera heading offset (الافتراضي 0.0). |
↳ MaxPanAngle |
35.0 |
Authentic studio camera swivel limit (+/- degrees left/right) |
↳ MinPitch |
-20.0 |
Studio camera tilt down limit |
↳ MaxPitch |
20.0 |
Studio camera tilt up limit |
↳ LookSensitivityX |
2.0 |
رقم لـ look sensitivity x (الافتراضي 2.0). |
↳ LookSensitivityY |
2.0 |
رقم لـ look sensitivity y (الافتراضي 2.0). |
↳ AllowZoom |
true |
يسمح بـ zoom: true = نعم، false = لا (الافتراضي true). |
↳ AllowFilters |
true |
يسمح بـ filters: true = نعم، false = لا (الافتراضي true). |
↳ SpawnMissingProps |
true |
Ensures studio camera & flash stand exist in the studio |
↳ ShowBlips |
true |
Studio map blips |
↳ BlipStyle |
joaat('BLIP_STYLE_SHOP') |
إعدادات علامة الخريطة أو الأيقونة لـ blip style. |
↳ BlipSprite |
1364029453 |
blip_photo_studio |
↳ BlipScale |
0.22 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
↳ PosingRadius |
4.0 |
Posing area radius for customers in front of backdrop |
↳ Locations |
table |
Built-in RDR2 photo studios with exact camera & backdrop coordinates & headings |
↳ BackdropModels |
table |
Backdrop models capable of the Canvas expression |
↳ BackgroundValues |
table |
Values sent to the Canvas expression, cyclically wrapped |
StudioPoses |
table |
Authentic Victorian / Wild West portrait poses for studio customers |
Server |
table |
جدول عناصر server. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ CoreResource |
"jrs_core" |
إعداد لـ core resource. |
↳ InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
↳ RequireCharacter |
true |
يتطلب character: true = نعم، false = لا (الافتراضي true). |
↳ RequireFixedCameraItem |
true |
يتطلب fixed camera item: true = نعم، false = لا (الافتراضي true). |
↳ StrictHandheldWeaponCheck |
false |
مفتاح لـ strict handheld weapon check: true = شغّال، false = طافي (الافتراضي false). |
↳ VerifyHandheldWeapon |
false |
مفتاح لـ verify handheld weapon: true = شغّال، false = طافي (الافتراضي false). |
↳ RequireStudioJob |
true |
If set to false, any player can use the studio camera |
↳ AllowAceStudio |
true |
يسمح بـ ace studio: true = نعم، false = لا (الافتراضي true). |
↳ StudioAce |
"jrs_camera.studio" |
إعداد لـ studio ace. |
↳ SessionTimeoutMs |
10 * 60 * 1000 |
إعداد وقت لـ session timeout ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ RequestCooldownMs |
750 |
إعداد وقت لـ request cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ BackgroundCooldownMs |
250 |
إعداد وقت لـ background cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ PhotoAuditCooldownMs |
1500 |
إعداد وقت لـ photo audit cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
ملاحظات من ملف README#
# JRS Camera Pro (v2.3.0)
Authentic 1890s RedM photography suite with server-authorized sessions, handheld cameras, synchronized tripod cameras, period photo studios, vintage shutter ani
---
## Key Features
1. **Authentic 1890s Magnesium Flash & Screen Blur**
- Implements full-screen optical lens defocus/depth blur via `OJDominoBlur` animpostfx.
- Smooth quadratic exposure bloom fade recreating physical photographic plate exposure.
- 3D environmental dynamic lighting (`DrawLightWithRange`) synchronized across all nearby players.
- Magnesium flash powder particle smoke effect (`exp_grd_flashbang` on `scr_net_photographer`).
- Authentic camera shutter audio cues.
2. **Vintage Shutter & Operating Animations**
- Authentic photographer stance: photographer positions behind the tripod camera holding the bulb shutter cable.
- Shutter action: triggers `script_rc@abi3@ig@stage_01@ig2_photopose` -> `idle_takepic_blwphotographer` upon capture.
- Grounded placement and pickup: uses crouching inspection animations (`WORLD_HUMAN_CROUCH_INSPECT`).
3. **Photo Studios (Blackwater & Saint Denis)**
- **Correct Real-World Headings**: Camera faces backdrop directly (Blackwater: Camera 268° -> Backdrop; Saint Denis: Camera 88° -> Backdrop).
- **Synchronized Backdrops**: 8 native Rockstar studio backdrop variations, switchable via `[W]` and `[S]` keys.
- **Customer Posing Mechanics**: When standing on the studio portrait marker, clients can press `[A]` and `[D]` to cycle through 8 period poses (Gentleman, T
4. **Fixed / Tripod Camera (`fixedcamera`)**
- Placed in the world using the `fixedcamera` inventory item (via `jrs_inventory` or `/fixedcam` command).
- Deducts item on placement and restores it when picked up by the owner.
- Solid collision and ground alignment using `p_camera01x`.
5. **Security & Synchronization**
- Server-side token validation and distance verification for all capture and studio operations.
- Clean network event architecture with zero memory leaks.
---
## Configuration (`config/config.lua`)
| Setting | Default | Description |
| :--- | :--- | :--- |
| `Config.Lang` | `'en'` | Interface language (`'en'` or `'ar'`) |
| `Config.KeyTakePhoto` | `0x07CE1E09` | Capture key (`[ENTER]`) |
| `Config.KeyLeaveCam` | `0x156F7119` | Exit camera key (`[BACKSPACE]`) |
| `Config.ChangeBackground` | `{ prev = 0xD27782E3, next = 0x8FD015D8 }` | Backdrop navigation (`[S]` and `[W]`) |
| `Config.General.PhotoFlash.EnableBlur` | `true` | Enables `OJDominoBlur` screen defocus effect |
| `Config.General.PhotoFlash.DurationMs` | `450` | Flash bloom and blur duration in milliseconds |
| `Config.FixedCamera.ItemName` | `'fixedcamera'` | Database inventory item for the tripod camera |
| `Config.FixedCamera.RemoveItemOnPlace` | `true` | Consume item on placement and restore on pickup |
| `Config.Server.RequireStudioJob` | `false` | Set to `true` to restrict studio cameras to specific jobs |
---
## Commands
- `/fixedcam` - Place a tripod camera at your feet (requires `fixedcamera` item in inventory).
- `/camgallery` - Open the Rockstar Social Club photo gallery.
- `/camdiag` - Print diagnostic information to the F8 console.
---
## Dependenciesمجاني (موجود مع JRS Core) jrs_chat
شات JRS - شات رول بلاي لـ RedM، قنوات رول بلاي وواجهة موسيقى شخصية/عامة لـ jrs_core
| الريسورس | jrs_chat |
| المجلد | [INTERFACE] |
| الإصدار | 2.3.2-pad-guard |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 2,810 Lua lines |
الأوامر
/-jrs_chat_open/sheriff/sherrif
الـ Exports
addMessage, addSuggestion, isChatOpen
جداول قاعدة البيانات
jrs_chat_mutes, jrs_chat_nicknames
config/config.lua - 188 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
OpenKey |
"T" |
Core chat |
OpenControlHash |
0x9720FCEE |
INPUT_MP_TEXT_CHAT_ALL (RedM default: T) |
EnableKeyMappingFallback |
true |
يشغّل أو يطفّي key mapping fallback (الافتراضي true). |
AutoSuggestions |
true |
يتعامل تلقائياً مع suggestions: true = نعم، false = لا (الافتراضي true). |
ShowChatWindowSeconds |
5 |
رقم لـ show chat window seconds (الافتراضي 5). |
DefaultChatEnabled |
true |
مفتاح لـ default chat enabled: true = شغّال، false = طافي (الافتراضي true). |
DefaultChatGlobal |
true |
مفتاح لـ default chat global: true = شغّال، false = طافي (الافتراضي true). |
DefaultChatDistance |
10.0 |
المسافة بوحدات اللعبة لـ default chat distance. |
MaxMessageLength |
300 |
الحد الأعلى لـ max message length. |
DateFormat |
"%H:%M" |
إعداد لـ date format. |
PrintToConsole |
true |
مفتاح لـ print to console: true = شغّال، false = طافي (الافتراضي true). |
ShowConnectMessages |
false |
يعرض connect messages: true = نعم، false = لا (الافتراضي false). |
StaffGroups |
table |
Staff permissions. jrs_core group is checked first, ACE is also supported. |
↳ owner |
true |
مفتاح لـ owner: true = شغّال، false = طافي (الافتراضي true). |
↳ god |
true |
مفتاح لـ god: true = شغّال، false = طافي (الافتراضي true). |
↳ admin |
true |
مفتاح لـ admin: true = شغّال، false = طافي (الافتراضي true). |
StaffAce |
"jrs.chat.staff" |
إعداد لـ staff ace. |
Music |
table |
Music system. /music = personal player UI (every player; audio is local to that player only) /musicall = server-wide player UI (staff only; permission is validated server-side) |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ allowPersonal |
true |
يسمح بـ personal: true = نعم، false = لا (الافتراضي true). |
↳ defaultVolume |
65 |
رقم لـ default volume (الافتراضي 65). |
↳ notifyPlayersOnGlobal |
true |
مفتاح لـ notify players on global: true = شغّال، false = طافي (الافتراضي true). |
↳ cache |
table |
جدول عناصر cache. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ commands |
table |
جدول عناصر commands. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ServerMusic |
Config.Music |
Backward-compatible alias used internally by older integrations. |
TextDistance |
12.0 |
RP text |
DrawTextDistance |
12.0 |
المسافة بوحدات اللعبة لـ draw text distance. |
TextDuration |
7 |
ثواني |
ShowTime |
true |
يعرض time: true = نعم، false = لا (الافتراضي true). |
MeDoOverhead |
table |
Overhead behavior. /me /do /try stay 3D-only by default, can be toggled locally with /toggleoverhead, and respect line of sight. |
↳ Only3D |
true |
مفتاح لـ only3 d: true = شغّال، false = طافي (الافتراضي true). |
↳ UseLineOfSight |
true |
يشغّل أو يطفّي line of sight (الافتراضي true). |
Max3DTextLength |
112 |
نص يظهر للاعب لـ max3 d text length. غيّره للترجمة أو لتغيير الاسم. |
TextHeadBoneOffset |
0.38 |
height above SKEL_Head bone (RedM 21030) |
TextZOffset |
1.95 |
fallback height above entity root coords |
TextVerticalOffset |
-0.005 |
نص يظهر للاعب لـ text vertical offset. غيّره للترجمة أو لتغيير الاسم. |
DistanceBetweenTexts |
0.038 |
المسافة بوحدات اللعبة لـ distance between texts. |
TextRefreshRate |
25 |
ms between screen position updates |
TypingText |
true |
مفتاح لـ typing text: true = شغّال، false = طافي (الافتراضي true). |
TypingLabel |
"[......]" |
fallback when animation is disabled |
TypingAnimate |
true |
مفتاح لـ typing animate: true = شغّال، false = طافي (الافتراضي true). |
TypingBaseDots |
5 |
five fixed dots; the sixth dot blinks |
TypingAnimationInterval |
450 |
ملي ثانية |
TypingColor |
"#e7c56c" |
إعداد لـ typing color. |
TextColors |
table |
نص يظهر للاعب لـ text colors. غيّره للترجمة أو لتغيير الاسم. |
↳ me |
"#e7c56c" |
إعداد لـ me. |
↳ do |
"#e57373" |
إعداد لـ do. |
↳ trypos |
"#7ad6a3" |
إعداد لـ trypos. |
↳ tryneg |
"#e57373" |
إعداد لـ tryneg. |
↳ ooc |
"#f4f0e7" |
إعداد لـ ooc. |
↳ typing |
"#e7c56c" |
إعداد لـ typing. |
Prefixes |
table |
جدول عناصر prefixes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ me |
"ME:" |
إعداد لـ me. |
↳ do |
"DO:" |
إعداد لـ do. |
↳ trypos |
"" |
إعداد لـ trypos. |
↳ tryneg |
"" |
إعداد لـ tryneg. |
↳ ooc |
"OOC:" |
إعداد لـ ooc. |
↳ typing |
"" |
إعداد لـ typing. |
HtmlTemplate |
[[ |
إعداد لـ html template. |
Commands |
table |
الأوامر |
↳ clear |
"clear" |
إعداد لـ clear. |
↳ clearAll |
"clearall" |
إعداد لـ clear all. |
↳ announce |
"announce" |
إعداد لـ announce. |
↳ staff |
"ac" |
إعداد لـ staff. |
↳ report |
"report" |
إعداد لـ report. |
↳ reportReply |
"reportr" |
إعداد لـ report reply. |
↳ toggleReports |
"togglereport" |
إعداد لـ toggle reports. |
↳ me |
"me" |
إعداد لـ me. |
↳ do |
"do" |
إعداد لـ do. |
↳ try |
"try" |
إعداد لـ try. |
↳ ooc |
"ooc" |
إعداد لـ ooc. |
↳ pm |
"pm" |
إعداد لـ pm. |
↳ help |
"help" |
إعداد لـ help. |
↳ medic |
"medic" |
إعداد لـ medic. |
↳ police |
"police" |
إعداد لـ police. |
↳ gossip |
"gossip" |
إعداد لـ gossip. |
↳ callPolice |
"callpolice" |
إعداد لـ call police. |
↳ callDoctor |
"calldoctor" |
إعداد لـ call doctor. |
↳ clearAlerts |
"calert" |
إعداد لـ clear alerts. |
↳ hideChat |
"hidechat" |
إعداد لـ hide chat. |
↳ nick |
"nick" |
إعداد لـ nick. |
↳ mute |
"mute" |
إعداد لـ mute. |
↳ unmute |
"unmute" |
إعداد لـ unmute. |
↳ muted |
"muted" |
إعداد لـ muted. |
↳ photo |
"photo" |
إعداد لـ photo. |
↳ global |
"global" |
إعداد لـ global. |
↳ say |
"say" |
إعداد لـ say. |
↳ whisper |
"whisper" |
إعداد لـ whisper. |
↳ reply |
"reply" |
إعداد لـ reply. |
↳ toggleChat |
"togglechat" |
إعداد لـ toggle chat. |
↳ toggleOverhead |
"toggleoverhead" |
إعداد لـ toggle overhead. |
Features |
table |
جدول عناصر features. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ clear |
true |
مفتاح لـ clear: true = شغّال، false = طافي (الافتراضي true). |
↳ clearAll |
true |
مفتاح لـ clear all: true = شغّال، false = طافي (الافتراضي true). |
↳ announce |
true |
مفتاح لـ announce: true = شغّال، false = طافي (الافتراضي true). |
↳ staff |
true |
مفتاح لـ staff: true = شغّال، false = طافي (الافتراضي true). |
↳ report |
true |
مفتاح لـ report: true = شغّال، false = طافي (الافتراضي true). |
↳ me |
true |
مفتاح لـ me: true = شغّال، false = طافي (الافتراضي true). |
↳ do |
true |
مفتاح لـ do: true = شغّال، false = طافي (الافتراضي true). |
↳ try |
true |
مفتاح لـ try: true = شغّال، false = طافي (الافتراضي true). |
↳ ooc |
true |
مفتاح لـ ooc: true = شغّال، false = طافي (الافتراضي true). |
↳ pm |
true |
مفتاح لـ pm: true = شغّال، false = طافي (الافتراضي true). |
↳ help |
true |
مفتاح لـ help: true = شغّال، false = طافي (الافتراضي true). |
↳ jobChannels |
true |
مفتاح لـ job channels: true = شغّال، false = طافي (الافتراضي true). |
↳ gossip |
true |
مفتاح لـ gossip: true = شغّال، false = طافي (الافتراضي true). |
↳ policeAlert |
true |
مفتاح لـ police alert: true = شغّال، false = طافي (الافتراضي true). |
↳ doctorAlert |
true |
مفتاح لـ doctor alert: true = شغّال، false = طافي (الافتراضي true). |
↳ nick |
true |
مفتاح لـ nick: true = شغّال، false = طافي (الافتراضي true). |
↳ mute |
true |
مفتاح لـ mute: true = شغّال، false = طافي (الافتراضي true). |
↳ photo |
true |
مفتاح لـ photo: true = شغّال، false = طافي (الافتراضي true). |
TryChance |
50 |
نسبة أو مضاعف لـ try chance. |
RoleplayDistance |
10.0 |
المسافة بوحدات اللعبة لـ roleplay distance. |
GlobalOOC |
false |
مفتاح لـ global ooc: true = شغّال، false = طافي (الافتراضي false). |
WhisperDistance |
10.0 |
المسافة بوحدات اللعبة لـ whisper distance. |
Channels |
table |
Local / Global / Staff channel tabs for the default (no-slash) chat box. When disabled, typed text falls back to Config.DefaultChatEnabled behaviour. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ default |
"local" |
إعداد لـ default. |
↳ labels |
table |
جدول عناصر labels. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ChannelColors |
table |
جدول عناصر channel colors. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ local |
"#a9c9ef" |
إعداد لـ local. |
ملاحظات من ملف README#
# jrs_chat 2.0.0
JRS Chat for RedM / `jrs_core`, rebuilt around the readable visual style and workflow ideas supplied in `JRS Chat` while keeping the JRS integrations open and e
## Requirements
- `jrs_core`
- `oxmysql`
- RedM / Cfx server
## Installation
1. Rename/use the resource folder as `jrs_chat`.
2. Disable the stock `chat` resource if it would create a second chat UI.
3. Start dependencies before this resource:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_chat
'''
The manifest includes `provide 'chat'` for resources that depend on the standard chat resource.
## What was ported from the supplied JRS chat idea/theme
- Original readable JRS UI textures used by the chat (`bg_1`, `bg_2`, `bgorigin`, `box_bg`).
- JRS fonts used for tabs/header styling.
- Antique message-card visual style.
- Local / Global / Staff tabs.
- Me / Do / Try quick buttons.
- Emoji tab, categories and search.
- Message history and suggestions.
- Character-name chat header with optional badge and time.
- `/global`, `/say`, `/whisper`, `/reply`, `/togglechat`, `/toggleoverhead` compatibility aliases.
- `/staff` alias while the original JRS `/ac` command remains available.
- 3D-only `/me`, `/do`, `/try` by default with line-of-sight support.
- Optional chat console logging.
- Optional join/leave system messages.
- Photo, nickname and mute systems kept in JRS and styled with the same UI language.
No JRS encrypted Lua logic is required by this resource. The resulting JRS resource is independent.
## Music system
Music is command-first and then controlled through an in-game UI.
### Player music
`/music`
- Available to normal players when `Config.Music.allowPersonal = true`.
- Opens **Personal Music Player**.
- Accepts a YouTube URL or an 11-character YouTube video ID.
- Play / Pause / Stop / Volume controls.
- Audio stays completely local to that player; no server event broadcasts the personal track.
### Staff global music
`/musicall`
- Requests the **Global Music Control** UI.
- Permission is validated with `JRSChat.IsStaff()` on the server.مدفوع (السيرفر فقط) jrs_church_bells
أجراس الكنيسة JRS - أجراس كنيسة مجدولة ويتحكم فيها الأدمن أو أصحاب الوظيفة لـ RedM
| الريسورس | jrs_church_bells |
| المجلد | [INTERFACE] |
| الإصدار | 1.0.1 |
| المطوّر | jrs |
| يعتمد على | jrs_core |
| الواجهة | لا |
| حجم الكود | 737 سطر Lua |
config.lua - 25 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
CoreResource |
"jrs_core" |
إعداد لـ core resource. |
AutomaticSchedule |
true |
Uses the in-game RDR2 clock (GetClockHours/GetClockMinutes). |
ScheduleCheckInterval |
500 |
ملي ثانية |
Interaction |
table |
Native prompt. INPUT_DYNAMIC_SCENARIO is E on the default RedM keyboard layout. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ control |
0xCEFD9220 |
INPUT_CONTEXT (E) |
↳ drawDistance |
8.0 |
المسافة بوحدات اللعبة لـ draw distance. |
↳ useDistance |
2.0 |
المسافة بوحدات اللعبة لـ use distance. |
↳ requestAccessEvery |
3000 |
ملي ثانية |
↳ promptText |
"Ring Church Bell" |
نص يظهر للاعب لـ prompt text. غيّره للترجمة أو لتغيير الاسم. |
↳ groupText |
"Church Bell" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group text. |
Security |
table |
جدول عناصر security. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ maxServerUseDistance |
4.0 |
The server always checks job/admin permission and cooldown. When OneSync server-side entity coordinates are available, distance is also checked. |
↳ requireServerDistanceCheck |
false |
يتطلب server distance check: true = نعم، false = لا (الافتراضي false). |
↳ maxManualTolls |
12 |
الحد الأعلى لـ max manual tolls. |
ManualCooldownSeconds |
12 |
إعداد وقت لـ manual cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Command |
"churchbell" |
إعداد لـ command. |
Permissions |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ permissions. |
↳ allowAdmins |
true |
يسمح بـ admins: true = نعم، false = لا (الافتراضي true). |
↳ adminGroups |
table |
JRS Core administration groups. |
↳ jobs |
table |
No jobs allowed — admin groups only. |
↳ ace |
"jrs.churchbells" |
Optional ACE permission: add_ace group.admin jrs.churchbells allow |
Locations |
table |
إحداثيات العالم (x, y, z) لـ locations. |
↳ Valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
# jrs_church_bells
Church bell resource for RedM using RDR2's native church bell sound set.
## Included
- Valentine church bell sound: `CHURCH_BELL_SOUNDS / VAL_SINGLE_TOLL`
- Automatic in-game schedule:
- 06:00 = 6 tolls
- 12:00 = 12 tolls
- 18:00 = 6 tolls
- Manual native prompt near the Valentine church.
- JRS Core job/admin permission checks.
- Admin groups enabled by default: `owner`, `admin`, `support`.
- Allowed church jobs enabled by default: `priest`, `preacher`, `church`.
- Server-side cooldown and permission validation.
- Optional ACE permission: `jrs.churchbells`.
- Admin/job command: `/churchbell [location] [tolls]`.
## Install
1. Copy `jrs_church_bells` into your resources folder.
2. Make sure `jrs_core` starts first.
3. Add:
'''cfg
ensure jrs_core
ensure jrs_church_bells
'''
## Valentine coordinates
The sound origin is already set at the Valentine church bell:
'''lua
vector3(-230.11424, 797.50195, 135.25150)
'''
The default manual interaction point is:
'''lua
vector3(-231.75000, 796.38000, 124.63000)
'''
If your custom Valentine church interior places the bell rope/control somewhere else, only change
`interactionCoords` in `config.lua`.
## Job permission
Edit:
'''lua
Config.Permissions.jobs = {
priest = 0,
preacher = 0,
church = 0
}
'''
The number is the minimum allowed job grade.
## Admin permissionمجاني (موجود مع JRS Core) jrs_city
إشعارات المناطق الأصلية في jrs core لـ jrs_core
| الريسورس | jrs_city |
| المجلد | [INTERFACE] |
| الإصدار | 1.3.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 3,128 Lua lines |
الأوامر
/jrscitydebug/jrscitytest
الـ Exports
GetCurrentCity, GetCurrentZone, IsInCity, ShowMessage, ShowZoneCard
config/config.lua - 35 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
CoreResource |
"jrs_core" |
إعداد لـ core resource. |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Detection |
table |
Detection mirrors RedM's own zone hierarchy. The UI is shown only when the resolved location actually changes. |
↳ Interval |
500 |
إعداد وقت لـ interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ WaitForCharacter |
true |
مفتاح لـ wait for character: true = شغّال، false = طافي (الافتراضي true). |
↳ CharacterReadyTimeout |
10000 |
إعداد وقت لـ character ready timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ NotifyOnInitialDetection |
true |
مفتاح لـ notify on initial detection: true = شغّال، false = طافي (الافتراضي true). |
↳ PauseWhenDead |
true |
مفتاح لـ pause when dead: true = شغّال، false = طافي (الافتراضي true). |
↳ PauseWhenPauseMenuOpen |
true |
مفتاح لـ pause when pause menu open: true = شغّال، false = طافي (الافتراضي true). |
↳ Priority |
table |
Highest priority first. |
Notification |
table |
نص يظهر للاعب لـ notification. غيّره للترجمة أو لتغيير الاسم. |
↳ Duration |
4000 |
إعداد وقت لـ duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ Sound |
table |
جدول عناصر sound. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ UI |
table |
جدول عناصر ui. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Details |
table |
جدول عناصر details. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ShowDistrict |
true |
يعرض district: true = نعم، false = لا (الافتراضي true). |
↳ ShowState |
true |
يعرض state: true = نعم، false = لا (الافتراضي true). |
↳ ShowDay |
false |
يعرض day: true = نعم، false = لا (الافتراضي false). |
↳ ShowTime |
true |
يعرض time: true = نعم، false = لا (الافتراضي true). |
↳ ShowTemperature |
true |
يعرض temperature: true = نعم، false = لا (الافتراضي true). |
↳ ShowWind |
true |
يعرض wind: true = نعم، false = لا (الافتراضي true). |
↳ Use24Hour |
false |
مفتاح لـ use24 hour: true = شغّال، false = طافي (الافتراضي false). |
↳ TemperatureUnit |
"C" |
'C' or 'F' |
↳ WindUnit |
"auto" |
'auto', 'kph', or 'mph' |
Days |
table |
جدول عناصر days. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 0 |
"SUN" |
إعداد لـ 0. |
↳ 1 |
"MON" |
إعداد لـ 1. |
↳ 2 |
"TUE" |
إعداد لـ 2. |
↳ 3 |
"WED" |
إعداد لـ 3. |
↳ 4 |
"THU" |
إعداد لـ 4. |
↳ 5 |
"FRI" |
إعداد لـ 5. |
↳ 6 |
"SAT" |
إعداد لـ 6. |
DisabledZoneHashes |
table |
Add a native zone hash here to disable it without editing the large zone table. |
NameOverrides |
table |
Override any zone's display name by native hash. |
CustomNativeZones |
table |
Extra custom native entries can be added here. |
config/zones.lua - 321 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
NativeZoneData |
table |
Native RedM map zone metadata. Edit NameOverrides in config.lua for custom display names. |
↳ -1004072985 |
table |
جدول عناصر 1004072985. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -103399754 |
table |
جدول عناصر 103399754. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1037423548 |
table |
جدول عناصر 1037423548. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1043500161 |
table |
جدول عناصر 1043500161. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -105598602 |
table |
جدول عناصر 105598602. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1073312073 |
table |
جدول عناصر 1073312073. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -108848014 |
table |
جدول عناصر 108848014. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1099073636 |
table |
جدول عناصر 1099073636. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1114958242 |
table |
جدول عناصر 1114958242. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1118608187 |
table |
جدول عناصر 1118608187. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1161186391 |
table |
جدول عناصر 1161186391. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1164281509 |
table |
جدول عناصر 1164281509. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1168459546 |
table |
جدول عناصر 1168459546. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1173672830 |
table |
جدول عناصر 1173672830. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -120156735 |
table |
جدول عناصر 120156735. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1203685470 |
table |
جدول عناصر 1203685470. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -120578354 |
table |
جدول عناصر 120578354. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1207133769 |
table |
جدول عناصر 1207133769. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1217490622 |
table |
جدول عناصر 1217490622. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1225359404 |
table |
جدول عناصر 1225359404. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1229593481 |
table |
جدول عناصر 1229593481. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1231793417 |
table |
جدول عناصر 1231793417. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1247148211 |
table |
جدول عناصر 1247148211. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1247294802 |
table |
جدول عناصر 1247294802. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1276586360 |
table |
جدول عناصر 1276586360. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1287619521 |
table |
جدول عناصر 1287619521. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1288973891 |
table |
جدول عناصر 1288973891. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1289136221 |
table |
جدول عناصر 1289136221. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1300497193 |
table |
جدول عناصر 1300497193. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1308233316 |
table |
جدول عناصر 1308233316. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1319956120 |
table |
جدول عناصر 1319956120. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1349514245 |
table |
جدول عناصر 1349514245. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1356490953 |
table |
جدول عناصر 1356490953. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1359523911 |
table |
جدول عناصر 1359523911. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1369817450 |
table |
جدول عناصر 1369817450. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -138648964 |
table |
جدول عناصر 138648964. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -139400310 |
table |
جدول عناصر 139400310. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1410384421 |
table |
جدول عناصر 1410384421. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1419869345 |
table |
جدول عناصر 1419869345. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1420336129 |
table |
جدول عناصر 1420336129. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -146460093 |
table |
جدول عناصر 146460093. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1472363892 |
table |
جدول عناصر 1472363892. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1496551068 |
table |
جدول عناصر 1496551068. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1504425495 |
table |
جدول عناصر 1504425495. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1521776363 |
table |
جدول عناصر 1521776363. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1524959147 |
table |
جدول عناصر 1524959147. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1532919875 |
table |
جدول عناصر 1532919875. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1539536559 |
table |
جدول عناصر 1539536559. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -154855189 |
table |
جدول عناصر 154855189. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -156397252 |
table |
جدول عناصر 156397252. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1592070727 |
table |
جدول عناصر 1592070727. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1622112934 |
table |
جدول عناصر 1622112934. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1633799162 |
table |
جدول عناصر 1633799162. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1657629123 |
table |
جدول عناصر 1657629123. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1660988219 |
table |
جدول عناصر 1660988219. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -166839571 |
table |
جدول عناصر 166839571. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1692509313 |
table |
جدول عناصر 1692509313. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1699818764 |
table |
جدول عناصر 1699818764. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1708386982 |
table |
جدول عناصر 1708386982. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1753216046 |
table |
جدول عناصر 1753216046. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1768736648 |
table |
جدول عناصر 1768736648. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1769528472 |
table |
جدول عناصر 1769528472. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1774142845 |
table |
جدول عناصر 1774142845. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1777630136 |
table |
جدول عناصر 1777630136. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1781130443 |
table |
جدول عناصر 1781130443. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1817904483 |
table |
جدول عناصر 1817904483. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1821194396 |
table |
جدول عناصر 1821194396. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1825355772 |
table |
جدول عناصر 1825355772. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1851305682 |
table |
جدول عناصر 1851305682. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1860484356 |
table |
جدول عناصر 1860484356. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1894004139 |
table |
جدول عناصر 1894004139. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1902025470 |
table |
جدول عناصر 1902025470. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1926488450 |
table |
جدول عناصر 1926488450. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1942169613 |
table |
جدول عناصر 1942169613. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1947415645 |
table |
جدول عناصر 1947415645. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -196675805 |
table |
جدول عناصر 196675805. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1973391500 |
table |
جدول عناصر 1973391500. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1988735197 |
table |
جدول عناصر 1988735197. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -1999797981 |
table |
جدول عناصر 1999797981. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2000021141 |
table |
جدول عناصر 2000021141. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2001518509 |
table |
جدول عناصر 2001518509. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2028095666 |
table |
جدول عناصر 2028095666. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2034338067 |
table |
جدول عناصر 2034338067. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2035208924 |
table |
جدول عناصر 2035208924. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2038495927 |
table |
جدول عناصر 2038495927. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2040708515 |
table |
جدول عناصر 2040708515. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2049654576 |
table |
جدول عناصر 2049654576. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2066240242 |
table |
جدول عناصر 2066240242. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2074284650 |
table |
جدول عناصر 2074284650. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -209915926 |
table |
جدول عناصر 209915926. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2126414432 |
table |
جدول عناصر 2126414432. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2133063188 |
table |
جدول عناصر 2133063188. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -2145992129 |
table |
جدول عناصر 2145992129. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -215175141 |
table |
جدول عناصر 215175141. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -218679770 |
table |
جدول عناصر 218679770. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -221059932 |
table |
جدول عناصر 221059932. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -247856387 |
table |
جدول عناصر 247856387. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -259784188 |
table |
جدول عناصر 259784188. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -261541730 |
table |
جدول عناصر 261541730. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -264897431 |
table |
جدول عناصر 264897431. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -291091669 |
table |
جدول عناصر 291091669. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -336631570 |
table |
جدول عناصر 336631570. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -346622837 |
table |
جدول عناصر 346622837. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -410208673 |
table |
جدول عناصر 410208673. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -419963911 |
table |
جدول عناصر 419963911. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -420810761 |
table |
جدول عناصر 420810761. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -425430549 |
table |
جدول عناصر 425430549. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -438809735 |
table |
جدول عناصر 438809735. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -473051294 |
table |
جدول عناصر 473051294. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -484064781 |
table |
جدول عناصر 484064781. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -493344856 |
table |
جدول عناصر 493344856. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -49694339 |
table |
جدول عناصر 49694339. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -504005310 |
table |
جدول عناصر 504005310. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -512529193 |
table |
جدول عناصر 512529193. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -545967610 |
table |
جدول عناصر 545967610. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -557290573 |
table |
جدول عناصر 557290573. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -576782619 |
table |
جدول عناصر 576782619. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -61172588 |
table |
جدول عناصر 61172588. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ -619014970 |
table |
جدول عناصر 619014970. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
# jrs_city
Version 1.2.1
Native RedM location notifications for `jrs_core`.
## How it works
The client reads RedM native map-zone hashes and resolves the current location using this priority:
1. Town
2. Printed map location
3. Written map location
4. Water locations
5. District
6. State
The notification is a single transparent NUI element, so its background, title, district, state, time, temperature and wind always appear and disappear together
The bundled native zone metadata contains 320 mapped RedM zones.
## Install
'''cfg
ensure jrs_core
ensure jrs_city
'''
## Test
'''text
/jrscitytest
'''
With `Config.Debug = true`:
'''text
/jrscitydebug
'''
## Main settings
Edit `config.lua` to control notification size, position, duration, details and zone detection interval.
The default background is `html/assets/box_a_bg_1.png` and is rendered at 340px wide, smaller than its original 432px size.
## Exports
'''lua
local zone = exports.jrs_city:GetCurrentZone()
local city = exports.jrs_city:GetCurrentCity()
local inValentine = exports.jrs_city:IsInCity('Valentine')
'''
## Notification sound
The supplied MP3 is bundled as:
'''text
html/assets/zone_open.mp3
'''
Configure it in `config.lua`:
'''lua
Config.Notification.Sound = {
Enabled = true,
File = 'assets/zone_open.mp3',مدفوع (السيرفر فقط) jrs_freecam
كاميرا حرة مستقلة مقيّدة بالوظيفة لـ RedM
| الريسورس | jrs_freecam |
| المجلد | [INTERFACE] |
| الإصدار | 1.1.2-redm |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | لا |
| اللغات | ar, en |
| حجم الكود | 1,071 Lua lines |
الأوامر
/freecamfilter/freecamhelpers/freecamprevfilter
الـ Exports
GrantFreecamAccess, HasFreecamAccess, IsActive, RevokeFreecamAccess, SetActive
جداول قاعدة البيانات
jrs_freecam_access
config/config.lua - 39 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ActivationCommand |
"freecam" |
Command and optional key used to toggle the free camera. |
ActivationKey |
"" |
Command-only activation: freecam opens ONLY via the /freecam command, with no keyboard bind. Leave empty to keep it command-only (set a key like 'F6' to also bind a key). |
UseAcePermission |
false |
Optional ACE restriction. When enabled, add this to server.cfg: add_ace group.admin jrs.freecam allow |
AcePermission |
"jrs.freecam" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ ace permission. |
AdminOnly |
true |
permission database), NOT by job. Any admin rank (server_owner, full_access, medium, few) may use the free camera. Set to false to fall back to the legacy job restriction below for non-admins. |
JobRequirement |
table |
Legacy job restriction through jrs_core (only used when Config.AdminOnly=false). The key is the job name and the value is the minimum required grade. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Jobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ jobs. |
CameraRange |
100.0 |
Maximum distance the camera may travel from its activation point. Set to 0.0 to remove the range limit. |
MoveSpeed |
6.0 |
Camera movement and rotation. |
FastMoveMultiplier |
4.0 |
نسبة أو مضاعف لـ fast move multiplier. |
MouseSensitivity |
8.0 |
رقم لـ mouse sensitivity (الافتراضي 8.0). |
RollSpeed |
55.0 |
رقم لـ roll speed (الافتراضي 55.0). |
ZoomSpeed |
45.0 |
رقم لـ zoom speed (الافتراضي 45.0). |
MinFov |
20.0 |
الحد الأدنى أو المستوى المطلوب لـ min fov. |
MaxFov |
120.0 |
الحد الأعلى لـ max fov. |
FreezePlayer |
true |
Camera behavior. |
HideGameHud |
true |
يخفي game hud: true = نعم، false = لا (الافتراضي true). |
ShowHelpersByDefault |
true |
يعرض helpers by default: true = نعم، false = لا (الافتراضي true). |
EnableFilters |
true |
يشغّل أو يطفّي filters (الافتراضي true). |
UseStreamingFocus |
true |
يشغّل أو يطفّي streaming focus (الافتراضي true). |
ControllerModel |
scriptedball |
Invisible RedM object used as a camera controller. |
ModelLoadTimeout |
5000 |
إعداد وقت لـ model load timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Filters |
table |
Photo mode filters copied from jrs_camera. These use Animpostfx, which is the same method used by the RedM camera resource. |
Controls |
table |
RedM controls. Normal player controls are disabled while freecam is active. |
↳ Forward |
0x6319DB71 |
Arrow Up |
↳ Backward |
0x05CA7C52 |
Arrow Down |
↳ Left |
0xA65EBAB4 |
Arrow Left |
↳ Right |
0xDEB34313 |
Arrow Right |
↳ Up |
INPUT_COVER |
Q |
↳ Down |
INPUT_CONTEXT |
E |
↳ Fast |
INPUT_SPRINT |
Left Shift |
↳ ZoomIn |
0xF78D7337 |
Mouse wheel up |
↳ ZoomOut |
0xD0842EDF |
Mouse wheel down |
↳ RollLeft |
INPUT_MOVE_LEFT_ONLY |
A / D roll the camera because movement now uses the arrows. |
↳ RollRight |
INPUT_MOVE_RIGHT_ONLY |
إعداد لـ roll right. |
↳ FilterPrevious |
INPUT_CREATOR_LT |
Page Up / Page Down switch the new photo-mode filters. |
↳ FilterNext |
INPUT_CREATOR_RT |
إعداد لـ filter next. |
↳ Reset |
INPUT_OPEN_SATCHEL_MENU |
B |
ملاحظات من ملف README#
# REDEMPIRE FreeCam for RedM
Standalone RedM free camera with jrs_core job access and Red Dead photo-mode filters.
## Installation
1. Rename the folder to `jrs_freecam` and place it in your resources directory.
2. Make sure `jrs_core` starts first.
3. Add:
'''cfg
ensure jrs_core
ensure jrs_freecam
'''
## Job access
Edit `Config.JobRequirement.Jobs` in `config.lua`:
'''lua
Config.JobRequirement = {
Enabled = true,
Jobs = {
photographer = 0, -- job name = minimum grade
},
}
'''
To allow more than one job:
'''lua
Jobs = {
photographer = 0,
reporter = 2,
}
'''
## Controls
- `/freecam` or `F6` when key mapping is supported: open/close freecam
- Arrow Up/Down: forward/backward
- Arrow Left/Right: move left/right
- Q/E: move up/down
- Left Shift: faster movement
- Mouse: camera rotation
- Mouse wheel: zoom
- A/D: camera roll
- Page Up/Page Down: previous/next filter
- B: reset roll and zoom
- `/freecamfilter`: next filter
- `/freecamprevfilter`: previous filter
- `/freecamhelpers`: show/hide controls
## Filters
The filter list and application method were copied from `jrs_camera`:
- PhotoMode_FilterGame01-18
- PhotoMode_FilterModern01-10مدفوع (السيرفر فقط) jrs_gramophone
الجرامافون في jrs core - نظام جرامافون متزامن لـ jrs_core
| الريسورس | jrs_gramophone |
| المجلد | [INTERFACE] |
| الإصدار | 1.1.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 1,741 Lua lines |
جداول قاعدة البيانات
jrs_gramophone_playlist_songs, jrs_gramophone_playlists, jrs_gramophones
config/config.lua - 75 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
CoreResource |
"jrs_core" |
إعداد لـ core resource. |
InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
Locale |
"ar" |
لغة واجهة السكربت (en أو ar). |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
InteractionDistance |
2.5 |
المسافة بوحدات اللعبة لـ interaction distance. |
StreamDistance |
65.0 |
المسافة بوحدات اللعبة لـ stream distance. |
SyncInterval |
5000 |
إعداد وقت لـ sync interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
VolumeStep |
0.10 |
رقم لـ volume step (الافتراضي 0.10). |
SeekSeconds |
10 |
رقم لـ seek seconds (الافتراضي 10). |
DefaultRange |
20.0 |
المسافة بوحدات اللعبة لـ default range. |
DefaultVolume |
1.0 |
رقم لـ default volume (الافتراضي 1.0). |
PlayCost |
0.0 |
money charged when a new song is started; 0 disables charging |
Prop |
table |
موديل أو كيان في اللعبة يُستخدم لـ prop. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Model |
"p_phonograph01x" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
Marker |
table |
Ground marker under gramophone stations. Fully disabled: the prompt already tells the player they can interact, so the marker was pure visual noise. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Distance |
8.0 |
المسافة بوحدات اللعبة لـ distance. |
↳ Scale |
0.18 |
نسبة أو مضاعف لـ scale. |
↳ R |
115 |
رقم لـ r (الافتراضي 115). |
↳ G |
72 |
رقم لـ g (الافتراضي 72). |
↳ B |
145 |
رقم لـ b (الافتراضي 145). |
↳ A |
170 |
رقم لـ a (الافتراضي 170). |
Controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Open |
0xC7B5340A |
إعداد لـ open. |
↳ Place |
0x07CE1E61 |
إعداد لـ place. |
↳ Cancel |
0xF84FA74F |
إعداد لـ cancel. |
↳ Take |
0xF3830D8E |
إعداد لـ take. |
↳ RotateLeft |
0x7F8D09B8 |
إعداد لـ rotate left. |
↳ RotateRight |
0x4CC0E2FE |
إعداد لـ rotate right. |
Portable |
table |
جدول عناصر portable. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Item |
"phonograph" |
أغراض المخزون المستخدمة في item. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ Model |
"p_phonograph01x" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ OwnerOnlyTake |
true |
مفتاح لـ owner only take: true = شغّال، false = طافي (الافتراضي true). |
↳ OwnerOnlyUse |
true |
only the owner can open / control a placed phonograph |
↳ MaxPerCharacter |
3 |
الحد الأعلى لـ max per character. |
↳ Range |
table |
Owner can widen/narrow how far a placed phonograph is heard (metres), from its music panel. |
↳ PlacementDistance |
1.8 |
المسافة بوحدات اللعبة لـ placement distance. |
↳ RotationStep |
4.0 |
رقم لـ rotation step (الافتراضي 4.0). |
↳ RayDistance |
10.0 |
Furniture-style placement (same keys/panel as house furniture): the ghost follows the crosshair up to RayDistance; G places it only while it is within MaxDistance of the player (server allows 4.5). |
↳ MaxDistance |
4.0 |
المسافة بوحدات اللعبة لـ max distance. |
↳ SaveToDatabase |
false |
مفتاح لـ save to database: true = شغّال، false = طافي (الافتراضي false). |
↳ Blip |
table |
Map blip on the owner's own placed phonographs (owner only). |
Playlists |
table |
جدول عناصر playlists. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Shared |
true |
مفتاح لـ shared: true = شغّال، false = طافي (الافتراضي true). |
↳ MaxPlaylists |
20 |
الحد الأعلى لـ max playlists. |
↳ MaxSongsPerPlaylist |
50 |
الحد الأعلى لـ max songs per playlist. |
↳ MaxNameLength |
24 |
الحد الأعلى لـ max name length. |
Logs |
table |
جدول عناصر logs. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ BotName |
"REDEMPIRE Gramophone" |
نص يظهر للاعب لـ bot name. غيّره للترجمة أو لتغيير الاسم. |
↳ ServerName |
"REDEMPIRE Server" |
نص يظهر للاعب لـ server name. غيّره للترجمة أو لتغيير الاسم. |
↳ Color |
7506394 |
رقم لـ color (الافتراضي 7506394). |
Stations |
table |
One physical station = one entry. Use allowedJobs = false for public access. |
Text |
table |
نص يظهر للاعب لـ text. غيّره للترجمة أو لتغيير الاسم. |
↳ Open |
"Open Gramophone" |
إعداد لـ open. |
↳ Place |
"Place Gramophone" |
إعداد لـ place. |
↳ Cancel |
"Cancel" |
إعداد لـ cancel. |
↳ Take |
"Take Phonograph" |
إعداد لـ take. |
↳ RotateLeft |
"Rotate Left" |
إعداد لـ rotate left. |
↳ RotateRight |
"Rotate Right" |
إعداد لـ rotate right. |
↳ Group |
"Gramophone" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group. |
↳ NoAccess |
'You do not have access to t... |
إعداد لـ no access. |
↳ InvalidLink |
'Please enter a valid YouTub... |
إعداد لـ invalid link. |
↳ TooFar |
'You are too far from the gr... |
إعداد لـ too far. |
↳ MaxVolume |
"Maximum volume reached." |
الحد الأعلى لـ max volume. |
↳ MinVolume |
"Minimum volume reached." |
الحد الأدنى أو المستوى المطلوب لـ min volume. |
↳ NoMoney |
"You do not have enough money." |
قيمة فلوس لـ no money. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ Placed |
"Phonograph placed." |
إعداد لـ placed. |
↳ Taken |
'Phonograph returned to your... |
إعداد لـ taken. |
↳ MaxPortable |
'You reached the maximum num... |
الحد الأعلى لـ max portable. |
↳ NotOwner |
'Only the owner can take thi... |
إعداد لـ not owner. |
↳ InventoryMissing |
"jrs_inventory is not available." |
إعداد لـ inventory missing. |
↳ ItemMissing |
'You do not have a phonograp... |
أغراض المخزون المستخدمة في item missing. الأسماء لازم تكون موجودة في جدول jrs_items. |
ملاحظات من ملف README#
# REDEMPIRE Gramophone
A synchronized gramophone system built directly for `jrs_core`.
## Features
- Fixed gramophone stations with per-job access.
- YouTube link playback with synchronized play/pause and seek state.
- Distance-based volume attenuation.
- Volume up/down, rewind, forward, and timeline seek.
- Shared or per-character playlists.
- Song history in the UI.
- Optional portable gramophone item using `jrs_inventory`.
- Portable gramophones persist in the database and can be taken back by their owner.
- Optional play cost and Discord webhook logging.
- Automatic database table creation.
- No framework adapter file; the resource connects directly to `jrs_core`.
## Requirements
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_gramophone
'''
`jrs_inventory` is only required when `Config.Portable.Enabled = true`.
## Portable item
If portable gramophones are enabled, add an item named `gramophone` to your REDEMPIRE items table and mark it usable.
Example:
'''sql
INSERT INTO `items`
(`item`, `label`, `limit`, `can_remove`, `type`, `usable`, `descriptions`, `metadata`, `category`)
VALUES
('gramophone', 'Gramophone', 2.00, 1, 'item_standard', 1, 'A portable gramophone', '0', 'tools')
ON DUPLICATE KEY UPDATE
`label` = VALUES(`label`),
`limit` = VALUES(`limit`),
`can_remove` = VALUES(`can_remove`),
`type` = VALUES(`type`),
`usable` = VALUES(`usable`),
`descriptions` = VALUES(`descriptions`),
`metadata` = VALUES(`metadata`),
`category` = VALUES(`category`);
'''
## Configuration
Edit `config.lua`.
Important sections:
- `Config.Stations` - fixed locations, allowed jobs, range and initial volume.
- `Config.Portable` - portable item and placement settings.مدفوع (السيرفر فقط) jrs_idcard
Routine status/diagnostic output is silenced by default so the server console stays clean on boot. Set Config.Debug = true to bring these messages back.
| الريسورس | jrs_idcard |
| المجلد | [INTERFACE] |
| الإصدار | 2.9.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 5,000 Lua lines |
الأوامر
/idcardphoto/idphoto
الـ Exports
OpenBinderCard, OpenDeed, ShowBinderCard, StartNewCharacterCreationSession, StartNewCharacterPhotoSession, StartPhotoUpdateSession
جداول قاعدة البيانات
does, jrs_id_numbers, jrs_idcard, jrs_idcard_fake, jrs_idcard_locations, never
config/config.lua - 81 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
The item the registry hands out. It must exist in the live items table
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Item |
"idcard" |
(see items.sql) - jrs_inventory item names are case sensitive. |
Price |
1.0 |
Cost of a first registration. |
ReissuePrice |
2.0 |
Cost of extracting a replacement copy of an ID card that already exists. The record (and the permanent six digit identity number) is unchanged; only the physical item is reprinted. |
The registry has a "License Binder" tab to take the full binder, and a
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Price |
0.0 |
cost of taking a binder from the registry tab |
↳ GiveOnFirstId |
true |
free binder with the first ID card (once per character) |
↳ GiveOnNewCharacter |
true |
free binder when the creator ID is finalized (once per character) |
EnterNameAutomatic |
false |
مفتاح لـ enter name automatic: true = شغّال، false = طافي (الافتراضي false). |
Turn this off to go back to the old behaviour where every field is typed.
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
PullIdentityFromCharacter |
true |
مفتاح لـ pull identity from character: true = شغّال، false = طافي (الافتراضي true). |
WorldDate |
table |
from here and not from the real-world clock. Keep this in step with jrs_character's Config.WorldDate - both must agree or the age printed on the card will not match the age the character system reports. |
↳ year |
1899 |
رقم لـ year (الافتراضي 1899). |
↳ month |
6 |
رقم لـ month (الافتراضي 6). |
↳ day |
1 |
رقم لـ day (الافتراضي 1). |
MinimumAge |
18 |
No card is issued below this age. Matches jrs_character's Config.MinimumAge. |
MaximumAge |
80 |
PullIdentityFromCharacter is on: that age is the character's real lived age (base age plus playtime) and a long-lived character must still be able to get their own card. Set to false to disable. |
ShowDistance |
1.5 |
How close another player must be for SHOW NEARBY to reach them. |
ServerName |
"REDEMPIRE" |
Printed under the photo on the card. |
UseAnim |
true |
Play the writing animation while the registry form is open. |
ImageUploadUrl |
'https://imgbb.com/' |
External image host opened by the UPLOAD IMAGE button. After uploading, copy the Direct Link and paste it into Photo URL. |
These rows are only the FIRST-RUN seed. The live list lives in the SQL table
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
DefaultPed |
"s_m_m_vhtdealer_01" |
added or removed from the Script Admin Hub survive a restart. Editing a row here after the seed has run changes nothing - move the office in-game instead (Add Registry Here / Remove Nearest Registry). |
DefaultDistance |
3.0 |
المسافة بوحدات اللعبة لـ default distance. |
InteractionDistance |
3.0 |
Fallback interaction radius for rows that carry no distance of their own (older SQL rows, and admin-added offices). |
ClerkZOffset |
table |
Hand height correction for one office's clerk, keyed by city, in metres (+ raises, - lowers). Client-side only - takes effect on resource restart, no re-seed needed. |
↳ Strawberry |
0.0 |
رقم لـ strawberry (الافتراضي 0.0). |
Maps each office / city to its Country/State (البلد) and Origin (المنشأ).
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
CityOrigins |
table |
When registering, the script directly populates nationality (country) and birth1 (place of birth / origin) based on the area. |
↳ Valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Saint Denis |
table |
جدول عناصر saint denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Tumbleweed |
table |
جدول عناصر tumbleweed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Armadillo |
table |
جدول عناصر armadillo. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Van Horn |
table |
جدول عناصر van horn. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Colter |
table |
جدول عناصر colter. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Wapiti |
table |
جدول عناصر wapiti. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Emerald Ranch |
table |
جدول عناصر emerald ranch. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ MacFarlane |
table |
جدول عناصر mac farlane. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Lagras |
table |
جدول عناصر lagras. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Guarma |
table |
جدول عناصر guarma. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Locations |
table |
إحداثيات العالم (x, y, z) لـ locations. |
Clerks are created only while a player is near their office and deleted
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
PedSpawnDistance |
60.0 |
again on the way out, so nine offices do not hold nine peds in the pool for the whole session. |
PedDespawnDistance |
90.0 |
المسافة بوحدات اللعبة لـ ped despawn distance. |
**1869246576 is the official Government Seal / Senior Badge sprite (distinct from **
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
BlipSprite |
1869246576 |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
BlipColor |
"BLIP_MODIFIER_MP_COLOR_27" |
بنفسجي ملكي |
BlipScale |
0.7 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
Keys |
table |
الزر أو التحكم المستخدم لـ keys. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ enter |
"INPUT_FRONTEND_RB" |
إعداد لـ enter. |
↳ reissue |
"INPUT_FRONTEND_LB" |
إعداد لـ reissue. |
How it is caught: showing a card to an on-duty officer rolls DetectionChance
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
FakeId |
table |
against jrs_police's own IsOnDutyOfficer check. Nothing else can tell the two cards apart - not the inventory label, not the item image, not the booklet. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Item |
"fakeid" |
jrs_inventory. A forgery that announces itself in a loot list is not a forgery. The owner can still tell which one they are holding: opening it shows a small mark only they can see. |
↳ Label |
"ID Card" |
نص يظهر للاعب لـ label. غيّره للترجمة أو لتغيير الاسم. |
↳ Description |
"Official citizen identity card." |
نص يظهر للاعب لـ description. غيّره للترجمة أو لتغيير الاسم. |
↳ Price |
15.0 |
forging a new identity |
↳ CopyPrice |
10.0 |
reprinting the forgery you already own |
↳ DestroyPrice |
0 |
burning the record so you can forge a different one |
↳ DetectionChance |
45 |
Chance (0-100) that an on-duty officer spots the forgery each time the card is shown to them. Every show is an independent roll, so flashing a forged card at the law repeatedly is a real risk, not a free retry. |
↳ DetectionMinimumGrade |
0 |
Minimum police grade that can spot a forgery at all. 0 = any officer. |
↳ PoliceAlertChance |
20 |
Chance (0-100) that buying a forgery is noticed and dispatched to police through jrs_theftsystem's own alert bridge. |
↳ FollowBlackMarket |
true |
The forger standing next to the Black Market merchant. |
↳ BlackMarketOffset |
3.5 |
metres from the merchant |
↳ Ped |
"a_m_m_unibtailor_01" |
موديل أو كيان في اللعبة يُستخدم لـ ped. |
↳ Distance |
2.0 |
المسافة بوحدات اللعبة لـ distance. |
↳ Keys |
table |
الزر أو التحكم المستخدم لـ keys. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ Blip |
false |
Off by default: the forger is meant to be found, not routed to. |
↳ BlipSprite |
587827268 |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
↳ BlipScale |
0.2 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
Off by default: nothing is sent anywhere until Enabled is set to true and a
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Url |
"" |
إعداد لـ url. |
↳ Name |
"REDEMPIRE Registry" |
نص يظهر للاعب لـ name. غيّره للترجمة أو لتغيير الاسم. |
↳ Colour |
10038562 |
رقم لـ colour (الافتراضي 10038562). |
↳ Registered |
'HAS REGISTERED THEIR IDENTI... |
إعداد لـ registered. |
↳ Reissued |
'HAS EXTRACTED A COPY OF THE... |
إعداد لـ reissued. |
↳ Forged |
'HAS BOUGHT A FORGED IDENTIT... |
إعداد لـ forged. |
↳ Exposed |
'WAS CAUGHT CARRYING A FORGE... |
إعداد لـ exposed. |
Integrated Portrait Photo Studio & ID upon Character Creation
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
PortraitStudio |
table |
جدول عناصر portrait studio. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ DefaultPhoto |
"assets/img/default_portrait.jpg" |
Fallback photo URL if webhook is not set: |
↳ CameraFov |
32.0 |
Camera FOV for passport/portrait framing: |
مدفوع (السيرفر فقط) jrs_instruments
Play the piano at any piano and instruments anywhere (guitar, banjo, fiddle, harmonica, mandolin, concertina, trumpet, jaw harp) - game scenarios, heard by everyone near
| الريسورس | jrs_instruments |
| المجلد | [INTERFACE] |
| الإصدار | 1.0.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 255 سطر Lua |
config.lua - 11 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Command |
"play" |
opens the instrument list |
StopKey |
0x8CC9CD42 |
X stops playing |
PianoKey |
0x760A9C6F |
G at a piano |
PianoStyleKey |
0xCEFD9220 |
E cycles the piano style |
PianoRadius |
2.2 |
المسافة بوحدات اللعبة لـ piano radius. |
RequireItems |
false |
Optional: require an inventory item to play an instrument (item name or nil). Only 'guitar' exists in jrs_items right now. |
Instruments |
table |
جدول عناصر instruments. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
PianoModels |
table |
Pianos found in the world by model. Styles cycle with E. |
PianoStyles |
table |
جدول عناصر piano styles. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
PianoFemaleScenario |
"PROP_HUMAN_ABIGAIL_PIANO" |
إعدادات الأنيميشن لـ piano female scenario. |
PianoSeatOffset |
vector3(0.0, -0.78, 0.0) |
Where the player sits relative to the piano if the world has no piano scenario point there. |
مدفوع (السيرفر فقط) jrs_killcam
كاميرا قتل سينمائية تتبع الرصاصة من جهة الكلاينت لـ RedM
| الريسورس | jrs_killcam |
| المجلد | [INTERFACE] |
| الإصدار | 1.0.0 |
| المطوّر | JRS |
| الواجهة | لا |
| حجم الكود | 776 سطر Lua |
الـ Exports
IsActive, Play
config.lua - 49 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Trigger |
table |
The production trigger stays close to RDR2's Dynamic Kill Cam: lethal hits. |
↳ FatalHitsOnly |
true |
مفتاح لـ fatal hits only: true = شغّال، false = طافي (الافتراضي true). |
↳ HeadshotsAlways |
false |
مفتاح لـ headshots always: true = شغّال، false = طافي (الافتراضي false). |
↳ ChancePercent |
100 |
نسبة أو مضاعف لـ chance percent. |
↳ MinimumDistance |
3.0 |
المسافة بوحدات اللعبة لـ minimum distance. |
↳ MaximumDistance |
250.0 |
المسافة بوحدات اللعبة لـ maximum distance. |
↳ CooldownSeconds |
5.0 |
إعداد وقت لـ cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Targets |
table |
جدول عناصر targets. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Players |
true |
مفتاح لـ players: true = شغّال، false = طافي (الافتراضي true). |
↳ HumanNPCs |
true |
مفتاح لـ human np cs: true = شغّال، false = طافي (الافتراضي true). |
↳ Animals |
false |
مفتاح لـ animals: true = شغّال، false = طافي (الافتراضي false). |
Detection |
table |
جدول عناصر detection. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ DamageEventWindowMs |
900 |
Damage events select the exact victim. Aim/raycast checks are the fallback. |
↳ ResolveWindowMs |
900 |
رقم لـ resolve window ms (الافتراضي 900). |
↳ RaycastDistance |
300.0 |
المسافة بوحدات اللعبة لـ raycast distance. |
↳ RaycastRadius |
0.12 |
المسافة بوحدات اللعبة لـ raycast radius. |
↳ RaycastFlags |
511 |
رقم لـ raycast flags (الافتراضي 511). |
↳ ImpactMaxDistanceFromTarget |
4.0 |
المسافة بوحدات اللعبة لـ impact max distance from target. |
↳ ShotDebounceMs |
45 |
رقم لـ shot debounce ms (الافتراضي 45). |
Camera |
table |
جدول عناصر camera. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ TransitionInMs |
90 |
رقم لـ transition in ms (الافتراضي 90). |
↳ TransitionOutMs |
130 |
رقم لـ transition out ms (الافتراضي 130). |
↳ MinimumTravelMs |
650 |
الحد الأدنى أو المستوى المطلوب لـ minimum travel ms. |
↳ MaximumTravelMs |
1250 |
الحد الأعلى لـ maximum travel ms. |
↳ TravelMsPerMeter |
18.0 |
رقم لـ travel ms per meter (الافتراضي 18.0). |
↳ EndHoldMs |
260 |
رقم لـ end hold ms (الافتراضي 260). |
↳ StartFov |
48.0 |
رقم لـ start fov (الافتراضي 48.0). |
↳ EndFov |
28.0 |
رقم لـ end fov (الافتراضي 28.0). |
↳ StartBehindMuzzle |
0.55 |
رقم لـ start behind muzzle (الافتراضي 0.55). |
↳ EndBeforeImpact |
0.72 |
رقم لـ end before impact (الافتراضي 0.72). |
↳ SideOffset |
0.20 |
رقم لـ side offset (الافتراضي 0.20). |
↳ ArcHeight |
0.22 |
رقم لـ arc height (الافتراضي 0.22). |
↳ LookAhead |
0.09 |
رقم لـ look ahead (الافتراضي 0.09). |
SlowMotion |
table |
جدول عناصر slow motion. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ TimeScale |
0.22 |
نسبة أو مضاعف لـ time scale. |
Controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ DisableDuringCamera |
true |
يطفّي during camera: true = نعم، false = لا (الافتراضي true). |
↳ AllowSkip |
true |
يسمح بـ skip: true = نعم، false = لا (الافتراضي true). |
↳ SkipControl |
0x156F7119 |
INPUT_FRONTEND_CANCEL / Backspace on the default RedM mapping. |
TestCommand |
table |
Client-only test command. Aim at a ped and run /jrs_killcam_test. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Name |
"jrs_killcam_test" |
نص يظهر للاعب لـ name. غيّره للترجمة أو لتغيير الاسم. |
AllowedWeaponGroups |
table |
Firearm groups only. Add/remove groups without changing client/main.lua. |
BlockedWeapons |
table |
Optional weapon names, for example: 'WEAPON_REPEATER_CARBINE'. |
HeadBones |
table |
RDR skeleton bone IDs accepted as head hits. |
↳ 0x796E |
true |
SKEL_HEAD |
ملاحظات من ملف README#
# jrs_killcam
Standalone client-side cinematic kill camera for RedM. It detects a confirmed
firearm hit, calculates a path from the shooter's hand/muzzle to the impact, and
plays a short local slow-motion camera. Damage, death and server ownership are
not replaced or delayed.
## Installation
1. Copy `jrs_killcam` into the server's resources directory.
2. Add `ensure jrs_killcam` to `server.cfg`.
3. Restart the resource or server.
No framework, inventory, database or server-side dependency is required.
## Default behaviour
- Activates for lethal firearm hits.
- Supports players and human NPCs.
- Runs only on the shooter's client.
- Does not freeze, revive, damage or make either player invincible.
- Restores the gameplay camera and time scale on completion, skip, player
death, pause, error, resource stop or resource restart.
- Five-second cooldown prevents repeated cameras during rapid combat.
## Test
Aim at a player or human NPC and run:
'''text
/jrs_killcam_test
'''
This tests the camera without damaging the target. The test command can be
disabled in `config.lua` after setup.
For the real trigger, kill a supported target with a revolver, pistol, repeater,
rifle, sniper rifle or shotgun from at least the configured minimum distance.
## Important configuration
- `Config.Trigger.FatalHitsOnly`: use only lethal hits.
- `Config.Trigger.HeadshotsAlways`: allow non-lethal headshots too.
- `Config.Trigger.ChancePercent`: frequency from 0 to 100.
- `Config.Trigger.MinimumDistance`: prevents awkward point-blank cameras.
- `Config.SlowMotion.TimeScale`: local visual time scale.
- `Config.Camera`: travel time, FOV and offsets.
- `Config.Targets`: players, human NPCs and animals.
- `Config.BlockedWeapons`: weapon names that must never trigger the camera.
## Exports
'''lua
local started = exports.jrs_killcam:Play(targetPed, impactCoords)
local active = exports.jrs_killcam:IsActive()
'''
`impactCoords` may be omitted. `Play` intentionally bypasses the normal kill,
distance and cooldown checks so another trusted client resource can request a
cinematic directly.
## Technical noteمدفوع (السيرفر فقط) jrs_license_book
ملف رخصة المواطن الرسمي والسجل - ثيم JRS_STORE الموحّد
| الريسورس | jrs_license_book |
| المجلد | [INTERFACE] |
| الإصدار | 1.3.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 1,475 Lua lines |
الـ Exports
GetStoredLicenses, GiveBinder, HasLicense, OpenBinder, PlayerHasBinder
جداول قاعدة البيانات
jrs_license_binder, jrs_license_binder_issued
config.lua - 32 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Locale |
"ar" |
اللغات المدعومة: 'ar' أو 'en' |
Item |
"license_binder" |
اسم الآيتم في الحقيبة |
AltItem |
"license_book" |
اسم بديل إضافي إن وجد |
ItemLabel |
"دفتر الرخص" |
بيانات إنشاء الآيتم التلقائي في قاعدة البيانات (jrs_items) |
ItemLabelEn |
"License Binder" |
أغراض المخزون المستخدمة في item label en. الأسماء لازم تكون موجودة في جدول jrs_items. |
ItemDescription |
'دفتر جلدي رسمي لحفظ وتنظيم ... |
أغراض المخزون المستخدمة في item description. الأسماء لازم تكون موجودة في جدول jrs_items. |
ItemDescriptionEn |
'An official leather binder ... |
أغراض المخزون المستخدمة في item description en. الأسماء لازم تكون موجودة في جدول jrs_items. |
ItemWeight |
0.20 |
الحد الأعلى لـ item weight. |
ItemCategory |
"documents" |
أغراض المخزون المستخدمة في item category. الأسماء لازم تكون موجودة في جدول jrs_items. |
Command |
"licenses" |
الأوامر لفتح الدفتر (بالإضافة لاستخدامه كـ Item من الحقيبة) |
CommandAliases |
table |
جدول عناصر command aliases. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
RequireItem |
true |
هل يلزم وجود دفتر الرخص في الحقيبة لفتح القائمة؟ |
ShowDistance |
3.5 |
المسافة القصوى بالأمتار لإظهار الرخصة أو الصك لشخص قريب |
AutoCloseSharedSeconds |
16 |
مدة إغلاق عرض الرخصة التلقائي عند الشخص المستقبل (بالثواني) |
AutoInstallDatabase |
true |
التثبيت التلقائي لجدول قاعدة البيانات والآيتم |
AutoRegisterItem |
true |
يتعامل تلقائياً مع register item: true = نعم، false = لا (الافتراضي true). |
UseAnimation |
true |
رسائل التنبيه والأنيميشن |
AnimDict |
nil |
إعدادات الأنيميشن لـ anim dict. |
Scenario |
"WORLD_HUMAN_WRITE_NOTEBOOK" |
أنيميشن دفتر الملاحظات الواقعي في RDR2 |
↳ Weaponlicence |
table |
1. رخص الأسلحة والهوية |
↳ idcard |
table |
جدول عناصر idcard. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ fakeid |
table |
جدول عناصر fakeid. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ house_deed |
table |
2. صكوك المنازل والعقارات |
↳ property_deed |
table |
جدول عناصر property deed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ guarma_voucher |
table |
جدول عناصر guarma voucher. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ voucher_flame_shoes |
table |
جدول عناصر voucher flame shoes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ jrs_store_deed |
table |
3. صكوك المتاجر والشراء التجاري |
↳ jrs_store_title |
table |
نص يظهر للاعب لـ jrs store title. غيّره للترجمة أو لتغيير الاسم. |
↳ saloon_deed |
table |
جدول عناصر saloon deed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ generalstore_deed |
table |
جدول عناصر generalstore deed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ gunstore_deed |
table |
جدول عناصر gunstore deed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ truckr |
table |
جدول عناصر truckr. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مدفوع (السيرفر فقط) jrs_mapcolor
ألوان الخريطة في jrs core - ألوان مناطق الخريطة متزامنة ويتحكم فيها الأدمن
| الريسورس | jrs_mapcolor |
| المجلد | [INTERFACE] |
| الإصدار | 2.4.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_core |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 1,578 Lua lines |
الـ Exports
GetAvailableStyles, GetRegionColor, GetState, IsAdmin, OpenAdminMenu, SetRegionColor
جداول قاعدة البيانات
IF, jrs_mapcolor
config/config.lua - 17 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
REDEMPIRE |
table |
جدول عناصر redempire. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ CoreResource |
"jrs_core" |
إعداد لـ core resource. |
↳ MysqlResource |
"oxmysql" |
إعداد لـ mysql resource. |
GlobalEnabled |
true |
The server is authoritative. Players cannot toggle map colors locally. GlobalEnabled is true so Government/Admin can color specific zones, while all regions default to false (white map base). |
Persistence |
table |
Persist admin changes in database (oxmysql) and local file backup. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ type |
"database" |
إعداد لـ type. |
↳ table |
"jrs_mapcolor" |
إعداد لـ table. |
↳ file |
"mapcolor_state.json" |
إعداد لـ file. |
Admin |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin. |
↳ command |
"mapcoloradmin" |
إعداد لـ command. |
↳ allowedGroups |
table |
REDEMPIRE groups allowed to use the menu. |
↳ acePermission |
nil |
Optional ACE permission in addition to REDEMPIRE groups. Set nil to use REDEMPIRE groups only. |
↳ identifiers |
table |
Optional identifiers that can always use the menu. Example: 'license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' |
AvailableStyles |
table |
Styles exposed in the admin UI. These are region/blip styles used by the RDR2 map-region native. |
Regions |
table |
Stable IDs are used by the UI and persisted state. |
ملاحظات من ملف README#
# jrs_mapcolor
Server-synchronized RedM map region color controller with a dedicated admin NUI.
## Features
- Admin-only map color control menu.
- Enable/disable the complete map-color system for all players.
- Enable/disable individual regions for all players.
- Change each region to one of the configured available styles/colors.
- Changes synchronize instantly to connected players.
- New players receive the current server state automatically.
- Admin changes are persisted in `mapcolor_state.json` by default.
- No player-side E toggle and no public `/mapcolor` toggle.
- Server validates every admin action; NUI events cannot bypass permissions.
## Install
Add to `server.cfg`:
'''cfg
ensure jrs_mapcolor
'''
By default the menu reads the player group directly from `jrs_core` and allows:
- `admin`
- `superadmin`
- `owner`
Change them in `Config.Admin.allowedGroups`. No extra ACE setup is required for the default REDEMPIRE configuration.
ACE can still be enabled as an additional permission method by setting `Config.Admin.acePermission`, and exact identifiers can be whitelisted in `Config.Admin.i
## Admin menu
'''text
/mapcoloradmin
'''
The command only opens when the server confirms the player has permission.
## Configuration
- `Config.GlobalEnabled`: default global state.
- `Config.Persistence.enabled`: save admin changes across restarts.
- `Config.Admin.command`: admin menu command.
- `Config.Admin.allowedGroups`: REDEMPIRE groups allowed to use the menu.
- `Config.Admin.acePermission`: optional extra ACE permission.
- `Config.AvailableStyles`: colors/styles exposed to admins.
- `Config.Regions`: configured map regions and defaults.
## Persistent state
When an admin makes a change, `mapcolor_state.json` is generated inside the resource. Delete that file or press **Defaults** in the admin menu to return to valu
## Region Coverage
The admin menu includes 74 named map hashes grouped as States, Mexico / Nuevo Paraiso, Districts, Town & Local Regions, Town & Property Outlines, and Bounty & L
## Mexico / Nuevo Paraiso
A dedicated menu section exposes the native Mexico map regions:
- Nuevo Paraiso (`0x33F2D34F`)
- Diez Coronas (`0x8966022D`)
- Perdido (`0x27253ED3`)مجاني (موجود مع JRS Core) jrs_metabolism
JRS Core Metabolism - BCC-style local mount horse HUD with robust jrs_stable lifecycle bridge and native core/live-meter sync
| الريسورس | jrs_metabolism |
| المجلد | [INTERFACE] |
| الإصدار | 1.50.5 |
| المطوّر | jrs team |
| يعتمد على | jrs_character, jrs_core, jrs_inventory |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 19,429 Lua lines |
الأوامر
/eagleeye/eagleeye_select/edithud/ee/gotobath/hudhide/hudreload/metahud/pee/setdirt/setpee/testcaneat/urinate
الـ Exports
AddPlayerDirtLevel, ClearPlayerDirtAfterBath, ClearPlayerDirtLevel, ClearStableHorse, CloseInv, GetArmourHud, GetDirtLevel, GetFixedDirtLevel, GetPvpState, GetStableHorse, GetStableHorseCondition, GetUrineLevel, IsCharacterTransitionActive, IsDirtSystemLoaded, Relieve, SetArmourHud, SetCharacterTransition, SetLastDirtyState, SetPlayerDirtLevel, SetPlayerUrineLevel, SetStableHorse, SyncPvpState, UpdatePlayerDirtLevel, addHunger, addMetabolism, addStress, addThirst, changeValue, getAlcohol, getDirt
جداول قاعدة البيانات
jrs_metabolism
config/armour.cfg.lua - 6 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ArmourHUD |
table |
REDEMPIRE Armour HUD integration. This is optional: jrs_metabolism still starts normally when jrs_armour is not installed/running. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ SourceResource |
"jrs_armour" |
إعداد لـ source resource. |
↳ DefaultColor |
"#d7d7d7" |
إعداد لـ default color. |
↳ ActiveRefreshMs |
1000 |
lightweight fallback sync while armor is equipped |
↳ IdleRefreshMs |
3000 |
slower check while no armor is equipped |
config/main.cfg.lua - 233 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ArmourHUD |
Config.ArmourHUD |
إعداد لـ armour hud. |
DevMode |
true |
مفتاح لـ dev mode: true = شغّال، false = طافي (الافتراضي true). |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
HideNativeAmmo |
true |
true: hide RedM's original ammo numbers (the custom weapon HUD remains visible). false: keep RedM's original ammo display. |
LowAmmoThreshold |
5 |
Turn the loaded-ammo number red at this amount or lower. |
HudAutoHide |
table |
Automatically hide every HUD icon while the player is dead or another UI/menu is open. |
↳ OnDeath |
true |
مفتاح لـ on death: true = شغّال، false = طافي (الافتراضي true). |
↳ OnNuiFocus |
true |
inventory and most NUI menus |
↳ OnStateBagMenu |
true |
common inventory/menu state-bag flags |
↳ OnPauseMenu |
true |
مفتاح لـ on pause menu: true = شغّال، false = طافي (الافتراضي true). |
↳ OnMap |
true |
مفتاح لـ on map: true = شغّال، false = طافي (الافتراضي true). |
↳ OnCinematic |
true |
مفتاح لـ on cinematic: true = شغّال، false = طافي (الافتراضي true). |
↳ OnScreenFade |
true |
مفتاح لـ on screen fade: true = شغّال، false = طافي (الافتراضي true). |
↳ CheckInterval |
150 |
إعداد وقت لـ check interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Performance |
table |
جدول عناصر performance. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ CompassInterval |
75 |
إعداد وقت لـ compass interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ VoiceInterval |
100 |
إعداد وقت لـ voice interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AdminMuteFallback |
2000 |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin mute fallback. |
↳ NearbyPlayersInterval |
2000 |
إعداد وقت لـ nearby players interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ TelegramInterval |
5000 |
إعداد وقت لـ telegram interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ HouseRefreshInterval |
60000 |
إعداد وقت لـ house refresh interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ TemperatureInterval |
2000 |
إعداد وقت لـ temperature interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ StressShotInterval |
150 |
إعداد وقت لـ stress shot interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ StressShotCooldown |
2500 |
إعداد وقت لـ stress shot cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ PoisonIdleInterval |
1000 |
إعداد وقت لـ poison idle interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ PoisonRunCheck |
500 |
رقم لـ poison run check (الافتراضي 500). |
↳ WeaponInterval |
300 |
إعداد وقت لـ weapon interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
HorseHud |
table |
JRS metabolism remains the owner of the HUD. When jrs_stable is running, its active horse can be used as the horse source; native mount detection remains the safe fallback. |
↳ ShowStatNumbers |
true |
true = show the stable horse level (1..100); trainer rank 1..4 is the fallback |
↳ MountedInterval |
250 |
live refresh while mounted |
↳ UnmountedInterval |
900 |
إعداد وقت لـ unmounted interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ NotReadyInterval |
1500 |
إعداد وقت لـ not ready interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ UseStableIntegration |
true |
يشغّل أو يطفّي stable integration (الافتراضي true). |
↳ StableResource |
"jrs_stable" |
إعداد لـ stable resource. |
↳ StableMaxDistance |
80.0 |
المسافة بوحدات اللعبة لـ stable max distance. |
↳ ShowStableHorseWhenUnmounted |
false |
يعرض stable horse when unmounted: true = نعم، false = لا (الافتراضي false). |
2026-09-07: turned OFF by request - the horse HUD goes back to the
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ ShowHorseCondition |
false |
and persists horse hunger/thirst exactly as before; this only stops the two extra HUD cores from being drawn. Set back to true to show them again, no other change needed. |
↳ ConditionInterval |
1500 |
how often the condition state bag is read |
DirtSystem |
table |
Integrated dirt system (merged from tp_dirtsystem). Dirt is stored inside jrs_metabolism meta, so no extra SQL column is required. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ MaxLevel |
10000 |
الحد الأعلى لـ max level. |
↳ DirtyThreshold |
6000 |
رقم لـ dirty threshold (الافتراضي 6000). |
↳ TickInterval |
1000 |
إعداد وقت لـ tick interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ ServerSyncInterval |
60000 |
إعداد وقت لـ server sync interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ ParticleRenderingDistance |
15.0 |
المسافة بوحدات اللعبة لـ particle rendering distance. |
↳ ParticleRefreshInterval |
5000 |
إعداد وقت لـ particle refresh interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ FliesEnabled |
false |
In RDO living players do not have cartoon flies swarming them |
↳ Temperature |
table |
جدول عناصر temperature. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ PlayerActions |
table |
Red Dead Online physical dirt mechanics |
↳ WaterWash |
table |
Red Dead Online natural water wash (rivers, lakes, creeks, swimming) |
↳ RainWash |
table |
Red Dead Online natural rain wash |
↳ Notifications |
table |
جدول عناصر notifications. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
DrugEffect |
true |
مفتاح لـ drug effect: true = شغّال، false = طافي (الافتراضي true). |
Start_stress |
true |
مفتاح لـ start stress: true = شغّال، false = طافي (الافتراضي true). |
StressGainPerShot |
2 |
رقم لـ stress gain per shot (الافتراضي 2). |
DrugEffectTime |
60000 |
drug effect time |
InitialValues |
table |
جدول عناصر initial values. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Thirst |
100 |
الحد الأقصى 100. |
↳ Hunger |
100 |
الحد الأقصى 100. |
RealisticSprintStaminaDescrease |
true |
The following is a realistic sprinting stamina decrease system, if you don't like it, set it to false. |
SprintStaminaDrain |
table |
for a moment, stamina bottoms out, sprint is cut, and it reads as "running is slow". Amount/IntervalMs are now yours to set, and Enabled = false removes the drain entirely while keeping the rest of the sprint handling. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Amount |
0.05 |
per tick (balanced drain rate while sprinting) |
↳ IntervalMs |
100 |
how often it is applied |
AimStaminaFreeze |
table |
Aiming / scope zoom no longer burns stamina (native breath-hold). Enabled = false restores the vanilla drain. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
ServerGuard |
table |
thirst up, stress/alcohol/poison/dirt down) are capped per player per rolling minute; anything above is clamped and the client is resynced. Server exports (exports.jrs_metabolism:addHunger etc.) are not limited. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ LogBlocked |
true |
يسجّل blocked: true = نعم، false = لا (الافتراضي true). |
↳ MaxGainPerMinute |
table |
الحد الأعلى لـ max gain per minute. |
DisablePlayerRunWhileDrunk |
true |
Set it to false if you wan't the players to be able to run while drunk. |
AlcoholConsiderDrunk |
50 |
The value when a player reaches while drinking to consider as being drunk. |
AlcoholConsiderVeryDrunk |
80 |
رقم لـ alcohol consider very drunk (الافتراضي 80). |
AlcoholRemoveByTime |
3 |
الوقت بالثواني. |
AlcoholRemoveByTimeValue |
1 |
The alcohol value to be removed based on @AlcoholRemoveByTime (MAX ALCOHOL == 100) |
HungerStripeValue |
0 |
When hunger reaches 0, player slowly loses health from starvation. |
ThirstStripeValue |
0 |
When thirst reaches 0, player slowly loses health from dehydration. |
HealthDamageValue |
1 |
رقم لـ health damage value (الافتراضي 1). |
StarvationMinHealthPercent |
0.25 |
RDR2: empty cores never kill you - the outer bar just stops refilling. Our improvement keeps a slow starvation/dehydration bleed, but it stops at this share of max health instead of killing (0 = old lethal behaviour). |
TimeRateRepeat |
5 |
الوقت بالثواني. |
HungerDrainIdle |
0.05 |
Standing / resting / riding: ~2h47 real (halved 10-04, players: too fast). |
HungerDrainWalking |
0.06 |
Walking: ~2h19 real. |
HungerDrainRunning |
0.08 |
Running / sprinting: ~1h44 real. |
ThirstDrainIdle |
0.05 |
Standing / resting / riding: ~2h47 real. |
ThirstDrainWalking |
0.08 |
Walking: ~1h44 real. |
ThirstDrainRunning |
0.15 |
Running / sprinting: ~56 real minutes. |
SwimDrainThirst |
0.08 |
Extra per tick while swimming (stamina core). |
SwimDrainHunger |
0.015 |
رقم لـ swim drain hunger (الافتراضي 0.015). |
RDOCores |
table |
Red Dead Online Core System Parity |
↳ SyncNativeCores |
true |
Sync Hunger -> ATTRIBUTE_CORE_HEALTH (0), Thirst -> ATTRIBUTE_CORE_STAMINA (1) |
↳ HealthRegenEnabled |
true |
Health auto-recharges when well-fed (stops completely when Hunger = 0) |
↳ HealthRegenCombatCooldownMs |
6000 |
Cooldown in milliseconds after taking damage before health recharges |
↳ StaminaRegenScaleWithThirst |
true |
Stamina recharges fast when hydrated, slow (0.35x) when dehydrated |
↳ StarvationPulseEffect |
true |
Pulsing heartbeat vignette & audio when starving (hunger = 0) |
↳ DehydrationFatigueEffect |
true |
Panting audio and fatigue camera vibration when running while dehydrated |
↳ WeightSystemEnabled |
true |
RDO Weight system (Underweight, Average, Overweight damage & stamina scaling) |
MinTemperature |
-4 |
If the player temperature is that low, it will start doing damage to your health. |
MinTemperatureDamage |
1 |
Set to false if you don't want to damage the player. |
MinTemperatureDrainThirst |
0 |
Set to 0 if you don't want to drain thirst in freezing cold. |
MinTemperatureDrainHunger |
0.04 |
Body burns extra calories (hunger) in freezing cold to stay warm (RDO parity). |
MaxTemperature |
42 |
If the player temperature is that high, it will start draining more water and hunger. (42°C As default) |
MaxTemperatureDrainThirst |
0.05 |
Perspiration in extreme desert/heat drains hydration faster (RDO parity). |
MaxTemperatureDrainHunger |
0.01 |
Slight extra fatigue in extreme heat. |
ClothingExtraTemperature |
true |
Do not modify the hashes without knowledge. |
ClothingListHashes |
table |
جدول عناصر clothing list hashes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ hat |
table |
جدول عناصر hat. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ gloves |
table |
جدول عناصر gloves. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ shirt |
table |
جدول عناصر shirt. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ pants |
table |
جدول عناصر pants. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ boots |
table |
جدول عناصر boots. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ vest |
table |
جدول عناصر vest. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ coats |
table |
جدول عناصر coats. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ closed_coats |
table |
جدول عناصر closed coats. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ponchos_1 |
table |
جدول عناصر ponchos 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ponchos_2 |
table |
جدول عناصر ponchos 2. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
DrinkCupAnimDuration |
60000 |
Determines how long the user will hold the coffee before throwing it away. |
DrinkBottleAnimDuration |
60000 |
Determines how long the user will hold a bottle before throwing it away. |
EatBowlAnimDuration |
60000 |
Determines how long the user will hold the bowl or plate before throwing it away. |
Notifications |
table |
جدول عناصر notifications. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ NotificationWarningDelay |
2 |
If the player is feeling hungry, thirsty or stressed, it will display him a message very X minutes as a warning. |
↳ Hunger |
table |
جدول عناصر hunger. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Thirst |
table |
جدول عناصر thirst. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Stress |
table |
جدول عناصر stress. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Temperature |
table |
Temperature Notification Values are equal to the configuration options above (MinTemperature & MaxTemperature). |
↳ Alcohol |
table |
Fires once the player crosses Config.AlcoholConsiderDrunk (below). |
SaltyChat |
true |
مفتاح لـ salty chat: true = شغّال، false = طافي (الافتراضي true). |
DefaultMicRange |
1 |
max 4 |
VoiceKey |
0x4BC9DABB |
Push-to-talk (N). Uses the logical RedM control, so rebinding the key still works. |
VoicePressingDelay |
500 |
إعداد وقت لـ voice pressing delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
UpdateHUDDelay |
200 |
Live updates for metabolism HUD cores without delay. |
TemperatureColors |
table |
You can use rgb, rgba & hashes. |
↳ Default |
"rgba(0, 0, 0, 0.623)" |
إعداد لـ default. |
↳ Cold |
table |
جدول عناصر cold. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Hot |
table |
جدول عناصر hot. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Population |
table |
This counts streamed/active players around the local JRS character, not the total server slot count. Values mirror the JRS HUD reference supplied with this resource migration. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ detectDistance |
50.0 |
المسافة بوحدات اللعبة لـ detect distance. |
↳ thresholds |
table |
جدول عناصر thresholds. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ChangingRangeData |
table |
المسافة بوحدات اللعبة لـ changing range data. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ MarkerDisplayMs |
1500 |
How long the voice-range ring stays on the ground after the range changes. 5000ms read as "stuck" in game, the ring outlived the change it announced. |
↳ RGBA |
table |
Fallback, used only if a range below has no colour of its own. |
↳ RangeColors |
table |
The ring on the ground now reads as the voice range itself, instead of being the same green at every distance. Indexes match pma-voice's voiceModes order: 1 whisper, 2 normal, 3 loud, 4 shouting. |
↳ Alpha |
60 |
Ring opacity (0-255). |
Snakes |
table |
جدول عناصر snakes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Prop |
table |
موديل أو كيان في اللعبة يُستخدم لـ prop. |
This file is a shared_script, so SendNotification runs on both sides -
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
shake |
table |
جدول عناصر shake. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 2 |
table |
جدول عناصر 2. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 3 |
table |
جدول عناصر 3. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 4 |
table |
جدول عناصر 4. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 5 |
table |
جدول عناصر 5. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
stress < RunOnlyStress -> full sprint
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ min |
30 |
الحد الأدنى أو المستوى المطلوب لـ min. |
↳ max |
60 |
الحد الأعلى لـ max. |
↳ timeout |
math.random(30000, 40000) |
إعداد وقت لـ timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
2 |
table |
جدول عناصر 2. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ min |
60 |
الحد الأدنى أو المستوى المطلوب لـ min. |
↳ max |
70 |
الحد الأعلى لـ max. |
↳ timeout |
math.random(20000, 30000) |
إعداد وقت لـ timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
3 |
table |
جدول عناصر 3. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ min |
70 |
الحد الأدنى أو المستوى المطلوب لـ min. |
↳ max |
80 |
الحد الأعلى لـ max. |
↳ timeout |
math.random(10000, 20000) |
إعداد وقت لـ timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
4 |
table |
جدول عناصر 4. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ min |
80 |
الحد الأدنى أو المستوى المطلوب لـ min. |
↳ max |
90 |
الحد الأعلى لـ max. |
↳ timeout |
math.random(5000, 10000) |
إعداد وقت لـ timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
5 |
table |
جدول عناصر 5. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ min |
90 |
الحد الأدنى أو المستوى المطلوب لـ min. |
↳ max |
100 |
الحد الأعلى لـ max. |
↳ timeout |
math.random(9000, 15000) |
إعداد وقت لـ timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
How often metabolism values are written to the database. The defaults
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
SaveInterval |
120000 |
background flush, 2 minutes |
MinSaveInterval |
30000 |
never save the same player more often than this |
ForceSaveOnDisconnect |
true |
always flush when a player leaves |
What happens to the meters when a player goes down. Reset values are only
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ResetHunger |
false |
مفتاح لـ reset hunger: true = شغّال، false = طافي (الافتراضي false). |
ResetThirst |
false |
مفتاح لـ reset thirst: true = شغّال، false = طافي (الافتراضي false). |
ResetStress |
true |
مفتاح لـ reset stress: true = شغّال، false = طافي (الافتراضي true). |
ResetDirt |
false |
مفتاح لـ reset dirt: true = شغّال، false = طافي (الافتراضي false). |
HungerOnRespawn |
50 |
إعداد وقت لـ hunger on respawn. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
ThirstOnRespawn |
50 |
إعداد وقت لـ thirst on respawn. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Rename any of these to avoid clashing with another resource. An empty
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
HudEditor |
"hudsettings" |
open the HUD layout editor |
SprintCheck |
"sprintcheck" |
report everything currently blocking sprint |
SprintFix |
"sprintfix" |
emergency release of movement restrictions |
HudExport |
"hudexport" |
admin: dump the current layout as config Lua |
Set enabled = false if jrs_core is not on this server: the button then never
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
resource |
"jrs_core" |
إعداد لـ resource. |
event |
"jrs_core:hud:openEditor" |
إعداد لـ event. |
label |
"Core HUD" |
نص يظهر للاعب لـ label. غيّره للترجمة أو لتغيير الاسم. |
hint |
'Saves these settings, close... |
إعداد لـ hint. |
RDR2-style tracking vision: hold/toggle to desaturate the screen and
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
ToggleControl |
0 |
toggle) is gated to its own menu/vehicle context, so a plain on-foot toggle here does not fight any of them for the same keypress. Disabled: Z no longer toggles Eagle Eye (default = scroll-wheel click below). |
SecondaryControls |
table |
Additional single controls that toggle Eagle Eye (Middle Mouse Click / Caps Lock / INPUT_SPECIAL_ABILITY). |
DrainPerSecond |
6.0 |
lost per second while active |
RegenPerSecond |
10.0 |
regained per second while off |
MinToActivate |
5 |
can't turn back on below this |
HighlightRadius |
60.0 |
How far around the player Eagle Eye reaches - both for this resource's own built-in corpse highlight, and as the radius handed to every jrs_metabolism:eagleEye:tick listener. |
TickInterval |
350 |
ms between highlight/broadcast passes |
MaxMarkers |
60 |
cap on highlight markers drawn per frame (performance) |
DrawMarkers |
false |
Set to false so 3D yellow box markers do NOT appear over animals or connected scripts |
LevelScaling |
table |
Level-scaling: higher level characters gain longer duration, faster recharge, and larger radius. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ MaxLevel |
100 |
الحد الأعلى لـ max level. |
↳ MaxDrainReduction |
0.60 |
Up to 60% slower drain at max level (lasts 2.5x longer) |
↳ MaxRegenBonus |
1.00 |
Up to +100% faster refill at max level (fills twice as fast) |
↳ MaxRadiusBonus |
30.0 |
Up to +30 meters radius at max level (reaches up to 90m) |
↳ AwardXP |
true |
Grants character XP while actively using Eagle Eye |
↳ XPAmount |
5 |
XP granted per interval |
↳ XPIntervalSeconds |
15 |
Seconds of active vision per XP tick |
↳ MaxXPAwardsPerHour |
40 |
Server cap: at most this many XP ticks per player per hour |
SelectableScripts |
table |
Selectable scripts and targets that can be toggled via command /ee [name] or /eagleeye_select |
↳ herbs |
table |
جدول عناصر herbs. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ hunting |
table |
جدول عناصر hunting. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ mining |
table |
جدول عناصر mining. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ farming |
table |
جدول عناصر farming. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ lumberjack |
table |
جدول عناصر lumberjack. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ corpses |
table |
جدول عناصر corpses. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ persons |
table |
جدول عناصر persons. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ players |
table |
جدول عناصر players. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ animals |
table |
موديل أو كيان في اللعبة يُستخدم لـ animals. |
↳ vehicles |
table |
جدول عناصر vehicles. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
CorpseOutlineColor |
table |
Nearby dead bodies, kills, downed game |
PersonOutlineColor |
table |
Living NPCs / persons |
PlayerOutlineColor |
table |
Other players |
AnimalOutlineColor |
table |
Living wild/domestic animals |
VehicleOutlineColor |
table |
Mounts, horses, wagons |
ScreenTint |
table |
nothing at all. DrawRect is proven elsewhere in this codebase (jrs_camera, jrs_pets/target_hud, jrs_casino) so this always shows something even if the optional extras below are left blank. |
PostFx |
"EagleEye" |
Optional extra polish: AnimpostfxPlay('EagleEye') is the authentic RDR2 vision effect. |
TimecycleModifier |
"" |
إعداد لـ timecycle modifier. |
TimecycleStrength |
1.0 |
رقم لـ timecycle strength (الافتراضي 1.0). |
BlockWhileSwimming |
true |
The ability refuses to (re)activate, and force-deactivates if already on, while any of these are true. |
BlockWhileRagdoll |
true |
مفتاح لـ block while ragdoll: true = شغّال، false = طافي (الافتراضي true). |
BlockWhileAiming |
true |
مفتاح لـ block while aiming: true = شغّال، false = طافي (الافتراضي true). |
config/smoking.cfg.lua - 1 إعداد#
Scope of this pass: the 15 "hand to mouth" smoking items (cigars, pipes,
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Smoking |
table |
جدول عناصر smoking. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
config/urine.cfg.lua - 22 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Urine |
table |
Lightweight bladder system. Set Enabled to false to disable it completely. There is no health damage; the only gameplay effect is an optional, very small movement penalty at the critical stage. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Initial |
0 |
رقم لـ initial (الافتراضي 0). |
↳ Prompt |
table |
Only shown standing at a bathhouse door (asked from jrs_bathing through exports.jrs_bathing:GetClosestConsumer(); falls back to TownRestriction.Bathhouses within Radius when jrs_bathing is stopped). |
↳ PeeDuration |
5500 |
إعداد وقت لـ pee duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ WarningAt |
85 |
رقم لـ warning at (الافتراضي 85). |
↳ CriticalAt |
95 |
رقم لـ critical at (الافتراضي 95). |
↳ NoticeCooldownMs |
120000 |
إعداد وقت لـ notice cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CriticalMovementEnabled |
true |
مفتاح لـ critical movement enabled: true = شغّال، false = طافي (الافتراضي true). |
↳ CriticalMoveRate |
0.95 |
نسبة أو مضاعف لـ critical move rate. |
↳ Drain |
table |
{ level added, interval in milliseconds } |
↳ BlockOnMount |
true |
مفتاح لـ block on mount: true = شغّال، false = طافي (الافتراضي true). |
↳ BlockInVehicle |
true |
مفتاح لـ block in vehicle: true = شغّال، false = طافي (الافتراضي true). |
↳ BlockWhileArmed |
true |
مفتاح لـ block while armed: true = شغّال، false = طافي (الافتراضي true). |
↳ MaleScenario |
"WORLD_HUMAN_PEE" |
Men use the native standing scenario. Women use a female crouching animation; set Enabled to false below to use the standing scenario for everyone instead, or replace Dict/Name with another tested female anim. |
↳ FemaleAnimation |
table |
إعدادات الأنيميشن لـ female animation. |
↳ Messages |
table |
نص يظهر للاعب لـ messages. غيّره للترجمة أو لتغيير الاسم. |
↳ SafezoneRestriction |
table |
Safe Zone restriction: In unsafe areas, peeing is allowed anywhere via command. In safe areas (towns / safe zones), peeing is only permitted via bathrooms. |
↳ OuthouseModels |
table |
World Outhouse / Restroom prop models detected dynamically (including player home toilets) |
↳ OuthouseRadius |
1.8 |
المسافة بوحدات اللعبة لـ outhouse radius. |
↳ AdditionalBathrooms |
table |
Additional public toilets / outhouse locations across safezones and towns |
Each entry is { centre, radius }. The radius covers the populated area
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ TownRestriction |
table |
generously - players just outside town limits can still use /pee freely. |
config/water.cfg.lua - 16 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
WaterActions |
table |
جدول عناصر water actions. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ GroupTitle |
"River" |
Title displayed above the prompt group |
↳ GroupTitleLocale |
"metabolism_water_prompt_title" |
لغة واجهة السكربت (en أو ar). |
↳ RequireRightClick |
true |
Right-click requirement: prompts only appear when holding or pressing right-click near water |
↳ RightClickGraceMs |
3500 |
رقم لـ right click grace ms (الافتراضي 3500). |
↳ DetectShoreline |
true |
Detect river/lake when standing on the shore/bank facing water as well as standing in water |
↳ Prompts |
table |
Locale is preferred over Label when the key resolves; Label is the fallback so an unlocalised prompt still reads correctly. |
↳ AddDrinkThirstValue |
30 |
Thirst restored after drinking directly from a supported water source. |
↳ ChanceToBeDamaged |
table |
Chance for unsafe natural water to damage the player (disabled for Red Dead Online style). |
↳ ToggleRiverActions |
table |
جدول عناصر toggle river actions. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Dirt |
table |
Uses the DirtSystem already integrated into jrs_metabolism. |
↳ WaterTypes |
table |
جدول عناصر water types. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
To map the sea properly: stand in it, run /watertype, and add the hash
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ UnmappedWater |
table |
it prints to WaterTypes as "sea". Once every body is mapped, this can be turned off for strict matching. |
↳ Bottle |
table |
server (server/server_water.lua): the empty bottle is taken and the full one granted as one step, and the empty one is put back if the grant fails, so a failed fill can never eat the bottle. |
↳ DebugCommand |
"watertype" |
Prints the water-type hash the player is standing in, for filling in WaterTypes above. Admin-facing, harmless, client-side only. |
مدفوع (السيرفر فقط) jrs_microphone
الميكروفون ومكبر الصوت الواقعي في jrs core
| الريسورس | jrs_microphone |
| المجلد | [INTERFACE] |
| الإصدار | 1.0.1 |
| المطوّر | jrs team |
| يعتمد على | PolyZone, jrs_core, jrs_inventory, pma-voice |
| الواجهة | لا |
| اللغات | ar, en |
| حجم الكود | 1,161 Lua lines |
الأوامر
/micprop/micpropadd
config/config.lua - 33 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
ShowZone |
false |
يعرض zone: true = نعم، false = لا (الافتراضي false). |
MegaphoneItem |
"megaphone" |
Usable inventory item. |
MegaphoneRange |
50.0 |
المسافة بوحدات اللعبة لـ megaphone range. |
AudioEffect |
table |
Requires in server.cfg: setr voice_useNativeAudio true setr voice_enableSubmix 1 |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ submixName |
"jrs_amplified_voice" |
نص يظهر للاعب لـ submix name. غيّره للترجمة أو لتغيير الاسم. |
↳ effectSlot |
0 |
رقم لـ effect slot (الافتراضي 0). |
↳ outputSlot |
0 |
رقم لـ output slot (الافتراضي 0). |
↳ lowFrequency |
320.0 |
Megaphone / PA-style band pass. Raise lowFrequency and lower highFrequency for a harsher, older loudspeaker sound. |
↳ highFrequency |
4800.0 |
رقم لـ high frequency (الافتراضي 4800.0). |
↳ ringModMix |
0.08 |
رقم لـ ring mod mix (الافتراضي 0.08). |
↳ fudge |
0.0 |
رقم لـ fudge (الافتراضي 0.0). |
StageMicrophoneControl |
0xCEFD9220 |
Fixed microphone interaction. INPUT_CONTEXT / E on RedM. |
StageMicrophoneRange |
50.0 |
المسافة بوحدات اللعبة لـ stage microphone range. |
EnableMegaphoneProp |
true |
Handheld megaphone prop and animation. Bone offsets may need small adjustments for custom character models or clothing. |
MegaphoneProp |
"p_cs_megaphone01x" |
موديل أو كيان في اللعبة يُستخدم لـ megaphone prop. |
MegaphoneBoneName |
"SKEL_R_HAND" |
نص يظهر للاعب لـ megaphone bone name. غيّره للترجمة أو لتغيير الاسم. |
MegaphoneFallbackBone |
1852930 |
Used only if the named bone cannot be resolved on a custom ped model. |
MegaphoneOffset |
vector3(0.090, 0.015, -0.035... |
Attach to the main right-hand bone. The p_cs_megaphone01x model behaves more reliably on the hand bone than on the finger chain. |
MegaphoneRotation |
vector3(-88.0, 18.0, -108.0) |
إعداد لـ megaphone rotation. |
EnableMegaphonePropCalibration |
true |
Development helper. Use /micprop with six values while holding the item: /micprop x y z rotX rotY rotZ Example: /micprop 0.090 0.015 -0.035 -88.0 18.0 -108.0 |
MegaphoneAnimation |
table |
إعدادات الأنيميشن لـ megaphone animation. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ dict |
"amb_rest@world_human_smokin... |
إعدادات الأنيميشن لـ dict. |
↳ name |
"wip_base" |
نص يظهر للاعب لـ name. غيّره للترجمة أو لتغيير الاسم. |
↳ flag |
31 |
رقم لـ flag (الافتراضي 31). |
↳ blendInSpeed |
1.0 |
رقم لـ blend in speed (الافتراضي 1.0). |
↳ blendOutSpeed |
-1.0 |
رقم لـ blend out speed (الافتراضي -1.0). |
↳ playbackRate |
0.0 |
نسبة أو مضاعف لـ playback rate. |
MicrophoneProp |
"p_phonograph01x" |
Static microphone prop used by configured microphone zones. |
PropSpawnDistance |
150.0 |
المسافة بوحدات اللعبة لـ prop spawn distance. |
MicrophoneZones |
table |
جدول عناصر microphone zones. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مدفوع (السيرفر فقط) jrs_minigames
| الريسورس | jrs_minigames |
| المجلد | [INTERFACE] |
| الإصدار | 2.0.0-unified-minigames |
| المطوّر | jrs team |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 558 سطر Lua |
الـ Exports
CancelSafeCrackingMiniGame, IsSafeCrackingActive, StartSafeCrackingMiniGame, initiate, jrs_lockpick, jrs_lockpick_secure, lockpick
config/safecracking.lua - 9 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
CoreResource |
"jrs_core" |
REDEMPIRE |
RequireCharacterReady |
true |
يتطلب character ready: true = نعم، false = لا (الافتراضي true). |
CharacterReadyTimeout |
15000 |
إعداد وقت لـ character ready timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
MinTumblers |
1 |
Minigame limits |
MaxTumblers |
20 |
الحد الأعلى لـ max tumblers. |
ConfirmPrompt |
"Confirm" |
UI prompts |
RotatePrompt |
"Rotate" |
نص يظهر للاعب لـ rotate prompt. غيّره للترجمة أو لتغيير الاسم. |
CancelPrompt |
"Cancel" |
نص يظهر للاعب لـ cancel prompt. غيّره للترجمة أو لتغيير الاسم. |
FreezePlayer |
false |
Player handling while the minigame is open. |
مدفوع (السيرفر فقط) jrs_orcabridge
يرسل لقطات اللاعبين المتصلين لبوت Discord الخاص بالقطاع
| الريسورس | jrs_orcabridge |
| المجلد | [INTERFACE] |
| الإصدار | 1.0.0 |
| الواجهة | لا |
| حجم الكود | 336 سطر Lua |
جداول قاعدة البيانات
jrs_orcabridge_links
مدفوع (السيرفر فقط) jrs_player_tags
أسماء اللاعبين القريبين، أرقام السيرفر، ولحد ثلاث أسماء تاقات تنشرى لكل شخصية
| الريسورس | jrs_player_tags |
| المجلد | [INTERFACE] |
| الإصدار | 3.3.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 1,226 Lua lines |
جداول قاعدة البيانات
IF, jrs_player_tags
config/config.lua - 37 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Enabled |
true |
Master switch for the nearby player name / ID overlay. |
Command |
"tag" |
Open your own tag editor (requires granted access) |
ManageCommand |
"tagmenu" |
Open the in-game permission manager |
ManagementGroups |
table |
Only these jrs_core groups can grant/revoke tag access. Tag access itself is granted in-game and saved per character in MySQL. |
↳ owner |
true |
مفتاح لـ owner: true = شغّال، false = طافي (الافتراضي true). |
↳ admin |
true |
مفتاح لـ admin: true = شغّال، false = طافي (الافتراضي true). |
AllowSelfEdit |
true |
يسمح بـ self edit: true = نعم، false = لا (الافتراضي true). |
HoldControl |
0x8AAA0AD4 |
Nearby player overlay (name + server ID for everyone, optional special tag above it) Uses the key from the former jrs_playernames resource by default. |
HoldToShow |
true |
مفتاح لـ hold to show: true = شغّال، false = طافي (الافتراضي true). |
DrawDistance |
30.0 |
المسافة بوحدات اللعبة لـ draw distance. |
TagDrawDistance |
10.0 |
المسافة بوحدات اللعبة لـ tag draw distance. |
HeightOffset |
0.22 |
Extra clearance above the SKEL_Head bone (not a root offset anymore - client.lua anchors to the actual head bone so this just decides how far the tag floats above the hair). |
RefreshRate |
50 |
نسبة أو مضاعف لـ refresh rate. |
ShowSelf |
true |
يعرض self: true = نعم، false = لا (الافتراضي true). |
OnlyOnScreen |
true |
مفتاح لـ only on screen: true = شغّال، false = طافي (الافتراضي true). |
ShowPlayerName |
true |
يعرض player name: true = نعم، false = لا (الافتراضي true). |
ShowServerId |
true |
يعرض server id: true = نعم، false = لا (الافتراضي true). |
ShowVoiceIndicator |
true |
يعرض voice indicator: true = نعم، false = لا (الافتراضي true). |
MaxTagLength |
32 |
Tag settings |
DefaultTagText |
"TAG" |
نص يظهر للاعب لـ default tag text. غيّره للترجمة أو لتغيير الاسم. |
DefaultTagColor |
"#ffffff" |
إعداد لـ default tag color. |
THE LIMIT IS ENFORCED ON THE SERVER, not by the interface. The editor draws
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
MaxNames |
3 |
this many cards, but server/server.lua clamps the saved list to the same number regardless of what a client sends, so a modified page cannot save a fourth name. |
TagColors |
table |
Colour swatches offered in the editor. The player may also enter any hex colour by hand; these are only the quick picks, and the list can be any length. Names are shown under each swatch. |
Turning this off does not take access away from anyone who already has it;
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Purchasable |
table |
it only stops the store's grant event from being honoured. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ GrantEvent |
"jrs_pausemenu:grant:GiveTagName" |
The grant event jrs_pausemenu's store delivery calls, and the event this resource answers on. Both are server-only; see server/server.lua. |
↳ ResultEvent |
"jrs_pausemenu:grant:result" |
إعداد لـ result event. |
↳ StartingText |
"TAG" |
What a bought tag starts as, before the player edits it. |
↳ StartingColor |
"#e7c56c" |
إعداد لـ starting color. |
Stack above every head, top to bottom:
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Level |
table |
[ name ] name + ID (unchanged) Nothing here is new data: everything is read from replicated state bags that jrs_core / jrs_servertag already publish, so the server is untouched. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ ShowBadges |
true |
يعرض badges: true = نعم، false = لا (الافتراضي true). |
↳ ShowServerTag |
true |
jrs_servertag tier icon while the player wears the tag |
↳ ShowDutyJob |
true |
police star / doctor cross, ONLY while on duty |
↳ Ranks |
table |
Rank emblem by core level (1..100). shape is drawn by the NUI: circle | shield | star | sheriff | crown | diamond |
↳ DutyJobs |
table |
On-duty job icon. A job matches when its name CONTAINS one of the words (so medicval / doctorsd / sheriffbw all match). |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
ملاحظات من ملف README#
# REDEMPIRE Player Tags
Nearby player identity overlay, plus the custom name tag shown above a
character's head.
## Nearby overlay
- Hold the configured key to show nearby character names and Server IDs.
- Uses the current `jrs_core` character name, with a RedM player-name fallback
while identity is not ready.
- Optional voice/talking indicator.
- A character with tag access shows their custom tag above the name/ID line.
- Join-order safe: clients receive the current player/tag cache on character ready.
## Three names per character (3.1.0)
A character keeps up to **three** saved tag names, each with its own colour, and
picks which one is active. Only the active name is shown above their head.
- `Config.MaxNames` sets the limit. **It is enforced on the server**: whatever
the page sends, `server/server.lua` clamps the saved list, so a modified
interface cannot save a fourth name.
- `Config.TagColors` is the list of quick-pick swatches. A player can also enter
any hex colour.
- The names live in the `slots` column (JSON) with `active_slot` beside it. The
active name is *also* written to `tag_text` / `tag_color`, which is what the
overlay broadcast and every drawing path already read - so nothing about how a
tag reaches other screens changed, and a row written before this feature still
works: it becomes slot one.
- The columns are added by an additive `ALTER TABLE ... ADD COLUMN IF NOT EXISTS`
on boot. Nothing is backfilled and nothing is dropped.
## Buying a tag (3.1.0)
Tag access can now be bought from the REDEMPIRE store as **CUSTOM NAME TAG**
(`config/store/tagname.lua` in `jrs_pausemenu`), as well as granted by an admin.
- The store's delivery step triggers `Config.Purchasable.GrantEvent`
(`jrs_pausemenu:grant:GiveTagName`) and waits for the answer on
`Config.Purchasable.ResultEvent`. Both handlers here are **server-only**
(`AddEventHandler`, never `RegisterNetEvent`), so no client can grant itself a
tag without paying.
- The grant reads its own row back before reporting success, so a failure
refunds instead of charging for a tag nobody got.
- **A second purchase is refused**: the three name slots come with the one
unlock, so buying again would add nothing. The refusal arrives at the store as
an ordinary delivery failure and is refunded with the reason shown.
- `Config.Purchasable.Enabled = false` stops the grant event being honoured. It
does not take access away from anyone who already has it.
## Interface
The editor is built on `html/theme/unified-ui.css` - the same shared theme the
weather admin panel, `jrs_stores` and `jrs_farming`'s dashboards use - so it
matches the rest of the server's tooling rather than approximating it.
`html/panel.css` adds layout only.مدفوع (السيرفر فقط) jrs_rcboat
تأجير قوارب RC بالتحكم عن بعد وسباقات جماعية من JRS لـ RedM
| الريسورس | jrs_rcboat |
| المجلد | [INTERFACE] |
| الإصدار | 1.5.3 |
| المطوّر | JRS |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 2,816 Lua lines |
الأوامر
/rcboatcp/rcboatracetest/rcboattest
config.lua - 103 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
BoatModel |
"RCBOAT" |
Native RDR2 RC boat, hash 0x5E56769C |
RentalPrice |
10 |
قيمة فلوس لـ rental price. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
CurrencyType |
0 |
jrs_core: 0 = Cash, 1 = Gold, 2 = rol, 3 = Dirty Money |
PayFromBank |
false |
Set PayFromBank = true to charge/refund through jrs_banking's real bank ledger (the balance shown on the metabolism HUD) instead of cash. |
BankName |
"SaintDenis" |
branch used for the debit/credit when PayFromBank is on |
InteractDistance |
2.2 |
المسافة بوحدات اللعبة لـ interact distance. |
DrawDistance |
12.0 |
المسافة بوحدات اللعبة لـ draw distance. |
MaxBoatDistance |
450.0 |
المسافة بوحدات اللعبة لـ max boat distance. |
MaxSessionSeconds |
0 |
0 = unlimited until the player exits |
RentalCooldownSeconds |
3 |
إعداد وقت لـ rental cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Forward |
0x8FD015D8 |
W |
↳ Backward |
0xD27782E3 |
S |
↳ Left |
0x7065027D |
A |
↳ Right |
0xB4E465B4 |
D |
↳ Exit |
0x156F7119 |
BACKSPACE |
Movement |
table |
جدول عناصر movement. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ MaxForwardSpeed |
7.5 |
الحد الأعلى لـ max forward speed. |
↳ MaxReverseSpeed |
3.0 |
الحد الأعلى لـ max reverse speed. |
↳ Acceleration |
4.2 |
رقم لـ acceleration (الافتراضي 4.2). |
↳ Deceleration |
3.4 |
رقم لـ deceleration (الافتراضي 3.4). |
↳ TurnSpeed |
58.0 |
رقم لـ turn speed (الافتراضي 58.0). |
↳ MinTurnMultiplier |
0.28 |
الحد الأدنى أو المستوى المطلوب لـ min turn multiplier. |
ShoreProtection |
table |
جدول عناصر shore protection. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ MinWaterDepth |
0.18 |
Minimum water depth (meters) required to allow boat travel |
↳ LookaheadDistance |
1.4 |
Lookahead scan distance (meters) in front of the boat to detect banks/shore |
↳ PushbackForce |
1.4 |
Elastic repulsion impulse applied to bounce the boat back into water when it reaches the shore |
↳ MaxSurfaceDelta |
0.14 |
Maximum height (meters) the boat is permitted to rise above the water surface |
↳ MinSurfaceClearance |
0.12 |
الحد الأدنى أو المستوى المطلوب لـ min surface clearance. |
↳ SafeReturnZOffset |
0.04 |
رقم لـ safe return z offset (الافتراضي 0.04). |
↳ ReturnToLastSafeWater |
true |
مفتاح لـ return to last safe water: true = شغّال، false = طافي (الافتراضي true). |
↳ SafePositionUpdateMs |
100 |
Breadcrumb history of deep-water positions for safe recovery |
↳ SafeHistorySize |
64 |
رقم لـ safe history size (الافتراضي 64). |
↳ SafeHistoryMinDistance |
0.50 |
المسافة بوحدات اللعبة لـ safe history min distance. |
↳ LandRecoveryDelayMs |
80 |
Delay before recovering boat back to water if it somehow ends up on land |
↳ ShoreBrakeMs |
280 |
رقم لـ shore brake ms (الافتراضي 280). |
Camera |
table |
جدول عناصر camera. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Offset |
vector3(0.0, -4.2, 2.0) |
إعداد لـ offset. |
↳ LookAtOffset |
vector3(0.0, 0.8, 0.25) |
إعداد لـ look at offset. |
↳ Fov |
55.0 |
رقم لـ fov (الافتراضي 55.0). |
↳ TransitionMs |
450 |
رقم لـ transition ms (الافتراضي 450). |
↳ FollowSmoothness |
9.0 |
رقم لـ follow smoothness (الافتراضي 9.0). |
↳ KeepAboveWater |
true |
مفتاح لـ keep above water: true = شغّال، false = طافي (الافتراضي true). |
↳ MinHeightAboveWater |
1.15 |
الحد الأدنى أو المستوى المطلوب لـ min height above water. |
↳ MinLookAtAboveWater |
0.10 |
الحد الأدنى أو المستوى المطلوب لـ min look at above water. |
UI |
table |
جدول عناصر ui. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
Prompt |
table |
نص يظهر للاعب لـ prompt. غيّره للترجمة أو لتغيير الاسم. |
↳ Control |
0xCEFD9220 |
E |
↳ Title |
"RC Boat Rental" |
نص يظهر للاعب لـ title. غيّره للترجمة أو لتغيير الاسم. |
↳ Text |
"Rent RC Boat" |
نص يظهر للاعب لـ text. غيّره للترجمة أو لتغيير الاسم. |
Blip |
table |
Map blip so the rental station / bot can be found from a distance. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Sprite |
2005921736 |
2005921736 = Canoe / Boat sprite (matches jrs_boats) |
↳ Scale |
0.2 |
نسبة أو مضاعف لـ scale. |
↳ Colour |
"BLIP_MODIFIER_MP_COLOR_32" |
أبيض |
BoatBlip |
table |
Map blip attached to the RC boat entity while driving |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Sprite |
2005921736 |
إعدادات علامة الخريطة أو الأيقونة لـ sprite. |
↳ Scale |
0.18 |
نسبة أو مضاعف لـ scale. |
↳ Colour |
"BLIP_MODIFIER_MP_COLOR_32" |
أبيض |
↳ Name |
table |
نص يظهر للاعب لـ name. غيّره للترجمة أو لتغيير الاسم. |
Race |
table |
Multiplayer race settings. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ EntryFee |
0 |
Race still uses the normal boat rental price above. This is an OPTIONAL additional race entry fee. |
↳ Reward |
5 |
قيمة فلوس لـ reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ MinPlayers |
2 |
الحد الأدنى أو المستوى المطلوب لـ min players. |
↳ MaxPlayers |
4 |
الحد الأعلى لـ max players. |
↳ LobbyCountdownSeconds |
8 |
Once at least MinPlayers are queued, this lobby countdown begins. |
↳ StartCountdownSeconds |
3 |
رقم لـ start countdown seconds (الافتراضي 3). |
↳ StartSpacing |
1.65 |
Separation between RC boats on the starting line. |
↳ CheckpointRadius |
1.0 |
How close the boat must be to count a checkpoint. |
↳ CircleSegments |
40 |
Visual circle around the active checkpoint. |
↳ CircleHeightAboveWater |
0.18 |
رقم لـ circle height above water (الافتراضي 0.18). |
↳ ShowNextCheckpoint |
true |
يعرض next checkpoint: true = نعم، false = لا (الافتراضي true). |
↳ FinishHoldSeconds |
5 |
Seconds after a winner is decided before every race boat is returned. |
RentalScene |
table |
جدول عناصر rental scene. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ SpawnEntitiesOnStart |
true |
مفتاح لـ spawn entities on start: true = شغّال، false = طافي (الافتراضي true). |
↳ PedModel |
"A_M_M_SDDockForeman_01" |
If the configured ped model fails to load on a specific build, the script will fall back to the current player's model so the seller NPC is never invisible. |
↳ FallbackPedModels |
table |
موديل أو كيان في اللعبة يُستخدم لـ fallback ped models. |
↳ FallbackToPlayerModel |
true |
مفتاح لـ fallback to player model: true = شغّال، false = طافي (الافتراضي true). |
↳ PedScenario |
"WORLD_HUMAN_STAND_WAITING" |
موديل أو كيان في اللعبة يُستخدم لـ ped scenario. |
↳ TableModel |
"p_table04x" |
موديل أو كيان في اللعبة يُستخدم لـ table model. |
↳ TableTopHeight |
0.78 |
رقم لـ table top height (الافتراضي 0.78). |
↳ TableZOffset |
0.0 |
رقم لـ table z offset (الافتراضي 0.0). |
↳ SnapTableToGround |
false |
مفتاح لـ snap table to ground: true = شغّال، false = طافي (الافتراضي false). |
↳ DecorProps |
table |
Local offsets are relative to the table entity itself, so the props stay exactly on top of the table instead of floating in the air. |
↳ DisplayBoat |
table |
جدول عناصر display boat. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
PlayerControl |
table |
الزر أو التحكم المستخدم لـ player control. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ PropModel |
"RCBOAT" |
Use the exact same native RC boat model as the handheld prop. RCBOAT is a vehicle model, so the client creates a non-colliding display vehicle and attaches it to the player's hand for the control animation. |
↳ PropEntityType |
"vehicle" |
موديل أو كيان في اللعبة يُستخدم لـ prop entity type. |
↳ PropBone |
"SKEL_R_Hand" |
موديل أو كيان في اللعبة يُستخدم لـ prop bone. |
↳ PropOffset |
vector3(0.12, 0.03, -0.04) |
موديل أو كيان في اللعبة يُستخدم لـ prop offset. |
↳ PropRotation |
vector3(5.0, 82.0, 95.0) |
موديل أو كيان في اللعبة يُستخدم لـ prop rotation. |
↳ Scenario |
"WORLD_HUMAN_CROUCH_INSPECT" |
إعدادات الأنيميشن لـ scenario. |
↳ FaceBoatOnStart |
true |
مفتاح لـ face boat on start: true = شغّال، false = طافي (الافتراضي true). |
Rentals |
table |
raceCheckpoints MUST be in the order players have to pass them. Put the checkpoints on the water. Z can be approximate; the client snaps the visual circle to the actual water surface when possible. |
↳ 1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
EnableTestCommand |
false |
يشغّل أو يطفّي test command (الافتراضي false). |
ملاحظات من ملف README#
# jrs_rcboat
Version 1.5.3
## Water recovery
- Records a rolling history of confirmed water positions while the RC boat moves.
- If the boat leaves the lake or reaches dry land, it is moved back to the geographically closest recorded water point.
- Preserves the saved heading and keeps the existing camera/session active.
- No vehicle delete/recreate is needed, so recovery is immediate and smooth.مدفوع (السيرفر فقط) jrs_scenes
مشاهد الرول بلاي: أمر /scene يثبّت نص قصير في العالم للاعبين القريبين (عرض NUI يدعم العربي)
| الريسورس | jrs_scenes |
| المجلد | [INTERFACE] |
| الإصدار | 0.1.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 301 سطر Lua |
جداول قاعدة البيانات
jrs_scenes
config.lua - 10 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Command |
"scene" |
/scene <text> |
RemoveCommand |
"scenedel" |
removes the nearest of your scenes (admins: anyone's) |
MaxLength |
180 |
الحد الأعلى لـ max length. |
MaxPerCharacter |
3 |
الحد الأعلى لـ max per character. |
DurationMinutes |
120 |
scenes expire on their own (kept across restarts until then) |
CooldownSeconds |
15 |
إعداد وقت لـ cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
ViewDistance |
9.0 |
how close you must be to read it |
RemoveDistance |
3.0 |
المسافة بوحدات اللعبة لـ remove distance. |
SyncRadius |
120.0 |
server only sends scenes this close to you |
AdminGroups |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin groups. |
مدفوع (السيرفر فقط) progressbar
شريط تقدم متقدم
| الريسورس | progressbar |
| المجلد | [INTERFACE] |
| الإصدار | 1.0.0 |
| المطوّر | jrs team |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 349 سطر Lua |
الأوامر
/testprog
الـ Exports
Progress, ProgressWithStartAndTick, ProgressWithStartEvent, ProgressWithTickEvent, isDoingSomething
ملاحظات من ملف README#
# Lv-ProgressBar
# 🕹️ FiveM Progress Bar
A dynamic, customizable progress bar for FiveM/QBCore. Perfect for immersive roleplay interactions!
## ✨ **Features**
- **Step Visualization**: Dynamic steps fill up as progress advances.
- **Real-Time Percentage**: Clean percentage display with smooth animations.
- **Cancel Support**: Actions can be interrupted, resetting the UI.
- **Easy Integration**: Designed for QB-Core but adaptable to any framework.
## 🛠️ **Installation**
1. Download the `progressbar` folder.
2. Add it to your FiveM server’s `resources` directory.
3. Add `ensure progressbar` to your `server.cfg`.
4. Trigger the progress bar in-game with:
'''lua
servar
TriggerClientEvent('progressbar:client:hud', _source ,label, duration)
claint
TriggerEvent('progressbar:client:hud' ,label, duration)
exports['progressbar']:Progress({
label = "Repairing Vehicle",
duration = 10000, -- 10 seconds
}, function(cancelled)
if not cancelled then
-- Action completed
end
end)
Modification
.progress-step.active {
background-color: #FF0000; /* Red progress steps */
box-shadow: 0 0 15px rgba(255, 0, 0, 0.5); /* Glow effect */
}