Legal jobs and gathering: police, medic, mining, hunting, fishing, crafting, railroad and more.
هذا المجلد فيه 31 سكربت. اختر سكربت من التبويبات تحت.
مدفوع (السيرفر فقط) jrs_boats
القوارب في jrs core لـ jrs_core و jrs_inventory
| الريسورس | jrs_boats |
| المجلد | [JOBS] |
| الإصدار | 2.9.3 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 5,712 Lua lines |
الأوامر
/boatEnter/shipLoad/shipUnload
الـ Exports
GetLargeShipDefinition, IsLargeShipModel
جداول قاعدة البيانات
jrs_boats
config/config.lua - 164 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
CoreResource |
"jrs_core" |
إعداد لـ core resource. |
InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
DatabaseTable |
"jrs_boats" |
إعداد لـ database table. |
PortableItem |
"portable_canoe" |
أغراض المخزون المستخدمة في portable item. الأسماء لازم تكون موجودة في جدول jrs_items. |
StoragePrefix |
"jrs_boat_" |
إعداد لـ storage prefix. |
Locale |
"ar" |
لغة واجهة السكربت (en أو ar). |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
NameMinLength |
2 |
الحد الأدنى أو المستوى المطلوب لـ name min length. |
NameMaxLength |
30 |
الحد الأعلى لـ name max length. |
RequestCooldownMs |
500 |
إعداد وقت لـ request cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
RemoteReturnDelay |
15000 |
إعداد وقت لـ remote return delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
ShopSessionMs |
900000 |
رقم لـ shop session ms (الافتراضي 900000). |
keys |
table |
الزر أو التحكم المستخدم لـ keys. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ shop |
0x760A9C6F |
[G] Open Boat Shop Menu |
↳ options |
0xF1301666 |
[O] Opens In-Boat Menu for Anchor, Inventory and Remote Return |
↳ ret |
0xD9D0E1C0 |
[space] Return Boat to Shop at Prompt |
maxBoats |
5 |
الافتراضي: 5 |
sellPrice |
0.60 |
الافتراضي: 0.60 |
blockNpcBoats |
false |
If true, will block the spawning of NPC boats |
blipAllowedClosed |
true |
إذا true، تظهر علامة خريطة ملوّنة لما المحل مسكّر |
↳ keelboat |
table |
جدول عناصر keelboat. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
inventory |
table |
جدول عناصر inventory. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ pirogue2 |
table |
Portable |
↳ canoetreetrunk |
table |
Canoes |
↳ canoe |
table |
جدول عناصر canoe. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ pirogue |
table |
جدول عناصر pirogue. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ skiff |
table |
Rowboats |
↳ rowboat |
table |
جدول عناصر rowboat. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rowboatSwamp |
table |
جدول عناصر rowboat swamp. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ keelboat |
table |
جدول عناصر keelboat. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
LargeShips |
table |
Large ships / hybrid ships Native RDR2 boat models can use themselves as the physics root. Streamed object models automatically fall back to the hidden physics-root system. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ DefaultPhysicsRoot |
'boatsteam02x' |
إعداد لـ default physics root. |
↳ PreviewFov |
88.0 |
رقم لـ preview fov (الافتراضي 88.0). |
↳ InteractionDistance |
2.5 |
المسافة بوحدات اللعبة لـ interaction distance. |
↳ OptionsDistance |
45.0 |
المسافة بوحدات اللعبة لـ options distance. |
↳ CargoSearchRadius |
14.0 |
المسافة بوحدات اللعبة لـ cargo search radius. |
↳ MaxCargoEntityDistance |
22.0 |
المسافة بوحدات اللعبة لـ max cargo entity distance. |
↳ StateSaveIntervalMs |
15000 |
إعداد وقت لـ state save interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ BoardingPromptDistance |
35.0 |
المسافة بوحدات اللعبة لـ boarding prompt distance. |
↳ controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ DrivingHUD |
table |
جدول عناصر driving hud. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ships |
table |
visualType = 'auto' detects whether the model is a native vehicle or a streamed object. useNativePhysics = 'auto' uses native boat physics when the model is a vehicle; otherwise the model is attached to DefaultPhysicsRoot as a hyb |
HorseTransport |
table |
Horse transport job (horseBoat only) Horse transport appears in the separate Jobs tab. Starting a job spawns a temporary free horseBoat at the pickup dock; no purchase or ownership is required. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ JobsMenu |
true |
Show horse transport in a separate Jobs tab inside the boat shop. |
↳ FreeJobBoat |
true |
Mission horseBoat is temporary/free and does not need ownership. |
↳ HideJobBoatFromShop |
true |
Do not sell horseBoat while it is reserved as a job boat. |
↳ RequiredBoatModel |
"horseBoat" |
موديل أو كيان في اللعبة يُستخدم لـ required boat model. |
↳ JobBoatName |
"Horse Transport Boat" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job boat name. |
↳ InteractionDistance |
2.5 |
المسافة بوحدات اللعبة لـ interaction distance. |
↳ StartDistance |
3.0 |
المسافة بوحدات اللعبة لـ start distance. |
↳ DestinationDistance |
4.0 |
المسافة بوحدات اللعبة لـ destination distance. |
↳ ShipDockDistance |
55.0 |
Max distance between the job boat and the livestock dock. |
↳ RequireAnchor |
true |
يتطلب anchor: true = نعم، false = لا (الافتراضي true). |
↳ ProtectHorses |
true |
مفتاح لـ protect horses: true = شغّال، false = طافي (الافتراضي true). |
↳ MinimumTripTimeSeconds |
45 |
الحد الأدنى أو المستوى المطلوب لـ minimum trip time seconds. |
↳ CooldownSeconds |
300 |
إعداد وقت لـ cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ DeliveredHorseLifetimeMs |
30000 |
إعداد وقت لـ delivered horse lifetime ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ BlipSprite |
2005921736 |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
↳ BlipScale |
0.25 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
↳ ShowStartBlips |
false |
Job starts from the Jobs menu, so standalone start blips are not needed. |
↳ controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ horseModels |
table |
موديل أو كيان في اللعبة يُستخدم لـ horse models. |
↳ horseSlots |
table |
Horse positions on horseBoat, lowered to the cargo-deck floor based on in-game testing. These sit inside the livestock bay instead of floating above the stall walls. |
↳ routes |
table |
جدول عناصر routes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
CargoTransport |
table |
Cargo transport job using the same native horseBoat vehicle as Horse Transport. Cargo uses its own rear-deck slot layout and does not modify HorseTransport.horseSlots. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ JobsMenu |
true |
مفتاح لـ jobs menu: true = شغّال، false = طافي (الافتراضي true). |
↳ FreeJobBoat |
true |
مفتاح لـ free job boat: true = شغّال، false = طافي (الافتراضي true). |
↳ HideJobBoatFromShop |
true |
يخفي job boat from shop: true = نعم، false = لا (الافتراضي true). |
↳ RequiredBoatModel |
"horseBoat" |
موديل أو كيان في اللعبة يُستخدم لـ required boat model. |
↳ JobBoatName |
"Horse Boat Cargo Transport" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job boat name. |
↳ InteractionDistance |
2.5 |
المسافة بوحدات اللعبة لـ interaction distance. |
↳ DestinationDistance |
5.0 |
المسافة بوحدات اللعبة لـ destination distance. |
↳ ShipDockDistance |
60.0 |
المسافة بوحدات اللعبة لـ ship dock distance. |
↳ RequireAnchor |
true |
يتطلب anchor: true = نعم، false = لا (الافتراضي true). |
↳ MinimumTripTimeSeconds |
45 |
الحد الأدنى أو المستوى المطلوب لـ minimum trip time seconds. |
↳ CooldownSeconds |
300 |
إعداد وقت لـ cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CargoLifetimeMs |
20000 |
إعداد وقت لـ cargo lifetime ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CargoCount |
6 |
رقم لـ cargo count (الافتراضي 6). |
↳ controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ cargoModels |
table |
Physical freight spawned at the pickup dock. More models can be added later. |
↳ cargoSlots |
table |
Cargo-only positions on horseBoat. Keep them toward the rear of the cargo deck. These are intentionally separate from HorseTransport.horseSlots. |
↳ routes |
table |
جدول عناصر routes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
shops |
table |
Boat Shops |
↳ lagras |
table |
جدول عناصر lagras. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ saintdenis |
table |
جدول عناصر saintdenis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ wapiti |
table |
جدول عناصر wapiti. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ manteca |
table |
جدول عناصر manteca. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ sisika |
table |
جدول عناصر sisika. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ braithwaite |
table |
جدول عناصر braithwaite. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ guarma |
table |
جدول عناصر guarma. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
locations |
table |
Water Locations for Portable Canoe |
↳ 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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 12 |
table |
جدول عناصر 12. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 13 |
table |
جدول عناصر 13. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 14 |
table |
جدول عناصر 14. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 15 |
table |
جدول عناصر 15. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 16 |
table |
جدول عناصر 16. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 17 |
table |
جدول عناصر 17. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 18 |
table |
جدول عناصر 18. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 19 |
table |
جدول عناصر 19. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 20 |
table |
جدول عناصر 20. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 21 |
table |
جدول عناصر 21. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 22 |
table |
جدول عناصر 22. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 23 |
table |
جدول عناصر 23. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 24 |
table |
جدول عناصر 24. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
## 2.9.0 Shop Category Cleanup
- Removed the Large Ships category/filter button from the Shop/My Boats category bar.
- Large-ship definitions remain available internally for jobs and existing systems.
## 2.8.9 Multi-port Boarding Points
- Added `boardingPromptPoints` support for multiple static dock boarding locations.
- Added Blackwater and Saint Denis boarding points for `horseBoat`.
- The client automatically selects the nearest configured boarding point that is close to the active ship.
- Falls back to the local ship-side boarding offset at unconfigured ports.
## 2.8.8 Dedicated Boarding Point
- Added a dedicated `boardingPromptPoint` for `horseBoat`.
- `G - Board Ship` now appears only beside the configured boarding point.
- Boarding places the player on a safe deck landing point instead of taking the helm.
- `E - Take Helm` remains a separate interaction inside the wheelhouse.
## 2.8.6 Cargo Slot Adjustment
- Updated CargoTransport.cargoSlots to the user-tuned rear-deck positions.
## 2.8.5 Cargo Boat Dock Spawn
- Moved only the Cargo Transport `horseBoat` pickup spawn closer to the loading dock in Blackwater and Saint Denis.
- Horse Transport boat spawn, cargo slots, horse slots, and user-tuned Blackwater horse/cargo spawn points remain unchanged.
## 2.8.2 Cargo Crate Stack Model
- Cargo Transport crates now use `p_bat_cratestack01x` for all six cargo entities.
- Cargo boat, rear cargo slot positions, HorseTransport horse slots, and Blackwater spawn coordinates are unchanged.
## 2.8.1 Cargo Transport on Native horseBoat
- Cargo Transport now uses the same native `horseBoat` vehicle as Horse Transport.
- Cargo crates use a separate rear-deck slot layout and do not change the user-tuned horse slots.
- `horseBoat` remains a native RedM vehicle with native buoyancy, driving, engine audio, smoke and collision.
- Blackwater horse/cargo spawn coordinates remain unchanged.
## 2.8.0 Cargo Transport Back to Native tugboat3
- Cargo Transport now uses `tugboat3` again.
- `tugboat3` is explicitly treated as a native RedM vehicle, not an object/hybrid shell.
- Native buoyancy, driving, engine audio, smoke and collision remain on the actual `tugboat3` vehicle.
- Restored tugboat3-specific cargo deck slots.
- Preserved the user-approved Blackwater horse and cargo spawn coordinates.
## 2.7.9 Native ship_nbdGuama2 Vehicle
- Confirmed `ship_nbdGuama2` is a native RedM vehicle.
- Cargo Transport now spawns `ship_nbdGuama2` directly as the physics/drive vehicle.
- Disabled Hybrid/Object driving for this ship.
- Enabled native driver seat, native anchoring, and automatic anchor release on driver entry.
- Preserved the user-locked Blackwater horse/cargo spawn coordinates and HorseTransport horse slots.
# REDEMPIRE Boats v2.7.9
## 2.7.8 Cargo Ship Model
- Changed the Cargo Transport job boat from `ship_guama02` to `ship_nbdGuama2`.
- Kept the existing cargo routes, Blackwater spawn points, rewards, and cargo slot layout unchanged.
- Added `ship_nbdGuama2` as its own large-ship definition while leaving `ship_guama02` available separately.
## 2.7.7 Cargo Ship Guarma
- Changed the Cargo Transport job boat from `tugboat3` to `ship_guama02`.مجاني (موجود مع JRS Core) jrs_bossmanager
JRS CORE | jrs_bossmanager | config.lua
| الريسورس | jrs_bossmanager |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core |
| الواجهة | لا |
| حجم الكود | 883 سطر Lua |
الأوامر
/givelicense/revokelicense
جداول قاعدة البيانات
jobmanager
config.lua - 2 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Key |
0x446258B6 |
changed Key to PGUP, otherwise it collides with the default key of jrs_admin |
Locale |
"en" |
language |
مدفوع (السيرفر فقط) jrs_bounty
لوحة المطلوبين في jrs core
| الريسورس | jrs_bounty |
| المجلد | [JOBS] |
| الإصدار | 2.1.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 2,799 Lua lines |
الأوامر
/bountycooldown
جداول قاعدة البيانات
jrs_bountty, jrs_bounty_cooldowns, jrs_sheriffbounty
config/config.lua - 114 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
ServerConsolePrints |
true |
Enable to see payout/xp debug logs in server console |
RequireJob |
true |
Access The bounty board requires a Bounty Hunter job. |
BountyJobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ bounty jobs. |
↳ bounty |
true |
مفتاح لـ bounty: true = شغّال، false = طافي (الافتراضي true). |
↳ bountyhunter |
true |
مفتاح لـ bountyhunter: true = شغّال، false = طافي (الافتراضي true). |
↳ bounty_hunter |
true |
مفتاح لـ bounty hunter: true = شغّال، false = طافي (الافتراضي true). |
AllowLawJobs |
true |
Allows law jobs (police/sheriff) to access board and post sheriff notices |
MaxSheriffReward |
5000 |
قيمة فلوس لـ max sheriff reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
BoardBlips |
true |
UI / interaction |
BoardblipName |
"Bounty Board" |
نص يظهر للاعب لـ boardblip name. غيّره للترجمة أو لتغيير الاسم. |
BoardBlipSprite |
"blip_proc_bounty_poster" |
إعدادات علامة الخريطة أو الأيقونة لـ board blip sprite. |
BoardBlipModifier |
"BLIP_MODIFIER_MP_COLOR_23" |
إعدادات علامة الخريطة أو الأيقونة لـ board blip modifier. |
BoardBlipScale |
0.2 |
إعدادات علامة الخريطة أو الأيقونة لـ board blip scale. |
PromptGroup |
"Bounty Board" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ prompt group. |
PromptName |
"Open" |
نص يظهر للاعب لـ prompt name. غيّره للترجمة أو لتغيير الاسم. |
BoardOpenControl |
0x760A9C6F |
G |
BoardOpenDistance |
2.0 |
المسافة بوحدات اللعبة لـ board open distance. |
CreateBountyTime |
10 |
minutes |
MaxBountys |
20 |
الحد الأعلى لـ max bountys. |
DistanceSpawnEnemys |
60.0 |
المسافة بوحدات اللعبة لـ distance spawn enemys. |
MinimumMissionSeconds |
20 |
server-side anti-instant-complete check (45 on 2026-10-02 rejected fast legit kills; 20 on 2026-10-08) |
MissionCompletionDistance |
800.0 |
maximum distance from the assigned target area (400 rejected fights that chased away from the camp) |
Jobs |
table |
Law jobs allowed to post and delete sheriff bounties. |
Easy |
"easy" |
Stable internal difficulty keys. Existing Arabic/German rows are normalized by the server. |
Middle |
"medium" |
إعداد لـ middle. |
Hard |
"hard" |
إعداد لـ hard. |
DifficultyLabels |
table |
جدول عناصر difficulty labels. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ easy |
"سهل" |
إعداد لـ easy. |
↳ medium |
"متوسط" |
إعداد لـ medium. |
↳ hard |
"صعب" |
إعداد لـ hard. |
BountyBoards |
table |
جدول عناصر bounty boards. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Names |
table |
This will be the Target name in Bountyboard Name will pciked random out of this names list |
MinEasyReward |
2 |
Reward System ---------------------------------- RDO Authentic Bounty Hunter Payouts & XP Progression Easy (1-star) |
MaxEasyReward |
3 |
قيمة فلوس لـ max easy reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
EasyXP |
160 |
رقم لـ easy xp (الافتراضي 160). |
MinMiddleReward |
3 |
Middle (2-star) |
MaxMiddleReward |
6 |
قيمة فلوس لـ max middle reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
MiddleXP |
300 |
رقم لـ middle xp (الافتراضي 300). |
MinHardReward |
6 |
Hard (3-star) |
MaxHardReward |
10 |
قيمة فلوس لـ max hard reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
HardXP |
460 |
رقم لـ hard xp (الافتراضي 460). |
BountyMissionCooldownSeconds |
300 |
Bounty board mission cooldown (300 seconds / 5 minutes, replaces old 1 hour wait) |
EnemyDifficulty |
table |
RDO Authentic Enemy Combat & Difficulty Settings |
↳ easy |
table |
جدول عناصر easy. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ medium |
table |
جدول عناصر medium. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ hard |
table |
جدول عناصر hard. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Model |
"CS_strawberryoutlaw_02" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
EasyMissions |
table |
جدول عناصر easy missions. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
MiddleMissions |
table |
جدول عناصر middle missions. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
HardMissions |
table |
جدول عناصر hard missions. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
GroupMaxMembers |
4 |
Total players including the leader |
DE
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Text |
table |
UI labels / notifications |
↳ BoardTitle |
"لوحة المطلوبين" |
نص يظهر للاعب لـ board title. غيّره للترجمة أو لتغيير الاسم. |
↳ BoardSubtitle |
'ملصقات المطلوبين وإعلانات ا... |
إعداد لـ board subtitle. |
↳ Available |
"الجوائز المتاحة" |
إعداد لـ available. |
↳ Sheriff |
"إعلانات الشريف" |
إعداد لـ sheriff. |
↳ Post |
"نشر مطلوب" |
إعداد لـ post. |
↳ Refresh |
"تحديث" |
إعداد لـ refresh. |
↳ Close |
"إغلاق" |
إعداد لـ close. |
↳ Start |
"بدء المهمة" |
إعداد لـ start. |
↳ Abort |
"إلغاء المهمة" |
إعداد لـ abort. |
↳ Delete |
"حذف" |
إعداد لـ delete. |
↳ ConfirmDelete |
"هل أنت متأكد من حذف هذا المطلوب؟" |
إعداد لـ confirm delete. |
↳ NoBounties |
"لا توجد مهمات متاحة حالياً." |
إعداد لـ no bounties. |
↳ NoSheriffBounties |
"لا توجد إعلانات شريف منشورة." |
إعداد لـ no sheriff bounties. |
↳ Firstname |
"الاسم الأول" |
إعداد لـ firstname. |
↳ Lastname |
"اسم العائلة" |
إعداد لـ lastname. |
↳ Reason |
"السبب" |
إعداد لـ reason. |
↳ Reward |
"المكافأة" |
قيمة فلوس لـ reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ Submit |
"نشر ملصق مطلوب" |
إعداد لـ submit. |
↳ Group |
"المجموعة" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group. |
↳ AddMember |
"إضافة عضو" |
إعداد لـ add member. |
↳ LeaveGroup |
"مغادرة المجموعة" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ leave group. |
↳ DisbandGroup |
"حل المجموعة" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ disband group. |
MissionBlip |
"Bounty Target" |
إعدادات علامة الخريطة أو الأيقونة لـ mission blip. |
MissionBlipSprite |
"blip_mission_bounty" |
Skull with dollar sign (-907204276) |
MissionBlipModifier |
"BLIP_MODIFIER_MP_COLOR_10" |
Red color modifier |
MissionBlipScale |
0.2 |
إعدادات علامة الخريطة أو الأيقونة لـ mission blip scale. |
MissionAreaZoneRadius |
90.0 |
red zone under the skull blip |
Messages |
table |
نص يظهر للاعب لـ messages. غيّره للترجمة أو لتغيير الاسم. |
↳ NoPermission |
"ليس لديك صلاحية للقيام بذلك." |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ no permission. |
↳ MissionStarted |
'بدأت المهمة. توجه إلى المنط... |
إعداد لـ mission started. |
↳ MissionAlreadyActive |
"لديك مهمة نشطة بالفعل." |
إعداد لـ mission already active. |
↳ MissionUnavailable |
"هذا المطلوب لم يعد متاحاً." |
إعداد لـ mission unavailable. |
↳ InvalidMissionCompletion |
"تعذر التحقق من إكمال المهمة." |
إعداد لـ invalid mission completion. |
↳ MissionAborted |
'تم إلغاء مهمة صيد المطلوبين... |
إعداد لـ mission aborted. |
↳ NoActiveMission |
"ليس لديك مهمة صيد مطلوبين نشطة." |
إعداد لـ no active mission. |
↳ MissionFailed |
"فشلت المهمة." |
إعداد لـ mission failed. |
↳ MissionSuccess |
"اكتملت المهمة بنجاح." |
إعداد لـ mission success. |
↳ RemainingEnemies |
"الأعداء المتبقون: " |
إعداد لـ remaining enemies. |
↳ EnemiesKilled |
"الأعداء الذين تم القضاء عليهم: " |
إعداد لـ enemies killed. |
↳ RewardReceived |
'تم استلام مكافأة صيد المطلو... |
قيمة فلوس لـ reward received. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ SheriffBountyPosted |
"تم نشر ملصق الشريف بنجاح." |
إعداد لـ sheriff bounty posted. |
↳ SheriffBountyDeleted |
"تم حذف ملصق الشريف." |
إعداد لـ sheriff bounty deleted. |
↳ InvalidForm |
'يرجى إكمال جميع الحقول وإدخ... |
إعداد لـ invalid form. |
↳ GroupInvalidPlayer |
"يرجى إدخال مُعرّف لاعب صالح." |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group invalid player. |
↳ GroupPlayerNotFound |
"هذا اللاعب غير متصل أو غير جاهز." |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group player not found. |
↳ GroupTargetBusy |
'هذا اللاعب لديه مهمة صيد مط... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group target busy. |
↳ GroupTargetAlreadyGrouped |
'هذا اللاعب موجود بالفعل في ... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group target already grouped. |
↳ GroupLeaderOnly |
'فقط قائد المجموعة يمكنه الق... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group leader only. |
↳ GroupLeaderAbortOnly |
'فقط قائد المجموعة يمكنه إلغ... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group leader abort only. |
↳ GroupLocked |
'لا يمكن تعديل المجموعة أثنا... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group locked. |
↳ GroupFull |
"مجموعة صيد المطلوبين ممتلئة." |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group full. |
↳ BountyCooldownActive |
'يجب عليك الانتظار %s قبل بد... |
إعداد وقت لـ bounty cooldown active. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ BountyCooldownStarted |
'بدأت فترة انتظار مهمات صيد ... |
إعداد وقت لـ bounty cooldown started. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ MemberCooldownActive |
'عضو الفريق %s لديه فترة انت... |
إعداد وقت لـ member cooldown active. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ JobRequired |
'يجب أن تكون صائد جوائز لاست... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job required. |
↳ TargetJobRequired |
"هذا اللاعب ليس صائد جوائز." |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ target job required. |
MissionFailed |
Config.Messages.MissionFaile... |
Legacy bounty aliases kept for older integrations. |
MissionSuccess |
Config.Messages.MissionSucce... |
إعداد لـ mission success. |
EnemyRemain |
Config.Messages.RemainingEne... |
إعداد لـ enemy remain. |
KiledEnemys |
Config.Messages.EnemiesKille... |
إعداد لـ kiled enemys. |
RewardGet |
Config.Messages.RewardReceiv... |
قيمة فلوس لـ reward get. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
ملاحظات من ملف README#
REDEMPIRE Bounty Board v2.1.0
=======================
Dependencies
------------
- oxmysql
- jrs_core
Recommended start order
-----------------------
ensure oxmysql
ensure jrs_core
ensure jrs_bounty
Installation
------------
1. Replace the old jrs_bounty resource with this folder.
2. Keep the resource folder name as: jrs_bounty
3. The server creates the required tables automatically.
4. Review config.lua before starting the resource.
Bounty-only build
-----------------
- The complete heist/robbery system was removed.
- jrs_lockpick is no longer used.
- jrs_inventory is no longer required by this resource.
- Available bounty missions and sheriff bounty notices remain.
Group bounty system
-------------------
- Open the Group tab on the bounty board.
- The leader adds players directly by server ID.
- Config.GroupMaxMembers controls the total group size including the leader.
- Only the group leader can start or abort a bounty mission while grouped.
- Starting a bounty sends the same mission to every current group member.
- Only one networked enemy wave is spawned by the leader, preventing duplicate NPC waves.
- Group membership is locked while a mission is active.
- Group members cannot start another bounty while assigned to the leader's active mission.
- The poster reward is a TOTAL reward. It is split between online mission participants at completion.
- Integer remainders are distributed one dollar at a time so the full configured reward is paid.
- The normal bounty cooldown is applied to every mission participant after success.
- Groups are session-only and are not stored in the database.
Important config options
------------------------
- Config.Jobs
- Config.BountyBoards
- Config.GroupMaxMembers
- Config.MaxSheriffReward
- Config.MinimumMissionSeconds
- Config.MissionCompletionDistanceمجاني (موجود مع JRS Core) jrs_crawfish
سكربت صيد جراد الماء (crawfish) لفريمورك jrs core
| الريسورس | jrs_crawfish |
| المجلد | [JOBS] |
| الإصدار | 2.0 |
| المطوّر | JRS TEAM |
| الواجهة | لا |
| حجم الكود | 693 سطر Lua |
config.lua - 22 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
defaultlang |
"en" |
Default language ("en" English, "es" Español) |
ProgressBarType |
2 |
false or less than 1 = no progress bar display, 1 = legacy progressBars, 2 = jrs_progressbar; Default: 2 |
ProgressBar |
table |
Progress Bar Variables; Only used if Config.ProgressBarType is 2 |
↳ theme |
"linear" |
Supported themes: "linear", "circle", "innercircle"; Default: "linear" |
↳ color |
"rgb(124, 45, 45)" |
CSS color name or rgb/rgba/etc format; Default: "rgb(124, 45, 45)" |
↳ width |
"20vw" |
Horizontal length of progressbar in CSS units; Only used by the "linear" theme; Default: "20vw" |
↳ focus |
false |
If true, progress bar UI will have keyboard focus; Default: false |
SearchTimeMin |
5000 |
Minimum time, in milliseconds (1000 milliseconds = 1 second), taken to search a crawfish hole. |
SearchTimeMax |
10000 |
Maximum time, in milliseconds (1000 milliseconds = 1 second), taken to search a crawfish hole. |
SearchDelay |
600 |
Time, in seconds, before a crawfish hole can be search again. |
SearchRewardCount |
1 |
How many crawfish players can find per hole; Set this to a table like so {min, max} for random reward count per search; eg {0, 3} will mean a random reward count between 0 and 3. |
CrawfishItemName |
"animal_crawfish" |
The item name of a Crawfish; given to player on successful search (MUST be registered in your items database!). |
CrawfishItemLabel |
_U("item_crawfish") |
The display name of a Crawfish. _U("item_crawfish") will pull the name from your language file, or you can just put a name here yourself. |
CanFindOtherItems |
false |
Set true to allow players to find extra items in crawfish holes; Default: false |
OtherItemsChance |
2 |
The chance of a player finding other items in crawfish holes (0 to 100); Default: 2 |
MaxOtherItems |
1 |
The maximum different items a player can find when searching a crawfish hole; Default: 1 |
OtherItems |
table |
أغراض المخزون المستخدمة في other items. الأسماء لازم تكون موجودة في جدول jrs_items. |
CrawfishCustomUseFunction |
false |
Set true if you already have a script which handles the usage of an item with the same name as Config.CrawfishItemName. |
CrawfishGivenItemName |
"provision_meat_crustacean" |
The item name of what is rewarded when using a Crawfish from inventory (MUST be registered in your items database!). |
CrawfishGivenItemLabel |
_U("item_harvest") |
The display name of Config.CrawfishGivenItemName. _U("item_harvest") will pull the name from your language file, or you can just put a name here yourself. |
CrawfishGivenItemAmount |
1 |
How many items (Config.CrawfishGivenItemName) players can obtain when using a Crawfish from inventory; Set this to a table like so {min, max} for random item count when used; eg {1, 3} will mean a random item count between 1 and 3 |
CrawfishHoles |
table |
vector3(x,y,z) |
مدفوع (السيرفر فقط) jrs_delivery
وظيفة توصيل لأكثر من مكان وأكثر من نوع بضاعة لـ jrs_core مع خريطة مسار NUI
| الريسورس | jrs_delivery |
| المجلد | [JOBS] |
| الإصدار | 4.1.4 |
| المطوّر | jrs team |
| يعتمد على | jrs_core |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 3,010 Lua lines |
جداول قاعدة البيانات
jrs_delivery_locations, jrs_delivery_receivers, jrs_delivery_route_extras
config/config.lua - 77 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
defaultlang |
"ar" |
Fallback only. The live language is per player and comes from jrs_core (@jrs_core/shared/jrs_lang.lua): _U resolves in the language the player picked, _UE forces English for RedM on-screen prompts. |
RequireJob |
true |
Only players who picked up the Delivery Driver job at a jrs_multijob employment office can start deliveries. Set to false to let anyone use the job. |
JobName |
"delivery" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job name. |
MinimumJobGrade |
0 |
الحد الأدنى أو المستوى المطلوب لـ minimum job grade. |
CurrencyType |
0 |
jrs_core currency: 0 = cash, 1 = gold, 2 = rol. |
EnableXP |
true |
XP is awarded through jrs_core and stored in characters_level. |
XPReason |
"Delivery completed" |
إعداد لـ xp reason. |
InteractControl |
0x760A9C6F |
G |
DeliverControl |
0xCEFD9220 |
E |
InteractRadius |
2.0 |
المسافة بوحدات اللعبة لـ interact radius. |
ServerStartDistance |
8.0 |
المسافة بوحدات اللعبة لـ server start distance. |
ServerDeliveryDistance |
15.0 |
المسافة بوحدات اللعبة لـ server delivery distance. |
NpcSpawnDistance |
180.0 |
المسافة بوحدات اللعبة لـ npc spawn distance. |
PromptCooldownMs |
1200 |
إعداد وقت لـ prompt cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
DeliveryZoneRadius |
9.0 |
and the player must have stepped out of it, before the receiving clerk's prompt appears. ReceiverOffset places that clerk to the side of the parked wagon (reusing the destination station's own NPC model). |
ReceiverInteractRadius |
3.25 |
المسافة بوحدات اللعبة لـ receiver interact radius. |
ReceiverOffset |
3.25 |
رقم لـ receiver offset (الافتراضي 3.25). |
ReceiverOverrides |
table |
Per-location receiver spot overrides (loc_key -> vector4), set live from the in-game admin panel and synced from jrs_delivery_receivers. Locations with no entry here fall back to the automatic offset above. |
UI |
table |
The delivery menu uses the included NUI interface. No external menu resource is required. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Username |
"Delivery Job" |
إعداد لـ username. |
AllowAllRoutes |
false |
Each location ships one cargo to one fixed destination. |
MinimumDeliverySeconds |
10 |
الحد الأدنى أو المستوى المطلوب لـ minimum delivery seconds. |
RouteExpiryGraceSeconds |
30 |
رقم لـ route expiry grace seconds (الافتراضي 30). |
CancelIfWagonDestroyed |
true |
مفتاح لـ cancel if wagon destroyed: true = شغّال، false = طافي (الافتراضي true). |
WarpPlayerIntoWagon |
false |
مفتاح لـ warp player into wagon: true = شغّال، false = طافي (الافتراضي false). |
EnableCargoSpeedLimit |
true |
Enforce each cargo contract's wagon speed. |
EnableLocationBlips |
true |
Map settings. |
LocationBlipHash |
-1989306548 |
إحداثيات العالم (x, y, z) لـ location blip hash. |
LocationBlipColor |
"BLIP_MODIFIER_MP_COLOR_32" |
إحداثيات العالم (x, y, z) لـ location blip color. |
LocationBlipScale |
0.8 |
إحداثيات العالم (x, y, z) لـ location blip scale. |
DestinationBlipHash |
-570710357 |
إعدادات علامة الخريطة أو الأيقونة لـ destination blip hash. |
GpsRouteColor |
"COLOR_YELLOW" |
إعداد لـ gps route color. |
RouteDefaults |
table |
Default values used by routes unless overridden in Config.RouteOverrides. |
↳ wagon |
"CART06" |
إعداد لـ wagon. |
↳ timer |
1500 |
رقم لـ timer (الافتراضي 1500). |
↳ xp |
220 |
رقم لـ xp (الافتراضي 220). |
↳ priceMin |
2.00 |
قيمة فلوس لـ price min. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ priceMax |
3.50 |
قيمة فلوس لـ price max. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ maxSpeed |
8.5 |
Game units are meters per second. |
CargoPresets |
table |
Cargo presets define the default behavior of each load. Scaled onto jrs_delivery's price/xp economy (RDO Trader Delivery parity). |
↳ eggs |
table |
جدول عناصر eggs. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ raspberry |
table |
جدول عناصر raspberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ lumber |
table |
جدول عناصر lumber. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ nails |
table |
جدول عناصر nails. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ caviar |
table |
جدول عناصر caviar. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ trader_goods_local |
table |
جدول عناصر trader goods local. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ trader_goods_distant |
table |
جدول عناصر trader goods distant. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ cigar |
table |
جدول عناصر cigar. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ coal_shipment |
table |
جدول عناصر coal shipment. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ snake_poison |
table |
جدول عناصر snake poison. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ tobacco |
table |
جدول عناصر tobacco. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ fish_lure |
table |
جدول عناصر fish lure. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ lead_bar |
table |
جدول عناصر lead bar. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ruby |
table |
جدول عناصر ruby. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
LocationOrder |
table |
wagonSpawn: wagon spawn position. deliveryPoint: route completion position. destinations: the single fixed target this location's cargo ships to (AllowAllRoutes = false). |
Locations |
table |
إحداثيات العالم (x, y, z) لـ locations. |
↳ valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ wallace_station |
table |
جدول عناصر wallace station. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ mcfarlanes_ranch |
table |
جدول عناصر mcfarlanes ranch. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ armadillo |
table |
جدول عناصر armadillo. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ wapiti_indian |
table |
جدول عناصر wapiti indian. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ van_horn |
table |
جدول عناصر van horn. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ saint_denis |
table |
جدول عناصر saint denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ emerald_ranch |
table |
جدول عناصر emerald ranch. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
RouteCargoOptions |
table |
Not needed: every location has exactly one cargo option, so no per-route override table. |
RouteOverrides |
table |
Not needed: destinations above are fixed per location. |
↳ valentine:wallace_station |
table |
جدول عناصر valentine:wallace station. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ wallace_station:strawberry |
table |
جدول عناصر wallace station:strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ annesburg:valentine |
table |
جدول عناصر annesburg:valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rhodes:emerald_ranch |
table |
جدول عناصر rhodes:emerald ranch. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ wapiti_indian:van_horn |
table |
جدول عناصر wapiti indian:van horn. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
# jrs_delivery 3.3.3 — jrs_core
This resource is built for `jrs_core` and uses the core for character data, money, XP, notifications and the 3D destination waypoint.
## SS-Deliveryjob port
Locations, item names and per-mission XP were ported from the SS-Deliveryjob asset pack's `config.lua`
(SS-Deliveryjob's actual game logic is escrow-protected, so only its readable config data could be
carried over — the engine below is jrs_delivery's own). `Config.AllowAllRoutes = false` and each
location's single `destinations` entry recreate SS-Deliveryjob's one-city, one-cargo, one-fixed-destination
design as a 12-city ring: Valentine -> Wallace Station -> Strawberry -> Blackwater -> McFarlane's Ranch ->
Armadillo -> Wapiti Indian Reservation -> Van Horn -> Saint Denis -> Rhodes -> Emerald Ranch -> Annesburg -> (back to Valentine).
A Discord webhook log on delivery completion is available via `Config.Discord` (disabled by default —
set your own webhook URL, never reuse one shipped inside a downloaded pack).
## Multi-cargo contracts
A destination can offer multiple cargo contracts. The player selects:
1. Destination.
2. Cargo type.
3. The contract with its own time, payment, XP, wagon model and maximum speed.
The selected cargo is validated on the server when the delivery starts, when the wagon is registered and when the delivery is completed.
## Cargo defaults
Each cargo type has default settings in `Config.CargoPresets`:
'''lua
Config.CargoPresets.coal_shipment = {
label = 'Coal',
description = 'Heavy coal load out of Emerald Ranch. 30-50 units, slows the wagon.',
wagon = 'wagon04x',
timer = 1850,
priceMin = 650,
priceMax = 850,
xp = 58,
maxSpeed = 6.0,
props = {
-- Cargo objects...
}
}
'''
`maxSpeed` uses game speed units in meters per second. The UI displays the approximate value in km/h.
## Cargo offered by a departure city
When no exact route configuration exists, the route uses the departure city's `cargoOptions`:
'''lua
Config.Locations.valentine = {
cargoOptions = { 'raspberry' },
destinations = { 'wallace_station' },
-- ...
}
'''
This makes `raspberry` available from Valentine to Wallace Station only (`Config.AllowAllRoutes = false`).مدفوع (السيرفر فقط) jrs_doctors
jrs core Doctors - fully integrated medical, hospital, disease, employment, storage and death-screen system for RedM
| الريسورس | jrs_doctors |
| المجلد | [JOBS] |
| الإصدار | 4.4.20 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, jrs_metabolism, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 30,018 Lua lines |
الأوامر
/-/admincure/cureme/jrs_doctor_menu/jrspromptfix
الـ Exports
AddInjury, AddOption, AdminClearDisease, ApplyDoctorOutfit, ApplyGradeOutfit, CalculateDramaticHeartRate, CallMedicalService, ChangeMetabolism, ClearActiveDisease, ClearInjuries, CloseDoctorRadial, CreateMedicalCall, CurePlayer, CurrentZone, ExternalHeal, ExternalRevive, FinishKnock, FinishKnockedPlayer, ForceStopDeathCam, GetActiveDisease, GetActiveTreatments, GetBleedingState, GetCurrentHeartRate, GetDiseaseCatalog, GetDiseaseRuntimeStatus, GetDiseaseTreatmentQuote, GetDoctorsOnDuty, GetInjuries, GetMedicONDUTY, GetPlayerDisease
جداول قاعدة البيانات
jrs_doctors_applications, jrs_doctors_archives, jrs_doctors_bleeding, jrs_doctors_cabinet_usage, jrs_doctors_calls, jrs_doctors_diseases, jrs_doctors_employees, jrs_doctors_injuries, jrs_doctors_kit_durability, jrs_doctors_patient_profiles, jrs_doctors_treatments
config/admin.lua - 12 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
AdminMenu |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin menu. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Command |
"jrsdoctorsadmin" |
إعداد لـ command. |
↳ RequireFullAccess |
true |
يتطلب full access: true = نعم، false = لا (الافتراضي true). |
↳ AllowWithoutDuty |
true |
يسمح بـ without duty: true = نعم، false = لا (الافتراضي true). |
↳ MaximumGiveAmount |
5 |
الحد الأعلى لـ maximum give amount. |
↳ MaximumInjurySeverity |
100 |
الحد الأعلى لـ maximum injury severity. |
↳ AuditToDatabase |
true |
مفتاح لـ audit to database: true = شغّال، false = طافي (الافتراضي true). |
↳ Operations |
table |
جدول عناصر operations. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ BodyParts |
table |
جدول عناصر body parts. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Treatments |
table |
جدول عناصر treatments. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ MetabolismProfiles |
table |
جدول عناصر metabolism profiles. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
config/core.lua - 106 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Registry |
true |
مفتاح لـ registry: true = شغّال، false = طافي (الافتراضي true). |
RepSystem |
false |
مفتاح لـ rep system: true = شغّال، false = طافي (الافتراضي false). |
RepAdded |
10.0 |
رقم لـ rep added (الافتراضي 10.0). |
MedicMissions |
false |
مفتاح لـ medic missions: true = شغّال، false = طافي (الافتراضي false). |
Diseases |
true |
مفتاح لـ diseases: true = شغّال، false = طافي (الافتراضي true). |
MedicArchives |
true |
مفتاح لـ medic archives: true = شغّال، false = طافي (الافتراضي true). |
ClothingScript |
true |
مفتاح لـ clothing script: true = شغّال، false = طافي (الافتراضي true). |
RagDollFalling |
false |
مفتاح لـ rag doll falling: true = شغّال، false = طافي (الافتراضي false). |
Key |
0xCEFD9220 |
الزر أو التحكم المستخدم لـ key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
Align |
"right" |
إعداد لـ align. |
FireMedic |
"unemployed" |
إعداد لـ fire medic. |
JobGrade |
7 |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job grade. |
JobGradeBuy |
10 |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job grade buy. |
UseCommand |
true |
يشغّل أو يطفّي command (الافتراضي true). |
WagonInventory |
200 |
رقم لـ wagon inventory (الافتراضي 200). |
DespawnWagonDist |
200 |
المسافة بوحدات اللعبة لـ despawn wagon dist. |
UsePayment |
true |
يشغّل أو يطفّي payment (الافتراضي true). |
SynPayment |
false |
مفتاح لـ syn payment: true = شغّال، false = طافي (الافتراضي false). |
PaymentTime |
1800 |
رقم لـ payment time (الافتراضي 1800). |
PaymentGrade |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ payment grade. |
PayAlertAccepted |
1.00 |
قيمة فلوس لـ pay alert accepted. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
UseNotify |
true |
يشغّل أو يطفّي notify (الافتراضي true). |
DelayNotify |
5000 |
إعداد وقت لـ delay notify. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
AlertDistance |
2500 |
المسافة بوحدات اللعبة لـ alert distance. |
UseAlertCmd |
true |
يشغّل أو يطفّي alert cmd (الافتراضي true). |
CmdDelay |
10 |
إعداد وقت لـ cmd delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
DeadBodyBlip |
350569997 |
إعدادات علامة الخريطة أو الأيقونة لـ dead body blip. |
DeadPoliceBlip |
-1154452417 |
إعدادات علامة الخريطة أو الأيقونة لـ dead police blip. |
RemoveAlertItem |
false |
HARD RULE: birdalert is a permanent tool and is never consumed by jrs_doctors |
AlertItem |
"birdalert" |
fixed dispatch item |
BirdModel |
"a_c_pigeon" |
موديل أو كيان في اللعبة يُستخدم لـ bird model. |
ActivateMouse |
0x760A9C6F |
إعداد لـ activate mouse. |
BedTime |
10000 |
رقم لـ bed time (الافتراضي 10000). |
BedScenario |
"PROP_HUMAN_SLEEP_BED_PILLOW... |
إعدادات الأنيميشن لـ bed scenario. |
RegisterPrice |
0.35 |
قيمة فلوس لـ register price. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
MedicDistance |
500 |
المسافة بوحدات اللعبة لـ medic distance. |
Distance |
1.5 |
المسافة بوحدات اللعبة لـ distance. |
UseMetadata |
true |
يشغّل أو يطفّي metadata (الافتراضي true). |
KitsDurability |
100 |
رقم لـ kits durability (الافتراضي 100). |
RemoveWhenUse |
20 |
رقم لـ remove when use (الافتراضي 20). |
MedCabItem |
"docbandage" |
أغراض المخزون المستخدمة في med cab item. الأسماء لازم تكون موجودة في جدول jrs_items. |
BlacklistZones |
table |
جدول عناصر blacklist zones. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Version |
"4.4.8-jrs-login-fix" |
إعداد لـ version. |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Framework |
"jrs" |
jrs_core + jrs_inventory |
Locale |
"ar" |
لغة واجهة السكربت (en أو ar). |
CoreResource |
"jrs_core" |
إعداد لـ core resource. |
InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
REDEMPIRE |
table |
جدول عناصر redempire. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ CoreResource |
"jrs_core" |
إعداد لـ core resource. |
↳ InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
↳ Currency |
table |
جدول عناصر currency. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ RequireCharacterReady |
true |
يتطلب character ready: true = نعم، false = لا (الافتراضي true). |
↳ CharacterReadyTimeoutMs |
15000 |
إعداد وقت لـ character ready timeout ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ ApiRetryMs |
1000 |
رقم لـ api retry ms (الافتراضي 1000). |
↳ ApiRetryCount |
20 |
رقم لـ api retry count (الافتراضي 20). |
↳ StorageRegisterDelayMs |
175 |
إعداد وقت لـ storage register delay ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
ResourceName |
"jrs_doctors" |
نص يظهر للاعب لـ resource name. غيّره للترجمة أو لتغيير الاسم. |
LegacyMigration |
table |
جدول عناصر legacy migration. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ CopyJrsDoctorTables |
true |
مفتاح لـ copy jrs doctor tables: true = شغّال، false = طافي (الافتراضي true). |
ReleaseInfo |
table |
Startup identity printed in the RedM server console. Keep text concise so it stays readable in txAdmin and the live console. |
↳ ScriptName |
"DOCTORS" |
نص يظهر للاعب لـ script name. غيّره للترجمة أو لتغيير الاسم. |
↳ VersionName |
'DOCTOR TRANSPORT & STORAGE ... |
نص يظهر للاعب لـ version name. غيّره للترجمة أو لتغيير الاسم. |
↳ VersionType |
"SECURE UNIFIED PRODUCTION UI" |
إعداد لـ version type. |
↳ ReleaseChannel |
"PRODUCTION" |
إعداد لـ release channel. |
↳ FrameworkLabel |
"REDEMPIRE + INVENTORY" |
نص يظهر للاعب لـ framework label. غيّره للترجمة أو لتغيير الاسم. |
↳ ShowStartupBanner |
true |
يعرض startup banner: true = نعم، false = لا (الافتراضي true). |
↳ ReadyDelayMs |
1500 |
إعداد وقت لـ ready delay ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Debugging |
table |
Structured diagnostics. Keep Enabled=true while testing, then switch it off in production. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Level |
"info" |
trace | debug | info | warning | error |
↳ StartupDetails |
false |
مفتاح لـ startup details: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintFramework |
true |
مفتاح لـ print framework: true = شغّال، false = طافي (الافتراضي true). |
↳ PrintDatabase |
true |
مفتاح لـ print database: true = شغّال، false = طافي (الافتراضي true). |
↳ PrintInventory |
false |
مفتاح لـ print inventory: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintRequests |
false |
مفتاح لـ print requests: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintResponses |
false |
مفتاح لـ print responses: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintSecurity |
false |
مفتاح لـ print security: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintPlayerAccess |
false |
مفتاح لـ print player access: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintNui |
false |
مفتاح لـ print nui: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintEntities |
false |
مفتاح لـ print entities: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintHospitals |
false |
مفتاح لـ print hospitals: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintShops |
false |
مفتاح لـ print shops: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintJobs |
false |
مفتاح لـ print jobs: true = شغّال، false = طافي (الافتراضي false). |
↳ PrintCoordinates |
false |
مفتاح لـ print coordinates: true = شغّال، false = طافي (الافتراضي false). |
↳ RequestPayloads |
false |
enable only when you need full request payloads |
↳ Command |
"jrsdoctorsdebug" |
إعداد لـ command. |
↳ StatusCommand |
"jrsdoctorsstatus" |
إعداد لـ status command. |
↳ ClientCommand |
"jrsdoctorsclientdebug" |
إعداد لـ client command. |
↳ Categories |
table |
جدول عناصر categories. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Access |
table |
جدول عناصر access. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ AcePermission |
"jrs_doctors.full_access" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ ace permission. |
↳ FullAccessGrade |
99 |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ full access grade. |
↳ FullAccessIdentifiers |
table |
جدول عناصر full access identifiers. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ BypassJobAndGrade |
true |
Full-access identifiers are treated as doctors and managers everywhere in this resource. |
↳ BypassCityJobRestriction |
true |
مفتاح لـ bypass city job restriction: true = شغّال، false = طافي (الافتراضي true). |
↳ BypassDutyRestriction |
false |
Full access still bypasses job/grade/location checks, but medical actions require Go On Duty. |
↳ BypassManagementGrade |
true |
مفتاح لـ bypass management grade: true = شغّال، false = طافي (الافتراضي true). |
↳ BypassMenuLocation |
true |
مفتاح لـ bypass menu location: true = شغّال، false = طافي (الافتراضي true). |
↳ BypassCabinetLocation |
true |
مفتاح لـ bypass cabinet location: true = شغّال، false = طافي (الافتراضي true). |
↳ BypassPayments |
true |
The configured full-access Steam/Ace identifiers do not pay system-owned doctor charges (shops, cabinet, hospital, NPC doctor, assistant). Player-to-player medical invoices are deliberately excluded. |
↳ PaymentBypassBlockedReasons |
table |
جدول عناصر payment bypass blocked reasons. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ BypassRequiredItems |
true |
This bypass never applies to consumable treatment items while Config.TreatmentItemConsumption.RequireRealInventory is enabled. |
↳ BypassInventoryCapacity |
false |
item receipt still respects real inventory capacity |
config/deathscreen_tests.lua - 123 إعداد#
DEATH SCREEN, TEST SYSTEM AND COMPATIBILITY
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Billing |
table |
جدول عناصر billing. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ PayDoctorPercentage |
100 |
قيمة فلوس لـ pay doctor percentage. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ Currency |
"cash" |
إعداد لـ currency. |
↳ InvoiceTimeoutSeconds |
30 |
إعداد وقت لـ invoice timeout seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ TargetByServerId |
true |
Billing UI accepts a typed player Server ID. |
↳ RequireNearbyTarget |
false |
Set true if invoices should only work on nearby players. |
Animations |
table |
جدول عناصر animations. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Revive |
table |
جدول عناصر revive. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Treat |
table |
جدول عناصر treat. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ SelfBandage |
table |
جدول عناصر self bandage. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ DoctorScenario |
"WORLD_HUMAN_WRITE_NOTEBOOK" |
إعدادات الأنيميشن لـ doctor scenario. |
TreatmentVisuals |
table |
Network-visible treatment presentation. Only the doctor receives the progress/UI; nearby players see the natural doctor/patient motion with no medical data exposed. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ ObserverDistance |
32.0 |
المسافة بوحدات اللعبة لـ observer distance. |
↳ FreezeConsciousPatient |
true |
مفتاح لـ freeze conscious patient: true = شغّال، false = طافي (الافتراضي true). |
↳ FaceDoctorBeforeTreatment |
true |
مفتاح لـ face doctor before treatment: true = شغّال، false = طافي (الافتراضي true). |
↳ FaceDurationMs |
550 |
إعداد وقت لـ face duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ SettleMs |
220 |
رقم لـ settle ms (الافتراضي 220). |
↳ AutoStepDoctorBesidePatient |
true |
يتعامل تلقائياً مع step doctor beside patient: true = نعم، false = لا (الافتراضي true). |
↳ DoctorSideOffset |
0.82 |
رقم لـ doctor side offset (الافتراضي 0.82). |
↳ DoctorForwardOffset |
0.04 |
رقم لـ doctor forward offset (الافتراضي 0.04). |
↳ DoctorApproachDistance |
1.55 |
المسافة بوحدات اللعبة لـ doctor approach distance. |
↳ DoctorApproachTolerance |
0.42 |
رقم لـ doctor approach tolerance (الافتراضي 0.42). |
↳ DoctorApproachTimeoutMs |
1800 |
إعداد وقت لـ doctor approach timeout ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ DoctorApproachSpeed |
0.85 |
رقم لـ doctor approach speed (الافتراضي 0.85). |
↳ KeepCriticalInjuredPose |
true |
مفتاح لـ keep critical injured pose: true = شغّال، false = طافي (الافتراضي true). |
↳ HideObserverUi |
true |
يخفي observer ui: true = نعم، false = لا (الافتراضي true). |
↳ NetworkNpcDoctor |
true |
مفتاح لـ network npc doctor: true = شغّال، false = طافي (الافتراضي true). |
↳ NetworkHospitalDoctor |
true |
مفتاح لـ network hospital doctor: true = شغّال، false = طافي (الافتراضي true). |
↳ PatientAnimation |
table |
إعدادات الأنيميشن لـ patient animation. |
↳ SkipPatientAnimation |
table |
These treatments keep their own native/downed/bed pose and do not force the conscious-patient idle above. |
DeathScreen |
table |
Unified death-screen settings. This replaces the standalone second resource and uses the existing REDEMPIRE hospital, bed, treatment, dispatch, economy and security systems. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ DetectionConfirmMs |
900 |
رقم لـ detection confirm ms (الافتراضي 900). |
↳ DeathTimeSeconds |
500 |
رقم لـ death time seconds (الافتراضي 500). |
↳ HospitalButtonDelaySeconds |
60 |
إعداد وقت لـ hospital button delay seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AutoHospitalAtTimerEnd |
false |
يتعامل تلقائياً مع hospital at timer end: true = نعم، false = لا (الافتراضي false). |
↳ DisableVoice |
true |
يطفّي voice: true = نعم، false = لا (الافتراضي true). |
↳ DisableChat |
false |
يطفّي chat: true = نعم، false = لا (الافتراضي false). |
↳ Compatibility |
table |
Optional custom chat resource integration. Leave empty for framework-neutral behavior. |
↳ Hospital |
table |
جدول عناصر hospital. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Emergency |
table |
جدول عناصر emergency. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ HeartRate |
table |
نسبة أو مضاعف لـ heart rate. |
↳ HeartbeatTiming |
table |
جدول عناصر heartbeat timing. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Camera |
table |
جدول عناصر camera. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ UI |
table |
جدول عناصر ui. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Text |
table |
نص يظهر للاعب لـ text. غيّره للترجمة أو لتغيير الاسم. |
↳ DeathReasons |
table |
جدول عناصر death reasons. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Security |
table |
جدول عناصر security. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
TestSystem |
table |
Integrated test center. All buttons are rendered inside the existing medical NUI theme. Access is server-authoritative and is never granted from the browser payload. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Command |
"jrsdoctorstests" |
إعداد لـ command. |
↳ RequireDuty |
false |
the Steam allowlist has direct test access without going on duty |
↳ CooldownMs |
900 |
إعداد وقت لـ cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AllowStateTests |
true |
يسمح بـ state tests: true = نعم، false = لا (الافتراضي true). |
↳ AllowDiseaseTests |
true |
يسمح بـ disease tests: true = نعم، false = لا (الافتراضي true). |
↳ AllowHospitalSequence |
true |
يسمح بـ hospital sequence: true = نعم، false = لا (الافتراضي true). |
↳ AllowDeathScreenTests |
true |
يسمح بـ death screen tests: true = نعم، false = لا (الافتراضي true). |
↳ AllowEntityTests |
true |
يسمح بـ entity tests: true = نعم، false = لا (الافتراضي true). |
↳ TestDurationMs |
3500 |
إعداد وقت لـ test duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AutoCleanupSeconds |
45 |
رقم لـ auto cleanup seconds (الافتراضي 45). |
↳ DoctorModel |
"cs_sddoctor_01" |
موديل أو كيان في اللعبة يُستخدم لـ doctor model. |
↳ PatientModel |
"u_m_m_valdoctor_01" |
موديل أو كيان في اللعبة يُستخدم لـ patient model. |
↳ BagModel |
"p_bag_leather_doctor" |
موديل أو كيان في اللعبة يُستخدم لـ bag model. |
↳ WagonModel |
"wagondoc01x" |
موديل أو كيان في اللعبة يُستخدم لـ wagon model. |
↳ MountModel |
"A_C_Horse_Arabian_White" |
موديل أو كيان في اللعبة يُستخدم لـ mount model. |
↳ DispatchPatientEnabled |
true |
Full dispatch simulation. The bot is networked, creates a real death call, displays the G acceptance card, routes the first doctor and can be treated through the normal patient assessment UI without consuming supplies. |
↳ DispatchPatientName |
"Training Patient" |
نص يظهر للاعب لـ dispatch patient name. غيّره للترجمة أو لتغيير الاسم. |
↳ DispatchPatientReason |
'Training patient is unconsc... |
إعداد لـ dispatch patient reason. |
↳ DispatchPatientPersistentBlip |
true |
مفتاح لـ dispatch patient persistent blip: true = شغّال، false = طافي (الافتراضي true). |
↳ DispatchPatientSpawnDistance |
3.0 |
المسافة بوحدات اللعبة لـ dispatch patient spawn distance. |
↳ FullSuiteStepDelayMs |
450 |
إعداد وقت لـ full suite step delay ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
TestPatient |
table |
Interactive local patient used by the Steam-authorized test center. It reuses the real patient assessment UI but never consumes inventory items. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Command |
"jrstestpatient" |
إعداد لـ command. |
↳ RemoveCommand |
"jrsremovetestpatient" |
إعداد لـ remove command. |
↳ Name |
"Test Patient" |
نص يظهر للاعب لـ name. غيّره للترجمة أو لتغيير الاسم. |
↳ DisplayId |
"TEST" |
إعداد لـ display id. |
↳ Model |
"u_m_m_valdoctor_01" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ SpawnDistance |
2.25 |
المسافة بوحدات اللعبة لـ spawn distance. |
↳ InteractionDistance |
3.0 |
المسافة بوحدات اللعبة لـ interaction distance. |
↳ InteractControl |
Config.Keys.Interact |
الزر أو التحكم المستخدم لـ interact control. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ PromptText |
"EXAMINE TEST PATIENT" |
نص يظهر للاعب لـ prompt text. غيّره للترجمة أو لتغيير الاسم. |
↳ RequireDuty |
true |
يتطلب duty: true = نعم، false = لا (الافتراضي true). |
↳ MaximumHealth |
200 |
الحد الأعلى لـ maximum health. |
↳ InjuredHealth |
95 |
رقم لـ injured health (الافتراضي 95). |
↳ UnconsciousHealth |
10 |
رقم لـ unconscious health (الافتراضي 10). |
↳ DurationMultiplier |
0.45 |
إعداد وقت لـ duration multiplier. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AutoCleanupSeconds |
0 |
0 keeps the patient until cleanup, resource stop, or /jrsremovetestpatient. |
Validation |
table |
جدول عناصر validation. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ PrintSummary |
true |
مفتاح لـ print summary: true = شغّال، false = طافي (الافتراضي true). |
↳ FailOnDuplicateIds |
true |
مفتاح لـ fail on duplicate ids: true = شغّال، false = طافي (الافتراضي true). |
↳ WarnOnZeroCoordinates |
true |
مفتاح لـ warn on zero coordinates: true = شغّال، false = طافي (الافتراضي true). |
Compatibility |
table |
جدول عناصر compatibility. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ JRSReviveClientEvent |
"" |
optional; generic RedM revive works without this |
↳ CustomReviveClientEvent |
"" |
إعداد لـ custom revive client event. |
↳ CustomHealClientEvent |
"" |
إعداد لـ custom heal client event. |
↳ CustomNotifyClientEvent |
"" |
نص يظهر للاعب لـ custom notify client event. غيّره للترجمة أو لتغيير الاسم. |
↳ CustomSocietyDepositServerEvent |
"" |
قيمة فلوس لـ custom society deposit server event. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ CustomSetJobServerEvent |
"" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ custom set job server event. |
↳ UseOneSyncDistanceValidation |
true |
يشغّل أو يطفّي one sync distance validation (الافتراضي true). |
↳ ExternalMedicalBridge |
true |
Generic bridge for other resources. Native deaths are detected automatically. External scripts that use their own downed state can call the exports/events below without adding another framework dependency. |
↳ ExternalDeathEvents |
table |
جدول عناصر external death events. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ExternalReviveEvents |
table |
جدول عناصر external revive events. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ExternalHealEvents |
table |
جدول عناصر external heal events. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
RadialMenu |
table |
Integrated doctor transport radial menu. This replaces the separate jrs_radialmenu resource. Horse and wagon inventories intentionally remain on their nearby native prompts. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Command |
"jrsdoctorradial" |
إعداد لـ command. |
↳ Keybind |
0x3C0A40F2 |
F6 |
↳ KeybindLabel |
"F6" |
نص يظهر للاعب لـ keybind label. غيّره للترجمة أو لتغيير الاسم. |
↳ UseWhilstWalking |
false |
NUI owns input while open; player/camera controls stay locked. |
↳ MedicalOnly |
true |
مفتاح لـ medical only: true = شغّال، false = طافي (الافتراضي true). |
↳ AllowExternalOptions |
false |
Prevent other resources from adding non-medical entries. |
↳ RequireDuty |
true |
The complete radial is restricted to on-duty doctors. |
↳ Size |
440 |
رقم لـ size (الافتراضي 440). |
↳ CloseDelayMs |
120 |
إعداد وقت لـ close delay ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ HospitalLookupDistance |
14.0 |
المسافة بوحدات اللعبة لـ hospital lookup distance. |
↳ DisableWorldTransportActions |
true |
يطفّي world transport actions: true = نعم، false = لا (الافتراضي true). |
config/diseases.lua - 2 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
DiseaseSystem |
Config.DiseaseSystem or {} |
إعداد لـ disease system. |
ItemNames |
Config.ItemNames or {} |
Register the restricted test item in the shared medical item registry without exposing it through public or doctor shops. |
config/downed_crawl.lua - 9 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
DownedCrawl |
table |
جدول عناصر downed crawl. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Commands |
table |
جدول عناصر commands. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ AutoDowned |
false |
يتعامل تلقائياً مع downed: true = نعم، false = لا (الافتراضي false). |
↳ HealthThreshold |
50 |
رقم لـ health threshold (الافتراضي 50). |
↳ MinimumHealth |
50 |
الحد الأدنى أو المستوى المطلوب لـ minimum health. |
↳ InvincibleWhileDowned |
true |
مفتاح لـ invincible while downed: true = شغّال، false = طافي (الافتراضي true). |
↳ Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
↳ Animation |
table |
إعدادات الأنيميشن لـ animation. |
↳ Controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
config/hospitals.lua - 10 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Doctors |
table |
جدول عناصر doctors. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
## REDEMPIRE Inventory legacy item migration
Older `jrs_doctors` SQL used the `items.limit` column as a stack limit (for example `birdalert = 10`). The current `jrs_inventory` uses the same column as **wei
This build automatically normalizes all REDEMPIRE Doctors item definitions. If the console prints that legacy definitions were repaired, run `restart jrs_invent
# REDEMPIRE Doctors 4.4.5-jrs
`jrs_doctors` is the REDEMPIRE-only medical/doctor system for RedM. The runtime is connected directly to `jrs_core` and `jrs_inventory`; there is no framework a
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_doctors
'''
## Installation
1. Keep the resource folder name exactly `jrs_doctors`.
2. Import `sql/jrs_doctors.sql` into the server database.
3. Copy the PNG files from `items/` into `jrs_inventory/html/img/items/` when your inventory build loads item images from that folder.
4. Configure jobs, hospitals, payments, access, diseases, storage and doctor features under `config/`.
5. Start the resource after `jrs_core` and `jrs_inventory`.
The main SQL file creates the REDEMPIRE Doctors tables and registers the medical inventory items using the REDEMPIRE inventory item schema. A copy of only the i
## REDEMPIRE Core integration
Server-side integration is implemented in `server/jrs_bridge.lua` and uses:
'''lua
local REDEMPIRE = exports.jrs_core:getCoreApi()
local character = REDEMPIRE.getCharacter(source)
'''
The script uses REDEMPIRE character data for:
- character identifier and character name
- doctor job and grade
- cash, gold and role currency
- job changes
- server-authoritative payments
- access checks and medical actions
Currency mapping is configured in `config/core.lua`:
'''lua
Config.REDEMPIRE.Currency = {
cash = 0,
gold = 1,
rol = 2
}
'''
Character-ready integration uses the REDEMPIRE character-ready exports/events. This allows the resource to recover correctly when it is restarted while players مدفوع (السيرفر فقط) jrs_farming
الزراعة JRS - يتحكم فيها السيرفر، محمية، ومفصولة تماماً عن jrs_herbs
| الريسورس | jrs_farming |
| المجلد | [JOBS] |
| الإصدار | 2.8.17 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_housing, jrs_inventory, jrs_police, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 18,559 Lua lines |
الأوامر
/farmadmin/farmzone
الـ Exports
GetFarmingPlantIdFromEntity, IsFarmingPlantEntity, IsFarmingPlantNearCoords
جداول قاعدة البيانات
jrs_farming, jrs_farming_logs, jrs_farming_stats, jrs_farming_wagons, jrs_farming_zones, statements
configs/config.lua - 109 إعداد#
REDEMPIRE Farming - CONFIG SECTION 1/4 : GENERAL / GAMEPLAY
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Keys |
table |
to render. Keys deliberately NOT used here: 'E' (0xCEFD9220) is the mount control and is already taken by seven other resources, and 'L' (0x80F28E95) is INPUT_OPEN_WHEEL_MENU and is claimed by jrs_train. |
↳ R |
0xE30CD707, ['G'] = 0x760A9C... |
إعداد لـ r. |
Security |
table |
Server-side anti-exploit and validation rules. Keep the two fallback options false on a normal OneSync RedM server so distance checks never trust client coordinates. |
↳ AllowMissingServerEntityCoords |
false |
يسمح بـ missing server entity coords: true = نعم، false = لا (الافتراضي false). |
↳ AllowClientPlacementFallback |
false |
يسمح بـ client placement fallback: true = نعم، false = لا (الافتراضي false). |
↳ PlacementDistance |
10.0 |
المسافة بوحدات اللعبة لـ placement distance. |
↳ MinimumActionFraction |
0.90 |
الحد الأدنى أو المستوى المطلوب لـ minimum action fraction. |
↳ CallbackRateLimitMs |
75 |
الحد الأعلى لـ callback rate limit ms. |
↳ ActionRateLimitMs |
100 |
الحد الأعلى لـ action rate limit ms. |
↳ PlacementRateLimitMs |
1200 |
الحد الأعلى لـ placement rate limit ms. |
↳ PlayerDataRateLimitMs |
1000 |
الحد الأعلى لـ player data rate limit ms. |
↳ WagonRateLimitMs |
100 |
الحد الأعلى لـ wagon rate limit ms. |
↳ PumpRateLimitMs |
500 |
الحد الأعلى لـ pump rate limit ms. |
↳ SyncRateLimitMs |
1000 |
الحد الأعلى لـ sync rate limit ms. |
↳ MaxCallbackQuantity |
100 |
الحد الأعلى لـ max callback quantity. |
RestartHours |
table |
Properly saving data before server restarts (Suggested 2-3 minutes before restart). |
SavingDurationDelay |
5 |
The time in minutes (30 as default). |
ObjectRenderDistance |
50.0 |
The rendering distance for loading placed plants & seeds. |
ActionDistance |
1.5 |
المسافة بوحدات اللعبة لـ action distance. |
PlantActionsMenu |
table |
Enabled=false: all plant actions (water, fertilize, rake, collect, destroy) are done with native on-screen prompts, and the right-click panel is a pure info card. Enabled=true would instead show clickable action buttons inside the |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ MouseFocus |
true |
مفتاح لـ mouse focus: true = شغّال، false = طافي (الافتراضي true). |
↳ AllowPlayerMovement |
true |
Keep movement/game controls active while the mouse is visible. |
↳ CloseDistance |
1.85 |
Close the panel after moving away from the plant. |
↳ HideNativePrompts |
false |
يخفي native prompts: true = نعم، false = لا (الافتراضي false). |
DistanceBetweenPlants |
2.5 |
What is the required distance for placing a seed - plant when other plants and seeds are near to this location? |
PlantingRules |
table |
Placement rules for the owner's farming configuration. means normal world planting is allowed while the configured zones remain available. |
↳ OnlyZones |
false |
مفتاح لـ only zones: true = شغّال، false = طافي (الافتراضي false). |
↳ BlacklistPlants |
table |
جدول عناصر blacklist plants. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ExclusiveSeeds |
table |
Used only when Leave empty to allow every configured seed inside the zones. |
↳ Zones |
table |
جدول عناصر zones. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Until at least one zone exists and claims weed_seed, marijuana
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
MaximumOwnedPlants |
table |
الحد الأعلى لـ maximum owned plants. |
↳ Default |
4 |
Without having any of the required jobs from below. |
↳ Jobs |
table |
Extra plants placement when having any of the required jobs below. |
LandOwnershipIntegration |
table |
Property boundaries are authoritative. Planting pauses while housing is unavailable. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ FailClosed |
true |
مفتاح لـ fail closed: true = شغّال، false = طافي (الافتراضي true). |
↳ ResourceName |
"jrs_housing" |
نص يظهر للاعب لـ resource name. غيّره للترجمة أو لتغيير الاسم. |
↳ MaximumPlantsBonus |
20 |
قيمة فلوس لـ maximum plants bonus. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ JobMaximumPlantsBonus |
table |
قيمة فلوس لـ job maximum plants bonus. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ PreventPlantingOnOtherOwnedLands |
true |
مفتاح لـ prevent planting on other owned lands: true = شغّال، false = طافي (الافتراضي true). |
↳ OtherLandPlantingMessage |
'Farming: this land is priva... |
نص يظهر للاعب لـ other land planting message. غيّره للترجمة أو لتغيير الاسم. |
↳ ShowOwnedLandStatusInMenu |
true |
يعرض owned land status in menu: true = نعم، false = لا (الافتراضي true). |
↳ OwnedLandStatusTitle |
"PRIVATE LAND" |
نص يظهر للاعب لـ owned land status title. غيّره للترجمة أو لتغيير الاسم. |
↳ OwnedLandStatusLabel |
"YOU ARE INSIDE YOUR PROPERTY" |
نص يظهر للاعب لـ owned land status label. غيّره للترجمة أو لتغيير الاسم. |
↳ HarvestMultiplier |
1.25 |
نسبة أو مضاعف لـ harvest multiplier. |
↳ JobHarvestMultiplier |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job harvest multiplier. |
↳ BoundaryPadding |
0.10 |
رقم لـ boundary padding (الافتراضي 0.10). |
↳ Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
OthersInteraction |
true |
Set to false if you don't want the strangers to interact on owned seeds - plants. |
CropCare |
table |
جدول عناصر crop care. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Weeds |
table |
جدول عناصر weeds. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ HealthDecay |
table |
Prevent a long offline catch-up or stacked hazards from killing a crop in one calculation. At 20/hour, complete neglect takes roughly five hours after health damage begins to kill a crop. |
↳ HarvestQuality |
table |
جدول عناصر harvest quality. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ DryGrowing |
table |
جدول عناصر dry growing. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
LockPlantsToPlanter |
true |
false preserves the current shared-care behavior; true restricts every maintenance/harvest/remove action to the character who planted the crop. |
IllegalCropDetection |
table |
جدول عناصر illegal crop detection. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Jobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ jobs. |
↳ Plants |
table |
جدول عناصر plants. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Distance |
50.0 |
المسافة بوحدات اللعبة لـ distance. |
↳ CheckIntervalMs |
3000 |
إعداد وقت لـ check interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ NotificationCooldownMs |
30000 |
إعداد وقت لـ notification cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ BlipDurationMs |
30000 |
إعداد وقت لـ blip duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
DeletePlantedSeedsNotComplete |
true |
Delete on @Config.RestartHours the plants (seeds) that have been placed but never actually progressed? |
DisablePlayerDroppedSaving |
false |
Save a connected character's cached plant data again on playerDropped. |
DisplayBlipOwnedPlants |
true |
Set to false if you don't want any blips to be displayed on owned plant locations. |
DisplayBlipSprite |
-675651933 |
إعدادات علامة الخريطة أو الأيقونة لـ display blip sprite. |
Towns |
table |
Prevent all players from planting seeds - plants on the specified towns below. |
TownCenters |
table |
Authoritative city boundaries (used on both client and server) |
SafezoneIntegration |
table |
جدول عناصر safezone integration. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ ResourceName |
"jrs_safezone" |
نص يظهر للاعب لـ resource name. غيّره للترجمة أو لتغيير الاسم. |
WeatherSync |
table |
The "weathersync" resource is installed on this server ([ui]/weathersync, started before jrs_farming) and exposes exports.weathersync:getWeather(), which matches this integration exactly, so rain now tops up plant water. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ ResourceName |
"weathersync" |
نص يظهر للاعب لـ resource name. غيّره للترجمة أو لتغيير الاسم. |
↳ UpdateTimer |
1 |
رقم لـ update timer (الافتراضي 1). |
↳ RefillPlantWaterSource |
true |
مفتاح لـ refill plant water source: true = شغّال، false = طافي (الافتراضي true). |
↳ RainWaterValue |
1000 |
رقم لـ rain water value (الافتراضي 1000). |
↳ DamagePlantFertilizerValue |
0 |
رقم لـ damage plant fertilizer value (الافتراضي 0). |
UpdateTimer |
5 |
Time in minutes for any plant updates (5 Minutes by default). |
NeglectDeathSeconds |
10 * 60 |
fertilizing, working the soil or removing weeds kills and removes the crop. Every successful care action resets this timer. Gradual health decay remains active too, so poor care is visible and recoverable before the final deadline |
WellCaredGrowthBonusPercent |
100 |
has satisfied its one-time fertilizer requirement (server_main.lua's AdvancePlantGrowth) - a well-cared-for plant grows noticeably faster than a neglected one, on top of any zone GrowthRate multiplier. |
FertilePlotSoil |
table |
Crops planted on a jrs_housing fertile plot count as fertilized from the start, but only get these smaller bonuses. Applying all three fertilizer types by hand upgrades the crop to the full bonuses above. |
↳ GrowthBonusPercent |
25 |
instead of WellCaredGrowthBonusPercent (2026-09-24: 50 -> 25, realistic) |
↳ HarvestBonus |
0.05 |
instead of CropCare.HarvestQuality.FertilizedBonus (2026-09-24: 0.07 -> 0.05) |
Temperature |
table |
temperature at the plant's own coords, sampled client-side every UpdateTimer minutes) - see configs/plants.lua's Temperature block on every plant and server_main.lua's AdvancePlantGrowth for the actual check. |
PlaceObjectOnGroundProperly already seats a model on the terrain; this is
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
PlantMaxRootSink |
0.08 |
sink depths - subtracting them raw buried 54 of the 58 crops up to a metre and a quarter underground, which is why planted crops looked like they never appeared at all. Raise this a little if crops still look like they float. |
PlantZone |
table |
جدول عناصر plant zone. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ DrawDistance |
8.0 |
المسافة بوحدات اللعبة لـ draw distance. |
↳ Radius |
1.15 |
المسافة بوحدات اللعبة لـ radius. |
↳ Segments |
56 |
رقم لـ segments (الافتراضي 56). |
↳ LineWidth |
4 |
رقم لـ line width (الافتراضي 4). |
↳ ZOffset |
0.12 |
رقم لـ z offset (الافتراضي 0.12). |
↳ CenterCrossSize |
0.16 |
رقم لـ center cross size (الافتراضي 0.16). |
↳ Color |
table |
جدول عناصر color. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ShadowColor |
table |
جدول عناصر shadow color. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
DirectPlanting |
table |
When a seed is used, it is planted automatically in front of the player. |
↳ ForwardDistance |
1.35 |
المسافة بوحدات اللعبة لـ forward distance. |
↳ GroundProbeHeight |
5.0 |
رقم لـ ground probe height (الافتراضي 5.0). |
↳ GroundProbeDepth |
15.0 |
رقم لـ ground probe depth (الافتراضي 15.0). |
Seamlessly connected to jrs_core character / job leveling.
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Leveling |
table |
جدول عناصر leveling. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ MaxLevel |
100 |
الحد الأعلى لـ max level. |
↳ BaseHarvestXP |
40 |
Base XP granted to the character upon a successful harvest (added directly to jrs_core) |
↳ QualityXpMultiplier |
0.50 |
Extra XP bonus based on crop quality (health percentage: e.g. 100% quality = +50% XP) |
↳ Perks |
table |
Progressive Perks & High-Level Rewards across Levels 1 to 100: |
مدفوع (السيرفر فقط) jrs_fight
حلبة القتال في jrs core - جولات تدريب، مبارزات بين اللاعبين وترتيب لـ jrs_core
| الريسورس | jrs_fight |
| المجلد | [JOBS] |
| الإصدار | 2.5.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 2,834 Lua lines |
الأوامر
/fightdiag
جداول قاعدة البيانات
IF, jrs_fight_rankings
config/config.lua - 136 إعداد#
01. KEYS, PRICES AND DISTANCES
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
TrainingKey |
0x760A9C6F |
(G) start a training bout |
ScoreboardKey |
0x4CC0E2FE |
(B) open the scoreboard |
StartFightKey |
0xDE794E3E |
(Q) challenge another player |
TrainingPrice |
1.50 |
Price (cash) charged when a training bout starts. |
InteractDistance |
2.5 |
Distance from the organizer at which the prompts become active. |
PromptCooldownMs |
750 |
Ignore further prompt presses for this long after one fires. A completed prompt reports true on several consecutive frames, so without this a single press would trigger the action (and its notification) repeatedly. |
TooFarAway |
150.0 |
Leaving this radius aborts a training bout and despawns the arena peds. |
ResetDuel |
true |
Heal both fighters back to full once a duel ends instead of leaving the loser bleeding out. This was ResetDuel in the original config. |
LifeLose |
30 |
A fighter who drops to this health (or below) loses the duel. |
02. DUEL FLOW TIMINGS
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
RequestTimeoutSeconds |
30 |
How long a challenge stays pending before it expires. |
ZoneTimeoutSeconds |
120 |
After a challenge is accepted both fighters walk to the fight zone. The duel is cancelled if they do not both arrive within this window. |
FightZoneRadius |
12.0 |
How close a fighter must be to fightzonecoords to count as "in the zone". |
DuelLeaveRadius |
35.0 |
Leaving this radius mid-duel forfeits the fight. |
CountdownSeconds |
9 |
Countdown length. The original counted down from 9. |
CountdownSwapFirst |
3 |
The countdown headline changes after this many ticks have elapsed. |
CountdownSwapSecond |
6 |
رقم لـ countdown swap second (الافتراضي 6). |
MinimumDuelSeconds |
3 |
A duel cannot be resolved before this many seconds of real fighting. Stops a fighter from instantly forfeiting to farm a result. |
MaxDuelSeconds |
600 |
Hard cap on a single round. If neither fighter ever reports a result (a crashed client, a dead NUI) the duel is cancelled and both are freed instead of staying marked busy forever. |
ResultScreenSeconds |
6 |
How long the win/lose result banner stays on screen. |
03. TRAINING TUTORIAL
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Tutorial |
table |
جدول عناصر tutorial. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
Show the numbered lessons while a training bout is running. |
↳ IntervalSeconds |
14 |
Seconds between two lessons. |
↳ Count |
8 |
Lessons 1..8 play during the bout, lesson 9 plays when it is finished. |
TrainingMinimumCompletionSeconds |
20 |
A training completion is reported by the client because its sparring peds live there. Do not grant XP to a completion reported immediately after the server authorises the session (for example after a client/UI failure). |
TrainingFallbackModel |
"cs_welshfighter" |
Used when a training opponent's model is invalid or fails to stream, so a bad model name can never leave the arena empty. |
The small on-screen panel shown while training or duelling.
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
HUD |
table |
جدول عناصر hud. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ ShowTraining |
true |
Show the opponent counter during training. |
↳ ShowDuel |
true |
Show both health bars and the fight clock during a duel. |
↳ HealthSyncMs |
400 |
How often (ms) the client pushes its own health to the server so the opponent's HUD can draw it. Lower is smoother and chattier. |
The "Start Fight" prompt opens a browser of players you can challenge
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Browser |
table |
جدول عناصر browser. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ListPlayers |
true |
List other players rather than only offering the manual id field. |
↳ NearbyOnly |
false |
Only list players within this many metres of the arena organizer. Set to false to list every eligible player on the server. |
↳ NearbyRadius |
150.0 |
المسافة بوحدات اللعبة لـ nearby radius. |
↳ ShowRecords |
true |
Show each listed player's win/loss record next to their name. |
↳ MaxResults |
64 |
Hardest cap on how many players are sent to the NUI. |
npcmodel / blip: set to false to disable that part of the arena.
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
FightArena |
table |
جدول عناصر fight arena. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
07. XP (jrs_core per-job leveling)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
XP |
table |
جدول عناصر xp. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Job |
"fight" |
مفتاح المستوى لكل وظيفة في jrs_core. لا تغيّره: هو المفتاح الأساسي في جدول jrs_job_levels، وتغيير اسمه يضيّع التقدم الموجود. |
↳ Multiplier |
1.0 |
يضاعف كل المكافآت تحت. ارفعه لويكند مضاعف، أو نزّله عشان تبطّئ هذي الوظيفة مقارنة بالباقي. |
↳ Default |
0 |
يُستخدم لما تنعطى مكافأة باسم مو موجود هنا. |
↳ Rewards |
table |
Small XP for winning only. Losing gives nothing (it was farmable: two friends taking turns to "lose" both earned XP). |
↳ DailyCap |
100 |
Most fight XP one character can earn per real day (all rewards above). |
07b. ANTI-EXPLOIT (server-side; nothing here is trusted from the client)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Security |
table |
جدول عناصر security. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ OrganizerRadius |
8.0 |
Server-checked distance from the organizer to start training / send a challenge (a bit above InteractDistance for sync lag). |
↳ ZoneSlack |
6.0 |
Extra slack on top of FightZoneRadius when the server checks a fighter who claims to be in the fight zone. |
↳ MinRankedDuelSeconds |
20 |
A duel must last this long to be ranked or give XP. Shorter results (instant forfeits between friends) still end the duel but count nothing. |
↳ PairCooldownSeconds |
900 |
The same two characters only get ranked / rewarded once per this window. |
↳ TrainingXpCooldownSeconds |
600 |
Training XP only once per this window per character. |
↳ MaxTrainingSeconds |
900 |
A training session the client never closes is dropped after this. |
↳ RefundWindowSeconds |
30 |
Refunds are only accepted this soon after the server authorised the bout (the spawn phase); a later "refund" is ignored. |
↳ Throttle |
table |
Per-player event throttles in milliseconds. |
08. DATABASE
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
AutoCreateTable |
true |
يتعامل تلقائياً مع create table: true = نعم، false = لا (الافتراضي true). |
DatabaseTable |
"jrs_fight_rankings" |
إعداد لـ database table. |
ScoreboardLimit |
50 |
الحد الأعلى لـ scoreboard limit. |
09. TEXTS
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Text |
table |
نص يظهر للاعب لـ text. غيّره للترجمة أو لتغيير الاسم. |
↳ Title |
"Fight Club" |
نص يظهر للاعب لـ title. غيّره للترجمة أو لتغيير الاسم. |
↳ Training |
"Training" |
إعداد لـ training. |
↳ FightZone |
"Fight Zone" |
إعداد لـ fight zone. |
↳ Scoreboard |
"Scoreboard" |
إعداد لـ scoreboard. |
↳ StartFight |
"Start Fight" |
إعداد لـ start fight. |
↳ ChallengeHeader |
"Challenge a Player" |
Challenge browser |
↳ ChallengeRow |
'Pick an opponent from the l... |
إعداد لـ challenge row. |
↳ ChallengeSearch |
"Search by name or id..." |
إعداد لـ challenge search. |
↳ ChallengeManual |
"Player ID" |
إعداد لـ challenge manual. |
↳ ChallengeSubmit |
"Send Challenge" |
إعداد لـ challenge submit. |
↳ ChallengeCancel |
"Cancel" |
إعداد لـ challenge cancel. |
↳ ChallengeTabList |
"Available Players" |
إعداد لـ challenge tab list. |
↳ ChallengeTabManual |
"Manual Entry" |
إعداد لـ challenge tab manual. |
↳ ChallengeEmpty |
'No opponents available righ... |
إعداد لـ challenge empty. |
↳ ChallengeRecord |
"Record" |
إعداد لـ challenge record. |
↳ WrongInputs |
"Invalid input!" |
إعداد لـ wrong inputs. |
↳ ChallengeIncoming |
"FIGHT REQUEST" |
Incoming challenge card |
↳ ChallengeArenaLine |
'Someone wants to settle thi... |
إعداد لـ challenge arena line. |
↳ ChallengeSuffix |
" has challenged you to a fight!" |
إعداد لـ challenge suffix. |
↳ Accept |
"Accept" |
إعداد لـ accept. |
↳ Decline |
"Decline" |
إعداد لـ decline. |
↳ TrainingStarted |
'Training has started! Beat ... |
Training |
↳ TooFar |
'You went too far from the t... |
إعداد لـ too far. |
↳ TrainingLost |
'You were knocked out! Train... |
إعداد لـ training lost. |
↳ TooFarOrganizer |
'Stand next to the fight org... |
إعداد لـ too far organizer. |
↳ UnrankedResult |
'Friendly fight - not ranked... |
إعداد لـ unranked result. |
↳ FinishedTraining |
'You finished the training s... |
إعداد لـ finished training. |
↳ AlreadySpawned |
'You already started a train... |
إعداد لـ already spawned. |
↳ NoMoney |
'You do not have enough mone... |
قيمة فلوس لـ no money. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ TrainingUnavailable |
'No sparring partner could b... |
إعداد لـ training unavailable. |
↳ GoToFightZone |
'Head to the centre of the f... |
Duel |
↳ RequestSent |
'Challenge sent, waiting for... |
إعداد لـ request sent. |
↳ RequestExpired |
"The challenge request expired." |
إعداد لـ request expired. |
↳ NotOnline |
"That player is not online!" |
إعداد لـ not online. |
↳ RivalInDuel |
'That player is busy with a ... |
إعداد لـ rival in duel. |
↳ YouInDuel |
'You are already in a fight,... |
إعداد لـ you in duel. |
↳ DuelDeclined1 |
"Your challenge was declined!" |
إعداد لـ duel declined1. |
↳ DuelDeclined2 |
"You declined that fight!" |
إعداد لـ duel declined2. |
↳ DuelCancelled |
"The fight was cancelled." |
إعداد لـ duel cancelled. |
↳ PrepareToFight |
"Prepare to fight!" |
إعداد لـ prepare to fight. |
↳ BeReady |
"Be ready" |
إعداد لـ be ready. |
↳ Fight |
"FIGHT" |
إعداد لـ fight. |
↳ PrepareLine |
'The best fighter wins. Are ... |
إعداد لـ prepare line. |
↳ YouWin |
'You won the fight! You are ... |
إعداد لـ you win. |
↳ YouLost |
'You lost this one, but do n... |
إعداد لـ you lost. |
↳ VersusLabel |
"VS" |
نص يظهر للاعب لـ versus label. غيّره للترجمة أو لتغيير الاسم. |
↳ ResultWin |
"VICTORY" |
Result banner |
↳ ResultLose |
"DEFEAT" |
إعداد لـ result lose. |
↳ ResultStreak |
"Win Streak" |
إعداد لـ result streak. |
↳ ResultRecord |
"Record" |
إعداد لـ result record. |
↳ HudTraining |
"TRAINING" |
Live HUD |
↳ HudOpponents |
"Opponents left" |
إعداد لـ hud opponents. |
↳ HudDuel |
"DUEL" |
إعداد لـ hud duel. |
↳ HudYou |
"You" |
إعداد لـ hud you. |
↳ ScoreSubtitle |
'Standings of every contende... |
Scoreboard |
↳ ScoreChampion |
"STRONGEST FIGHTER" |
إعداد لـ score champion. |
↳ ScoreChampionNone |
'No champion yet - the title... |
إعداد لـ score champion none. |
↳ ScoreContenders |
"Contenders" |
إعداد لـ score contenders. |
↳ ScoreBest |
"Best streak" |
إعداد لـ score best. |
↳ ScoreRank |
"#" |
إعداد لـ score rank. |
↳ ScoreFighter |
"Fighter" |
إعداد لـ score fighter. |
↳ ScoreWins |
"Wins" |
إعداد لـ score wins. |
↳ ScoreLosses |
"Losses" |
إعداد لـ score losses. |
↳ ScoreRatio |
"Ratio" |
إعداد لـ score ratio. |
↳ ScoreStreak |
"Streak" |
إعداد لـ score streak. |
↳ ScoreYou |
"You" |
إعداد لـ score you. |
↳ ScoreSearch |
"Search for a fighter..." |
إعداد لـ score search. |
↳ ScoreUnranked |
'You have not recorded a fig... |
إعداد لـ score unranked. |
↳ VictoryLabel |
" - Wins: " |
نص يظهر للاعب لـ victory label. غيّره للترجمة أو لتغيير الاسم. |
↳ DefeatLabel |
" - Losses: " |
نص يظهر للاعب لـ defeat label. غيّره للترجمة أو لتغيير الاسم. |
↳ NoRankings |
"No results recorded yet." |
إعداد لـ no rankings. |
↳ TutorialTitle |
table |
Training tutorial |
↳ Tutorial |
table |
جدول عناصر tutorial. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
(Historical note: the old jrs_notify export ended with Citizen.Wait(duration)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Notifications |
table |
جدول عناصر notifications. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ UseNUI |
false |
Draw notifications as toasts in the fight UI instead of the unified jrs_notify toast. Leave false so fight messages match the rest of the server; jrs_notify is used whenever it is running either way. |
↳ Fallback |
"jrs_notify" |
Fallback path when jrs_notify is stopped and UseNUI is false: 'jrs_notify' or 'core' (the jrs_core right tip). |
↳ Duration |
6000 |
Default lifetimes in milliseconds. |
↳ LessonDuration |
10000 |
إعداد وقت لـ lesson duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
ملاحظات من ملف README#
# JRS Fight Arena
An open reimplementation of the SS-FightArena feature set, rebuilt on `jrs_core`
with no escrow, no jQuery/materialize and no external menu or input resource.
Every string is English and lives in `config/config.lua`.
## Features
- Multiple configurable arenas, each with an organizer NPC and a fight zone.
- Native prompts on the organizer: **Training (G)**, **Start Fight (Q)**,
**Scoreboard (B)**.
- Paid training bouts against configurable opponents (model, random health
range, combat movement) with the nine numbered fighting lessons.
- **Challenge browser**: pick an opponent from a searchable list of eligible
players showing their win/loss record, or enter a server id by hand.
- Incoming challenge card with the challenger's initials, record and a live
request-timeout bar.
- Both fighters walk to the fight zone; the countdown only starts once both are
inside it, and shows a versus header plus a draining progress ring.
- **Live HUD**: opponents remaining during training; both fighters' health bars
and a fight clock during a duel.
- **Result banner** with the fresh record and win streak.
- Duels resolve server-side on the health floor, on death, or on leaving the
arena. Quitting mid-fight counts as a loss.
- Persistent rankings with win streaks and a full scoreboard: medal ranks, win
ratio, streak column, search box and your own row pinned and highlighted.
- Unified notifications through `jrs_core`, so arena messages use the same
renderer and language styling as the rest of the server.
- Per-job XP through `jrs_core` (job key `fight`).
- Owner-only administration through the shared `jrs_scriptadmin` panel, the same
way `jrs_farming` does it.
## Dependencies
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_scriptadmin # optional; required only for the owner admin panel
ensure jrs_fight
'''
`jrs_fight` lives in `[JOBS]`, which `server.cfg` already starts with
`ensure [JOBS]` after `jrs_core`, `oxmysql` and the shared JRS resources.
## Flow
| Step | Where | What happens |
| --- | --- | --- |
| Training | organizer prompt (G) | `Config.TrainingPrice` is charged, the arena's `training` peds spawn, the HUD counts opponents, lessons 1..8 play, lesson 9
| Challenge | organizer prompt (Q) | The challenge browser lists eligible players with their records; pick one or type an id. |
| Walk in | after accept | Both fighters are told to go to the fight zone and report when they arrive. |
| Countdown | both in zone | Versus header, draining ring, 9..1, both frozen, then `FIGHT`. |
| Duel | after the countdown | Both health bars are live in the HUD; health is relayed server-side. |مجاني (موجود مع JRS Core) jrs_fishing
صيد السمك في jrs core
| الريسورس | jrs_fishing |
| المجلد | [JOBS] |
| الإصدار | 1.5.4 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 6,055 Lua lines |
الأوامر
/-jrsFishingSkillHit/fishboard/fishdebug
الـ Exports
OpenFishingBoard
جداول قاعدة البيانات
jrs_fishing_leaderboard
config/config.lua - 151 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Difficulty |
1250 |
If you use -1 for testing the fish is very easy to catch -- |
ReelSpeed |
0.0125 |
رقم لـ reel speed (الافتراضي 0.0125). |
LegendaryCooldownMinutes |
15 |
After landing a Legendary fish, that character cannot roll another Legendary for this many minutes (catches still roll Rare/Epic/Common). 0 = no cooldown. |
FishingMechanics |
table |
Fishing behavior. Percent values are from 0 to 100. |
↳ AttractionRadius |
50.0 |
How far fish can detect the bait. |
↳ HookDistance |
1.6 |
Fish must be this close to bite. |
↳ LureCooldownMs |
1000 |
Delay between attraction tasks. |
↳ BiteAttemptIntervalMs |
750 |
Delay between bite rolls while a fish is close. |
↳ BiteChance |
45 |
Chance for a nearby interested fish to bite. |
↳ AutoBiteDelayMs |
4000 |
Maximum time waiting before a fish bites automatically. |
↳ StruggleChance |
40 |
Chance that the fish enters a struggle phase. |
↳ StruggleDurationMinSec |
3 |
إعداد وقت لـ struggle duration min sec. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ StruggleDurationMaxSec |
5 |
إعداد وقت لـ struggle duration max sec. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CalmDurationMinSec |
6 |
إعداد وقت لـ calm duration min sec. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CalmDurationMaxSec |
10 |
إعداد وقت لـ calm duration max sec. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ FishPullForce |
0.8 |
رقم لـ fish pull force (الافتراضي 0.8). |
↳ MinimumPullForce |
0.8 |
الحد الأدنى أو المستوى المطلوب لـ minimum pull force. |
↳ LineBreakForce |
1.4 |
رقم لـ line break force (الافتراضي 1.4). |
↳ ForceStep |
0.005 |
رقم لـ force step (الافتراضي 0.005). |
↳ RequireMatchingBait |
true |
Only fish listed for the selected bait can bite. |
FishingSkillGame |
table |
UI skill-check shown after a fish bites the hook. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ RequiredHits |
3 |
Correct R / Click presses needed to land the fish. |
↳ AllowedMisses |
1 |
Number of allowed misses before losing the fish. |
↳ ZoneWidth |
18 |
Gold arc size as a percentage of the ring (18 = 65 degrees). |
↳ TravelTimeMs |
1450 |
Needle speed: one lap takes 1.25x this; lower is faster. |
↳ TimeLimitMs |
15000 |
Total time allowed for the skill-check. |
↳ PullToPlayerSpeed |
3.0 |
How quickly the successful fish moves toward the player. |
↳ LandingDistance |
4.0 |
Native landing begins at this line distance. |
↳ AutoLandTimeoutMs |
3500 |
Safety fallback if the fish cannot path to the player. |
↳ DefaultKey |
"R" |
Used only when RegisterKeyMapping is supported. |
↳ ControlHash |
0xE30CD707 |
INPUT_RELOAD / keyboard R fallback for older RedM artifacts. |
↳ KeyLabel |
"R" |
الزر أو التحكم المستخدم لـ key label. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ Title |
"Secure the Hook" |
نص يظهر للاعب لـ title. غيّره للترجمة أو لتغيير الاسم. |
↳ Instruction |
"Press R when the needle is ... |
إعداد لـ instruction. |
FishingWaitUI |
table |
Circular indicator displayed while waiting for a fish to bite. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Label |
"Waiting for a fish..." |
نص يظهر للاعب لـ label. غيّره للترجمة أو لتغيير الاسم. |
FishCatchUI |
table |
جدول عناصر fish catch ui. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Title |
"Fish Caught" |
نص يظهر للاعب لـ title. غيّره للترجمة أو لتغيير الاسم. |
↳ PromptTitle |
"FISH CAUGHT" |
نص يظهر للاعب لـ prompt title. غيّره للترجمة أو لتغيير الاسم. |
↳ KeepLabel |
"Keep Fish" |
نص يظهر للاعب لـ keep label. غيّره للترجمة أو لتغيير الاسم. |
↳ ThrowLabel |
"Throw Fish" |
نص يظهر للاعب لـ throw label. غيّره للترجمة أو لتغيير الاسم. |
↳ DefaultImage |
"assets/fish_bw.png" |
إعداد لـ default image. |
↳ Images |
table |
Keys are the signed 32-bit GetHashKey() of the uppercase model name (e.g. GetHashKey("A_C_FISHBLUEGIL_01_MS")). Real per-species catch photos (from the imported fishing dataset's art) live in html/assets/fish/. |
FishingJob |
table |
Leave Enabled = false to allow everyone to fish. Set Enabled = true when fishing should require one of the jobs below. |
↳ Enabled |
true |
Enabled: requires the fishing job (fisher / fisherman) |
↳ AllowedJobs |
table |
Internal job names stored by jrs_core or jrs_multijob. Add more entries if needed. |
↳ MinimumGrade |
0 |
Minimum job grade/rank required. Set 0 to allow every grade. |
↳ DeniedMessage |
"لا يمكنك الصيد بدون وظيفة ا... |
Message shown when a player without the required job tries to fish or use bait. |
↳ ValidateOnBaitUse |
true |
Extra server-side protection when consuming bait and receiving a fish. |
↳ ValidateOnBaitConsume |
true |
مفتاح لـ validate on bait consume: true = شغّال، false = طافي (الافتراضي true). |
↳ ValidateOnFishReward |
true |
مفتاح لـ validate on fish reward: true = شغّال، false = طافي (الافتراضي true). |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Url |
"" |
إعداد لـ url. |
↳ Color |
10038562 |
رقم لـ color (الافتراضي 10038562). |
FishingXP |
table |
Uses jrs_core's official server API: REDEMPIRE.addxp(source, amount). XP is awarded only after a successful catch is added to inventory. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Default |
15 |
Used only when a fish model is missing from Rewards. |
↳ NotifyPlayer |
true |
مفتاح لـ notify player: true = شغّال، false = طافي (الافتراضي true). |
↳ Notification |
"+%s Fishing XP" |
نص يظهر للاعب لـ notification. غيّره للترجمة أو لتغيير الاسم. |
↳ Rewards |
table |
جدول عناصر rewards. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
FishingCash |
table |
قيمة فلوس لـ fishing cash. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Default |
2.50 |
رقم لـ default (الافتراضي 2.50). |
↳ Rewards |
table |
جدول عناصر rewards. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Baits |
table |
Baits are also the names of the used items when holding a fishing rod. |
ReusableBaits |
table |
Reusable baits (artificial lures & spinners). Items listed here are NOT consumed/deleted from the player's inventory on cast; the server only verifies that the player possesses at least 1 in their inventory. |
↳ p_finishedragonfly01x |
true |
Dragonfly Lure |
↳ p_FinisdFishlure01x |
true |
Fish Lure |
↳ p_finishdcrawd01x |
true |
Crawfish Lure |
↳ p_finishedragonflylegendary01x |
true |
Legendary Dragonfly Lure |
↳ p_finisdfishlurelegendary01x |
true |
Legendary Fish Lure |
↳ p_finishdcrawdlegendary01x |
true |
Legendary Crawfish Lure |
↳ p_lgoc_spinner_v4 |
true |
Special Spinner |
↳ p_lgoc_spinner_v6 |
true |
Legendary Special Spinner |
BaitsPerFish |
table |
جدول عناصر baits per fish. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_baitBread01x |
table |
جدول عناصر p bait bread01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_baitCorn01x |
table |
جدول عناصر p bait corn01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_baitCheese01x |
table |
جدول عناصر p bait cheese01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_baitCricket01x |
table |
جدول عناصر p bait cricket01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_baitWorm01x |
table |
جدول عناصر p bait worm01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_crawdad01x |
table |
جدول عناصر p crawdad01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_finishedragonfly01x |
table |
جدول عناصر p finishedragonfly01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_FinisdFishlure01x |
table |
جدول عناصر p finisd fishlure01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_finishdcrawd01x |
table |
جدول عناصر p finishdcrawd01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_finishedragonflylegendary01x |
table |
جدول عناصر p finishedragonflylegendary01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_finisdfishlurelegendary01x |
table |
جدول عناصر p finisdfishlurelegendary01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_finishdcrawdlegendary01x |
table |
جدول عناصر p finishdcrawdlegendary01x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_lgoc_spinner_v4 |
table |
جدول عناصر p lgoc spinner v4. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ p_lgoc_spinner_v6 |
table |
جدول عناصر p lgoc spinner v6. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
FishData |
table |
جدول عناصر fish data. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHBLUEGIL_01_MS |
table |
جدول عناصر a c fishbluegil 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHBLUEGIL_01_SM |
table |
جدول عناصر a c fishbluegil 01 sm. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHBULLHEADCAT_01_MS |
table |
جدول عناصر a c fishbullheadcat 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHBULLHEADCAT_01_SM |
table |
جدول عناصر a c fishbullheadcat 01 sm. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHCHAINPICKEREL_01_MS |
table |
جدول عناصر a c fishchainpickerel 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHCHAINPICKEREL_01_SM |
table |
جدول عناصر a c fishchainpickerel 01 sm. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHCHANNELCATFISH_01_LG |
table |
جدول عناصر a c fishchannelcatfish 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHCHANNELCATFISH_01_XL |
table |
جدول عناصر a c fishchannelcatfish 01 xl. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHLAKESTURGEON_01_LG |
table |
جدول عناصر a c fishlakesturgeon 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHLARGEMOUTHBASS_01_LG |
table |
جدول عناصر a c fishlargemouthbass 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHLARGEMOUTHBASS_01_MS |
table |
جدول عناصر a c fishlargemouthbass 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHLONGNOSEGAR_01_LG |
table |
جدول عناصر a c fishlongnosegar 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHMUSKIE_01_LG |
table |
جدول عناصر a c fishmuskie 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHNORTHERNPIKE_01_LG |
table |
جدول عناصر a c fishnorthernpike 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHPERCH_01_MS |
table |
جدول عناصر a c fishperch 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHPERCH_01_SM |
table |
جدول عناصر a c fishperch 01 sm. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHRAINBOWTROUT_01_LG |
table |
جدول عناصر a c fishrainbowtrout 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHRAINBOWTROUT_01_MS |
table |
جدول عناصر a c fishrainbowtrout 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHREDFINPICKEREL_01_MS |
table |
جدول عناصر a c fishredfinpickerel 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHREDFINPICKEREL_01_SM |
table |
جدول عناصر a c fishredfinpickerel 01 sm. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHROCKBASS_01_MS |
table |
جدول عناصر a c fishrockbass 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHROCKBASS_01_SM |
table |
جدول عناصر a c fishrockbass 01 sm. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHSALMONSOCKEYE_01_LG |
table |
جدول عناصر a c fishsalmonsockeye 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHSALMONSOCKEYE_01_ML |
table |
جدول عناصر a c fishsalmonsockeye 01 ml. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHSALMONSOCKEYE_01_MS |
table |
جدول عناصر a c fishsalmonsockeye 01 ms. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ A_C_FISHSMALLMOUTHBASS_01_LG |
table |
جدول عناصر a c fishsmallmouthbass 01 lg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
# REDEMPIRE Fishing Modifications
This version includes a fishing skill game, a circular waiting indicator, bait consumption on cast, optional job restrictions, and configurable XP rewards per f
## Skill Game
When a fish bites, press `R` while the moving fish icon overlaps the target fish icon. The target moves after every successful hit. The default requirement is t
Configure the system in `Config.FishingSkillGame` inside `config.lua`:
- `Enabled`: Enables or disables the skill game.
- `RequiredHits`: Number of successful hits required.
- `AllowedMisses`: Number of allowed misses.
- `ZoneWidth`: Target area width.
- `TravelTimeMs`: Time for the moving icon to cross the bar.
- `TimeLimitMs`: Total attempt time.
- `PullToPlayerSpeed`: Fish pull speed after success.
- `LandingDistance`: Distance required to begin the landing animation.
- `AutoLandTimeoutMs`: Fallback timeout to prevent the fish from getting stuck.
- `DefaultKey`: Default key label.
- `ControlHash`: RedM control hash used as the fallback input.
## Waiting Indicator
Configure the circular waiting indicator in `Config.FishingWaitUI`.
## Job Restriction
Configure job access in `Config.FishingJob`. The restriction is disabled by default with `Enabled = false`.
## Fishing XP
Configure XP rewards in `Config.FishingXP`. Each fish model can have its own XP value in the `Rewards` table. XP is awarded through the REDEMPIRE Core API afterمدفوع (السيرفر فقط) jrs_freelance
الأعمال الحرة JRS - تنظيف المداخن وجهاز كشف المعادن في ريسورس واحد
| الريسورس | jrs_freelance |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 3,760 Lua lines |
الأوامر
/jrsmd_resetspots
config/chimneysweep.lua - 40 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Locale |
"ar" |
لغة واجهة السكربت (en أو ar). |
RequiredJob |
table |
Set enabled = false to allow every player. 'surfacecleaner' is the job-board job (jrs_multijob "Surface Cleaner"); the old 'chimneysweep' id was never offered on any board, so nobody could get it. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ job |
"surfacecleaner" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job. |
↳ jobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ jobs. |
↳ label |
"Surface Cleaner" |
نص يظهر للاعب لـ label. غيّره للترجمة أو لتغيير الاسم. |
NPCs |
table |
جدول عناصر np cs. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
CleaningDuration |
10000 |
إعداد وقت لـ cleaning duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Payment |
table |
جدول عناصر payment. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
JobsPerTask |
4 |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ jobs per task. |
Cooldown |
30000 |
إعداد وقت لـ cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
DailyLimit |
table |
الحد الأعلى لـ daily limit. |
BroomModel |
"p_broom01x" |
موديل أو كيان في اللعبة يُستخدم لـ broom model. |
BroomFallbacks |
table |
جدول عناصر broom fallbacks. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Animation |
table |
إعدادات الأنيميشن لـ animation. |
↳ male |
table |
جدول عناصر male. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ female |
table |
جدول عناصر female. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ fallback |
table |
جدول عناصر fallback. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ flag |
1 |
رقم لـ flag (الافتراضي 1). |
↳ prop |
Config.BroomModel |
موديل أو كيان في اللعبة يُستخدم لـ prop. |
↳ bone |
7966 |
رقم لـ bone (الافتراضي 7966). |
↳ offset |
table |
جدول عناصر offset. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
NPCPromptKey |
0x760A9C6F |
الزر أو التحكم المستخدم لـ npc prompt key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
PromptKey |
0x760A9C6F |
الزر أو التحكم المستخدم لـ prompt key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
JobBlip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ job blip. |
ChimneyObject |
table |
Disabled: all props removed as requested. Only yellow circle markers are displayed. |
↳ enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
TaskMarker |
table |
Yellow circle marker drawn at every incomplete chimney task while the job is active. zOffset kept near 0 (rooftop coords are already at surface height) since a large negative offset can sink the marker below thin roof geometry and |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ type |
1 |
رقم لـ type (الافتراضي 1). |
↳ scale |
vector3(1.8, 1.8, 1.2) |
نسبة أو مضاعف لـ scale. |
↳ color |
table |
جدول عناصر color. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ zOffset |
0.25 |
رقم لـ z offset (الافتراضي 0.25). |
↳ bobUpAndDown |
true |
مفتاح لـ bob up and down: true = شغّال، false = طافي (الافتراضي true). |
↳ drawDistance |
25.0 |
المسافة بوحدات اللعبة لـ draw distance. |
InteractionDistance |
3.0 |
المسافة بوحدات اللعبة لـ interaction distance. |
DrawDistance |
50.0 |
المسافة بوحدات اللعبة لـ draw distance. |
ServerValidationDistance |
20.0 |
المسافة بوحدات اللعبة لـ server validation distance. |
NotificationDuration |
4000 |
إعداد وقت لـ notification duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
config/metal_detector.lua - 74 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
CoreResource |
"jrs_core" |
إعداد لـ core resource. |
InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
DetectorWeapon |
"WEAPON_KIT_METAL_DETECTOR" |
Native Red Dead Online metal detector weapon. |
DetectorItem |
"metal_detector" |
Inventory item that owns/toggles the detector. The native held kit is not stored in the weapon loadout because RedM reports HAS_PED_GOT_WEAPON=false for this held-kit weapon even while it is visibly equipped. |
ShovelItem |
"shovel" |
أغراض المخزون المستخدمة في shovel item. الأسماء لازم تكون موجودة في جدول jrs_items. |
TestCommands |
table |
Temporary development commands. These give/remove the detector directly with RedM natives and do NOT require an inventory/database entry. Disable after the detector test is complete. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ GiveCommand |
"testdetector" |
إعداد لـ give command. |
↳ RemoveCommand |
"removedetector" |
إعداد لـ remove command. |
RandomizeSpotPlacement |
false |
If enabled, each resource start selects a random subset of the configured spots. |
RandomSpotChance |
50 |
نسبة أو مضاعف لـ random spot chance. |
NearbyPlayerDistance |
15.0 |
Nearby clients reproduce the shovel prop/animation for the digging player. |
MaxDistanceToNode |
5.0 |
Detection distances. |
MinDistanceToNode |
1.0 |
المسافة بوحدات اللعبة لـ min distance to node. |
DigPromptDistance |
1.65 |
Dig prompt distance is intentionally a little larger than MinDistanceToNode. The detector light can already look fully green just outside exactly 1.0m, and using horizontal distance prevents small terrain/Z differences from hiding |
UseStrobeMode |
false |
Light behavior. |
UseColorMode |
true |
يشغّل أو يطفّي color mode (الافتراضي true). |
DisableFindingNodesAfterUse |
true |
يطفّي finding nodes after use: true = نعم، false = لا (الافتراضي true). |
SpotCooldown |
table |
Optional cooldown after a successful dig. Enabled = true -> the spot is hidden/locked until Seconds expires. Enabled = false -> no timed reset; the spot stays consumed until the resource/server restarts. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Seconds |
30 * 60 |
30 minutes |
Blips |
table |
Optional map blips for treasure search locations. Disable globally with Enabled = false, or disable a single location with that location's blipEnabled = false value below. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ OnlyActiveSpots |
true |
مفتاح لـ only active spots: true = شغّال، false = طافي (الافتراضي true). |
↳ HideOnCooldown |
false |
يخفي on cooldown: true = نعم، false = لا (الافتراضي false). |
↳ Style |
1664425300 |
رقم لـ style (الافتراضي 1664425300). |
↳ Sprite |
0 |
0 = keep the default RedM blip sprite for this style |
↳ Scale |
0.75 |
نسبة أو مضاعف لـ scale. |
↳ DefaultName |
"Treasure Search Area" |
نص يظهر للاعب لـ default name. غيّره للترجمة أو لتغيير الاسم. |
Light |
table |
جدول عناصر light. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Range |
1.25 |
المسافة بوحدات اللعبة لـ range. |
↳ MinIntensity |
0.35 |
الحد الأدنى أو المستوى المطلوب لـ min intensity. |
↳ MaxIntensity |
5.5 |
الحد الأعلى لـ max intensity. |
↳ StrobeSpeed |
0.022 |
رقم لـ strobe speed (الافتراضي 0.022). |
↳ Offset |
vec3(0.42, 0.72, -0.58) |
Approximate detector-head position relative to the player. |
Sound |
table |
Detector audio. Uses an internal NUI beep so it does not depend on undocumented RDR3 frontend sound names/soundsets. The beep gets faster and slightly higher-pitched as the player approaches a treasure spot. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Volume |
0.70 |
رقم لـ volume (الافتراضي 0.70). |
↳ MinPitch |
0.90 |
الحد الأدنى أو المستوى المطلوب لـ min pitch. |
↳ MaxPitch |
1.35 |
الحد الأعلى لـ max pitch. |
↳ FarInterval |
850 |
إعداد وقت لـ far interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ NearInterval |
115 |
إعداد وقت لـ near interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ TestCommand |
"testdetectorsound" |
Local test command. Set to false to disable it. |
Keys |
table |
الزر أو التحكم المستخدم لـ keys. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ Dig |
"INPUT_FRONTEND_X" |
إعداد لـ dig. |
Dig |
table |
جدول عناصر dig. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Duration |
7000 |
إعداد وقت لـ duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ LockTimeout |
20 |
إعداد وقت لـ lock timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ Prop |
"p_shovel02x" |
موديل أو كيان في اللعبة يُستخدم لـ prop. |
↳ AnimDict |
'amb_work@world_human_graved... |
Grave-digging animation paired with the shovel position below. |
↳ AnimName |
"base" |
نص يظهر للاعب لـ anim name. غيّره للترجمة أو لتغيير الاسم. |
↳ AnimFlag |
17 |
إعدادات الأنيميشن لـ anim flag. |
↳ BoneName |
"SKEL_R_Hand" |
Shovel attachment. Keep this on the right hand; the animation positions the left hand around the shaft automatically. |
↳ FallbackBone |
7966 |
رقم لـ fallback bone (الافتراضي 7966). |
↳ Position |
vec3(0.0, -0.09, -0.09) |
إحداثيات العالم (x, y, z) لـ position. |
↳ Rotation |
vec3(250.2899, 579.19, 373.3... |
إعداد لـ rotation. |
↳ DisablePropCollision |
true |
Prevent the shovel from colliding with the ped/ground while attached. |
↳ MakePropInvincible |
true |
مفتاح لـ make prop invincible: true = شغّال، false = طافي (الافتراضي true). |
Security |
table |
جدول عناصر security. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ RequireDetectorOwnership |
true |
Server checks for Config.DetectorItem in jrs_inventory before digging. |
↳ FailClosedOnDetectorCheckError |
true |
Fail closed if jrs_inventory cannot verify the detector item. |
↳ DigValidationDistance |
2.25 |
المسافة بوحدات اللعبة لـ dig validation distance. |
↳ RequestCooldownMs |
1250 |
إعداد وقت لـ request cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Locations |
table |
Chance values are weights. They do not have to total exactly 100. |
↳ Owanjila |
table |
جدول عناصر owanjila. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Barrow_Lagoon |
table |
جدول عناصر barrow lagoon. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Grizzlies_East |
table |
جدول عناصر grizzlies east. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Url |
"" |
إعداد لـ url. |
↳ Color |
9326801 |
رقم لـ color (الافتراضي 9326801). |
↳ Name |
"REDEMPIRE Metal Detector" |
نص يظهر للاعب لـ name. غيّره للترجمة أو لتغيير الاسم. |
↳ Avatar |
"" |
إعداد لـ avatar. |
مجاني (موجود مع JRS Core) jrs_goldclaim
مناجم الذهب في JRS Core - هزازات الذهب، التراب الذهبي، الماء والمناجم المرخّصة
| الريسورس | jrs_goldclaim |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory, jrs_progressbar, oxmysql |
| الواجهة | لا |
| حجم الكود | 2,604 Lua lines |
config.lua - 56 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Language |
"en" |
'en' أو 'ar' |
PlayerProps |
table |
populated at runtime by the server, do not edit |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
NotifyDuration |
10000 |
default notification duration (ms) |
general settings (gold rocker / claims)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
EnableVegModifier |
true |
clears vegetation around placed rockers |
GoldRocker |
p_goldcradlestand01x |
prop used for gold rocker |
MaxGoldRockers |
4 |
maximum gold rockers per character |
DegradeChance |
5 |
% chance (per rocker) of losing 1% quality each cron cycle |
DegradeEvery |
30 |
minutes between degradation rolls |
RepairWoodAmount |
5 |
amount of wood needed to repair |
LeoJobs |
table |
jobs allowed to destroy unlicensed claims |
OwnerOnlyProcessing |
true |
only the owner can start processing (and receives the output) |
distances (server-side anti-exploit checks)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
InteractDistance |
5.0 |
max distance from a rocker to interact with it |
PickupDistance |
10.0 |
max distance from a rocker to pick up its output |
PlaceMaxDistance |
6.0 |
max distance between player and placed rocker |
MinRockerSpacing |
4.0 |
min distance between two rockers |
PropDrawDistance |
60.0 |
distance at which rocker props are streamed in |
processing settings
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ProcessingTime |
60000 |
time in ms per processing cycle |
GoldChance |
50 |
% chance of gold vs paydirt return |
AddPaydirtTime |
10000 |
time in ms to add paydirt to rocker |
AddWaterTime |
10000 |
time in ms to add water to rocker |
MaxPaydirt |
5 |
max paydirt units a rocker can hold |
MaxWater |
5 |
max water units a rocker can hold |
RepairTime |
10000 |
time in ms to repair |
PackUpTime |
10000 |
time in ms to pack up |
PlaceTime |
10000 |
time in ms to set up a rocker |
DestroyTime |
10000 |
time in ms for LEO to destroy an illegal claim |
PickupTime |
3000 |
time in ms to pick up an output prop |
gold ore output (random amount per gold pickup)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
GoldOreItem |
"goldnugget" |
قيمة فلوس لـ gold ore item. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
GoldOreAmount |
table |
قيمة فلوس لـ gold ore amount. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
gathering settings (shovel / bucket)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ShovelDigTime |
10000 |
time in ms to dig paydirt |
BucketFillTime |
8000 |
time in ms to fill bucket |
prop models
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
GoldProp |
p_goldstack01x |
gold output prop |
PaydirtProp |
`mp005_p_dirtpile_sca02_buri... |
paydirt output prop |
PropSpawnOffset |
1.5 |
distance to side of rocker to spawn output prop |
shovel prop (attached to hand during dig)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ShovelProp |
table |
موديل أو كيان في اللعبة يُستخدم لـ shovel prop. |
↳ model |
p_shovel02x |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ bone |
"SKEL_R_Hand" |
إعداد لـ bone. |
↳ offset |
table |
جدول عناصر offset. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
DigDirtPile |
table |
dirt pile spawned in front of the player after a successful dig (cosmetic, local only) |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ model |
`mp005_p_dirtpile_tall_unbur... |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ offset |
0.6 |
distance in front of the player |
↳ lifetime |
30000 |
ms before it is removed |
animations
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Anims |
table |
جدول عناصر anims. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ dig |
table |
جدول عناصر dig. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ crouch_inspect |
WORLD_HUMAN_CROUCH_INSPECT |
scenario |
↳ add_paydirt |
WORLD_HUMAN_FEED_PIGS |
scenario used when adding paydirt |
↳ add_water |
`WORLD_HUMAN_BUCKET_POUR_LOW... |
scenario used when adding water |
claim zone / blip settings
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ClaimZoneRadius |
20.0 |
المسافة بوحدات اللعبة لـ claim zone radius. |
MaxClaimNameLength |
50 |
الحد الأعلى لـ max claim name length. |
ClaimBlip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ claim blip. |
↳ blipSprite |
"blip_gold" |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
↳ blipScale |
0.2 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
↳ blipColour |
"BLIP_MODIFIER_MP_COLOR_6" |
إعدادات علامة الخريطة أو الأيقونة لـ blip colour. |
placement
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ForwardDistance |
2.0 |
المسافة بوحدات اللعبة لـ forward distance. |
مجاني (موجود مع JRS Core) jrs_goldpanning
غربلة الذهب في JRS Core - اغربل حبيبات الذهب في الأنهار والبحيرات
| الريسورس | jrs_goldpanning |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory, jrs_minigame |
| الواجهة | لا |
| حجم الكود | 933 سطر Lua |
config.lua - 13 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Language |
"en" |
'en' أو 'ar' |
PanItem |
"goldpan" |
أغراض المخزون المستخدمة في pan item. الأسماء لازم تكون موجودة في جدول jrs_items. |
Reward |
table |
قيمة فلوس لـ reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
BreakChance |
3 |
% chance the pan breaks on a failed try |
Rounds |
3 |
skill checks in a row (jrs_minigame) |
Cooldown |
5 |
seconds between two pans |
MinTime |
8 |
seconds a pan really takes (server check) |
Water |
table |
fresh water only (no swamps) |
↳ -247856387 |
true, [-1504425495] = true, ... |
إعداد لـ 247856387. |
↳ -1300497193 |
true, [-1276586360] = true, ... |
إعداد لـ 1300497193. |
↳ 592454541 |
true, [-804804953] = true, [... |
إعداد لـ 592454541. |
↳ -811730579 |
true, [-1229593481] = true, ... |
إعداد لـ 811730579. |
↳ 2005774838 |
true, [-1287619521] = true, ... |
إعداد لـ 2005774838. |
مدفوع (السيرفر فقط) jrs_government
JRS Government - city governors, elections, citizenship, treasury, city revenue, taxes, city wars and government messaging
| الريسورس | jrs_government |
| المجلد | [JOBS] |
| الإصدار | 2.4.5 |
| المطوّر | JRS |
| يعتمد على | jrs_banking, jrs_character, jrs_core, jrs_doctors, jrs_idcard, jrs_police, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 6,946 Lua lines |
الأوامر
/distributecity/govdistribute/govgovernor/govguarma/govstatus/govsynclaw/setgov/warscore
الـ Exports
AreCitiesAtWar, AssignCity, DepositBusinessRevenue, EnsureOwnerLawRank, GetCitizenship, GetCityGovernment, GetCityOwner, GetCityTaxRate, GetCityWar, GetFacilityStatus, GetFacilityTax, GetSalesTax, GrantGuarmaMaster, IsCityOwner, IsDeputyGovernor, IsFacilityClosed, IsGovernor, LogAudit, OpenAdminMenu, RecordCityRevenue, ResolveCity, ResolveCityAt, SetCityOwner, SetGovernor, SyncOnlineCityOwners
جداول قاعدة البيانات
jrs_government_audit, jrs_government_candidates, jrs_government_cities, jrs_government_citizen_applications, jrs_government_citizens, jrs_government_facilities, jrs_government_messages, jrs_government_revenue, jrs_government_salaries, jrs_government_salary_grades, jrs_government_store_taxes, jrs_government_taxes, jrs_government_votes, jrs_government_war_kills, jrs_government_wars
config/config.lua - 124 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
InteractDistance |
2.25 |
المسافة بوحدات اللعبة لـ interact distance. |
NpcCleanupRadius |
1.75 |
Removes stale government NPCs at the configured position after a resource restart. |
ServerActionDistance |
4.0 |
المسافة بوحدات اللعبة لـ server action distance. |
InteractControl |
0xCEFD9220 |
E / INPUT_CONTEXT |
DefaultNpcModel |
"U_M_M_ValSheriff_01" |
موديل أو كيان في اللعبة يُستخدم لـ default npc model. |
Blip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Sprite |
1869246576 |
Official Government Seal / Senior Badge |
↳ Scale |
0.2 |
نسبة أو مضاعف لـ scale. |
↳ Color |
"BLIP_MODIFIER_MP_COLOR_27" |
بنفسجي ملكي |
Elections |
table |
Permanent government: elections only start when an administrator explicitly opens one. |
↳ CandidateMinimumLevel |
20 |
الحد الأدنى أو المستوى المطلوب لـ candidate minimum level. |
↳ MaxCandidatesPerCity |
3 |
Maximum active candidates is PER CITY, PER ELECTION (not global across all cities). |
↳ BlockActiveCandidacyInOtherCities |
true |
Prevent a character from being an ACTIVE candidate/governor in another city at the same time. |
↳ AllowElectionWhileGoverned |
false |
يسمح بـ election while governed: true = نعم، false = لا (الافتراضي false). |
↳ RequireNoPoliceRecord |
true |
يتطلب no police record: true = نعم، false = لا (الافتراضي true). |
↳ RequireNoBankDebt |
true |
يتطلب no bank debt: true = نعم، false = لا (الافتراضي true). |
↳ DebtEpsilon |
0.01 |
رقم لـ debt epsilon (الافتراضي 0.01). |
↳ CandidateStatementMaxLength |
220 |
الحد الأعلى لـ candidate statement max length. |
↳ DefaultDurationMinutes |
60 |
Elections can end automatically after this duration. Admins may override it when opening an election. |
↳ MinimumDurationMinutes |
1 |
إعداد وقت لـ minimum duration minutes. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ MaximumDurationMinutes |
10080 |
7 أيام |
↳ RequireCityCitizenshipToVote |
true |
Once a city has citizens, only a citizen of that city can vote. Bootstrap allows the very first election to work before a governor exists to approve citizens. |
↳ AllowBootstrapVotersWhenCityHasNoCitizens |
true |
يسمح بـ bootstrap voters when city has no citizens: true = نعم، false = لا (الافتراضي true). |
CriminalRecord |
table |
جدول عناصر criminal record. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ BlockAnyMdtRecord |
true |
Must have a clean police MDT record |
↳ BlockActiveWanted |
true |
Must not have active police wanted/bounty entries |
↳ BlockActiveJail |
true |
Must not be serving a jail sentence |
↳ RequireCleanReputation |
true |
Must have a clean reputation / honor (jrs_integrity) |
↳ MinimumHonor |
0 |
Minimum honor / integrity score |
↳ CheckOnDeputy |
true |
Check reputation when appointing deputy |
↳ CheckOnWarDeclare |
true |
Check reputation when declaring/accepting war |
DeputyPermissions |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ deputy permissions. |
↳ manageCitizens |
true |
مفتاح لـ manage citizens: true = شغّال، false = طافي (الافتراضي true). |
↳ viewTreasury |
true |
مفتاح لـ view treasury: true = شغّال، false = طافي (الافتراضي true). |
↳ manageEmployees |
false |
مفتاح لـ manage employees: true = شغّال، false = طافي (الافتراضي false). |
↳ editSalaries |
false |
مفتاح لـ edit salaries: true = شغّال، false = طافي (الافتراضي false). |
↳ sendCityMessages |
true |
مفتاح لـ send city messages: true = شغّال، false = طافي (الافتراضي true). |
↳ sendGovernmentMessages |
false |
مفتاح لـ send government messages: true = شغّال، false = طافي (الافتراضي false). |
↳ sendGlobalMessages |
false |
مفتاح لـ send global messages: true = شغّال، false = طافي (الافتراضي false). |
↳ appointDeputy |
false |
مفتاح لـ appoint deputy: true = شغّال، false = طافي (الافتراضي false). |
↳ manageTaxes |
false |
مفتاح لـ manage taxes: true = شغّال، false = طافي (الافتراضي false). |
↳ manageWars |
false |
مفتاح لـ manage wars: true = شغّال، false = طافي (الافتراضي false). |
↳ manageAppointments |
false |
مفتاح لـ manage appointments: true = شغّال، false = طافي (الافتراضي false). |
↳ manageStores |
false |
مفتاح لـ manage stores: true = شغّال، false = طافي (الافتراضي false). |
↳ viewCrimeStats |
true |
مفتاح لـ view crime stats: true = شغّال، false = طافي (الافتراضي true). |
Treasury |
table |
جدول عناصر treasury. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ AllowGovernorDeposit |
true |
يسمح بـ governor deposit: true = نعم، false = لا (الافتراضي true). |
↳ AllowGovernorWithdraw |
false |
يسمح بـ governor withdraw: true = نعم، false = لا (الافتراضي false). |
↳ MinimumDeposit |
1.00 |
قيمة فلوس لـ minimum deposit. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ MaximumDeposit |
100000.00 |
قيمة فلوس لـ maximum deposit. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
Revenue |
table |
جدول عناصر revenue. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ MaximumSingleDeposit |
100000000.00 |
قيمة فلوس لـ maximum single deposit. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ RecentTransactionLimit |
50 |
الحد الأعلى لـ recent transaction limit. |
↳ AllowedResources |
table |
جدول عناصر allowed resources. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Payroll |
table |
جدول عناصر payroll. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ IntervalMinutes |
30 |
إعداد وقت لـ interval minutes. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ MinimumGrade |
0 |
الحد الأدنى أو المستوى المطلوب لـ minimum grade. |
↳ MaximumGrade |
10 |
الحد الأعلى لـ maximum grade. |
↳ MinimumSalary |
0.25 |
Absolute safety net. The real limits are the per-grade bands below. |
↳ MaximumSalary |
30.00 |
10-01: was 6.00 (bands below x5 for law + medicine) |
↳ GradeBands |
table |
RDO-style pay per payroll tick (every IntervalMinutes = 30 min, on duty only). The governor can only pick a value inside [min, max] of each grade. Grade 10 top = $5.00 / 30 min = $10/h passive, on top of what the job itself earns. |
↳ RoleScale |
table |
Band multiplier per employee role id. Jobs that already earn from their own work (mining, lumber, smelting, banking fees) get a smaller government salary. |
↳ DefaultBandPoint |
0.40 |
New/out-of-band salaries are reset to min + this share of the band (0.4 = a bit below the middle). |
↳ AllOrNothing |
true |
If treasury cannot cover every online employee in a city's payroll, nobody is paid. |
Messages |
table |
نص يظهر للاعب لـ messages. غيّره للترجمة أو لتغيير الاسم. |
↳ MaxTitleLength |
80 |
الحد الأعلى لـ max title length. |
↳ MaxBodyLength |
800 |
الحد الأعلى لـ max body length. |
↳ CooldownMs |
3000 |
إعداد وقت لـ cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
CityOwnership |
table |
جدول عناصر city ownership. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ AllowOwnerWithdraw |
true |
City Owner can withdraw funds directly from the city treasury |
↳ AllowGovernorWithdraw |
false |
Standard governor withdrawal restriction |
↳ MinimumWithdraw |
1.00 |
الحد الأدنى أو المستوى المطلوب لـ minimum withdraw. |
↳ MaximumWithdraw |
100000.00 |
الحد الأعلى لـ maximum withdraw. |
↳ ConquestOnWarVictory |
true |
Winning a city war can confer ownership/conquest rights |
↳ CanPurchaseCity |
false |
Option to buy unowned city directly |
↳ PurchasePrice |
250000.00 |
Purchase price if buying is enabled |
↳ AutoGrantLawRankToOwner |
true |
City Owner automatically receives highest law rank |
↳ OwnerLawGrade |
9 |
Highest law rank grade |
CityLawJobs |
table |
Primary law jobs and highest ranks per city (used for automatic owner rank assignment) |
↳ valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ saintdenis |
table |
جدول عناصر saintdenis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ armadillo |
table |
جدول عناصر armadillo. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ tumbleweed |
table |
جدول عناصر tumbleweed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ guarma |
table |
جدول عناصر guarma. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Admin |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin. |
↳ AcePermission |
"jrs.government.admin" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ ace permission. |
↳ Groups |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ groups. |
↳ Commands |
table |
جدول عناصر commands. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
RankLadders |
table |
and the payroll grid all show these names and stop at the ladder's top grade. Law ladders run 0-9 to match jrs_police (uniform/weapon kit per grade 0-9, city owner = 9). Doctors run 0-10 to match jrs_doctors Config.RankLabels. |
↳ sheriff |
table |
جدول عناصر sheriff. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ police |
table |
جدول عناصر police. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ guarma_guard |
table |
جدول عناصر guarma guard. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ doctor |
table |
جدول عناصر doctor. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ banker |
table |
جدول عناصر banker. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ worker |
table |
جدول عناصر worker. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Cities |
table |
Employee roles are intentionally city-specific. Add doctors, bankers, etc. here. Multiple ON-DUTY job names can map to one payroll role. Never add jobs beginning with "off". |
↳ valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ saintdenis |
table |
جدول عناصر saintdenis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ armadillo |
table |
جدول عناصر armadillo. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ tumbleweed |
table |
جدول عناصر tumbleweed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ guarma |
table |
جدول عناصر guarma. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
CityMapRegions |
table |
جدول عناصر city map regions. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ saintdenis |
table |
جدول عناصر saintdenis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
config/economy.lua - 40 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Economy |
table |
جدول عناصر economy. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ GoldToCashRate |
1.0 |
Gold paid for a city service is converted into treasury dollars at this rate. |
↳ FallbackMaxDistance |
3000.0 |
A payment is credited to the city whose zone contains the buyer. Outside every zone (ranches, camps, small settlements) the nearest city within this distance receives it. 0 = always the nearest city. |
↳ Zones |
table |
Town centres on the 2D map. radius is the "inside the city" distance. |
↳ CityAliases |
table |
Alternative names other resources may send as a city hint. |
↳ Categories |
table |
Every revenue source shown on the Revenue page. share is the fraction of the payment that reaches the treasury (1.0 = all of it, 0.25 = a quarter). |
↳ Taxes |
table |
Taxes the governor sets from the Treasury page (percent). sales: taken from every player-owned store sale inside the city. |
↳ RecentTransactionLimit |
60 |
Recent ledger rows sent to the Revenue page. |
Wars |
table |
جدول عناصر wars. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ DeclarationCost |
150.0 |
Taken from the attacker's treasury when war is declared. The winner of the war receives it; a draw, peace treaty or cancellation returns it. |
↳ PreparationMinutes |
15 |
warning period before fighting counts |
↳ DurationMinutes |
60 |
fighting period |
↳ CooldownMinutes |
720 |
the same two cities cannot fight again for 12 hours |
↳ RequireDefenderGovernor |
true |
يتطلب defender governor: true = نعم، false = لا (الافتراضي true). |
↳ MinimumCitizensPerCity |
1 |
الحد الأدنى أو المستوى المطلوب لـ minimum citizens per city. |
↳ RequireAcceptance |
true |
A declared war does not start fighting until the defender's leadership explicitly accepts the challenge. If they refuse or run out of time the war is cancelled and the attacker's stake is refunded. |
↳ AcceptanceTimeoutMinutes |
3 |
إعداد وقت لـ acceptance timeout minutes. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ MinimumOnlineCitizensPerCity |
2 |
Both cities need this many citizens ONLINE right now (not just registered) before a war can even be declared, so nobody fights an empty city. |
↳ RequireDefenderLeadershipOnline |
true |
The defender's owner, governor or deputy must be online to receive and answer the challenge. |
↳ TributePercent |
20.0 |
share of the loser's treasury paid to the winner |
↳ SurrenderTributePercent |
10.0 |
نسبة أو مضاعف لـ surrender tribute percent. |
↳ TributeMax |
1500.0 |
0 = no cap |
↳ KillPoints |
1 |
إحداثيات العالم (x, y, z) لـ kill points. |
↳ ScoreToWin |
0 |
0 = the war is decided only when the timer ends |
↳ PairKillCooldownSeconds |
300 |
one killer/victim pair scores once in this window |
↳ MaxKillDistance |
350.0 |
المسافة بوحدات اللعبة لـ max kill distance. |
↳ RequireInsideCityZones |
false |
true = only kills inside either warring city count |
↳ AnnounceGlobal |
true |
false = only citizens of the two cities are told |
↳ ReasonMaxLength |
200 |
الحد الأعلى لـ reason max length. |
↳ RosterLimit |
20 |
(Config.Cities[cityId].npc) - the one coordinate every city already has proven safe, instead of guessing new landmark coordinates. Roster of participants selected by the Governor for the war (max 20 per city) |
↳ RequireRosterFighters |
true |
يتطلب roster fighters: true = نعم، false = لا (الافتراضي true). |
↳ ArenaOutOfBoundsSeconds |
10 |
رقم لـ arena out of bounds seconds (الافتراضي 10). |
↳ DefaultArena |
"bolger_glade" |
إعداد لـ default arena. |
↳ DefaultMode |
"siege" |
إعداد لـ default mode. |
↳ Modes |
table |
جدول عناصر modes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
WarArenas |
table |
Predefined historic battlefield arenas for city wars. Both 20-man rosters enter the chosen arena zone with team-specific spawns and perimeter bounds. |
↳ bolger_glade |
table |
جدول عناصر bolger glade. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ fort_mercer |
table |
جدول عناصر fort mercer. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ fort_wallace |
table |
جدول عناصر fort wallace. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
# jrs_government 1.0.0
Permanent city government system for JRS RedM.
## Included
- One permanent Governor per configured city.
- One Deputy Governor appointed/removed by the Governor.
- Elections are admin-opened only; there is no automatic term timer.
- Candidate requirements:
- minimum JRS level;
- cannot have registered as a candidate in another city (configurable);
- no police MDT criminal record, active wanted entry, or active jail sentence;
- no active/defaulted JRS bank loan debt.
- Voting requires the character's permanent 6-digit JRS ID number from `jrs_id_numbers`.
- One vote per character/identity number per city election, enforced with SQL unique keys; bootstrap voters are also blocked from voting in two simultaneously-o
- Citizenship applications and city-transfer requests.
- A character can be an active citizen of only one city.
- Governor/Deputy citizen approval and rejection.
- Governor can remove citizens; removing the deputy also removes the deputy office.
- City treasury with governor deposits and admin adjustments.
- City employee salary configuration and automatic online payroll from the treasury.
- Government messages: own city, another governor, all governors, all players.
- Persistent audit log for sensitive actions.
- NPC per city with a single responsive HD/2K/4K NUI.
- Character-bound client startup waits for `jrs_character:isPlayerReady`.
## Existing JRS integration used directly
### jrs_idcard
`jrs_id_numbers.charid -> identity_number` is used to verify the six-digit voting number.
### jrs_police
Candidate checks query:
- `jrs_police_mdt`
- `jrs_police_wanted`
- `jail_police`
### jrs_banking
Candidate debt checks query `jrs_bank_loans.remaining_debt` for active/defaulted loans.
### jrs_core
Uses `exports.jrs_core:getCoreApi()`, `exports.jrs_core:GetXP(source)` for the calculated level, and the active `character.charIdentifier`, job, money and curre
## Installation
1. Put `jrs_government` in your resources folder.
2. The resource creates its tables automatically. `sql/jrs_government.sql` is also provided for manual installation/review.
3. Start dependencies before it:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_character
ensure jrs_idcard
ensure jrs_policeمجاني (موجود مع JRS Core) jrs_huntingpets
حيوانات الصيد في JRS Core - كلاب وطيور صيد مع تدريب وتتبّع وجمع
| الريسورس | jrs_huntingpets |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| حجم الكود | 23,821 Lua lines |
الأوامر
/callbird/calldog/fleebird/fleedog
جداول قاعدة البيانات
is, player_birds, player_dogs, player_selected_pets
مجاني (موجود مع JRS Core) jrs_lumberjack
الحطّاب في jrs core - خاص بـ jrs core فقط، سير عمل منظم وآمن للخشب
| الريسورس | jrs_lumberjack |
| المجلد | [JOBS] |
| الإصدار | 3.11.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_character, jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 16,949 Lua lines |
الأوامر
/carryoffset/lumber/lumberadmin/lumberaxeoffset/lumbercarry/lumbercart/lumberclose/lumberdiag/lumberfallenprop/lumberfulladmin/lumbermenu/lumberprocessanim/lumberprocesstool/lumberprocesstooloffset/lumberquick/lumberreground/lumbersawanim/lumbersawhorse/lumbersawtool/lumbersawtooloffset/lumbertoolgizmo/lumberwagon/lumberwagontest/lumberworkpiece/planttree/sawhorse/sawhorsedist/sawhorsemove/sawhorsereset/sawhorsesave
جداول قاعدة البيانات
jrs_lumberjack_carts, jrs_lumberjack_world, jrs_lumberjack_world_history
مجاني (موجود مع JRS Core) jrs_mdt
نظام MDT في JRS Core - سجلات وأوامر قبض وتقارير وتهم وغرامات لرجال القانون
| الريسورس | jrs_mdt |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | de, en, es, fr, it, pl, pt, ru |
| حجم الكود | 6,019 Lua lines |
الأوامر
/mdt
الـ Exports
attemptLocalOverride, createOrUpdateFine, forceRefreshRoles, getAllPlayerRoles, getAllRoles, getChargeAttachments, getChargeTemplates, getCitizenFines, getConfigVersion, getJobInfo, getJobLabel, getLawJobs, getMyRole, getPermissions, getPlayerFines, getPlayerRole, getReportsWithCharges, getSettings, getStaffPermissions, getTotalFinesAmount, getUnpaidFines, getValidatedLawJobs, hasAccess, hasAdminPermission, hasPermission, hasRolePermission, hasUnpaidFines, isAdmin, isLawJob, isLawOfficer
مجاني (موجود مع JRS Core) jrs_medic
سكربت طبي لفريمورك jrs core
| الريسورس | jrs_medic |
| المجلد | [JOBS] |
| الإصدار | 0.3 |
| المطوّر | JRS TEAM |
| الواجهة | لا |
| حجم الكود | 1,344 Lua lines |
الـ Exports
getDoctorFromCall, isOnDuty
configs/config.lua - 38 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
DevMode |
false |
مفتاح لـ dev mode: true = شغّال، false = طافي (الافتراضي false). |
Align |
"top-left" |
menu alignment |
Lang |
"English" |
language you want to use please make sure its in the translation.lua |
AllowOnlyDeadToAlert |
true |
if true only dead players can alert doctors |
AlertDoctorCommand |
"calldoctor" |
command to alert doctors |
cancelalert |
"cancelDoctorAlert" |
command to cancel alert |
finishalert |
"finishDoctorAlert" |
command to finish alert |
DoctorMenuCommand |
"doctormenu" |
Command to go on duty and teleport |
Keys |
table |
prompts |
↳ B |
0x4CC0E2FE |
إعداد لـ b. |
DoctorJobs |
table |
jobs that can open hire menu |
↳ doctor |
table |
جدول عناصر doctor. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ShareStorage |
true |
if true storage for every doctor station will be shared if false they will be unique |
Storage |
table |
storage locations check the server.lua for webhook url location line 21 in server.lua |
↳ Valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ SaintDenis |
table |
جدول عناصر saint denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
UseTeleportsMenu |
true |
if true players can use teleport from the doctor menu if false only from locations |
Teleports |
table |
set up locations to teleport to or from |
↳ Valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ SaintDenis |
table |
جدول عناصر saint denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Blips |
table |
blips for stations |
↳ Color |
"COLOR_WHITE" |
إعداد لـ color. |
↳ Style |
"BLIP_STYLE_FRIENDLY_ON_RADAR" |
إعداد لـ style. |
↳ Sprite |
"blip_mp_travelling_saleswoman" |
إعدادات علامة الخريطة أو الأيقونة لـ sprite. |
AlertBlips |
table |
إعدادات علامة الخريطة أو الأيقونة لـ alert blips. |
↳ Color |
"COLOR_RED" |
إعداد لـ color. |
↳ Style |
"BLIP_STYLE_CHALLENGE_OBJECTIVE" |
إعداد لـ style. |
↳ Sprite |
"blip_mp_travelling_saleswoman" |
إعدادات علامة الخريطة أو الأيقونة لـ sprite. |
Stations |
table |
doctor stations boss menu locations |
↳ Valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ SaintDenis |
table |
جدول عناصر saint denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Items |
table |
usable items |
↳ bandage |
table |
اسم الايتم |
↳ potion |
table |
جدول عناصر potion. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ syringe |
table |
جدول عناصر syringe. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مجاني (موجود مع JRS Core) jrs_mining
jrs_mining - تعدين خاص بـ jrs core، صهر بالطلبات وغربلة ذهب مع استرجاع بعد الريستارت
| الريسورس | jrs_mining |
| المجلد | [JOBS] |
| الإصدار | 7.17.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_character, jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 22,626 Lua lines |
الأوامر
/goldsmelt_offset/helmetoffset/miningback/miningbag/miningduty/miningenter/mininghand/miningstore/pickaxeoffset
الـ Exports
GetPlayerLevel, GetPlayerXP
جداول قاعدة البيانات
IF, jrs_mining_employees, jrs_mining_gold_stations, jrs_mining_jobs, jrs_mining_mines, jrs_mining_order_batches, jrs_mining_order_events, jrs_mining_order_items, jrs_mining_orders, jrs_mining_payouts, jrs_mining_sell_prices, jrs_mining_server_task_players, jrs_mining_server_task_state, jrs_mining_server_tasks, jrs_mining_smelting, jrs_mining_xp
config/config.lua - 251 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
REDEMPIRE |
table |
─────────────────────── REDEMPIRE framework binding ─────────────────────── This build is REDEMPIRE-only. jrs_core owns character/account data, jrs_character owns the final selector/spawn gate, and jrs_inventory owns inventory sta |
↳ CoreResource |
"jrs_core" |
إعداد لـ core resource. |
↳ CharacterResource |
"jrs_character" |
exact target: uploaded jrs_character 3.4.8 |
↳ InventoryResource |
"jrs_inventory" |
exact target: uploaded jrs_inventory 1.6.33 |
↳ ClothingResource |
"Jrs_clothing" |
optional; only used to restore saved clothing after duty |
↳ RequireCharacterReady |
true |
يتطلب character ready: true = نعم، false = لا (الافتراضي true). |
Locale |
"ar" |
Language: en, ar, fr, es, de, it, pt, nl |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
ResourceName |
"jrs_mining" |
Canonical resource identity. Keep the folder/resource name exactly jrs_mining. |
RestartRecovery |
table |
character after restart jrs_mining is automatic. In-progress economic actions are intentionally cancelled server-side; duty can be restored for the same character without trusting client data. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ preserveDuty |
true |
مفتاح لـ preserve duty: true = شغّال، false = طافي (الافتراضي true). |
↳ bootstrapIntervalMs |
250 |
إعداد وقت لـ bootstrap interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ integrationRetryMs |
750 |
رقم لـ integration retry ms (الافتراضي 750). |
↳ npcWatchdogMs |
1500 |
رقم لـ npc watchdog ms (الافتراضي 1500). |
Prompts |
table |
One physical key press = one action. The prompt layer also has a release latch + debounce so a native prompt and its direct-input fallback can never fire the same event twice. |
↳ singlePress |
true |
مفتاح لـ single press: true = شغّال، false = طافي (الافتراضي true). |
↳ debounceMs |
450 |
رقم لـ debounce ms (الافتراضي 450). |
ToolControls |
table |
Pickaxe visual controls. Gameplay input is read contextually from the same RedM control hashes used by the native prompts; no persisted key mapping is required. Commands remain available as F8 diagnostic fallbacks. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ handControl |
0x6319DB71 |
ARROW UP: draw/put the remembered pickaxe in hand |
↳ backControl |
0x05CA7C52 |
ARROW DOWN: place the equipped pickaxe on the back |
↳ hideControl |
0xDEB34313 |
ARROW RIGHT: hide/remove the visual completely |
↳ toggleCommand |
"pickaxe" |
F8 fallback: toggle hand/back |
↳ removeCommand |
"hidepickaxe" |
إعداد لـ remove command. |
↳ initialSlot |
"hand" |
إعداد لـ initial slot. |
↳ restoreLastSlot |
false |
مفتاح لـ restore last slot: true = شغّال، false = طافي (الافتراضي false). |
↳ debounceMs |
220 |
رقم لـ debounce ms (الافتراضي 220). |
↳ notifications |
false |
مفتاح لـ notifications: true = شغّال، false = طافي (الافتراضي false). |
↳ consumeControls |
false |
مفتاح لـ consume controls: true = شغّال، false = طافي (الافتراضي false). |
↳ showPromptLoop |
true |
native RedM prompt group while a tool stack is remembered |
↳ promptGroupLocale |
"ui_mining_tool" |
لغة واجهة السكربت (en أو ar). |
↳ handPromptLocale |
"prompt_pickaxe_hand" |
لغة واجهة السكربت (en أو ar). |
↳ backPromptLocale |
"prompt_pickaxe_back" |
لغة واجهة السكربت (en أو ar). |
↳ hidePromptLocale |
"prompt_pickaxe_bag" |
لغة واجهة السكربت (en أو ar). |
↳ keyMapping |
false |
contextual direct-control capture is authoritative (no persisted binds) |
↳ showHud |
true |
notification-style tool HUD while the tool is in HAND |
Duty |
table |
Duty lifecycle. Duty is bound to the mine area, not only the NPC. |
↳ autoOffOutsideMine |
false |
يتعامل تلقائياً مع off outside mine: true = نعم، false = لا (الافتراضي false). |
↳ areaRadius |
145.0 |
المسافة بوحدات اللعبة لـ area radius. |
↳ serverCheckSeconds |
5 |
رقم لـ server check seconds (الافتراضي 5). |
↳ applyUniform |
true |
مفتاح لـ apply uniform: true = شغّال، false = طافي (الافتراضي true). |
↳ cleanupClothingOnRestart |
true |
restore the saved REDEMPIRE outfit on mining resource restart/stop |
↳ maleUniformSourcePed |
"loansharking_asbminer_males_01" |
runtime-cloned clothing source (male duty outfit) |
↳ hours |
table |
24/7 mining duty. Time must never block clock-in or force a player off duty. The open/close values are retained only for backwards-compatible configs. |
↳ Helmet |
table |
with /helmetoffset - a bone offset cannot be judged from outside a running game. The lamp (Light below) is drawn from the ped's head bone every frame and never depended on the prop, so it works either way. |
↳ Uniform |
table |
Real multiplayer clothing components. These are applied as clothing components, never spawned/attached as props. On clock-out the REDEMPIRE clothing reload event restores the player's saved outfit. |
Admin |
table |
Admin UI features (all server actions are still protected by FullAccess). |
↳ command |
"miningadmin" |
إعداد لـ command. |
↳ maxGiveAmount |
999 |
الحد الأعلى لـ max give amount. |
↳ maxMoneyAmount |
1000000 |
قيمة فلوس لـ max money amount. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
KeyToInteract |
0xCEFD9220 |
Main world interaction key: E (same native control used by the REDEMPIRE prompt stack). |
RequireJob |
true |
true = only JobName may mine |
JobName |
"mining" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job name. |
Tool |
table |
The pickaxe is a USABLE item: use it from the inventory to equip it. Arrow controls while on duty: UP = hand, DOWN = back, RIGHT = hide visual. Hidden/back states clear the carry animation; the inventory item is never deleted. |
↳ prop |
"p_pickaxe01x" |
fallback prop if a tier has no model |
↳ useHelmet |
false |
duty clothing is a real outfit; never attach clothing props to the body |
XP |
table |
───────────────────────── XP / progression ──────────────────────── |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ xpPerLevel |
100 |
xp needed for each level |
↳ maxLevel |
100 |
الحد الأعلى لـ max level. |
↳ timeByLevel |
table |
Swing time (seconds) by level - interpolated between breakpoints. Higher level = faster mining. Lvl 0 = 15s ... Lvl 100 = 7s. |
CoreCharacterXP |
table |
Optional mirror into the character's general jrs_core XP. Mining levels and unlocks always use jrs_mining_xp regardless of these settings. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ multiplier |
1.0 |
نسبة أو مضاعف لـ multiplier. |
↳ reason |
"jrs_mining" |
إعداد لـ reason. |
ServerTolerance |
5.0 |
extra slack (m) added to node radius server-side |
Cooldown |
1 |
seconds between actions (server enforced) |
InfiniteNodes |
true |
true = rocks never deplete or force players to change spots; mining is continuous at the same node |
MiningInteraction |
table |
Config.mineData. The player is gently aligned beside that coordinate before the immediate one-attempt skill check starts. Mining requires the pickaxe to already be HAND. |
↳ requireHand |
false |
يتطلب hand: true = نعم، false = لا (الافتراضي false). |
↳ alignToRock |
true |
face the rock only; never changes player coordinates |
↳ alignDistance |
1.15 |
المسافة بوحدات اللعبة لـ align distance. |
↳ minAlignDistance |
0.75 |
المسافة بوحدات اللعبة لـ min align distance. |
↳ maxAlignDistance |
1.80 |
المسافة بوحدات اللعبة لـ max align distance. |
↳ serverResultToleranceMs |
3000 |
رقم لـ server result tolerance ms (الافتراضي 3000). |
↳ serverAngleToleranceDegrees |
15 |
رقم لـ server angle tolerance degrees (الافتراضي 15). |
↳ minimumSkillTimeMs |
250 |
الحد الأدنى أو المستوى المطلوب لـ minimum skill time ms. |
ActionMovement |
table |
Player locomotion is never hard-frozen by REDEMPIRE Mining. Walking away cancels the active operation instead of snapping/dragging the ped back into position. |
↳ cancelOnMove |
true |
مفتاح لـ cancel on move: true = شغّال، false = طافي (الافتراضي true). |
↳ cancelDistance |
0.90 |
المسافة بوحدات اللعبة لـ cancel distance. |
↳ minigameCancelDistance |
1.10 |
المسافة بوحدات اللعبة لـ minigame cancel distance. |
ServerTasks |
table |
from resources that actually exist in Config.mineData rewards. Task creation, progress, expiry and completion are silent: players discover task state only by physically visiting a mining shop and opening the Tasks tab. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ initialDelaySeconds |
60 |
إعداد وقت لـ initial delay seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ durationSeconds |
1200 |
إعداد وقت لـ duration seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ cooldownSeconds |
900 |
إعداد وقت لـ cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ targetMin |
45 |
الحد الأدنى أو المستوى المطلوب لـ target min. |
↳ targetMax |
90 |
الحد الأعلى لـ target max. |
↳ cashRewardPool |
3.50 |
split proportionally across contributors (1899 cents scale) |
↳ xpReward |
150 |
awarded to online contributors at completion |
↳ excludeRare |
true |
مفتاح لـ exclude rare: true = شغّال، false = طافي (الافتراضي true). |
DynamicSellPrices |
table |
Resource SELL prices only. Tool purchase prices and mineral-order prices are never changed. Current values + next update time are persisted in MySQL. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ updateMinutes |
30 |
رقم لـ update minutes (الافتراضي 30). |
↳ minMultiplier |
0.70 |
الحد الأدنى أو المستوى المطلوب لـ min multiplier. |
↳ maxMultiplier |
1.55 |
الحد الأعلى لـ max multiplier. |
↳ maxStep |
0.18 |
الحد الأعلى لـ max step. |
↳ preventBuySellArbitrage |
true |
مفتاح لـ prevent buy sell arbitrage: true = شغّال، false = طافي (الافتراضي true). |
ItemImagePath |
'nui://jrs_inventory/html/im... |
images come from the inventory; NUI falls back to bundled item_imgs/ if missing |
Minigame |
table |
═══════════════════════ SKILL-CHECK MINIGAME ══════════════════════ Mandatory circular timing check. One attempt only: stop the rotating needle inside the randomized success arc. Legacy per-node rounds are ignored. |
↳ enabled |
true |
mining uses the original circular skill-check minigame |
↳ style |
"circle" |
إعداد لـ style. |
↳ rounds |
1 |
hard one-attempt skill check |
↳ arcMinDegrees |
58 |
Circular timing check. Each attempt randomises target position, rotation direction and speed. Degrees are used for the target arcs. |
↳ arcMaxDegrees |
78 |
الحد الأعلى لـ arc max degrees. |
↳ perfectDegrees |
18 |
رقم لـ perfect degrees (الافتراضي 18). |
↳ speedMinDegrees |
42 |
slow/smooth: ~8.6 sec per revolution |
↳ speedMaxDegrees |
58 |
~6.2 sec per revolution |
↳ startOffsetMin |
125 |
الحد الأدنى أو المستوى المطلوب لـ start offset min. |
↳ startOffsetMax |
205 |
الحد الأعلى لـ start offset max. |
↳ timeoutMs |
16000 |
إعداد وقت لـ timeout ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ failReward |
0.0 |
قيمة فلوس لـ fail reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ precisionBonus |
table |
قيمة فلوس لـ precision bonus. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ blockGameControls |
true |
NUI owns SPACE/ENTER during the single circular attempt. |
↳ blockedControls |
table |
جدول عناصر blocked controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Optional per-node fields:
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Nodes |
table |
NOTE: actual rock mining lives in Config.mineData (config/mining.lua). These nodes are only the stationary Processing stations. Ore-to-bar smelting is its own order-based system (config/smelting.lua). |
LevelSystemEnabled |
true |
false = disable the level system (flat XP fallback) |
ExpRewardNotif |
true |
show "gained EXP" notification |
LevelUpNotif |
true |
show "level up" notification |
MiningExpAdminCommand |
"giveminingexp" |
/giveminingexp <playerServerId> <expAmount> (admin, sets mining exp) |
MinigExpCommand |
"miningexp" |
/miningexp (player: display mining exp) |
LevelSystem |
table |
cumulative Experience threshold to REACH that level, plus the reward granted on reaching it. Higher levels unlock rarer resources inside each mine (see the per-entry level field in config/mining.lua reward tables). |
↳ 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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 12 |
table |
جدول عناصر 12. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 13 |
table |
جدول عناصر 13. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 14 |
table |
جدول عناصر 14. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 15 |
table |
جدول عناصر 15. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 16 |
table |
جدول عناصر 16. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 17 |
table |
جدول عناصر 17. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 18 |
table |
جدول عناصر 18. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 19 |
table |
جدول عناصر 19. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 20 |
table |
جدول عناصر 20. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 21 |
table |
جدول عناصر 21. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 22 |
table |
جدول عناصر 22. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 23 |
table |
جدول عناصر 23. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 24 |
table |
جدول عناصر 24. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 25 |
table |
جدول عناصر 25. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 26 |
table |
جدول عناصر 26. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 27 |
table |
جدول عناصر 27. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 28 |
table |
جدول عناصر 28. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 29 |
table |
جدول عناصر 29. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 30 |
table |
جدول عناصر 30. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 31 |
table |
جدول عناصر 31. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 32 |
table |
جدول عناصر 32. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 33 |
table |
جدول عناصر 33. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 34 |
table |
جدول عناصر 34. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 35 |
table |
جدول عناصر 35. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 36 |
table |
جدول عناصر 36. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 37 |
table |
جدول عناصر 37. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 38 |
table |
جدول عناصر 38. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 39 |
table |
جدول عناصر 39. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 40 |
table |
جدول عناصر 40. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 41 |
table |
جدول عناصر 41. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 42 |
table |
جدول عناصر 42. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 43 |
table |
جدول عناصر 43. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 44 |
table |
جدول عناصر 44. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 45 |
table |
جدول عناصر 45. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 46 |
table |
جدول عناصر 46. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 47 |
table |
جدول عناصر 47. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 48 |
table |
جدول عناصر 48. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 49 |
table |
جدول عناصر 49. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 50 |
table |
جدول عناصر 50. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 51 |
table |
جدول عناصر 51. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 52 |
table |
جدول عناصر 52. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 53 |
table |
جدول عناصر 53. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 54 |
table |
جدول عناصر 54. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 55 |
table |
جدول عناصر 55. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 56 |
table |
جدول عناصر 56. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 57 |
table |
جدول عناصر 57. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 58 |
table |
جدول عناصر 58. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 59 |
table |
جدول عناصر 59. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 60 |
table |
جدول عناصر 60. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 61 |
table |
جدول عناصر 61. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 62 |
table |
جدول عناصر 62. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 63 |
table |
جدول عناصر 63. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 64 |
table |
جدول عناصر 64. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 65 |
table |
جدول عناصر 65. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 66 |
table |
جدول عناصر 66. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 67 |
table |
جدول عناصر 67. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 68 |
table |
جدول عناصر 68. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 69 |
table |
جدول عناصر 69. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 70 |
table |
جدول عناصر 70. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 71 |
table |
جدول عناصر 71. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 72 |
table |
جدول عناصر 72. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 73 |
table |
جدول عناصر 73. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 74 |
table |
جدول عناصر 74. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 75 |
table |
جدول عناصر 75. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
LevelScaling |
table |
──────────────────── level-based reward scaling ──────────────────── amountPerLevel : extra base items added to every mining drop, per level. (floor(level * amountPerLevel) is added to the rolled amount) |
↳ amountPerLevel |
0.05 |
level 20 = +1 item, level 40 = +2 items, ... |
MineBusiness |
table |
═══════════════════════ MINE OWNERSHIP / ACCESS ═══════════════════ Mine state is persistent in MySQL. "free" = public mine, "owned" = only the owner + employees can mine it. Admins can change mode/owner at runtime. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ defaultMode |
"owned" |
إعداد لـ default mode. |
↳ employeeLimit |
12 |
الحد الأعلى لـ employee limit. |
↳ ownerCanHire |
true |
مفتاح لـ owner can hire: true = شغّال، false = طافي (الافتراضي true). |
↳ employeeCanMine |
true |
مفتاح لـ employee can mine: true = شغّال، false = طافي (الافتراضي true). |
↳ showMineTabAtNpc |
true |
يعرض mine tab at npc: true = نعم، false = لا (الافتراضي true). |
↳ purchaseAtMineNpc |
false |
mine deeds are sold only through the Pause/Base Menu store |
↳ defaultSalary |
0.75 |
قيمة فلوس لـ default salary. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ maxSalary |
2.50 |
قيمة فلوس لـ max salary. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ maxPayrollTotal |
50.00 |
الحد الأعلى لـ max payroll total. |
↳ payrollEnabled |
true |
مفتاح لـ payroll enabled: true = شغّال، false = طافي (الافتراضي true). |
↳ treasuryEnabled |
true |
مفتاح لـ treasury enabled: true = شغّال، false = طافي (الافتراضي true). |
↳ payrollTaxPercent |
10 |
gross salary tax; employee receives the net amount |
↳ maxTreasuryTransaction |
1000000 |
الحد الأعلى لـ max treasury transaction. |
↳ freeMines |
table |
Only these mines are public. Every mine listed in Config.ServiceMineIds (free or owned) has its rewards converted to raw rock by Config.MineralProcessing and must be processed at its processing station. |
↳ sales |
table |
Every other mine is private while unowned and can be bought at its own linked mining store. Features apply to both the owner and employees. |
↳ defaults |
table |
Per-mine FIRST-RUN defaults. Database/admin changes take priority once the mine has been created in MySQL. Use the mine id from config/mining.lua. |
JobMarket |
table |
═════════════════════════ JOB MARKET ══════════════════════════════ Player-created delivery contracts. Payout is escrowed when the job is created, so workers cannot complete an unfunded contract. |
↳ enabled |
false |
v6.3 shop uses mineral batch orders instead of player job contracts |
↳ creationFee |
2 |
قيمة فلوس لـ creation fee. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ maxActiveCreated |
3 |
الحد الأعلى لـ max active created. |
↳ maxActiveAccepted |
2 |
الحد الأعلى لـ max active accepted. |
↳ minAmount |
1 |
الحد الأدنى أو المستوى المطلوب لـ min amount. |
↳ maxAmount |
100 |
الحد الأعلى لـ max amount. |
↳ minPayout |
1 |
قيمة فلوس لـ min payout. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ maxPayout |
10000 |
قيمة فلوس لـ max payout. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ minMinutes |
5 |
الحد الأدنى أو المستوى المطلوب لـ min minutes. |
↳ maxMinutes |
180 |
الحد الأعلى لـ max minutes. |
↳ refreshSeconds |
20 |
رقم لـ refresh seconds (الافتراضي 20). |
↳ deliveryAtPostedMine |
true |
accepted jobs must be delivered at the mine where they were posted |
↳ allowedItems |
table |
أغراض المخزون المستخدمة في allowed items. الأسماء لازم تكون موجودة في جدول jrs_items. |
AllowMiningCancel |
true |
═══════════════════ INTEGRATION / GLOBAL SWITCHES ═══════════════════ |
AdminAce |
"jrs.mining" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin ace. |
CoordCheckerEfficiency |
3 |
إحداثيات العالم (x, y, z) لـ coord checker efficiency. |
MiniGameAsMineAccurately |
false |
مفتاح لـ mini game as mine accurately: true = شغّال، false = طافي (الافتراضي false). |
config/goldpanning.lua - 87 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
GoldPanning |
table |
قيمة فلوس لـ gold panning. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ enabled |
false |
7.12.9: standalone river panning disabled in favor of BCC-style wash station only |
↳ item |
"goldpan" |
أغراض المخزون المستخدمة في item. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ requireJob |
true |
Pan + wash station only for these jobs (jrs_multijob 'mingold' = Gold Prospector). No admin bypass, no mining duty: holding the job is enough. |
↳ jobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ jobs. |
↳ requireDuty |
false |
يتطلب duty: true = نعم، false = لا (الافتراضي false). |
↳ shopItems |
table |
Gold Prospectors use any mining shop WITHOUT duty, limited to these rows of Config.Shops.types (tools = buy, materials = sell). BCC tools only. |
↳ cooldownSeconds |
15 |
إعداد وقت لـ cooldown seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ actionDurationMs |
5000 |
إعداد وقت لـ action duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ minigameMinMs |
4000 |
الحد الأدنى أو المستوى المطلوب لـ minigame min ms. |
↳ minMovementDistance |
2.0 |
المسافة بوحدات اللعبة لـ min movement distance. |
↳ spotMemoryMs |
300000 |
رقم لـ spot memory ms (الافتراضي 300000). |
↳ goldChance |
50 |
قيمة فلوس لـ gold chance. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ rewards |
table |
جدول عناصر rewards. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ waterTypes |
table |
7.15.0: exactly BCC's Config.waterTypes - every named water zone (river, creek, lake, pond, swamp, ocean). waterHashes is built from it below. |
GoldPanningStation |
table |
BCC-style wash-station flow. The original river-pan flow remains enabled. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ model |
"p_goldcradlestand01x" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ stationItem |
"goldwash_table" |
أغراض المخزون المستخدمة في station item. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ mudBucket |
"mud_bucket" |
إعداد لـ mud bucket. |
↳ emptyMudBucket |
"empty_mud_bucket" |
إعداد لـ empty mud bucket. |
↳ waterBucket |
"wateringcan" |
إعداد لـ water bucket. |
↳ emptyWaterBucket |
"wateringcan_empty" |
إعداد لـ empty water bucket. |
↳ panItem |
"goldpan" |
أغراض المخزون المستخدمة في pan item. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ requirePanItem |
true |
BCC: the wash stage needs a goldpan in the bag. It starts at durability 100 and loses panWearPerWash per wash ATTEMPT; when what is left is below one more wash it breaks (100 / 2 = 50 washes). |
↳ panWearPerWash |
2 |
رقم لـ pan wear per wash (الافتراضي 2). |
↳ siftPanModel |
"p_copperpan02x" |
BCC: no pan on the table; this prop is held in the right hand (PH_R_Hand) only while the panning animation plays. |
↳ siftsPerFill |
1 |
BCC flow: one mud bucket + one water can = exactly one wash. |
↳ useMinigame |
true |
BCC: a skill-check minigame decides the wash. Failing it pays nothing and keeps the mud/water in the table so the player can try again. |
↳ minigameAttempts |
2 |
BCC Config.Minigame.maxattempts = 2: two tries per wash before it fails. |
↳ ownerOnly |
true |
Only the player who built the table can load / wash / pick it up (BCC). |
↳ maxShoreDistance |
6.0 |
7.15.7: the table is built on dry ground (it blacks out water it touches); river/lake water must be within this many metres of the spot. |
↳ blip |
true |
Map blip on the player's own tables only (false = no blip). |
↳ blipSprite |
"blip_ambient_chore" |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
↳ blipScale |
0.2 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
↳ washReward |
table |
BCC reward: every passed wash pays washReward for sure, plus an extraRewardChance (%) roll from the river zone's pool (or Config.GoldPanning.rewards outside a zone). |
↳ extraRewardChance |
10 |
قيمة فلوس لـ extra reward chance. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ fillDurationMs |
8000 |
إعداد وقت لـ fill duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ buildDurationMs |
8000 |
إعداد وقت لـ build duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ washDurationMs |
8000 |
إعداد وقت لـ wash duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ interactDistance |
2.2 |
المسافة بوحدات اللعبة لـ interact distance. |
↳ placementDistance |
1.6 |
المسافة بوحدات اللعبة لـ placement distance. |
↳ maxStationsPerCharacter |
2 |
الحد الأعلى لـ max stations per character. |
↳ rewardXpMultiplier |
1.25 |
قيمة فلوس لـ reward xp multiplier. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
GoldPanningRivers |
table |
Specialized Prospecting River Zones across the Frontier |
GoldSmelt |
table |
7.15.0 Gold furnace (from alfie_goldsmelt): the ONLY way to make gold bars. The NPC smelters no longer take gold nuggets. Bought at the mining shop; needs the Gold Prospector job like the wash station. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ furnaceItem |
"gold_furnace" |
أغراض المخزون المستخدمة في furnace item. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ model |
"p_goldsmeltburner01x" |
native; hawk's escrowed gold_smelt crashed clients when merged (7.16.13) |
↳ fallbackModel |
"p_goldsmeltburner01x" |
موديل أو كيان في اللعبة يُستخدم لـ fallback model. |
↳ smeltKey |
0x760A9C6F |
G (original) |
↳ pickupKey |
0xCEFD9220 |
E (original) |
↳ chunkModel |
"p_goldnugget01x" |
موديل أو كيان في اللعبة يُستخدم لـ chunk model. |
↳ barModel |
"s_pickup_goldbar01x" |
موديل أو كيان في اللعبة يُستخدم لـ bar model. |
↳ requireJob |
true |
يتطلب job: true = نعم، false = لا (الافتراضي true). |
↳ jobs |
table |
7.16.11: every mining job may use the furnace (ACTIVE job). |
↳ maxBatchesPerMelt |
5 |
inputAmount/outputAmount are per batch; xp is per batch. Optional per recipe: chunkModel (what lies in the crucible), barModel (what is poured on success), img (NUI picture). |
↳ recipes |
table |
أغراض المخزون المستخدمة في recipes. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ furnaceWearPerMelt |
5 |
Furnace durability (metadata, starts 100): -5 per poured melt = 20 melts. |
↳ interactDistance |
1.5 |
المسافة بوحدات اللعبة لـ interact distance. |
↳ blip |
true |
7.16.5: map blip on your own furnace only (false = no blip). |
↳ blipSprite |
"blip_shop_blacksmith" |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
↳ blipColor |
"BLIP_MODIFIER_MP_COLOR_4" |
yellow / gold |
↳ blipScale |
0.2 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
↳ camSideDeg |
55.0 |
smelt camera swung to the side so the player doesn't block the crucible |
↳ camIntro |
table |
7.16.6 camera: intro looks down into the crucible, then the working view (metres from the crucible) |
↳ camSmelt |
table |
جدول عناصر cam smelt. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ camFov |
45.0 |
رقم لـ cam fov (الافتراضي 45.0). |
↳ crucibleOffset |
nil |
7.16.6 crucible: nuggets/bar sit IN the bowl. nil = auto (ray onto the furnace, sunk chunkSink). Exact spot: use /goldsmelt_offset x y z next to your furnace and paste the printed line here. |
↳ crucibleFallbackZ |
0.55 |
used when the ray finds no collision |
↳ chunkSink |
0.04 |
رقم لـ chunk sink (الافتراضي 0.04). |
↳ chunkDrop |
0.30 |
7.16.9: lowers the auto point into the crucible (more = lower); was 0.15, still on the handle |
↳ meltSink |
0.035 |
7.16.9: nuggets sink this much into the crucible as the melt reaches 100 % |
↳ smokeFx |
"ent_amb_smoke_cabin" |
7.16.9: heat smoke over the crucible (core ptfx) |
↳ chunkSpread |
0.05 |
رقم لـ chunk spread (الافتراضي 0.05). |
↳ fireBelowCrucible |
0.22 |
رقم لـ fire below crucible (الافتراضي 0.22). |
↳ requireShore |
true |
7.16.6 placement like the wash table: dry bank next to sea/river/creek/lake/pond/swamp (Config.GoldPanning.waterHashes, within Config.GoldPanning.maxShoreDistance m). |
↳ heatMin |
60 |
Bellows minigame: keep the heat between heatMin..heatMax until the melt hits 100 %. Above heatMax for overheatMs = the crucible blows. |
↳ heatMax |
70 |
الحد الأعلى لـ heat max. |
↳ overheatMs |
2000 |
رقم لـ overheat ms (الافتراضي 2000). |
↳ minSmeltMs |
8000 |
a real melt cannot finish faster than this |
↳ maxSmeltMs |
120000 |
الحد الأعلى لـ max smelt ms. |
↳ fireLow |
0.5 |
رقم لـ fire low (الافتراضي 0.5). |
↳ fireHigh |
0.8 |
رقم لـ fire high (الافتراضي 0.8). |
↳ destroyFurnaceOnFail |
true |
Blow-up: the nuggets in the crucible are lost and so is the furnace. |
↳ explosionType |
2 |
رقم لـ explosion type (الافتراضي 2). |
↳ explosionDamage |
0.3 |
رقم لـ explosion damage (الافتراضي 0.3). |
config/mineral_props.lua - 7 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
MineralProps |
table |
Physical ore/bar appearance. These are visual models, not inventory item IDs. The twelve models and their YTYP/YTD are bundled in jrs_mining/stream. |
↳ enabled |
false |
7.17.1: off until a COMPILED .ytyp exists (XML one crashed clients) |
↳ showMineReward |
true |
يعرض mine reward: true = نعم، false = لا (الافتراضي true). |
↳ showOtherRewards |
true |
gold panning and NPC smelter collection |
↳ previewMs |
3500 |
رقم لـ preview ms (الافتراضي 3500). |
↳ maxCrucibleChunks |
3 |
rough chunks are larger than the old nugget prop |
↳ models |
table |
موديل أو كيان في اللعبة يُستخدم لـ models. |
config/mining.lua - 86 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
MiniGame |
true |
═════════════════════════ MINES ═════════════════════════ Toggle the skill-check minigame globally (per-mine MinigameDifficulty can be set to false to make that mine luck-only). |
MinerJobs |
table |
(Gold Prospector) are this server's job-board jobs (jrs_multijob/config/jobs.lua). 'processing' (the old Resource Processor, merged into Miner 2026-09-24) and the rest are legacy/other-server job-name variants kept for compatibili |
MineAreaRadius |
120.0 |
How close (m) to a mine's MainCoord before its rocks stream in. |
NodeInteractDistance |
2.0 |
How close (m) to a rock node before the mine prompt shows. |
mineData |
table |
جدول عناصر mine data. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Tumbleweed Mine |
table |
جدول عناصر tumbleweed mine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Annesburg Coal Mine |
table |
جدول عناصر annesburg coal mine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Northpoint Mine |
table |
جدول عناصر northpoint mine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Mount Shann Cave |
table |
جدول عناصر mount shann cave. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Beaver Hallow Cave |
table |
جدول عناصر beaver hallow cave. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Twin Rocks Gang Camp |
table |
جدول عناصر twin rocks gang camp. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Zirkel Cave |
table |
جدول عناصر zirkel cave. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Dinosaur Cave |
table |
جدول عناصر dinosaur cave. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Heartlands Oil pit |
table |
جدول عناصر heartlands oil pit. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Bacchus Ridge Cave |
table |
جدول عناصر bacchus ridge cave. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Mount Shann collapsed mine |
table |
جدول عناصر mount shann collapsed mine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Guarma Cave |
table |
جدول عناصر guarma cave. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Bolger Glade Clay Pit |
table |
جدول عناصر bolger glade clay pit. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
MiningAnimations |
table |
═════════════════════ TOOLS / STATIONS / SHOPS ═════════════════════ ════════════════════════════ MINING ANIMS ══════════════════════════ |
↳ pickaxe |
table |
جدول عناصر pickaxe. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
PickaxeData |
table |
═══════════════════════════ TOOLS (PICKAXES) ═══════════════════════ |
↳ 1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
MinerHatItem |
"minerhat" |
outfit (Config.Duty.Helmet) and is worn automatically on clock-in. The name is kept only so the server item allowlist stays stable for characters that still hold a legacy minerhat in their inventory. |
It is also mirrored into jrs_inventory's own durability percentage, which
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ToolDurability |
table |
draws the bar inside the inventory UI and (being one of that resource's Config.Metadata.UniqueKeys) keeps every pickaxe a separate instance rather than stacking two tools onto one shared counter. |
↳ enabled |
true |
false = pickaxes are permanent again (7.11.0 behaviour) |
↳ breakOnZero |
true |
false = the tool stops at 1 use left instead of being destroyed |
↳ showInHud |
true |
draw the remaining-uses meter on the tool card |
↳ warnBelow |
0.20 |
start warning under this fraction of the tier's Uses |
↳ warnEvery |
10 |
...and then only every Nth remaining use, to avoid spam |
↳ warnAlwaysUnder |
3 |
...but always warn for the last few uses |
ServiceMineIds |
table |
Only these mine services are exposed. Runtime filtering lives in client/functions.lua and server/functions.lua (prepareMiningRuntimeConfig). |
MineralProcessing |
table |
PROCESSING stations by server/functions.lua + client/functions.lua (prepareMiningRuntimeConfig). The player loop is: mine rock -> process rock -> receive one local mineral. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ inputItem |
"rock" |
الزر أو التحكم المستخدم لـ input item. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ inputAmount |
1 |
الزر أو التحكم المستخدم لـ input amount. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ durationMs |
6000 |
إعداد وقت لـ duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ xp |
2 |
رقم لـ xp (الافتراضي 2). |
↳ interactRadius |
1.2 |
المسافة بوحدات اللعبة لـ interact radius. |
↳ prop |
nil |
موديل أو كيان في اللعبة يُستخدم لـ prop. |
↳ blip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
↳ rawReward |
table |
قيمة فلوس لـ raw reward. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ Locations |
table |
coords is the station/prompt position; heading rotates the spawned prop. A mine may have as many stations as you like: they all share that mine's mineral table, so any of them processes that mine's rock. |
MineralCleaning |
Config.MineralProcessing |
Backwards-compatible alias: older edits/configs referring to the previous "mineral cleaning" name keep resolving to the same table. |
Shops |
table |
One trading bot stands on every mining location (mine blip). The locations list is generated at runtime from Config.mineData, in the client/shops.lua and server/shops.lua scripts (kept in sync by sorting). |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ interactDistance |
1.8 |
Tightened NPC interaction radius; player must get close to the bot |
↳ pedSpawnDistance |
180.0 |
stream the shop NPC before the player reaches the prompt |
↳ pedDespawnDistance |
260.0 |
keep enough hysteresis to prevent spawn/despawn flicker |
↳ alignBotToMineBlip |
true |
visible mine: NPC + prompt use the exact MainCoord used by its blip |
↳ scenario |
"WORLD_HUMAN_STAND_WAITING" |
Idle standing scenario for the shopkeeper NPC |
↳ keys |
table |
Two separate world prompts at the same mining NPC. |
↳ duty |
table |
Duty gates every mining/shop action. Client visibility is convenience only; server events independently reject off-duty access. |
↳ hours |
table |
24/7 mining store. Server and client both treat the store as always open. Individual mine OpenTime/CloseTime values are intentionally ignored. |
↳ pedModels |
table |
Ped models used for shop NPCs |
↳ blip |
table |
Blip shown on every shop bot. The blip uses the SAME vector4 as the ped (loc.coords), so they always stay at the exact same spot. |
↳ customLocations |
table |
"one bot per mine" behaviour. Each entry: { name = "Valentine", coords = vector4(x, y, z, heading), openTime = 6, closeTime = 23 } Add as many as you want. Keep it empty {} to use the automatic ones. |
↳ locations |
table |
Filled at runtime (see client/shops.lua + server/shops.lua) |
↳ types |
table |
Two shop types, each with its own button |
InfiniteNodes |
Config.InfiniteNodes ~= fals... |
═══════════════════ MINING RUNTIME DERIVED SETTINGS ═════════════════ Only controls that are actually consumed by the integrated mining runtime are exposed here. Station/shop prompts use Config.KeyToInteract directly. |
Controls |
Config.Controls or { |
إعداد لـ controls. |
NodeInteractDistance |
math.max(0.5, tonumber(Confi... |
Canonical interaction distance used by both client and server. |
AdvancedMining |
table |
General mining behaviour mirrored from the reference resource. Every switch here is consumed by the integrated runtime or explicitly mapped to REDEMPIRE's equivalent secure implementation. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ allowMiningCancel |
Config.AllowMiningCancel ~= ... |
إعداد لـ allow mining cancel. |
↳ useLookAtNodePrompt |
false |
يشغّل أو يطفّي look at node prompt (الافتراضي false). |
↳ rayCastDistance |
4.0 |
المسافة بوحدات اللعبة لـ ray cast distance. |
↳ virtualLookTolerance |
1.5 |
meters; how close a camera-ray hit must land to a virtual (propless) node's position to count as "looking at it" |
↳ highlightNodeProps |
true |
مفتاح لـ highlight node props: true = شغّال، false = طافي (الافتراضي true). |
↳ showNodeNumberInPrompt |
false |
يعرض node number in prompt: true = نعم، false = لا (الافتراضي false). |
↳ smartZDifference |
true |
مفتاح لـ smart z difference: true = شغّال، false = طافي (الافتراضي true). |
↳ initSoundAudio |
true |
مفتاح لـ init sound audio: true = شغّال، false = طافي (الافتراضي true). |
↳ displayToolHud |
true |
مفتاح لـ display tool hud: true = شغّال، false = طافي (الافتراضي true). |
↳ displayToolHudAlign |
"top" |
إعداد لـ display tool hud align. |
↳ displayTextOffset |
table |
نص يظهر للاعب لـ display text offset. غيّره للترجمة أو لتغيير الاسم. |
↳ cancelControl |
Config.Controls.MineCancel |
الزر أو التحكم المستخدم لـ cancel control. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ minerJobProbabilityIncrease |
tonumber(Config.MinerJobProb... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ miner job probability increase. |
↳ coordCheckerEfficiency |
tonumber(Config.CoordChecker... |
إحداثيات العالم (x, y, z) لـ coord checker efficiency. |
↳ drawDebugMarkers |
false |
مفتاح لـ draw debug markers: true = شغّال، false = طافي (الافتراضي false). |
↳ highlightMarkerType |
1 |
Mining nodes have no entity to outline (see client/mines.lua's VIRTUAL_ROCK), so an eligible node is highlighted with a marker ring at its position instead. Only used when highlightNodeProps ~= false. |
↳ highlightMarkerScale |
0.9 |
نسبة أو مضاعف لـ highlight marker scale. |
↳ highlightMarkerZOffset |
0.1 |
رقم لـ highlight marker z offset (الافتراضي 0.1). |
↳ highlightMarkerColor |
table |
جدول عناصر highlight marker color. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
PickaxeItem |
"pickaxe" |
A single persistent pickaxe whose power is stored in item metadata. |
LegacyForgeToolItems |
table |
Retired standalone tool items. Kept only so the security allow-list stays stable for characters still holding one. |
Uses is how many SUCCESSFUL mining deliveries it survives before it breaks
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
PickaxeLevels |
table |
(Config.ToolDurability). AMS.toolMetadata clamps any legacy pickaxeLevel metadata (2/3/4) down to 1, so old pickaxes keep working as this one. |
↳ 1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
config/smelting.lua - 20 إعداد#
This replaces the old forge/anvil/crafting systems, which were removed in
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Smelting |
table |
جدول عناصر smelting. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ keys |
table |
World interaction. open matches the mining store key so the two NPC prompts read the same way; duty allows toggling mining/processing duty directly. |
↳ interactDistance |
2.5 |
المسافة بوحدات اللعبة لـ interact distance. |
↳ pedSpawnDistance |
160.0 |
المسافة بوحدات اللعبة لـ ped spawn distance. |
↳ pedDespawnDistance |
240.0 |
المسافة بوحدات اللعبة لـ ped despawn distance. |
↳ requireDuty |
false |
Duty/job gating. Setting requireDuty to false allows anyone with the job (from the job board) to use the smelter directly without needing duty clock-in. |
↳ requireJob |
true |
يتطلب job: true = نعم، false = لا (الافتراضي true). |
↳ maxOpenOrders |
5 |
unfinished orders one character may hold, per NPC |
↳ maxAmountPerOrder |
50 |
output batches in a single order |
↳ minAmountPerOrder |
1 |
الحد الأدنى أو المستوى المطلوب لـ min amount per order. |
↳ rush |
table |
Instant finish. Cost is per remaining MINUTE, rounded up, and is charged in cash at the moment the player presses RUSH. |
↳ feePerBatch |
5 |
* these NPC smelters = PAID and SLOW (order, wait, collect) feePerBatch is cash taken when the order is placed (a recipe may set its own fee); timeMultiplier stretches every recipe's minutes. |
↳ timeMultiplier |
5 |
نسبة أو مضاعف لـ time multiplier. |
↳ xpPerBatch |
3 |
XP awarded per collected order line (scaled by the number of batches). |
↳ scenario |
"WORLD_HUMAN_WRITE_NOTEBOOK" |
Working animation played at the NPC when placing an order. |
↳ placeDurationMs |
4000 |
إعداد وقت لـ place duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ pedModel |
"A_M_M_ASBMINER_02" |
Ambient furnace ped + blip shared by every location that does not set its own. Blip sprite matches the mining shop family. |
↳ blip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
↳ Locations |
table |
ONE bar. input/inputAmount is what a single batch costs, output/ outputAmount is what a single batch returns, minutes is how long a single batch takes. |
مدفوع (السيرفر فقط) jrs_moonshine
وظيفة صانع الخمور في JRS Core (jrs_multijob): تقطير، معامل تقطير، تجارة وتوصيل
| الريسورس | jrs_moonshine |
| المجلد | [JOBS] |
| الإصدار | 1.5.0 |
| المطوّر | jrs team |
| يعتمد على | /assetpacks, jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 4,477 Lua lines |
الـ Exports
jrs_is_player_moonshining
جداول قاعدة البيانات
jrs_moonshine_missions, jrs_moonshine_productions, jrs_moonshine_shells, jrs_moonshine_stills
config.lua - 186 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Language |
"ar" |
لغة واجهة السكربت (en أو ar). |
Locale |
table |
لغة واجهة السكربت (en أو ar). |
↳ en |
table |
جدول عناصر en. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ar |
table |
جدول عناصر ar. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Progress |
table |
progressImg = The item name you enter here is pulled from your inventory images. |
↳ Delivery |
table |
Delivery Progress |
Indicate |
table |
A small image indicating their presence there at the center of the interiors |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ distance |
10.0 |
المسافة بوحدات اللعبة لـ distance. |
CreateInteriorCommandSetting |
table |
If you do not want to use interior creation as an item, enable this command and it will only set up an interior entrance at your current location. Without an prop. |
↳ activeCommand |
false |
If the command is open, interior items cannot be used. |
↳ command |
"createinterior" |
إعداد لـ command. |
↳ commandRequired |
table |
أو false |
Config.PlayerXP ###
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
PlayerXP |
table |
Config.JobXP.CoreShare of it into the global character level, exactly like fishing, hunting, lumberjack and every other job on this server. The still keeps its own XP as before; this is in addition to it, not instead. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Job |
"moonshiner" |
primary key in jrs_job_levels; renaming it orphans progress |
↳ Multiplier |
1.0 |
scales the recipe addXP value before it reaches the player |
AllowMoonshineInShell |
false |
If true, you can set up a moonshine still inside the interior |
DurabilityMultiplier |
1.5 |
The machine's durability decreases significantly based on the production volume. 1.0 is the normal value. |
TimeMultiplier |
true |
Time increases depending on production volume |
Config.RemoveStillSetting ###
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
RemoveStillSetting |
2 |
legal job (2026-09-25): only the owner removes a still |
RemoveStillAfterSaveData |
true |
Should the level and xp of the machine be added to the item as metadata after Moonshine Still is deleted? |
Config.LawmenJobs ###
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
LawmenJobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ lawmen jobs. |
↳ bwsheriff |
true |
مفتاح لـ bwsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ valsheriff |
true |
مفتاح لـ valsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ armsheriff |
true |
مفتاح لـ armsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ armheriff |
true |
legacy typo kept for servers that still use it |
↳ twsheriff |
true |
مفتاح لـ twsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ stbsheriff |
true |
مفتاح لـ stbsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ rhdsheriff |
true |
مفتاح لـ rhdsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ sdsheriff |
true |
مفتاح لـ sdsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ annsheriff |
true |
مفتاح لـ annsheriff: true = شغّال، false = طافي (الافتراضي true). |
↳ marshal |
true |
مفتاح لـ marshal: true = شغّال، false = طافي (الافتراضي true). |
↳ sisika |
true |
مفتاح لـ sisika: true = شغّال، false = طافي (الافتراضي true). |
↳ police |
true |
مفتاح لـ police: true = شغّال، false = طافي (الافتراضي true). |
↳ ALFIE |
true |
مفتاح لـ alfie: true = شغّال، false = طافي (الافتراضي true). |
↳ Guamrma |
true |
مفتاح لـ guamrma: true = شغّال، false = طافي (الافتراضي true). |
To use this command, there must be 2 active lawmen in front of the interior at t
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ActiveLawmenPlayerCount |
2 |
رقم لـ active lawmen player count (الافتراضي 2). |
Config.ExplosionItem ###
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ExplosionItem |
false |
legal job (2026-09-25): stills can no longer be bombed. Was "dynamite". |
ExplosionDefuseItem |
"lockpick" |
Item used to defuse the moonshine still explosion (Dynamite becomes ineffective if used before the detonation time expires) |
ExplosionTime |
30 |
Sets the countdown time for the explosion after the ExplosionItem is used |
DeliverySuccesNotifyLawmen |
table |
NEW SETTING |
↳ notify |
false |
legal job (2026-09-25): deliveries no longer alert lawmen |
↳ chance |
30 |
نسبة أو مضاعف لـ chance. |
↳ AlertDelay |
3 |
second (How many seconds after a shot is fired) |
↳ blipname |
"Report Moonshine Sale!" |
إعداد لـ blipname. |
↳ blipsprite |
1001245999 |
رقم لـ blipsprite (الافتراضي 1001245999). |
↳ blipscale |
0.5 |
رقم لـ blipscale (الافتراضي 0.5). |
↳ blipmodifier |
"BLIP_MODIFIER_MP_COLOR_32" |
إعداد لـ blipmodifier. |
↳ blipradius |
10.0 |
رقم لـ blipradius (الافتراضي 10.0). |
↳ alerttime |
30 |
after how many seconds the blip will be deleted ? 60 = 60000 |
SetupTownPropSettings |
table |
موديل أو كيان في اللعبة يُستخدم لـ setup town prop settings. |
↳ moonshineStill |
false |
If this setting is true, players can set up moonshine machines in cities. |
↳ moonshineInterior |
false |
If this setting is true, players can set up moonshine interior in cities. |
DropPlayerNuiCheater |
false |
## Cheaters who try to modify recipes and data through NuiDevtools. Set this to true if you want them to be kicked out of the game. |
Towns |
table |
جدول عناصر towns. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ AguasdulcesFarm |
1654810713 |
رقم لـ aguasdulces farm (الافتراضي 1654810713). |
↳ AguasdulcesRuins |
201158410 |
رقم لـ aguasdulces ruins (الافتراضي 201158410). |
↳ AguasdulcesVilla |
-1207133769 |
رقم لـ aguasdulces villa (الافتراضي -1207133769). |
↳ Annesburg |
7359335 |
رقم لـ annesburg (الافتراضي 7359335). |
↳ Armadillo |
-744494798 |
رقم لـ armadillo (الافتراضي -744494798). |
↳ BeechersHope |
-1708386982 |
رقم لـ beechers hope (الافتراضي -1708386982). |
↳ Blackwater |
1053078005 |
رقم لـ blackwater (الافتراضي 1053078005). |
↳ Braithwaite |
1778899666 |
رقم لـ braithwaite (الافتراضي 1778899666). |
↳ Butcher |
-1947415645 |
رقم لـ butcher (الافتراضي -1947415645). |
↳ Caliga |
1862420670 |
رقم لـ caliga (الافتراضي 1862420670). |
↳ cornwall |
-1851305682 |
رقم لـ cornwall (الافتراضي -1851305682). |
↳ Emerald |
-473051294 |
رقم لـ emerald (الافتراضي -473051294). |
↳ lagras |
406627834 |
رقم لـ lagras (الافتراضي 406627834). |
↳ Manicato |
1299204683 |
رقم لـ manicato (الافتراضي 1299204683). |
↳ Manzanita |
1463094051 |
رقم لـ manzanita (الافتراضي 1463094051). |
↳ Rhodes |
2046780049 |
رقم لـ rhodes (الافتراضي 2046780049). |
↳ Siska |
2147354003 |
رقم لـ siska (الافتراضي 2147354003). |
↳ StDenis |
-765540529 |
رقم لـ st denis (الافتراضي -765540529). |
↳ Strawberry |
427683330 |
رقم لـ strawberry (الافتراضي 427683330). |
↳ Tumbleweed |
-1524959147 |
رقم لـ tumbleweed (الافتراضي -1524959147). |
↳ valentine |
459833523 |
رقم لـ valentine (الافتراضي 459833523). |
↳ VANHORN |
2126321341 |
رقم لـ vanhorn (الافتراضي 2126321341). |
↳ Wallace |
-872622034 |
رقم لـ wallace (الافتراضي -872622034). |
↳ wapiti |
1663398575 |
رقم لـ wapiti (الافتراضي 1663398575). |
InteriorProp |
"p_outhouse05x" |
موديل أو كيان في اللعبة يُستخدم لـ interior prop. |
ShellSpawnDistance |
100 |
المسافة بوحدات اللعبة لـ shell spawn distance. |
PropSpawnDistance |
40 |
المسافة بوحدات اللعبة لـ prop spawn distance. |
PropInteractionDistance |
3 |
المسافة بوحدات اللعبة لـ prop interaction distance. |
MaximumCreateMoonshineTable |
2 |
الحد الأعلى لـ maximum create moonshine table. |
MaxCraftMultipler |
5 |
الحد الأعلى لـ max craft multipler. |
SmokeEffect |
table |
جدول عناصر smoke effect. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ dict |
"scr_net_gangbounty" |
إعدادات الأنيميشن لـ dict. |
↳ name |
"scr_net_gangbounty_smoke" |
نص يظهر للاعب لـ name. غيّره للترجمة أو لتغيير الاسم. |
↳ distance |
300 |
المسافة بوحدات اللعبة لـ distance. |
↳ SmokeScale |
0.8 |
نسبة أو مضاعف لـ smoke scale. |
FailedMissionRemoveMoney |
10 |
Penalty money to be deducted from the player if he fails to deliver the items to the recipient |
DrawSetting |
table |
جدول عناصر draw setting. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ DrawMarker |
table |
or DrawMarker = false, |
↳ DrawLight |
table |
or DrawLight = false, |
↳ DrawTexture |
table |
or DrawTexture = false, |
## Config.SpawnMoonshineWagonCommand ## --
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Commands |
table |
These commands require you to own a hideout, hold an accepted mission, and stand near the hideout. |
↳ 1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 2 |
table |
جدول عناصر 2. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 3 |
table |
جدول عناصر 3. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 4 |
table |
جدول عناصر 4. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Customers |
table |
جدول عناصر customers. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
InteriorSets |
table |
جدول عناصر interior sets. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ standart |
table |
جدول عناصر standart. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ hunter |
table |
جدول عناصر hunter. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ christmas |
table |
جدول عناصر christmas. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ floral |
table |
جدول عناصر floral. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ goth |
table |
جدول عناصر goth. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ refined |
table |
جدول عناصر refined. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ stonewall |
table |
جدول عناصر stonewall. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Shells |
table |
NOTE: the NPC walk-in/walk-out routine (gotoTable) is real movement logic, not a config value - it now lives in shared/utils.lua as JMS.moonshineGotoTable and is attached to every entry below automatically at load time. |
↳ moonshine_interior1 |
table |
جدول عناصر moonshine interior1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ moonshine_interior2 |
table |
جدول عناصر moonshine interior2. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ moonshine_interior3 |
table |
جدول عناصر moonshine interior3. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ moonshine_interior4 |
table |
جدول عناصر moonshine interior4. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ moonshine_interior5 |
table |
جدول عناصر moonshine interior5. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ moonshine_interior6 |
table |
جدول عناصر moonshine interior6. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ moonshine_interior7 |
table |
جدول عناصر moonshine interior7. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Levels |
table |
جدول عناصر levels. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 0 |
0 |
رقم لـ 0 (الافتراضي 0). |
↳ 1 |
1000 |
رقم لـ 1 (الافتراضي 1000). |
↳ 2 |
2000 |
رقم لـ 2 (الافتراضي 2000). |
↳ 3 |
3000 |
رقم لـ 3 (الافتراضي 3000). |
↳ 4 |
4000 |
رقم لـ 4 (الافتراضي 4000). |
↳ 5 |
5000 |
رقم لـ 5 (الافتراضي 5000). |
↳ 6 |
6000 |
رقم لـ 6 (الافتراضي 6000). |
↳ 7 |
7000 |
رقم لـ 7 (الافتراضي 7000). |
↳ 8 |
8000 |
رقم لـ 8 (الافتراضي 8000). |
↳ 9 |
9000 |
رقم لـ 9 (الافتراضي 9000). |
↳ 10 |
10000 |
رقم لـ 10 (الافتراضي 10000). |
↳ 11 |
11000 |
رقم لـ 11 (الافتراضي 11000). |
↳ 12 |
12000 |
رقم لـ 12 (الافتراضي 12000). |
↳ 13 |
13000 |
رقم لـ 13 (الافتراضي 13000). |
↳ 14 |
14000 |
رقم لـ 14 (الافتراضي 14000). |
↳ 15 |
15000 |
رقم لـ 15 (الافتراضي 15000). |
↳ 16 |
16000 |
رقم لـ 16 (الافتراضي 16000). |
↳ 17 |
17000 |
رقم لـ 17 (الافتراضي 17000). |
↳ 18 |
18000 |
رقم لـ 18 (الافتراضي 18000). |
↳ 19 |
19000 |
رقم لـ 19 (الافتراضي 19000). |
↳ 20 |
20000 |
رقم لـ 20 (الافتراضي 20000). |
↳ 21 |
21000 |
رقم لـ 21 (الافتراضي 21000). |
↳ 22 |
22000 |
رقم لـ 22 (الافتراضي 22000). |
↳ 23 |
23000 |
رقم لـ 23 (الافتراضي 23000). |
↳ 24 |
24000 |
رقم لـ 24 (الافتراضي 24000). |
↳ 25 |
25000 |
رقم لـ 25 (الافتراضي 25000). |
↳ 26 |
26000 |
رقم لـ 26 (الافتراضي 26000). |
↳ 27 |
27000 |
رقم لـ 27 (الافتراضي 27000). |
↳ 28 |
28000 |
رقم لـ 28 (الافتراضي 28000). |
↳ 29 |
29000 |
رقم لـ 29 (الافتراضي 29000). |
↳ 30 |
30000 |
رقم لـ 30 (الافتراضي 30000). |
↳ 31 |
31000 |
رقم لـ 31 (الافتراضي 31000). |
↳ 32 |
32000 |
رقم لـ 32 (الافتراضي 32000). |
↳ 33 |
33000 |
رقم لـ 33 (الافتراضي 33000). |
↳ 34 |
34000 |
رقم لـ 34 (الافتراضي 34000). |
↳ 35 |
35000 |
رقم لـ 35 (الافتراضي 35000). |
↳ 36 |
36000 |
رقم لـ 36 (الافتراضي 36000). |
↳ 37 |
37000 |
رقم لـ 37 (الافتراضي 37000). |
↳ 38 |
38000 |
رقم لـ 38 (الافتراضي 38000). |
↳ 39 |
39000 |
رقم لـ 39 (الافتراضي 39000). |
↳ 40 |
40000 |
رقم لـ 40 (الافتراضي 40000). |
↳ 41 |
41000 |
رقم لـ 41 (الافتراضي 41000). |
↳ 42 |
42000 |
رقم لـ 42 (الافتراضي 42000). |
↳ 43 |
43000 |
رقم لـ 43 (الافتراضي 43000). |
↳ 44 |
44000 |
رقم لـ 44 (الافتراضي 44000). |
↳ 45 |
45000 |
رقم لـ 45 (الافتراضي 45000). |
↳ 46 |
46000 |
رقم لـ 46 (الافتراضي 46000). |
↳ 47 |
47000 |
رقم لـ 47 (الافتراضي 47000). |
↳ 48 |
48000 |
رقم لـ 48 (الافتراضي 48000). |
↳ 49 |
49000 |
رقم لـ 49 (الافتراضي 49000). |
↳ 50 |
50000 |
رقم لـ 50 (الافتراضي 50000). |
Moonshines |
table |
جدول عناصر moonshines. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Every fruit input below is now grown, not gathered: mulberry, blackmulberry
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ mp001_p_mp_still01x |
table |
and grapes are jrs_farming crops, and moonbloom is the shared crop that jrs_farming grows and jrs_herbs spawns wild at night. jrs_moonshine no longer owns any gathering of its own. |
Professional Still (Level 25)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ mp006_p_moonshiner_still04x |
table |
جدول عناصر mp006 p moonshiner still04x. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Prompts |
table |
جدول عناصر prompts. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ setupMoonshine |
table |
جدول عناصر setup moonshine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ interactMoonshine |
table |
جدول عناصر interact moonshine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ shell |
table |
جدول عناصر shell. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ exitshell |
table |
جدول عناصر exitshell. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ shellstash |
table |
جدول عناصر shellstash. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ shellsellmenu |
table |
جدول عناصر shellsellmenu. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ wagonrob |
table |
جدول عناصر wagonrob. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ delivery |
table |
جدول عناصر delivery. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ProgressBar |
table |
جدول عناصر progress bar. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ progresstype |
"innercircle" |
إعداد لـ progresstype. |
↳ color |
"#c40000" |
إعداد لـ color. |
JRS MOONSHINE - Open replacement settings
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
JRS |
Config.JRS or { |
إعداد لـ jrs. |
ملاحظات من ملف README#
# jrs_moonshine - Moonshine System for JRS Core
An open, self-contained moonshine system built to work directly with
`jrs_core` and `jrs_inventory`, without VORP or RSG.
## Requirements
Start resources in this order before `jrs_moonshine`:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_theftsystem
ensure jrs_moonshine
'''
> `jrs_theftsystem` integration is optional but enabled by default, to unify
> activity locks and police alerts. The resource folder name must stay
> `jrs_moonshine`.
## Ingredients: sourced from farming, not self-gathered
`jrs_moonshine` does not run its own gathering zones. Every fruit its
recipes consume is grown by `jrs_farming`, with one ingredient also
reachable wild through `jrs_herbs`:
- **Mulberry** and **Black Mulberry** - `jrs_farming` field crops only
(`MULBERRY_SEED` / `BLACKMULBERRY_SEED`).
- **Grapes** - already existed as a `jrs_farming` crop (`GRAPES_SEED`).
- **Moonbloom** - the premium ingredient for the top two recipes, reachable
two ways: cultivated via `jrs_farming`'s `MOONBLOOM_SEED` (slow, thirsty,
reliable), or picked wild at night through `jrs_herbs`'s Moonbloom Grove
(fast, free, but only active between dusk and dawn and on a long
per-bush cooldown).
- **Alcohol** / **Alcohol Bottle** - stocked in `jrs_stores`' general store.
If any of these item names differ on your server, adjust them in
`config.lua`'s `Config.Moonshines[...].items[...].requiredItems`.
## Database
The script creates its own tables automatically on startup because:
'''lua
Config.JRS.AutoCreateDatabase = true
Config.JRS.AutoRegisterItems = true
'''
You can also import the files manually if needed:
- `sql/jrs.sql` for the system tables.
- `sql/items_jrs_inventory.sql` to define the moonshine items in JRS
Inventory's `items` table.
## Item images
Copy the contents of:
'''text
jrs_moonshine/inventoryitemimages/
'''مجاني (موجود مع JRS Core) jrs_multijob
الوظايف المتعددة في jrs core - لوحة وظايف، مهن محفوظة وإدارة موظفين لـ jrs_core
| الريسورس | jrs_multijob |
| المجلد | [JOBS] |
| الإصدار | 5.17.2 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 5,239 Lua lines |
الـ Exports
AddCharacterJob, AddJob, GetAllJobDefinitions, GetCharacterJobs, JobName, JobNameServer, OpenMenu, RankName, RankNameServer, RemoveCharacterJob, RemoveJob, SyncPlayerJob
جداول قاعدة البيانات
IF, jrs_multijob_jobs, jrs_multijob_migrations
config/boards.lua - 10 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Boards |
table |
جدول عناصر boards. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ saintdenis |
table |
جدول عناصر saintdenis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ strawberry |
table |
جدول عناصر strawberry. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ armadillo |
table |
جدول عناصر armadillo. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ tumbleweed |
table |
جدول عناصر tumbleweed. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ guarma |
table |
جدول عناصر guarma. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
config/guides.lua - 8 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
JobGuides |
table |
Coordinates are copied from each job's own resource config (start NPC, depot, shop or work area) - update them here if a job's NPC moves. A job with no points (herbalist, farmer, moonshiner) gets the text only. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ BlipSprite |
"blip_ambient_chore" |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
↳ BlipScale |
0.7 |
same readable objective size used by delivery jobs |
↳ GpsHudColor |
6 |
fallback colour when a native waypoint is unavailable |
↳ ArriveDistance |
20.0 |
route + blip removed once this close |
↳ LifetimeMinutes |
20 |
or after this long |
↳ Jobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ jobs. |
config/jobs.lua - 22 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Jobs |
table |
jobs in this same order so the board shows easy jobs at the top. Board ladder: 19 jobs spaced every 5 levels, 1 -> 90 (rebalanced 2026-09-25, 'weeder' / Herb Processor removed: it only duplicated Herbalist). |
↳ hunter |
table |
جدول عناصر hunter. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ publicjobs |
table |
جدول عناصر publicjobs. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ surfacecleaner |
table |
جدول عناصر surfacecleaner. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ trachboy |
table |
جدول عناصر trachboy. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ delivery |
table |
جدول عناصر delivery. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ radio_technician |
table |
Repairs jrs-Radio towers (Config.TowerManagement.Repair.AllowedJobs) and buys repair kits from the supply prompt at each tower pole. |
↳ undertaker |
table |
Worked by [JOBS]/jrs_undertaker: collect bodies, prepare them at a parlour, bury them at a cemetery. Swap Image for img/undertaker.jpg once that picture is added to html/img. |
↳ cotton |
table |
Worked at jrs_business's Cotton Company (Config.PublicJobs.companies.cotton). |
↳ legendary_hunter |
table |
جدول عناصر legendary hunter. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ farmer |
table |
جدول عناصر farmer. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ chicken |
table |
جدول عناصر chicken. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ mill |
table |
Worked at jrs_business's Mill Company (Config.PublicJobs.companies.mill). |
↳ herbalist |
table |
جدول عناصر herbalist. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ fisher |
table |
جدول عناصر fisher. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ lumberjack |
table |
جدول عناصر lumberjack. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ mining |
table |
One job for the whole mine: 'processing' (Resource Processor) was merged into it on 2026-09-24 since both worked the same mine. jrs_mining still accepts 'processing' as a legacy alias. |
↳ bountyhunter |
table |
جدول عناصر bountyhunter. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ beer |
table |
جدول عناصر beer. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ oiler |
table |
جدول عناصر oiler. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ mingold |
table |
جدول عناصر mingold. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ moonshiner |
table |
جدول عناصر moonshiner. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
config/management.lua - 16 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Management |
table |
جدول عناصر management. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ AutoSaveCurrentJob |
true |
Automatically keeps externally assigned REDEMPIRE jobs in the player's saved job list. |
↳ AutoSaveIntervalMs |
15 * 60 * 1000 |
إعداد وقت لـ auto save interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ SaveOnCharacterReady |
true |
مفتاح لـ save on character ready: true = شغّال، false = طافي (الافتراضي true). |
↳ SaveOnSwitch |
true |
مفتاح لـ save on switch: true = شغّال، false = طافي (الافتراضي true). |
↳ DeletedJobResaveBlockMs |
120000 |
prevents a stale core snapshot from re-adding a just-deleted job |
↳ QuitAllSetsFallback |
true |
Removing every job returns the character to this job. |
↳ AllowManageEqualRank |
false |
Boss rules. |
↳ HireMakesActive |
true |
مفتاح لـ hire makes active: true = شغّال، false = طافي (الافتراضي true). |
↳ DefaultHireGrade |
0 |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ default hire grade. |
↳ PreventSelfFire |
true |
مفتاح لـ prevent self fire: true = شغّال، false = طافي (الافتراضي true). |
↳ MaximumEmployeesShown |
100 |
الحد الأعلى لـ maximum employees shown. |
↳ IgnoreJobs |
table |
Jobs listed here are never auto-saved as professions. |
↳ Logs |
table |
Optional Discord logs. Leave a webhook empty to disable that category. |
↳ Jobs |
table |
Official jobs and rank labels. BossGrade gives access to Staff Management. |
config/settings.lua - 14 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Settings |
table |
جدول عناصر settings. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
↳ Language |
"ar" |
لغة واجهة السكربت (en أو ar). |
↳ MaxJobs |
0 |
0 = no limit, a character can hold every job |
↳ RestoreSelectedJobOnLoad |
false |
jrs_core is authoritative; set true only for legacy recovery |
↳ Core |
table |
جدول عناصر core. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Database |
table |
جدول عناصر database. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Command |
table |
جدول عناصر command. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Notifications |
table |
جدول عناصر notifications. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Security |
table |
جدول عناصر security. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ FallbackJob |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ fallback job. |
↳ XP |
table |
جدول عناصر xp. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Interaction |
table |
جدول عناصر interaction. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ UI |
table |
جدول عناصر ui. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مدفوع (السيرفر فقط) jrs_newspaper
جريدة JRS - نشر الجرائد والأرشيف والتحقيقات لـ RedM
| الريسورس | jrs_newspaper |
| المجلد | [JOBS] |
| الإصدار | 1.1.0 |
| المطوّر | jrs |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 3,051 Lua lines |
الأوامر
/jrsnewspaper
جداول قاعدة البيانات
jrs_newspaper_ads, jrs_newspaper_articles, jrs_newspaper_books, jrs_newspaper_editions, jrs_newspaper_investigations, jrs_newspaper_publishers, jrs_newspaper_transactions
config.lua - 91 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
JRS |
table |
Direct integration verified against jrs_core v1.0.18 / current JRS Inventory stack. Core admins are resolved through jrs_core:IsAdmin, so owner/admin/support follow the central AdminGroups policy from jrs_core instead of a duplica |
↳ CoreResource |
"jrs_core" |
إعداد لـ core resource. |
↳ InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
↳ RequireIdentity |
true |
يتطلب identity: true = نعم، false = لا (الافتراضي true). |
↳ UseCoreNotifications |
true |
يشغّل أو يطفّي core notifications (الافتراضي true). |
↳ NotificationDuration |
4500 |
إعداد وقت لـ notification duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AllowCoreAdmins |
true |
يسمح بـ core admins: true = نعم، false = لا (الافتراضي true). |
↳ AdminActsAsEditor |
true |
مفتاح لـ admin acts as editor: true = شغّال، false = طافي (الافتراضي true). |
↳ VerifiedCoreVersion |
"1.0.18" |
إعداد لـ verified core version. |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Language |
"ar" |
'en' أو 'ar' |
NewspaperYear |
1901 |
رقم لـ newspaper year (الافتراضي 1901). |
InteractionKey |
0x760A9C6F |
G |
Prompt |
table |
نص يظهر للاعب لـ prompt. غيّره للترجمة أو لتغيير الاسم. |
↳ nativeLanguage |
"en" |
RedM native prompt fonts do not reliably render Arabic. Keep native prompt strings on the stable English locale while the full NUI follows Config.Language. |
↳ actionTextKey |
"prompts.open" |
الزر أو التحكم المستخدم لـ action text key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
BlipModifier |
"BLIP_MODIFIER_MP_COLOR_2" |
Cyan / Teal |
BlipScale |
0.7 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
InteractionDistance |
2.5 |
المسافة بوحدات اللعبة لـ interaction distance. |
EnforceOpeningHours |
false |
false = newspaper stands stay available 24/7. Set true to enforce each stand's openTime/closeTime. |
SpawnDistance |
55.0 |
المسافة بوحدات اللعبة لـ spawn distance. |
ServerDistanceTolerance |
4.5 |
المسافة بوحدات اللعبة لـ server distance tolerance. |
ServerDistanceCheck |
true |
مفتاح لـ server distance check: true = شغّال، false = طافي (الافتراضي true). |
NewspaperItem |
"jrs_newspaper" |
أغراض المخزون المستخدمة في newspaper item. الأسماء لازم تكون موجودة في جدول jrs_items. |
PhysicalCopies |
table |
Physical copies are permanent saved editions. The inventory item itself stays the same JRS item, while every individual copy carries its own edition metadata. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ KeepExactEdition |
true |
مفتاح لـ keep exact edition: true = شغّال، false = طافي (الافتراضي true). |
↳ StoreDisplayMetadata |
true |
مفتاح لـ store display metadata: true = شغّال، false = طافي (الافتراضي true). |
Currency |
0 |
0 = Money in jrs_core |
DefaultPrice |
0.25 |
jrs_core supports decimal cash values |
ArchiveCopyUsesPublisherPrice |
true |
مفتاح لـ archive copy uses publisher price: true = شغّال، false = طافي (الافتراضي true). |
RequestTimeoutMs |
8000 |
إعداد وقت لـ request timeout ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
SingleJobMode |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ single job mode. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ jobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ jobs. |
GeneralJournalistJobs |
table |
General journalist jobs that have writing/publishing access across all newspaper stands and offices |
↳ journalist |
true |
مفتاح لـ journalist: true = شغّال، false = طافي (الافتراضي true). |
↳ reporter |
true |
مفتاح لـ reporter: true = شغّال، false = طافي (الافتراضي true). |
↳ newspaper |
true |
مفتاح لـ newspaper: true = شغّال، false = طافي (الافتراضي true). |
↳ press |
true |
مفتاح لـ press: true = شغّال، false = طافي (الافتراضي true). |
↳ editor |
true |
مفتاح لـ editor: true = شغّال، false = طافي (الافتراضي true). |
↳ news |
true |
مفتاح لـ news: true = شغّال، false = طافي (الافتراضي true). |
JournalistCanPublish |
true |
If true, journalists (or any journalist job grade >= journalistGrade) can create drafts and publish editions. |
AdminGroups |
table |
Admin groups recognized from jrs_core or vorp_core |
↳ owner |
true |
مفتاح لـ owner: true = شغّال، false = طافي (الافتراضي true). |
↳ admin |
true |
مفتاح لـ admin: true = شغّال، false = طافي (الافتراضي true). |
↳ superadmin |
true |
مفتاح لـ superadmin: true = شغّال، false = طافي (الافتراضي true). |
↳ mod |
true |
مفتاح لـ mod: true = شغّال، false = طافي (الافتراضي true). |
↳ moderator |
true |
مفتاح لـ moderator: true = شغّال، false = طافي (الافتراضي true). |
↳ support |
true |
مفتاح لـ support: true = شغّال، false = طافي (الافتراضي true). |
↳ god |
true |
مفتاح لـ god: true = شغّال، false = طافي (الافتراضي true). |
AutoCreateFirstEdition |
false |
Never automatically create placeholder dummy editions. Keep newspapers empty until published by staff. |
Jobs |
table |
Used only if SingleJobMode.enabled = false. |
↳ stdenis_journalist |
"stdenisjournalist" |
إعداد لـ stdenis journalist. |
↳ stdenis_editor |
"stdeniseditor" |
إعداد لـ stdenis editor. |
↳ valentine_journalist |
"valentinejournalist" |
إعداد لـ valentine journalist. |
↳ valentine_editor |
"valentineeditor" |
إعداد لـ valentine editor. |
↳ blackwater_journalist |
"blackwaterjournalist" |
إعداد لـ blackwater journalist. |
↳ blackwater_editor |
"blackwatereditor" |
إعداد لـ blackwater editor. |
JobPublisherMap |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job publisher map. |
↳ Config.Jobs.stdenis_journalist |
1 |
رقم لـ config.jobs.stdenis journalist (الافتراضي 1). |
↳ Config.Jobs.stdenis_editor |
1 |
رقم لـ config.jobs.stdenis editor (الافتراضي 1). |
↳ Config.Jobs.valentine_journalist |
2 |
رقم لـ config.jobs.valentine journalist (الافتراضي 2). |
↳ Config.Jobs.valentine_editor |
2 |
رقم لـ config.jobs.valentine editor (الافتراضي 2). |
↳ Config.Jobs.blackwater_journalist |
3 |
رقم لـ config.jobs.blackwater journalist (الافتراضي 3). |
↳ Config.Jobs.blackwater_editor |
3 |
رقم لـ config.jobs.blackwater editor (الافتراضي 3). |
EditorJobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ editor jobs. |
↳ Config.Jobs.stdenis_editor |
true |
مفتاح لـ config.jobs.stdenis editor: true = شغّال، false = طافي (الافتراضي true). |
↳ Config.Jobs.valentine_editor |
true |
مفتاح لـ config.jobs.valentine editor: true = شغّال، false = طافي (الافتراضي true). |
↳ Config.Jobs.blackwater_editor |
true |
مفتاح لـ config.jobs.blackwater editor: true = شغّال، false = طافي (الافتراضي true). |
PublisherSocieties |
table |
Revenue is always recorded in jrs_newspaper_publishers.funds. If you later connect a society resource, listen to: jrs_newspaper:server:onRevenue(publisherId, societyName, amount, source, transactionId) |
↳ 1 |
"stdenisnews" |
إعداد لـ 1. |
↳ 2 |
"valentinenews" |
إعداد لـ 2. |
↳ 3 |
"blackwaternews" |
إعداد لـ 3. |
NewspaperStands |
table |
جدول عناصر newspaper stands. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
EditorDesks |
table |
Separate desk/archive/investigation points are disabled so all features are consolidated directly into the newspaper stands (Config.NewspaperStands). |
ArchiveLocations |
table |
إحداثيات العالم (x, y, z) لـ archive locations. |
InvestigationLocations |
table |
إحداثيات العالم (x, y, z) لـ investigation locations. |
OfficeNPCGroups |
table |
Optional immersive office NPCs based on the supported newspaper office locations. |
↳ saintdenis |
table |
جدول عناصر saintdenis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
DefaultPublishers |
table |
جدول عناصر default publishers. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 1 |
table |
جدول عناصر 1. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 2 |
table |
جدول عناصر 2. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 3 |
table |
جدول عناصر 3. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
DefaultEditionArticles |
3 |
رقم لـ default edition articles (الافتراضي 3). |
MaxArticleLength |
12000 |
الحد الأعلى لـ max article length. |
MaxTitleLength |
255 |
الحد الأعلى لـ max title length. |
MaxArchiveResults |
50 |
الحد الأعلى لـ max archive results. |
MaxInvestigations |
100 |
الحد الأعلى لـ max investigations. |
ActionCooldownMs |
350 |
إعداد وقت لـ action cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
ملاحظات من ملف README#
# JRS Newspaper
A standalone newspaper system written for `jrs_core` + `jrs_inventory`, verified against `jrs_core v1.0.18`.
## Included systems
- Newspaper stands with NPCs, opening hours, blips and current-edition preview.
- Server-authoritative newspaper purchasing.
- Physical newspaper item with per-copy metadata, so old copies always open the exact edition they belong to.
- Three independent publishers: Saint Denis, Valentine and Blackwater.
- Journalist / Editor permissions from the live `jrs_core` job + grade, with optional core-admin editor access.
- Editorial Desk with draft creation, article editing, advertisements, page expansion and publication.
- Publishing archives the previous current issue automatically.
- Publisher name and cover price configuration by editors.
- Searchable archive with read and physical-copy actions.
- Investigation Board with assignments, status, priority, clues, notes, deadlines and resource requests.
- Editor approval / denial of investigation resource requests.
- Publisher revenue balance and transaction log.
- Revenue integration event for an optional society resource.
- Identity-gated player actions using `jrs_core:IsIdentityReady`.
- Core money/balance/job/grade/group/admin APIs are used directly and refreshed safely after a `jrs_core` restart.
- Character identity is checked through the core before every player-bound server action.
- Open newspaper UIs are force-closed on character unload, core job changes, and core restart so stale permissions cannot remain active.
- Restart-safe usable-item re-registration when `jrs_inventory` restarts.
## Requirements
- RedM
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
Start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_newspaper
'''
## Installation
1. Put the folder in your resources as `jrs_newspaper`.
2. The resource auto-creates/updates its own tables from `sql/jrs_newspaper.sql` on start. You can also import it manually.
3. Copy your item image to the inventory image folder as `jrs_newspaper.png` if you want a custom icon.
4. Check the coordinates and jobs in `config.lua`.
5. Restart `jrs_inventory` once after importing the item row, then start `jrs_newspaper`.
## Default jobs
'''lua
[1] = { jobName = 'stdenisnews', editorGrade = 3, journalistGrade = 0 }
[2] = { jobName = 'valentinenews', editorGrade = 3, journalistGrade = 0 }
[3] = { jobName = 'blackwaternews', editorGrade = 3, journalistGrade = 0 }
'''مجاني (موجود مع JRS Core) jrs_police
jrs_police - RedM police system with recruitment NPCs, rank kits, roster management, Steam admin, NUI and stable lifecycle
| الريسورس | jrs_police |
| المجلد | [JOBS] |
| الإصدار | 2.11.7 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 19,673 Lua lines |
الأوامر
/badge/badgehand/checkreputation/jail/policehorsestats/policemenu/showbadge
الـ Exports
AddExecutionRecord, AddHonor, AddOption, ExtendCharacterSentence, GetCharacterHonor, GetHonor, GetHonorTier, GetJailedPlayers, GetPoliceRosterEntry, GrantPoliceWeaponLicense, HireOfficer, IsClothingBusy, IsOnDutyOfficer, JailPlayer, ReleaseCharacter, ReleasePlayer, RemoveFromPoliceRoster, RemoveHonor, RemoveOfficer, RemoveOption, RevokePoliceWeaponLicense, SetHonor, jrs_policejail
جداول قاعدة البيانات
jrs_communityservice, jrs_integrity, jrs_jail_police, jrs_police_journal, jrs_police_mdt, jrs_police_recruitment, jrs_police_roster, jrs_police_wanted
config/integrity.lua - 103 إعداد#
Police recruitment/hiring itself is NOT duplicated here - jrs_police already
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Honor |
table |
جدول عناصر honor. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Default |
50 |
رقم لـ default (الافتراضي 50). |
↳ Minimum |
0 |
الحد الأدنى أو المستوى المطلوب لـ minimum. |
↳ Maximum |
100 |
الحد الأعلى لـ maximum. |
↳ LowThreshold |
30 |
رقم لـ low threshold (الافتراضي 30). |
↳ ShowDuration |
5000 |
إعداد وقت لـ show duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ ShowOnChange |
true |
يعرض on change: true = نعم، false = لا (الافتراضي true). |
HonorEvents |
table |
How everyday play moves honor. Values are signed amounts; 0 disables an entry. Honor is stored per character in jrs_integrity and survives relogs/restarts. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ PlayerKilled |
-10 |
murdered another player in PvP |
↳ Jailed |
-10 |
sent to jail (officer, admin or auto-jail after a kill) |
↳ SentenceServed |
3 |
sat out the full sentence instead of being released |
↳ WantedPublished |
-5 |
a wanted notice was posted on you while online |
↳ WantedPaidOff |
3 |
cleared your own wanted notice at the kiosk |
↳ Fined |
-3 |
received a police fine / ticket |
↳ QuestCompleted |
1 |
finished a jrs_randomquests mission |
↳ BountyCompleted |
2 |
completed a bounty mission and caught an outlaw |
↳ AnimalHunted |
1 |
base proportional gain for hunting an animal |
↳ AnimalSkinned |
2 |
base proportional gain for skinning/slaughtering an animal |
↳ FarmAnimalSlaughtered |
2 |
base proportional gain for farm animal slaughter |
↳ Passive |
table |
Slow recovery for staying out of trouble: +Amount every IntervalMinutes online while not jailed/wanted, only up to Cap (higher needs donations, cleaning duty or quests). Any honor loss restarts the timer. |
IntegrityCommands |
table |
جدول عناصر integrity commands. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Player |
"integrity" |
إعداد لـ player. |
↳ OfficerCheck |
"checkhonor" |
إعداد لـ officer check. |
↳ EnableAdminCommands |
true |
يشغّل أو يطفّي admin commands (الافتراضي true). |
↳ AdminAce |
"jrs.integrity.admin" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin ace. |
↳ AdminIdentifiers |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin identifiers. |
↳ Add |
"addH" |
إعداد لـ add. |
↳ Remove |
"delH" |
إعداد لـ remove. |
↳ Set |
"setH" |
إعداد لـ set. |
IntegritySecurity |
table |
جدول عناصر integrity security. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ MaximumExternalChange |
100 |
الحد الأعلى لـ maximum external change. |
↳ RequestCooldownMs |
500 |
إعداد وقت لـ request cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CrimeServerCooldownMs |
1500 |
إعداد وقت لـ crime server cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Crime |
table |
جدول عناصر crime. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
↳ RestrictToZones |
false |
If false, killing an innocent human NPC anywhere on the map removes integrity (not just in town centers). |
↳ UseLegacyDetection |
true |
Per-frame detection is retained, but integrity is removed only after a confirmed NPC kill. |
↳ KillAimGraceMs |
350 |
رقم لـ kill aim grace ms (الافتراضي 350). |
↳ KillConfirmationWindowMs |
15000 |
رقم لـ kill confirmation window ms (الافتراضي 15000). |
↳ ShootingNpcPenalty |
2 |
رقم لـ shooting npc penalty (الافتراضي 2). |
↳ ClientCooldownMs |
1500 |
إعداد وقت لـ client cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ ScanIntervalMs |
75 |
إعداد وقت لـ scan interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ UseDamageEvent |
true |
يشغّل أو يطفّي damage event (الافتراضي true). |
↳ AimGraceMs |
2500 |
رقم لـ aim grace ms (الافتراضي 2500). |
↳ RecentShotWindowMs |
2500 |
رقم لـ recent shot window ms (الافتراضي 2500). |
↳ DamageScanRadius |
120.0 |
المسافة بوحدات اللعبة لـ damage scan radius. |
↳ HumanCacheRadius |
140.0 |
المسافة بوحدات اللعبة لـ human cache radius. |
↳ HumanCacheIntervalMs |
200 |
إعداد وقت لـ human cache interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AllowAllHumanNpcs |
true |
يسمح بـ all human npcs: true = نعم، false = لا (الافتراضي true). |
↳ PenalizeAnimals |
false |
true: killing/shooting any non-player ped (humans or animals) removes integrity. false: only human NPCs remove integrity. |
↳ WitnessEnabled |
true |
مفتاح لـ witness enabled: true = شغّال، false = طافي (الافتراضي true). |
↳ WitnessRadius |
20.0 |
المسافة بوحدات اللعبة لـ witness radius. |
↳ WitnessBlipDurationMs |
5000 |
إعداد وقت لـ witness blip duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AllowedPedTypes |
table |
موديل أو كيان في اللعبة يُستخدم لـ allowed ped types. |
LowHonorNpcAggression |
table |
جدول عناصر low honor npc aggression. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ CheckIntervalMs |
1000 |
إعداد وقت لـ check interval ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AttackRadius |
10.0 |
المسافة بوحدات اللعبة لـ attack radius. |
↳ RetargetCooldownMs |
3000 |
إعداد وقت لـ retarget cooldown ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
IntegrityServices |
table |
جدول عناصر integrity services. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ PromptKey |
0x8CC9CD42 |
X / INPUT_CONTEXT_X |
↳ PromptHold |
true |
مفتاح لـ prompt hold: true = شغّال، false = طافي (الافتراضي true). |
↳ RequireServerDistanceValidation |
true |
يتطلب server distance validation: true = نعم، false = لا (الافتراضي true). |
↳ ServerNpcValidationDistance |
7.0 |
المسافة بوحدات اللعبة لـ server npc validation distance. |
↳ InteractDistance |
2.2 |
المسافة بوحدات اللعبة لـ interact distance. |
↳ RequirePoliceJob |
false |
يتطلب police job: true = نعم، false = لا (الافتراضي false). |
↳ PoliceJobs |
table |
Left empty on purpose: isPoliceJob() falls back to the live, already normalized OnDutyJobs global (shared/police_bridge.lua) instead of a snapshot taken before that normalization runs. |
↳ Donation |
table |
جدول عناصر donation. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Cleaning |
table |
جدول عناصر cleaning. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Stations |
table |
eight sheriff towns) a wanted board - see config/online.lua and config/wanted.lua. Coordinates are resolved below from the recruiter office list so the three features can never drift apart again. |
IntegrityCrimeZones |
table |
Town zones where shooting an ambient NPC removes integrity. |
IntegrityCheckAreas |
table |
Areas where low-integrity NPC aggression is active. |
IntegrityTexts |
table |
جدول عناصر integrity texts. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Title |
"السمعة والسلامة" |
نص يظهر للاعب لـ title. غيّره للترجمة أو لتغيير الاسم. |
↳ Current |
"مستوى السمعة الحالي: %s" |
إعداد لـ current. |
↳ Increased |
"ارتفعت السمعة إلى %s" |
إعداد لـ increased. |
↳ Decreased |
"انخفضت السمعة إلى %s" |
إعداد لـ decreased. |
↳ CharacterNotReady |
"بيانات شخصيتك غير جاهزة بعد." |
إعداد لـ character not ready. |
↳ NoPermission |
'ليس لديك صلاحية لاستخدام هذ... |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ no permission. |
↳ InvalidCommand |
'الاستخدام: /%s [معرف اللاعب... |
إعداد لـ invalid command. |
↳ InvalidSetCommand |
'الاستخدام: /%s [معرف اللاعب... |
إعداد لـ invalid set command. |
↳ PlayerNotFound |
"اللاعب غير موجود." |
إعداد لـ player not found. |
↳ DonationSuccess |
'تم قبول التبرع: $%s. ارتفعت... |
إعداد لـ donation success. |
↳ NotEnoughMoney |
"ليس لديك مبلغ كافٍ للتبرع." |
قيمة فلوس لـ not enough money. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ DonationProcessingFailed |
'فشل معالجة التبرع، يرجى الم... |
إعداد لـ donation processing failed. |
↳ IntegrityFull |
'مستوى سمعتك في الحد الأقصى ... |
إعداد لـ integrity full. |
↳ DonationTooLarge |
'اختر مبلغ تبرع أصغر لتجنب ه... |
إعداد لـ donation too large. |
↳ ServiceCooldown |
'يرجى الانتظار %s ثانية قبل ... |
إعداد وقت لـ service cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CleaningStarted |
'بدأت مهمة تنظيف المدينة. تو... |
إعداد لـ cleaning started. |
↳ CleaningInProgress |
"جاري التنظيف..." |
إعداد لـ cleaning in progress. |
↳ CleaningProgress |
"تم تنظيف المنطقة: %s/%s." |
إعداد لـ cleaning progress. |
↳ CleaningCompleted |
'اكتملت مهمة التنظيف. ارتفعت... |
إعداد لـ cleaning completed. |
↳ CleaningCancelled |
"تم إلغاء مهمة التنظيف." |
إعداد لـ cleaning cancelled. |
↳ CleaningAlreadyActive |
"لديك مهمة تنظيف نشطة بالفعل." |
إعداد لـ cleaning already active. |
↳ CleaningNotActive |
"ليس لديك مهمة تنظيف نشطة." |
إعداد لـ cleaning not active. |
↳ CleaningCooldown |
'ستكون مهمة التنظيف متاحة مج... |
إعداد وقت لـ cleaning cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ CleaningInvalidLocation |
"أنت لست في موقع التنظيف الصحيح." |
إحداثيات العالم (x, y, z) لـ cleaning invalid location. |
↳ MustBeOnFoot |
'يجب أن تكون مترجلاً لتنظيف ... |
إعداد لـ must be on foot. |
↳ TooFarFromStation |
"اقترب أكثر من موظف المركز." |
إعداد لـ too far from station. |
↳ PoliceOnly |
'هذه الخدمة مخصصة لرجال الشر... |
إعداد لـ police only. |
config/main.lua - 32 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Lang |
"Arabic" |
Live core settings only. Dead legacy UI/shop options were removed so every exposed value below has a runtime consumer. |
nameMenu |
"Police Menu" |
نص يظهر للاعب لـ name menu. غيّره للترجمة أو لتغيير الاسم. |
Menu_command |
"police" |
إعداد لـ menu command. |
onduty_command |
"onduty" |
إعداد لـ onduty command. |
offduty_command |
"offduty" |
إعداد لـ offduty command. |
jailCommand |
"policejail" |
إعداد لـ jail command. |
unjailCommand |
"policeunjail" |
إعداد لـ unjail command. |
Start_outfit |
true |
Police uniforms are bundled. Restoring the civilian outfit can optionally use an external command; if the command is unavailable the script will fail safely and show a NUI warning instead of silently breaking. |
RestoreOutfitCommand |
"" |
إعداد لـ restore outfit command. |
STATION BLIPS & STATUS SYSTEM
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
StationBlips |
table |
إعدادات علامة الخريطة أو الأيقونة لـ station blips. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Key |
0x760A9C6F |
[G] key to toggle station status |
↳ RequireOnDuty |
false |
If false, officers of this department can toggle even if off-duty |
↳ ShowStatusInName |
true |
Appends [مفتوح] / [مغلق] to the blip label on the map |
↳ Scale |
0.8 |
نسبة أو مضاعف لـ scale. |
↳ Locations |
table |
إحداثيات العالم (x, y, z) لـ locations. |
Blips |
Config.StationBlips.Location... |
إعدادات علامة الخريطة أو الأيقونة لـ blips. |
blip |
Config.StationBlips.Location... |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
Key |
Config.StationBlips.Key |
الزر أو التحكم المستخدم لـ key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
jrs_idcard |
true |
If you have this jrs_idcard script, you can activate the option. This option allows you to send information and images of the player you are looking for in the archive. |
IdCardDefaultImage |
'nui://jrs_police/html/img/p... |
إعداد لـ id card default image. |
bank |
table |
Deposits collected fines into the jrs_banking personal account of the charidentifier configured below for the officer's city (Config.BankFine). Requires jrs_banking to be started. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
BankFine |
table |
قيمة فلوس لـ bank fine. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
MenuKeybind |
"U" |
ConfigPoliceRadial.KeybindJS in config/police.lua. It never opens the MDT menu directly; the MDT is reached from inside the radial ("Records") or via the /police chat command. |
EnableMenuKey |
false |
Legacy PAGE UP raw-control hijack, kept disabled in favor of Config.MenuKeybind above. |
kyemenu |
0x446258B6 |
pgUP (only used when Config.EnableMenuKey is true) |
Limit |
table |
الحد الأعلى لـ limit. |
↳ Money |
1000 |
Max amount of money that can be stolen (set to false for no limit) |
↳ Weapons |
1000 |
Max number of weapons that can be stolen (set to false for no limit) |
↳ Items |
1000 |
Max number of items that can be stolen (set to false for no limit) |
ItemsBlackList |
table |
Blacklist of items and weapons that cannot be stolen |
مدفوع (السيرفر فقط) jrs_polls
استفتاءات وتصويت: تصويت للسيرفر من الأدمن، وتصويت للمدينة من الحكّام (يصوّت المواطنين)، صوت واحد لكل شخصية
| الريسورس | jrs_polls |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 335 سطر Lua |
جداول قاعدة البيانات
jrs_poll_votes, jrs_polls
config.lua - 15 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Command |
"polls" |
إعداد لـ command. |
AdminGroups |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin groups. |
Cities |
table |
City ids exactly as in jrs_government's Config.Cities. A governor, deputy or owner of a city may open polls for that city; only its citizens vote. |
↳ valentine |
'Valentine', strawberry = 'S... |
إعداد لـ valentine. |
↳ saintdenis |
'Saint Denis', annesburg = '... |
إعداد لـ saintdenis. |
DeputiesCanCreate |
true |
Let deputies open city polls too. |
MaxQuestionLength |
150 |
الحد الأعلى لـ max question length. |
MaxOptionLength |
60 |
الحد الأعلى لـ max option length. |
MinOptions |
2 |
الحد الأدنى أو المستوى المطلوب لـ min options. |
MaxOptions |
6 |
الحد الأعلى لـ max options. |
MinHours |
1 |
الحد الأدنى أو المستوى المطلوب لـ min hours. |
MaxHours |
168 |
الحد الأعلى لـ max hours. |
MaxActivePerCity |
3 |
الحد الأعلى لـ max active per city. |
ShowResultsBeforeVoting |
false |
false: you see the numbers after you vote (or when it closes) |
KeepClosedDays |
7 |
closed polls stay visible this long |
مدفوع (السيرفر فقط) jrs_publicjobs
الوظايف العامة JRS - أعمال يومية ونشاطات شغل
| الريسورس | jrs_publicjobs |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS Team |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 2,210 Lua lines |
config.lua - 30 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Align |
"top-left" |
align to menu |
Lang |
"ar" |
'en', 'ar' |
MaxSpeed |
1.5 |
number (Maximum walking speed while characters are carrying) |
InteractKey |
0x760A9C6F |
[G] key (standard non-conflicting interaction key) |
HoldDuration |
800 |
ms to hold prompt (avoids conflicts with other scripts) |
MULTIJOB SETTINGS
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
JobName |
"publicjobs" |
Multijob internal identifier |
RequireJob |
true |
STRICT: Player MUST have 'publicjobs' active in multijob to start tasks! |
BonusForJobHolders |
1.25 |
25% bonus cash and XP |
LOCATIONS
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Locations |
table |
إحداثيات العالم (x, y, z) لـ locations. |
KEYS
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Keys |
table |
الزر أو التحكم المستخدم لـ keys. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ InteractJob |
"INPUT_INTERACT_OPTION1" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ interact job. |
NAVIGATION COLORS
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
NavigationColors |
table |
جدول عناصر navigation colors. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Blip |
"BLIP_MODIFIER_MP_COLOR_11" |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
↳ Route |
"COLOR_PLATFORM_GREEN" |
إعداد لـ route. |
JOB SPECIFIC BLIPS & NAVIGATION
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
JobBlips |
table |
إعدادات علامة الخريطة أو الأيقونة لـ job blips. |
↳ Labour |
table |
جدول عناصر labour. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Distribute |
table |
جدول عناصر distribute. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Sweep |
table |
جدول عناصر sweep. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Sharpen |
table |
جدول عناصر sharpen. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ChopWood |
table |
جدول عناصر chop wood. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ WaterCarrying |
table |
جدول عناصر water carrying. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
PROGRESBAR
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ProgressBar |
table |
جدول عناصر progress bar. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ type |
"innercircle" |
إعداد لـ type. |
↳ color |
"#0A4F05" |
إعداد لـ color. |
PUBLIC JOBS
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Labour |
table |
جدول عناصر labour. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Distribute |
table |
جدول عناصر distribute. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Sweep |
table |
جدول عناصر sweep. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Sharpen |
table |
جدول عناصر sharpen. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ChopWood |
table |
جدول عناصر chop wood. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
WaterCarrying |
table |
جدول عناصر water carrying. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مجاني (موجود مع JRS Core) jrs_railroad
السكك الحديدية في JRS Core - اشترِ وشغّل القطارات والشركات والبضائع والركاب والتذاكر
| الريسورس | jrs_railroad |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | en |
| حجم الكود | 8,394 Lua lines |
الأوامر
/setjunction/trainpos/trainrobbery
جداول قاعدة البيانات
IF, railroad_companies, railroad_companies_owned, railroad_company_supplies, railroad_company_upgrades, railroad_employees, railroad_rewards, railroad_trains
مجاني (موجود مع JRS Core) jrs_samples
عيّنات الحيوانات في JRS Core - خدّر الحيوانات واجمع العيّنات، مع لوحة متصدرين وإنجازات
| الريسورس | jrs_samples |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | /onesync, jrs_core, oxmysql |
| الواجهة | لا |
| حجم الكود | 1,631 Lua lines |
الأوامر
/samplesmenu/setfeatured
جداول قاعدة البيانات
jrs_samples
config.lua - 24 إعداد#
JRS SAMPLES — Configuration
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Language |
"en" |
'en' أو 'ar' |
Debug
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
DebugClient |
false |
Print client-side debug logs to F8 console |
DebugServer |
false |
Print server-side debug logs to server console |
قاعدة البيانات
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
AutoInstallDB |
true |
create the jrs_samples table automatically on resource start |
Sample Collection
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
StoreSampleData |
true |
false = no DB writes; collections kept in memory until restart (testing only) |
SampleHoldTime |
4000 |
ms — how long to hold the prompt to collect |
AnimalCleanupTime |
90000 |
ms — how long before a sedated animal recovers (90s) |
SampleCooldown |
3000 |
ms — server-side minimum gap between a player's sample submissions (anti-spam/exploit) |
Leaderboard location (prompt)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
LeaderboardLocation |
table |
Place this sphere at a naturalist camp, doctor's office, or any RP-fitting location. Adjust coords and heading to match your map layout. |
↳ coords |
vector3(-280.45, 758.23, 118... |
Example: Valentine area — change to fit your server |
↳ heading |
180.0 |
رقم لـ heading (الافتراضي 180.0). |
↳ radius |
1.5 |
المسافة بوحدات اللعبة لـ radius. |
Map Blip (shown at the leaderboard target location)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
ShowBlip |
true |
Set Config.ShowBlip = false to hide it entirely. BlipSprite / BlipColor accept RDR3 blip names (joaat'd automatically). |
BlipSprite |
"blip_shop_trapper" |
blip sprite name (or hash) |
BlipColor |
"BLIP_MODIFIER_MP_COLOR_8" |
blip colour modifier ('' = default) |
BlipScale |
0.2 |
إعدادات علامة الخريطة أو الأيقونة لـ blip scale. |
Milestone Rewards
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
MilestoneRewards |
table |
When a player's personal total sample count hits a key, they receive bonus cash + notify. Keys must be integers (sample counts). Set to {} to disable milestones entirely. |
↳ 5 |
table |
جدول عناصر 5. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 10 |
table |
جدول عناصر 10. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 25 |
table |
جدول عناصر 25. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ 50 |
table |
جدول عناصر 50. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
First Discovery Bonus
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
FirstDiscoveryBonus |
500 |
Extra cash awarded to the FIRST player EVER to collect a particular animal sample. Set to 0 to disable. |
Featured Animal
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
FeaturedAnimal |
"" |
e.g. 'bear', 'moose', 'bison' — must match a name in hashToAnimalMap (server/main.lua) |
FeaturedMultiplier |
2 |
reward is multiplied by this when sampling the featured animal |
مجاني (موجود مع JRS Core) jrs_smelting
الصهر في JRS Core - حوّل الخام من jrs_mining إلى سبائك في الأفران
| الريسورس | jrs_smelting |
| المجلد | [JOBS] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory, jrs_progressbar |
| الواجهة | لا |
| حجم الكود | 1,023 Lua lines |
config.lua - 8 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Language |
"en" |
'en' أو 'ar' |
SpawnDistance |
50.0 |
smelter NPC appears inside this radius |
UseDistance |
2.5 |
نطاق الـ prompt |
MaxBatch |
20 |
bars per smelt |
Job |
nil |
e.g. 'blacksmith' to lock smelting to one job (nil = everyone) |
Smelters |
table |
add more: { label, model, coords = vector4(x, y, z, heading), scenario, blip } |
BlipSprite |
"blip_shop_blacksmith" |
إعدادات علامة الخريطة أو الأيقونة لـ blip sprite. |
Recipes |
table |
Uses the items jrs_mining gives. time = ms per bar. |
مدفوع (السيرفر فقط) jrs_stashes
المخازن في jrs core - مخازن مشتركة تنشرى وتنحط لـ jrs_core / jrs_inventory
| الريسورس | jrs_stashes |
| المجلد | [JOBS] |
| الإصدار | 1.4.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 2,652 Lua lines |
الـ Exports
AdminRemovePropertyStash, BeginPropertyPlacement, CountPropertyStashes, CreatePropertyStashDirect, GetPropertyStashes, GetPropertyStashesDetailed, RefreshAccess, ReloadStashes, RemoveAllPropertyStashes, RemovePropertyStash, SetPropertyStashSingleSize, SetPropertyStashSize
جداول قاعدة البيانات
jrs_stashes
config/config.lua - 76 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
Commands |
table |
جدول عناصر commands. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Create |
"createstash" |
إعداد لـ create. |
↳ Remove |
"removestash" |
إعداد لـ remove. |
OpenKey |
0x0522B243 |
RedM controls used while standing near a stash. |
ManageKey |
0x5415BE48 |
Deprecated: stash management now opens from the same world prompt. |
Prompt |
table |
Native RedM prompt shown while standing near an accessible stash. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Text |
"Open Stash Menu" |
نص يظهر للاعب لـ text. غيّره للترجمة أو لتغيير الاسم. |
↳ GroupText |
"Stash" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group text. |
↳ Hold |
false |
مفتاح لـ hold: true = شغّال، false = طافي (الافتراضي false). |
Object |
table |
Physical object spawned at every stash location. Model can be changed without touching client/server code. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Model |
"p_chest01x" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ FallbackModels |
table |
موديل أو كيان في اللعبة يُستخدم لـ fallback models. |
↳ SpawnDistance |
70.0 |
المسافة بوحدات اللعبة لـ spawn distance. |
↳ DespawnDistance |
85.0 |
المسافة بوحدات اللعبة لـ despawn distance. |
↳ ZOffset |
0.0 |
رقم لـ z offset (الافتراضي 0.0). |
↳ Freeze |
true |
مفتاح لـ freeze: true = شغّال، false = طافي (الافتراضي true). |
↳ Collision |
true |
مفتاح لـ collision: true = شغّال، false = طافي (الافتراضي true). |
PropertyStash |
table |
House stashes placed from the jrs_housing property menu. Count and capacity per house come from jrs_housing (Config.PropertyStashes); this is the prop. |
↳ Model |
"p_storagebox01x" |
موديل أو كيان في اللعبة يُستخدم لـ model. |
↳ FallbackModels |
table |
موديل أو كيان في اللعبة يُستخدم لـ fallback models. |
↳ Models |
table |
Available storage furniture models player can cycle through with [R]: |
↳ MinDistance |
1.5 |
House boxes may stand this close to another stash (several fit in one room). |
Move |
table |
Owner-only stash relocation & placement: matches housing furniture theme exactly. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ PreviewDistance |
1.3 |
المسافة بوحدات اللعبة لـ preview distance. |
↳ PreviewAlpha |
170 |
رقم لـ preview alpha (الافتراضي 170). |
↳ RotateSpeed |
90.0 |
رقم لـ rotate speed (الافتراضي 90.0). |
↳ Keys |
table |
الزر أو التحكم المستخدم لـ keys. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ ConfirmKey |
0x760A9C6F |
الزر أو التحكم المستخدم لـ confirm key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ CancelKey |
0x156F7119 |
الزر أو التحكم المستخدم لـ cancel key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ GroupText |
"House Stash" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ group text. |
↳ ConfirmText |
"Place Stash" |
نص يظهر للاعب لـ confirm text. غيّره للترجمة أو لتغيير الاسم. |
↳ CancelText |
"Cancel" |
نص يظهر للاعب لـ cancel text. غيّره للترجمة أو لتغيير الاسم. |
↳ NextText |
"Change Furniture" |
نص يظهر للاعب لـ next text. غيّره للترجمة أو لتغيير الاسم. |
↳ RotateText |
"Rotate" |
نص يظهر للاعب لـ rotate text. غيّره للترجمة أو لتغيير الاسم. |
↳ ServerConfirmDistance |
4.0 |
المسافة بوحدات اللعبة لـ server confirm distance. |
InteractionDistance |
2.0 |
المسافة بوحدات اللعبة لـ interaction distance. |
ServerInteractionDistance |
4.0 |
المسافة بوحدات اللعبة لـ server interaction distance. |
RemoveDistance |
5.0 |
المسافة بوحدات اللعبة لـ remove distance. |
MinimumStashDistance |
3.0 |
المسافة بوحدات اللعبة لـ minimum stash distance. |
SyncDistance |
150.0 |
reserved for future scoped sync; current sync remains authoritative for all stashes. |
MaxStashUsers |
999 |
الحد الأعلى لـ max stash users. |
MaxStorageSize |
1000000 |
الحد الأعلى لـ max storage size. |
MaxPriceMoney |
100000000 |
قيمة فلوس لـ max price money. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
MaxPriceGold |
1000000 |
قيمة فلوس لـ max price gold. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
DepositRules |
table |
Controls what can be deposited into REDEMPIRE stashes. These rules apply to the owner and all authorized users and are enforced server-side. Normal items are always allowed; use per-user permissions to control who may deposit them |
↳ Money |
true |
cash |
↳ Gold |
true |
ذهب |
↳ DirtyMoney |
true |
dirty money |
↳ Weapons |
true |
weapons |
Blips |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blips. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Sprite |
1151744703 |
إعدادات علامة الخريطة أو الأيقونة لـ sprite. |
↳ ForSaleLabel |
"Stash For Sale" |
نص يظهر للاعب لـ for sale label. غيّره للترجمة أو لتغيير الاسم. |
↳ OwnedLabel |
"Your Stash" |
نص يظهر للاعب لـ owned label. غيّره للترجمة أو لتغيير الاسم. |
↳ HouseStashes |
true |
House stashes (jrs_housing): shown to the owner and key holders. |
↳ HouseLabel |
"House Stash" |
نص يظهر للاعب لـ house label. غيّره للترجمة أو لتغيير الاسم. |
AdminGroups |
table |
jrs_core groups allowed to use /createstash and /removestash. |
↳ owner |
true |
مفتاح لـ owner: true = شغّال، false = طافي (الافتراضي true). |
↳ admin |
true |
مفتاح لـ admin: true = شغّال، false = طافي (الافتراضي true). |
AllowedIdentifiers |
table |
Optional explicit identifiers. Supports steam:, license:, fivem:, etc. |
Items |
table |
Usable items that create an already-owned stash at the player's position. |
↳ Create |
"" |
إعداد لـ create. |
↳ Remove |
"" |
إعداد لـ remove. |
↳ Ownership |
"" |
إعداد لـ ownership. |
↳ Move |
"" |
إعداد لـ move. |
↳ Deposit |
"" |
قيمة فلوس لـ deposit. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ Withdraw |
"" |
إعداد لـ withdraw. |
↳ AllowCustom |
true |
Owners can add a per-stash Discord webhook from the management UI. |
Text |
table |
نص يظهر للاعب لـ text. غيّره للترجمة أو لتغيير الاسم. |
↳ Open |
"Open Stash" |
إعداد لـ open. |
↳ Buy |
"Buy Stash" |
إعداد لـ buy. |
↳ Manage |
"Manage Stash" |
إعداد لـ manage. |
ملاحظات من ملف README#
# jrs_stashes
REDEMPIRE-native stash system rebuilt for `jrs_core` + `jrs_inventory`.
## Features
- Admin `/createstash` UI: size, cash price, gold price.
- `/removestash <id>` with permission + distance validation.
- For-sale stash purchase using cash, gold, or free ownership.
- Owner management menu: add/remove authorized players and set a custom Discord webhook.
- `Stash1` / `Stash2` usable items create personal stashes using the configured capacity, optional cash/gold placement fee, and `DeleteOnUse` behavior.
- Opens the native `jrs_inventory` storage UI, so items, weapons, cash, gold and dirty money follow inventory config and security rules.
- Server-authoritative access, ownership, distance and purchase validation.
- Low-idle client loop with dynamic sleep.
- Optional blips for for-sale and owned stashes.
- Global and per-stash logs. Per-stash item movement logs require the included patched `jrs_inventory` build.
## Install
1. Import `sql/jrs_stashes.sql`.
2. Put `jrs_stashes` in resources.
3. Ensure start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_stashes
'''
4. Configure admin groups / allowed identifiers and webhooks in `config.lua`.
## Inventory integration
Every stash maps to a storage key like `jrs_stash:12` and uses:
- `jrs_inventoryApi().createstorage`
- `jrs_inventoryApi().openstorage`
- `jrs_inventoryApi().updatestorage`
The included updated `jrs_inventory` emits a server-local `jrs_inventory:server:storageTransaction` event after successful storage transactions so custom stash
## v1.0.2
- Removed dependency on the table returned by `jrs_inventoryApi()`.
- Usable stash items now register through `jrsCore:registerUsableItem`, which is the server event implemented by `jrs_inventory`.
- Storage/item operations now call the direct `jrs_inventory` exports.
- Fixes startup error: `jrs_inventory usable-item API is unavailable`.
## v1.0.3 - Per-user stash permissions
- Every authorized stash user now has an individual access level:
- `deposit`: can put items/weapons/currencies into the stash but cannot take anything out.
- `withdraw`: can take items/weapons/currencies out but cannot put anything in.
- `full`: can deposit and withdraw.
- The stash owner always has `full` access and cannot be downgraded.
- Owners can choose the access level when adding a player and can change it later from the same management UI.
- Permission checks are server-authoritative and apply to items, weapons, cash, gold, and dirty money.
- Existing authorized users created before v1.0.3 automatically keep `full` access; no SQL migration is required.
- Requires the included `jrs_inventory` v1.6.7 permission-hook build for transfer enforcement.مدفوع (السيرفر فقط) jrs_train
| الريسورس | jrs_train |
| المجلد | [JOBS] |
| الإصدار | 2.5.3-jrs |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 8,062 Lua lines |
الأوامر
/-jrs_train_track_left/-jrs_train_track_right/jrs_train_menu/ticketgps
الـ Exports
BacchusBridgeDestroyed, CheckIfTrainIsSpawned, FindNearestTicketBooth, ForceExitSitting, GetTrainEntity, PlayTrainWhistleSafe
جداول قاعدة البيانات
train
config/config.lua - 139 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
defaultlang |
"ar" |
إعداد لـ defaultlang. |
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
ConductorJob |
"conductor" |
job title of who can spawn a train |
CruiseControl |
false |
set true if you want to allow cruise control |
TrainControls |
table |
جدول عناصر train controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ OpenMenuKey |
"L" |
Labels shown in the NUI |
↳ TrackLeftKey |
"A" |
الزر أو التحكم المستخدم لـ track left key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ TrackRightKey |
"D" |
الزر أو التحكم المستخدم لـ track right key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ AccelerateKey |
"W" |
الزر أو التحكم المستخدم لـ accelerate key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ BrakeReverseKey |
"S" |
الزر أو التحكم المستخدم لـ brake reverse key. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ RemapMovement |
true |
Remap the locomotive's native Left Shift / Left Ctrl controls to W / S. |
↳ OpenMenuControl |
0x80F28E95 |
Native RedM input hashes read from the keyboard. |
↳ TrackLeftControl |
0x7065027D |
الزر أو التحكم المستخدم لـ track left control. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ TrackRightControl |
0xB4E465B4 |
الزر أو التحكم المستخدم لـ track right control. أزرار التحكم قيم hash من قائمة مدخلات اللعبة. |
↳ AccelerateControl |
0x8FD015D8 |
W / INPUT_MOVE_UP_ONLY |
↳ BrakeReverseControl |
0xD27782E3 |
S / INPUT_MOVE_DOWN_ONLY |
↳ NativeAccelerateControl |
0x8FFC75D6 |
Left Shift / INPUT_SPRINT |
↳ NativeBrakeReverseControl |
0xDB096B85 |
Left Ctrl / INPUT_DUCK |
TrainPreview |
table |
جدول عناصر train preview. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ UseCurrentStation |
true |
preview the train on the current station track |
↳ Direction |
false |
مفتاح لـ direction: true = شغّال، false = طافي (الافتراضي false). |
↳ CameraDistance |
26.0 |
المسافة بوحدات اللعبة لـ camera distance. |
↳ MinCameraDistance |
12.0 |
المسافة بوحدات اللعبة لـ min camera distance. |
↳ MaxCameraDistance |
42.0 |
المسافة بوحدات اللعبة لـ max camera distance. |
↳ CameraHeight |
5.4 |
رقم لـ camera height (الافتراضي 5.4). |
↳ LookAtHeight |
1.8 |
رقم لـ look at height (الافتراضي 1.8). |
↳ CameraFov |
38.0 |
رقم لـ camera fov (الافتراضي 38.0). |
↳ StartAngle |
90.0 |
رقم لـ start angle (الافتراضي 90.0). |
↳ RotateStep |
12.0 |
رقم لـ rotate step (الافتراضي 12.0). |
↳ ZoomStep |
2.5 |
رقم لـ zoom step (الافتراضي 2.5). |
↳ LoadTimeout |
15000 |
إعداد وقت لـ load timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ Coords |
table |
Used only when UseCurrentStation is false. |
FuelSettings |
table |
جدول عناصر fuel settings. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ TrainFuelItem |
"coal" |
db name of the item needed to fuel the train |
↳ TrainFuelItemDisplayName |
"Coal" |
اسم الايتم المعروض |
↳ TrainFuelItemAmount |
1 |
How many of the item it will take to fuel the train |
↳ FuelDecreaseTime |
30000 |
time in ms of how often the trains fuel goes down |
↳ FuelDecreaseAmount |
1 |
amount of fuel to decrease |
ConditionSettings |
table |
جدول عناصر condition settings. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ TrainCondItem |
"trainoil" |
db name of the item needed to repair the train |
↳ TrainCondItemDisplayName |
"Train Oil" |
اسم الايتم المعروض |
↳ TrainCondItemAmount |
1 |
How many of the item it will take to repair the train |
↳ CondDecreaseTime |
30000 |
time in ms of how often the trains condition goes down |
↳ CondDecreaseAmount |
1 |
amount of cond to decrease |
PassengerJob |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ passenger job. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ KeepRoutesInRegion |
true |
keeps western and eastern rail networks separate |
↳ MinPassengers |
3 |
الحد الأدنى أو المستوى المطلوب لـ min passengers. |
↳ MaxPassengers |
6 |
الحد الأعلى لـ max passengers. |
↳ StartRadius |
55.0 |
المسافة بوحدات اللعبة لـ start radius. |
↳ ArrivalRadius |
45.0 |
المسافة بوحدات اللعبة لـ arrival radius. |
↳ RequiredStopSpeed |
0.8 |
رقم لـ required stop speed (الافتراضي 0.8). |
↳ BoardingWalkTime |
3500 |
رقم لـ boarding walk time (الافتراضي 3500). |
↳ TurnaroundDelay |
8000 |
إعداد وقت لـ turnaround delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ PedCleanupDelay |
12000 |
إعداد وقت لـ ped cleanup delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ BasePay |
0.42 |
Server-side fare calculation |
↳ PayPerPassenger |
0.10 |
قيمة فلوس لـ pay per passenger. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ PayPerKilometer |
0.14 |
قيمة فلوس لـ pay per kilometer. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ MinimumTripTime |
20 |
الحد الأدنى أو المستوى المطلوب لـ minimum trip time. |
↳ PedModels |
table |
موديل أو كيان في اللعبة يُستخدم لـ ped models. |
BacchusBridgeDestroying |
table |
جدول عناصر bacchus bridge destroying. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ enabled |
true |
if true you will be able to blow up bacchus bridge! |
↳ coords |
table |
coords of where you have to place the dynamite |
↳ dynamiteItem |
"dynamite" |
db name of the dynamite item |
↳ dynamiteItemAmount |
2 |
amount needed to explode the bridge |
↳ explosionTimer |
30000 |
time before the explosion happens |
Trains |
table |
جدول عناصر trains. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
TrainDespawnDist |
200 |
the maximum dist the conductor can be before the train despawns |
StationBlipHash |
-1505442625 |
set the blip hash |
StationBlipColor |
"BLIP_MODIFIER_MP_COLOR_32" |
White (RDO standard) |
Stations |
table |
جدول عناصر stations. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
TicketBooth |
table |
جدول عناصر ticket booth. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Item |
"train_ticket" |
أغراض المخزون المستخدمة في item. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ GeneralTicketPrice |
2.50 |
قيمة فلوس لـ general ticket price. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ ConsumeOnTrip |
true |
مفتاح لـ consume on trip: true = شغّال، false = طافي (الافتراضي true). |
↳ Blip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
↳ Destinations |
table |
جدول عناصر destinations. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
LargeTrain |
table |
جدول عناصر large train. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ RouteName |
"big_loop" |
نص يظهر للاعب لـ route name. غيّره للترجمة أو لتغيير الاسم. |
↳ AllowConductorTakeover |
true |
يسمح بـ conductor takeover: true = نعم، false = لا (الافتراضي true). |
↳ WhistleOnArrival |
true |
مفتاح لـ whistle on arrival: true = شغّال، false = طافي (الافتراضي true). |
↳ WhistleOnDeparture |
true |
مفتاح لـ whistle on departure: true = شغّال، false = طافي (الافتراضي true). |
↳ StopDuration |
60 |
1 minute stop at every station |
↳ TicketCheckDistance |
15.0 |
المسافة بوحدات اللعبة لـ ticket check distance. |
↳ Blip |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blip. |
OnDemandTravel |
table |
جدول عناصر on demand travel. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ RequireTicketItem |
true |
If true, player MUST have a ticket item in inventory; if false, player can travel using ticket OR pay cash directly |
↳ RequireAtTicketBooth |
true |
Player MUST be standing at the station ticket booth window |
↳ MaxDistanceToTicketBooth |
3.5 |
Maximum meters from ticket window to initiate travel |
↳ AllowSkip |
false |
Disabled: [E] does not skip train journeys |
↳ RelocateHorse |
true |
Automatically move player's active horse to destination station |
↳ NotifyConductors |
true |
Send dispatch alert to online conductors |
↳ ConductorWaitTimeout |
10 |
Seconds before auto train departs if no conductor takes the dispatch |
↳ TrainApproachEnabled |
true |
Train approaches smoothly along tracks to the platform instead of spawning on player's face |
↳ TrainApproachSpeed |
10.0 |
Speed (m/s) when approaching platform |
↳ DepartureWaitSeconds |
6 |
Seconds train waits at destination platform after disembarkation before departing |
↳ DepartureDespawnDistance |
160.0 |
Distance (meters) train moves away before despawning cleanly |
↳ StationMasterNPC |
table |
جدول عناصر station master npc. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
TrainRobbery |
table |
Idea 1: Train Robbery / Safe Heist (Without AI bots) |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ MinimumPolice |
1 |
Minimum online lawmen required (police, sheriff, marshal) |
↳ CooldownMinutes |
30 |
Cooldown between robberies in minutes |
↳ ExplosionTimerSeconds |
25 |
Seconds after planting dynamite before the safe blows |
↳ RequiredItem |
"dynamite" |
Item required to breach the safe |
↳ MinCash |
150.0 |
قيمة فلوس لـ min cash. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ MaxCash |
400.0 |
قيمة فلوس لـ max cash. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ RewardItems |
table |
قيمة فلوس لـ reward items. المكافآت تمر على مضاعف الاقتصاد في jrs_core. |
↳ CarriageIndex |
1 |
Baggage / freight car |
↳ LawJobs |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ law jobs. |
↳ BlipDuration |
60 |
Seconds the emergency police blip flashes on the map |
TrainFreightStash |
table |
Idea 2: Freight & Mail Cargo Stash |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ CarriageIndex |
1 |
Baggage car |
↳ Capacity |
500 |
Maximum storage limit in kg |
↳ StashId |
"train_freight_bigloop" |
إعداد لـ stash id. |
DiningCar |
table |
Idea 4: Dining Car / Saloon Refreshments |
مدفوع (السيرفر فقط) jrs_truck
هيكل شاحنة مخصص وآمن للشبكة لـ RedM باستخدام jrs_core و jrs_inventory
| الريسورس | jrs_truck |
| المجلد | [JOBS] |
| الإصدار | 2.9.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | لا |
| اللغات | ar, en |
| حجم الكود | 2,645 Lua lines |
config/config.lua - 130 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ debug: true = نعم، false = لا (الافتراضي false). |
REDEMPIRE |
table |
جدول عناصر redempire. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ CoreResource |
"jrs_core" |
إعداد لـ core resource. |
↳ InventoryResource |
"jrs_inventory" |
إعداد لـ inventory resource. |
↳ ItemName |
"truckr" |
أغراض المخزون المستخدمة في item name. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ CloseInventoryOnUse |
true |
مفتاح لـ close inventory on use: true = شغّال، false = طافي (الافتراضي true). |
↳ RegistrationDelay |
1500 |
إعداد وقت لـ registration delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ RegistrationAttempts |
20 |
رقم لـ registration attempts (الافتراضي 20). |
↳ RegistrationRetryDelay |
1000 |
إعداد وقت لـ registration retry delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ NotificationDuration |
4000 |
إعداد وقت لـ notification duration. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Network |
table |
جدول عناصر network. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ EntityRegistrationTimeout |
1500 |
Time allowed for a created entity to receive a network object. |
↳ EntityRegistrationRetryDelay |
25 |
إعداد وقت لـ entity registration retry delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Spawn |
table |
إحداثيات العالم (x, y, z) لـ spawn. |
↳ BaseVehicleModel |
"coach4" |
موديل أو كيان في اللعبة يُستخدم لـ base vehicle model. |
↳ BodyModel |
"f15078" |
موديل أو كيان في اللعبة يُستخدم لـ body model. |
↳ WheelModel |
"f15078wheel" |
موديل أو كيان في اللعبة يُستخدم لـ wheel model. |
↳ DistanceInFront |
4.0 |
المسافة بوحدات اللعبة لـ distance in front. |
↳ HeightOffset |
0.15 |
رقم لـ height offset (الافتراضي 0.15). |
↳ ClearRadius |
3.0 |
المسافة بوحدات اللعبة لـ clear radius. |
↳ WarpIntoDriverSeat |
false |
مفتاح لـ warp into driver seat: true = شغّال، false = طافي (الافتراضي false). |
↳ ModelLoadTimeout |
10000 |
إعداد وقت لـ model load timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ RegistrationDelay |
300 |
إعداد وقت لـ registration delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ DefaultEngineState |
false |
مفتاح لـ default engine state: true = شغّال، false = طافي (الافتراضي false). |
↳ OneTruckPerPlayer |
true |
مفتاح لـ one truck per player: true = شغّال، false = طافي (الافتراضي true). |
BaseVehicleGuard |
table |
جدول عناصر base vehicle guard. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ DontAutoCreateDraftAnimals |
false |
Must remain false. RedM wagons need a draft animal for normal entry and driving. The horse is kept attached and made transparent instead of being deleted. |
↳ ForceDraftAnimalAutoCreation |
true |
يفرض draft animal auto creation: true = نعم، false = لا (الافتراضي true). |
↳ RequireDraftAnimal |
true |
يتطلب draft animal: true = نعم، false = لا (الافتراضي true). |
↳ MinimumDraftAnimals |
1 |
الحد الأدنى أو المستوى المطلوب لـ minimum draft animals. |
↳ DraftHarnessSlots |
6 |
الحد الأعلى لـ draft harness slots. |
↳ DraftAnimalSpawnTimeout |
3500 |
إعداد وقت لـ draft animal spawn timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ DraftAnimalSpawnRetryDelay |
50 |
إعداد وقت لـ draft animal spawn retry delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ HideBaseVehicle |
true |
Keep coach4 rendered but fully transparent. Do not use SetEntityVisible(false), because RedM may hide attached truck objects together with the parent. |
↳ BaseVehicleAlpha |
0 |
رقم لـ base vehicle alpha (الافتراضي 0). |
↳ HideDraftAnimals |
true |
Keep harness animals alive and attached for vehicle functionality. Using the visibility flag (not only alpha 0) also hides most reins/harness geometry. |
↳ UseDraftAnimalVisibilityFlag |
true |
يشغّل أو يطفّي draft animal visibility flag (الافتراضي true). |
↳ DraftAnimalAlpha |
0 |
موديل أو كيان في اللعبة يُستخدم لـ draft animal alpha. |
↳ HideDraftAnimalReins |
true |
يخفي draft animal reins: true = نعم، false = لا (الافتراضي true). |
↳ HarnessRopeGuard |
table |
Wagon harness traces are PHYSICS rope objects and are separate from the horse rein geometry handled by _HIDE_PED_REINS. Detect only ropes whose endpoints connect this coach/front area to its hidden draft animal. |
↳ DisableDraftAnimalCollision |
true |
The harness horse remains logically attached so native wagon controls work, but it must not create an invisible collision area in front of the truck. |
↳ CompletelyDisableDraftAnimalCollision |
true |
مفتاح لـ completely disable draft animal collision: true = شغّال، false = طافي (الافتراضي true). |
↳ KeepDraftAnimalPhysics |
true |
مفتاح لـ keep draft animal physics: true = شغّال، false = طافي (الافتراضي true). |
↳ PreventDraftAnimalRagdoll |
true |
مفتاح لـ prevent draft animal ragdoll: true = شغّال، false = طافي (الافتراضي true). |
↳ ProtectDraftAnimals |
true |
مفتاح لـ protect draft animals: true = شغّال، false = طافي (الافتراضي true). |
↳ RemoteScanInterval |
1000 |
Nearby network trucks are rescanned, then hidden at a faster interval. |
↳ VisibilityGuardInterval |
100 |
إعداد وقت لـ visibility guard interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ LocalVisualGuardInterval |
50 |
إعداد وقت لـ local visual guard interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Attachments |
table |
جدول عناصر attachments. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Body |
table |
جدول عناصر body. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Wheels |
table |
جدول عناصر wheels. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Lights |
table |
جدول عناصر lights. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Exhaust |
table |
جدول عناصر exhaust. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ AudioAnchor |
table |
جدول عناصر audio anchor. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
DriverVisual |
table |
جدول عناصر driver visual. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ HideRealDriver |
true |
The real player must remain in coach4's driver seat so RedM keeps native wagon control. It is hidden locally and a visual clone is placed inside the truck cabin. |
↳ NetworkedClone |
false |
مفتاح لـ networked clone: true = شغّال، false = طافي (الافتراضي false). |
↳ EntryDelay |
650 |
إعداد وقت لـ entry delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ RevealDelay |
100 |
إعداد وقت لـ reveal delay. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ GuardInterval |
50 |
إعداد وقت لـ guard interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AnimationLoadTimeout |
5000 |
إعداد وقت لـ animation load timeout. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ AnimationDictionary |
"script_re@check_point@small_cart" |
إعدادات الأنيميشن لـ animation dictionary. |
↳ AnimationName |
"int_loop_driver" |
نص يظهر للاعب لـ animation name. غيّره للترجمة أو لتغيير الاسم. |
↳ AnimationBlendIn |
8.0 |
إعدادات الأنيميشن لـ animation blend in. |
↳ AnimationBlendOut |
1.0 |
إعدادات الأنيميشن لـ animation blend out. |
↳ AnimationFlag |
1 |
إعدادات الأنيميشن لـ animation flag. |
↳ AnimationPlaybackRate |
0.1 |
إعدادات الأنيميشن لـ animation playback rate. |
↳ Offset |
vector3(-0.48, 0.17, 0.43) |
Driver position inside f15078. X is left/right, Y is front/back, Z is height. |
↳ Rotation |
vector3(20.0, 20.0, 0.0) |
إعداد لـ rotation. |
Controls |
table |
جدول عناصر controls. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ ToggleEngine |
0x8AAA0AD4 |
Left Alt |
↳ SteerLeft |
0x7065027D |
A |
↳ SteerRight |
0xB4E465B4 |
D |
↳ Brake |
0xD27782E3 |
S |
WheelAnimation |
table |
إعدادات الأنيميشن لـ wheel animation. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ UpdateInterval |
20 |
إعداد وقت لـ update interval. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ MaximumSteerAngle |
30.0 |
الحد الأعلى لـ maximum steer angle. |
↳ SteeringSmoothing |
7.0 |
رقم لـ steering smoothing (الافتراضي 7.0). |
↳ RotationMultiplier |
3.0 |
نسبة أو مضاعف لـ rotation multiplier. |
Lock |
table |
جدول عناصر lock. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ DefaultLocked |
true |
مفتاح لـ default locked: true = شغّال، false = طافي (الافتراضي true). |
↳ InteractionDistance |
8.0 |
المسافة بوحدات اللعبة لـ interaction distance. |
↳ BlockNotificationCooldown |
2500 |
إعداد وقت لـ block notification cooldown. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
Reset |
table |
جدول عناصر reset. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ MaximumDistance |
8.0 |
المسافة بوحدات اللعبة لـ maximum distance. |
↳ MaximumSpeed |
1.5 |
الحد الأعلى لـ maximum speed. |
Speedometer |
table |
جدول عناصر speedometer. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ Unit |
"MPH" |
MPH or KMH |
↳ Position |
vector2(0.50, 0.91) |
إحداثيات العالم (x, y, z) لـ position. |
↳ TextScale |
0.35 |
نص يظهر للاعب لـ text scale. غيّره للترجمة أو لتغيير الاسم. |
Commands |
table |
جدول عناصر commands. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Spawn |
table |
إحداثيات العالم (x, y, z) لـ spawn. |
↳ Delete |
"deletetruck" |
إعداد لـ delete. |
↳ Reset |
"resettruck" |
إعداد لـ reset. |
↳ Lock |
"trucklock" |
إعداد لـ lock. |
Audio |
table |
PMMS is optional. The truck works normally when this is disabled. Put reachable HTTP/HTTPS URLs below before enabling it. |
↳ Enabled |
false |
يشغّل أو يطفّي enabled (الافتراضي false). |
↳ Resource |
"pmms" |
إعداد لـ resource. |
↳ Volume |
0.25 |
رقم لـ volume (الافتراضي 0.25). |
↳ StartUrl |
"" |
إعداد لـ start url. |
↳ IdleUrl |
"" |
إعداد لـ idle url. |
↳ StopUrl |
"" |
إعداد لـ stop url. |
↳ StartDurationMs |
3800 |
إعداد وقت لـ start duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ IdleDurationSeconds |
30.0 |
إعداد وقت لـ idle duration seconds. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ StopDurationMs |
2200 |
إعداد وقت لـ stop duration ms. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ MaximumDistance |
35.0 |
المسافة بوحدات اللعبة لـ maximum distance. |
Messages |
table |
نص يظهر للاعب لـ messages. غيّره للترجمة أو لتغيير الاسم. |
↳ Spawned |
"Truck spawned." |
إعداد لـ spawned. |
↳ Deleted |
"Truck removed." |
إعداد لـ deleted. |
↳ AlreadySpawning |
'Your truck is already being... |
إعداد لـ already spawning. |
↳ SpawnFailed |
"The truck could not be spawned." |
إحداثيات العالم (x, y, z) لـ spawn failed. |
↳ SpawnBlocked |
"The spawn area is blocked." |
إحداثيات العالم (x, y, z) لـ spawn blocked. |
↳ MustBeOnFoot |
'You must be on foot to spaw... |
إعداد لـ must be on foot. |
↳ MustBeAlive |
'You cannot spawn the truck ... |
إعداد لـ must be alive. |
↳ NoTruck |
"You do not have an active truck." |
إعداد لـ no truck. |
↳ TooFar |
"You are too far from your truck." |
إعداد لـ too far. |
ملاحظات من ملف README#
# jrs_truck 2.9.0
A rebuilt RedM truck resource for `jrs_core` and `jrs_inventory`.
## Main changes
- Removed teleport-based desync fixes.
- Removed explosions and unsafe anti-theft code.
- One active truck per player.
- Server-owned spawn registration and cleanup.
- Automatic cleanup when the player disconnects or the resource stops.
- Safe engine toggle, front lights, brake light, exhaust smoke, wheel animation and speedometer.
- Optional PMMS start/idle/stop audio with server-side ownership checks.
- Truck lock state uses OneSync state bags.
- Keeps the required draft horse attached so RedM allows normal wagon entry and driving.
- Makes the draft horse and its reins invisible instead of deleting or detaching it.
- Keeps the hidden base wagon and hidden horse transparent for all clients, including after entering water.
- Completely disables the hidden horse collision so the truck no longer has an invisible extension in front.
## Installation
1. Rename the folder to `jrs_truck`.
2. Run `install.sql`.
3. Copy `truckr.png` to the item image directory used by `jrs_inventory`.
4. Add this order to `server.cfg`:
'''cfg
ensure jrs_core
ensure jrs_inventory
ensure jrs_truck
'''
5. Give yourself the `truckr` item and use it.
## Commands
- `/deletetruck` removes your active truck.
- `/resettruck` places a nearby stopped truck upright.
- `/trucklock` locks or unlocks your active truck.
- `/spawntruck` is disabled by default and can be enabled in `config.lua` for testing.
## Controls
- `Left Alt`: start or stop the engine while sitting in the driver seat.
- Standard movement controls drive the base vehicle.
## Audio
PMMS audio is disabled by default because the original archive did not include the MP3 files.
Set reachable HTTP/HTTPS URLs in `Config.Audio` and set `Enabled = true` to use it.
## Notes
- OneSync must be enabled for network entity ownership and lock state bags.
- The driving control still comes from `coach4` and its hidden draft horse, while the horse collision is disabled.
- `Config.BaseVehicleGuard` controls water visibility protection and hidden draft-animal behavior.
- Body, wheel and light positions can be adjusted in `Config.Attachments`.
## 2.3 networking fix
- Checks `NETWORK_GET_ENTITY_IS_NETWORKED` before requesting a network ID.
- Registers entities through the RedM native hash when the Lua global is unavailable.مدفوع (السيرفر فقط) jrs_undertaker
وظيفة الحانوتي (jrs_multijob
| الريسورس | jrs_undertaker |
| المجلد | [JOBS] |
| الإصدار | 1.0.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | لا |
| اللغات | ar, en |
| حجم الكود | 571 سطر Lua |
config.lua - 26 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Job |
"undertaker" |
must be the character's ACTIVE job (jrs_multijob) |
Items |
table |
أغراض المخزون المستخدمة في items. الأسماء لازم تكون موجودة في جدول jrs_items. |
↳ Body |
table |
جدول عناصر body. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Coffin |
table |
جدول عناصر coffin. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ShovelItem |
"shovel" |
أغراض المخزون المستخدمة في shovel item. الأسماء لازم تكون موجودة في جدول jrs_items. |
ShovelPrice |
3.0 |
undertakers can buy one at any parlour (no NPC store sells shovels) |
WrapPay |
2.0 |
per body collected |
ContractBonus |
4.0 |
extra for a body from a parlour contract |
BurialPay |
12.0 |
per burial |
JobXP |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ job xp. |
Offerings |
table |
Optional offerings placed in the coffin while preparing: the first one the player carries is used automatically and raises the burial pay, so keep this list to cheap consumables. Missing items are ignored at start. |
PrepareSeconds |
10 |
رقم لـ prepare seconds (الافتراضي 10). |
BurySeconds |
14 |
رقم لـ bury seconds (الافتراضي 14). |
WrapSeconds |
5 |
رقم لـ wrap seconds (الافتراضي 5). |
MaxBurialsPerHour |
10 |
الحد الأعلى لـ max burials per hour. |
MaxWrapsPerHour |
12 |
الحد الأعلى لـ max wraps per hour. |
Contract |
table |
Contract: a body is waiting somewhere around the parlour. |
↳ MinDistance |
250.0, MaxDistance = 600.0 |
المسافة بوحدات اللعبة لـ min distance. |
↳ SpawnWhenWithin |
80.0 |
إحداثيات العالم (x, y, z) لـ spawn when within. |
↳ ExpireMinutes |
20 |
إعداد وقت لـ expire minutes. الوحدة (ثواني أو دقائق أو ملي ثانية) غالباً مكتوبة في اسم الإعداد أو في تعليق الإعدادات اللي جنبه. |
↳ Models |
table |
موديل أو كيان في اللعبة يُستخدم لـ models. |
Parlours |
table |
Parlours: prep table (and contract desk). From the RDR2 undertaker shops. |
Graves |
table |
Cemeteries where a prepared coffin can be buried. |
GraveRadius |
8.0 |
المسافة بوحدات اللعبة لـ grave radius. |
Blips |
table |
إعدادات علامة الخريطة أو الأيقونة لـ blips. |
Keys |
table |
G / E / B |