JRS CORE文档
脚本

Jobs

[JOBS] 文件夹中的 31 个脚本

Legal jobs and gathering: police, medic, mining, hunting, fishing, crafting, railroad and more.

此文件夹有 31 个脚本。在下方标签中选择。

Paid (server only)   jrs_boats

jrs core Boats for jrs_core and jrs_inventory

Resource jrs_boats
Folder [JOBS]
Version 2.9.3
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 5,712 Lua lines

Commands

  • /boatEnter
  • /shipLoad
  • /shipUnload

Exports

GetLargeShipDefinition, IsLargeShipModel

Database tables

jrs_boats

config/config.lua - 164 个选项#

General

Setting Default What it does
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 output for 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 Default: 5
sellPrice 0.60 Default: 0.60
blockNpcBoats false If true, will block the spawning of NPC boats
blipAllowedClosed true If true, will show colored blip when shop is closed
  ↳ 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 Requires 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 Hides 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 Requires 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 条目表。按文件中的示例添加、删除或修改条目。
Notes from the README#
text
## 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`.

Free (included in JRS Core)   jrs_bossmanager

JRS CORE | jrs_bossmanager | config.lua

Resource jrs_bossmanager
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core
Interface No
Code size 883 行 Lua

Commands

  • /givelicense
  • /revokelicense

Database tables

jobmanager

config.lua - 2 个选项#

General

Setting Default What it does
Key 0x446258B6 changed Key to PGUP, otherwise it collides with the default key of jrs_admin
Locale "en" language

Paid (server only)   jrs_bounty

jrs core Bounty Board

Resource jrs_bounty
Folder [JOBS]
Version 2.1.1
Author jrs team
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 2,799 Lua lines

Commands

  • /bountycooldown

Database tables

jrs_bountty, jrs_bounty_cooldowns, jrs_sheriffbounty

config/config.lua - 114 个选项#

General

Setting Default What it does
Debug false Debug output for 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

Setting Default What it does
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 的经济倍率。
Notes from the README#
text
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

Free (included in JRS Core)   jrs_crawfish

A script to catch crawfish for jrs core framework

Resource jrs_crawfish
Folder [JOBS]
Version 2.0
Author JRS TEAM
Interface No
Code size 693 行 Lua
config.lua - 22 个选项#

General

Setting Default What it does
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)

Paid (server only)   jrs_delivery

Multi-location and multi-cargo delivery job for jrs_core with route map NUI

Resource jrs_delivery
Folder [JOBS]
Version 4.1.4
Author jrs team
Depends on jrs_core
Interface Yes (NUI)
Languages ar, en
Code size 3,010 Lua lines

Database tables

jrs_delivery_locations, jrs_delivery_receivers, jrs_delivery_route_extras

config/config.lua - 77 个选项#

General

Setting Default What it does
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 location blip hash 使用的世界坐标(x, y, z)。
LocationBlipColor "BLIP_MODIFIER_MP_COLOR_32" location blip color 使用的世界坐标(x, y, z)。
LocationBlipScale 0.8 location blip scale 使用的世界坐标(x, y, z)。
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 locations 使用的世界坐标(x, y, z)。
  ↳ 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 条目表。按文件中的示例添加、删除或修改条目。
Notes from the README#
text
# 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`).

Paid (server only)   jrs_doctors

jrs core Doctors - fully integrated medical, hospital, disease, employment, storage and death-screen system for RedM

Resource jrs_doctors
Folder [JOBS]
Version 4.4.20
Author jrs team
Depends on jrs_core, jrs_inventory, jrs_metabolism, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 30,018 Lua lines

Commands

  • /-
  • /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

Database tables

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 个选项#

General

Setting Default What it does
AdminMenu table 允许谁:admin menu 的职业、组或权限。
  ↳ Enabled true 开启或关闭 enabled(默认 true)。
  ↳ Command "jrsdoctorsadmin" command 的设置。
  ↳ RequireFullAccess true Requires full access:true = 是,false = 否(默认 true)。
  ↳ AllowWithoutDuty true Allows 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 个选项#

General

Setting Default What it does
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 output for 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 Requires 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 Shows 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

Setting Default What it does
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 Automatically handles 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 Hides 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 Automatically handles hospital at timer end:true = 是,false = 否(默认 false)。
  ↳ DisableVoice true Turns off voice:true = 是,false = 否(默认 true)。
  ↳ DisableChat false Turns off 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 Allows state tests:true = 是,false = 否(默认 true)。
  ↳ AllowDiseaseTests true Allows disease tests:true = 是,false = 否(默认 true)。
  ↳ AllowHospitalSequence true Allows hospital sequence:true = 是,false = 否(默认 true)。
  ↳ AllowDeathScreenTests true Allows death screen tests:true = 是,false = 否(默认 true)。
  ↳ AllowEntityTests true Allows 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 Requires 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 Turns off world transport actions:true = 是,false = 否(默认 true)。
config/diseases.lua - 2 个选项#

General

Setting Default What it does
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 个选项#

General

Setting Default What it does
DownedCrawl table downed crawl 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Commands table commands 条目表。按文件中的示例添加、删除或修改条目。
  ↳ AutoDowned false Automatically handles downed:true = 是,false = 否(默认 false)。
  ↳ HealthThreshold 50 health threshold 的数值(默认 50)。
  ↳ MinimumHealth 50 minimum health 的最低值或等级要求。
  ↳ InvincibleWhileDowned true invincible while downed 的开关:true = 开,false = 关(默认 true)。
  ↳ Debug false Debug output for debug:true = 是,false = 否(默认 false)。
  ↳ Animation table animation 的动画设置。
  ↳ Controls table controls 条目表。按文件中的示例添加、删除或修改条目。
config/hospitals.lua - 10 个选项#

General

Setting Default What it does
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 条目表。按文件中的示例添加、删除或修改条目。
Notes from the README#
text
## 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 

Paid (server only)   jrs_farming

JRS Farming - server-authoritative, hardened, strictly separated from jrs_herbs

Resource jrs_farming
Folder [JOBS]
Version 2.8.17
Author jrs team
Depends on jrs_core, jrs_housing, jrs_inventory, jrs_police, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 18,559 Lua lines

Commands

  • /farmadmin
  • /farmzone

Exports

GetFarmingPlantIdFromEntity, IsFarmingPlantEntity, IsFarmingPlantNearCoords

Database tables

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

Setting Default What it does
Debug false Debug output for 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 Allows missing server entity coords:true = 是,false = 否(默认 false)。
  ↳ AllowClientPlacementFallback false Allows 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 Hides 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

Setting Default What it does
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 Shows 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 output for 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

Setting Default What it does
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.

Setting Default What it does
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:

Paid (server only)   jrs_fight

jrs core Fight Arena - training bouts, player duels and rankings for jrs_core

Resource jrs_fight
Folder [JOBS]
Version 2.5.0
Author jrs team
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 2,834 Lua lines

Commands

  • /fightdiag

Database tables

IF, jrs_fight_rankings

config/config.lua - 136 个选项#

01. KEYS, PRICES AND DISTANCES

Setting Default What it does
Debug false Debug output for 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

Setting Default What it does
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

Setting Default What it does
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.

Setting Default What it does
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

Setting Default What it does
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.

Setting Default What it does
FightArena table fight arena 条目表。按文件中的示例添加、删除或修改条目。

07. XP (jrs_core per-job leveling)

Setting Default What it does
XP table xp 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Enabled true 开启或关闭 enabled(默认 true)。
  ↳ Job "fight" Per-job level key in jrs_core. Keep this stable: it is the primary key in the jrs_job_levels table, so renaming it orphans existing progress.
  ↳ Multiplier 1.0 Scales every reward below. Raise it for a boosted weekend, drop it to slow this job down relative to the others.
  ↳ Default 0 Used when a reward name is awarded that is not listed here.
  ↳ 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)

Setting Default What it does
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

Setting Default What it does
AutoCreateTable true Automatically handles create table:true = 是,false = 否(默认 true)。
DatabaseTable "jrs_fight_rankings" database table 的设置。
ScoreboardLimit 50 scoreboard limit 的上限。

09. TEXTS

Setting Default What it does
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)

Setting Default What it does
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 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
Notes from the README#
text
# 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. |

Free (included in JRS Core)   jrs_fishing

jrs core Fishing

Resource jrs_fishing
Folder [JOBS]
Version 1.5.4
Author jrs team
Depends on jrs_core, jrs_inventory
Interface Yes (NUI)
Languages ar, en
Code size 6,055 Lua lines

Commands

  • /-jrsFishingSkillHit
  • /fishboard
  • /fishdebug

Exports

OpenFishingBoard

Database tables

jrs_fishing_leaderboard

config/config.lua - 151 个选项#

General

Setting Default What it does
Debug false Debug output for 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 条目表。按文件中的示例添加、删除或修改条目。
Notes from the README#
text
# 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

Paid (server only)   jrs_freelance

JRS Freelance - Unified Chimney Sweep & Metal Detector Activities

Resource jrs_freelance
Folder [JOBS]
Version 1.0.0
Author jrs team
Depends on jrs_core, jrs_inventory
Interface Yes (NUI)
Languages ar, en
Code size 3,760 Lua lines

Commands

  • /jrsmd_resetspots
config/chimneysweep.lua - 40 个选项#

General

Setting Default What it does
Debug false Debug output for 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 个选项#

General

Setting Default What it does
Debug false Debug output for 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 Turns off 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 Hides 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) position 使用的世界坐标(x, y, z)。
  ↳ 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 的设置。

Free (included in JRS Core)   jrs_goldclaim

JRS Core gold claims - gold rockers, paydirt, water and licensed claims

Resource jrs_goldclaim
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, jrs_inventory, jrs_progressbar, oxmysql
Interface No
Code size 2,604 Lua lines
config.lua - 56 个选项#

General

Setting Default What it does
Language "en" 'en' or 'ar'
PlayerProps table populated at runtime by the server, do not edit
Debug false Debug output for debug:true = 是,false = 否(默认 false)。
NotifyDuration 10000 default notification duration (ms)

general settings (gold rocker / claims)

Setting Default What it does
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)

Setting Default What it does
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

Setting Default What it does
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)

Setting Default What it does
GoldOreItem "goldnugget" gold ore item 的金额。奖励会经过 jrs_core 的经济倍率。
GoldOreAmount table gold ore amount 的金额。奖励会经过 jrs_core 的经济倍率。

gathering settings (shovel / bucket)

Setting Default What it does
ShovelDigTime 10000 time in ms to dig paydirt
BucketFillTime 8000 time in ms to fill bucket

prop models

Setting Default What it does
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)

Setting Default What it does
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

Setting Default What it does
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

Setting Default What it does
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

Setting Default What it does
ForwardDistance 2.0 forward distance 的游戏内距离。

Free (included in JRS Core)   jrs_goldpanning

JRS Core gold panning - pan for gold nuggets in rivers and lakes

Resource jrs_goldpanning
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, jrs_inventory, jrs_minigame
Interface No
Code size 933 行 Lua
config.lua - 13 个选项#

General

Setting Default What it does
Language "en" 'en' or '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 的设置。

Paid (server only)   jrs_government

JRS Government - city governors, elections, citizenship, treasury, city revenue, taxes, city wars and government messaging

Resource jrs_government
Folder [JOBS]
Version 2.4.5
Author JRS
Depends on jrs_banking, jrs_character, jrs_core, jrs_doctors, jrs_idcard, jrs_police, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 6,946 Lua lines

Commands

  • /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

Database tables

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 个选项#

General

Setting Default What it does
Debug false Debug output for 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" Royal Purple
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 Allows election while governed:true = 是,false = 否(默认 false)。
  ↳ RequireNoPoliceRecord true Requires no police record:true = 是,false = 否(默认 true)。
  ↳ RequireNoBankDebt true Requires 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 days
  ↳ 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 Allows 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 Allows governor deposit:true = 是,false = 否(默认 true)。
  ↳ AllowGovernorWithdraw false Allows 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 个选项#

General

Setting Default What it does
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 Requires 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 kill points 使用的世界坐标(x, y, z)。
  ↳ 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 Requires 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 条目表。按文件中的示例添加、删除或修改条目。
Notes from the README#
text
# 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

Free (included in JRS Core)   jrs_huntingpets

JRS Core hunting pets - hunting dogs and birds with training, tracking and scavenging

Resource jrs_huntingpets
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Code size 23,821 Lua lines

Commands

  • /callbird
  • /calldog
  • /fleebird
  • /fleedog

Database tables

is, player_birds, player_dogs, player_selected_pets

shared/config_birds.lua - 109 个选项#

Bird Configuration

Setting Default What it does
SellingBirdJob table for no job: Config.SellingBirdJob = false
Prompts table prompts 条目表。按文件中的示例添加、删除或修改条目。
  ↳ BirdShop L('prompt_bird_shop') bird shop 的设置。
  ↳ Home table home 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Follow table follow 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Hunt table hunt 条目表。按文件中的示例添加、删除或修改条目。
  ↳ FlyBack table fly back 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Camera table camera 条目表。按文件中的示例添加、删除或修改条目。
  ↳ ShopOpen table shop open 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Sell table C
  ↳ BuyBird table C
  ↳ StopSell table C
  ↳ Talk table Q
ConfirmDeleteValue "delete" players must type this word in order to delete a bird from owned birds
Texts table texts 条目表。按文件中的示例添加、删除或修改条目。
  ↳ ShopTitle L('cfgtext_shoptitle') shop title 显示给玩家的文本。可修改以翻译或更名。
  ↳ WaitLoad L('cfgtext_waitload') wait load 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ Bird L('cfgtext_bird') bird 的设置。
  ↳ BirdT L('cfgtext_birdt') bird t 的设置。
  ↳ SendHome L('cfgtext_sendhome') send home 的设置。
  ↳ BirdName L('cfgtext_birdname') bird name 显示给玩家的文本。可修改以翻译或更名。
  ↳ ShopNoMoney L('cfgtext_shopnomoney') shop no money 的金额。奖励会经过 jrs_core 的经济倍率。
  ↳ BirdBought L('cfgtext_birdbought') bird bought 的设置。
  ↳ SoldBird L('cfgtext_soldbird') sold bird 的设置。
  ↳ ConfirmDelete L('cfgtext_confirmdelete') confirm delete 的设置。
  ↳ NoJob L('cfgtext_nojob') 允许谁:no job 的职业、组或权限。
  ↳ WaitBird L('cfgtext_waitbird') wait bird 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ Hunting L('cfgtext_hunting') hunting 的设置。
  ↳ GoingHome L('cfgtext_goinghome') going home 的设置。
  ↳ GoingHunt L('cfgtext_goinghunt') going hunt 的设置。
  ↳ NoHunt L('cfgtext_nohunt') no hunt 的设置。
  ↳ FoundScavItem L('cfgtext_foundscavitem') found scav item 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ PlayerBuyBird L('cfgtext_playerbuybird') player buy bird 的设置。
  ↳ PlayerBuyNoMoney L('cfgtext_playerbuynomoney'... player buy no money 的金额。奖励会经过 jrs_core 的经济倍率。
  ↳ PlayerBuyNoMoneyAtBuyer L('cfgtext_playerbuynomoneya... player buy no money at buyer 的金额。奖励会经过 jrs_core 的经济倍率。
  ↳ PlayerBoughtBird L('cfgtext_playerboughtbird'... player bought bird 的设置。
  ↳ PlayerSoldBird L('cfgtext_playersoldbird') player sold bird 的设置。
  ↳ WaitTalk L('cfgtext_waittalk') wait talk 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ NotParrot L('cfgtext_notparrot') not parrot 的设置。
  ↳ NoTalkSkill L('cfgtext_notalkskill') no talk skill 的设置。
  ↳ Menu table menu 条目表。按文件中的示例添加、删除或修改条目。
MaxBirdXP 1000 max bird xp 的上限。
Hunting table hunting 条目表。按文件中的示例添加、删除或修改条目。
  ↳ jobrequired false player job requirements for sending bird to hunt/fish/scav - true or false
  ↳ jobs table if true
  ↳ extra_XP 50 If there is jobs in "jobs" array then they can earn more XP to their birds if this variable is not boolean false
BirdGoForHuntTimer 20 seconds - when the bird is flying away to hunt, after the timer runs out bird gets deleted to start hunting.
HuntingTimer 20 seconds - after the deletion, this timer starts and once its completed, the bird will fly back to player with prey
ParrotTalkingXPReq 1 required XP for parrot's talking ability
ScavengerItems table scavenger items 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ 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 条目表。按文件中的示例添加、删除或修改条目。
FishItems table fish items 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ 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 条目表。按文件中的示例添加、删除或修改条目。
BirdShops table bird shops 条目表。按文件中的示例添加、删除或修改条目。
  ↳ name "Hunting Birds" name of the shop
  ↳ jobrequired false job requirement for opening shop - true or false
  ↳ jobs table if jobrequired true
  ↳ blip table blip 的地图标记或图标设置。
  ↳ tax 10 +10% - basic bird price + tax = shop price
  ↳ pos vector3(-283.97, 666.14, 113... position of the shop checkpoint
  ↳ standpos table position of the birds at shop -284.32, 666.70, 113.45, 29.13
shared/config_dogs.lua - 125 个选项#

Dog Configuration

Setting Default What it does
DogKeyBind "E" dog key bind 使用的按键或控制。控制是游戏输入列表中的 hash 值。
DogTrackingJob "Police" job allowed to use dog tracking (jrs_police job name)
CallDogKey true call dog key 的开关:true = 开,false = 关(默认 true)。
DogTriggerKeys table dog trigger keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。
  ↳ CallDog "U" call dog 的设置。
AttackCommand true Attack command: send your dog to attack a locked-on target
AttackOnlyPlayers true attack only players 的开关:true = 开,false = 关(默认 true)。
AttackOnlyAnimals true attack only animals 的开关:true = 开,false = 关(默认 true)。
AttackOnlyNPC true attack only npc 的开关:true = 开,false = 关(默认 true)。
TrackCommand true Track command: send your dog to follow a locked-on target
TrackOnlyPlayers true track only players 的开关:true = 开,false = 关(默认 true)。
TrackOnlyAnimals true track only animals 的开关:true = 开,false = 关(默认 true)。
TrackOnlyNPC true track only npc 的开关:true = 开,false = 关(默认 true)。
DefensiveMode true Pets hostile to anything you are in combat with
NoFear true Prevents horses from fearing your pet
DogSearchRadius 50.0 How far the dog searches for hunted animals
DogFeedInterval 1800 1800 = 30 min, seconds between feeds
RaiseAnimal true Feed to gain XP and grow
DogFullGrownXp 1000 XP to be fully grown
DogXpPerFeed 20 XP gained per feed
NotifyWhenHungry true notify when hungry 的开关:true = 开,false = 关(默认 true)。
DogPetSearchDatabase true dog pet search database 的开关:true = 开,false = 关(默认 true)。
DogAllowedSearchTables table dog allowed search tables 条目表。按文件中的示例添加、删除或修改条目。
DogPetAttributes table dog pet attributes 条目表。按文件中的示例添加、删除或修改条目。
  ↳ FollowDistance 5 follow distance 的游戏内距离。
  ↳ Invincible false invincible 的开关:true = 开,false = 关(默认 false)。
  ↳ SpawnLimiter 0 0 = disabled
  ↳ DeathCooldown 300 Seconds before respawn after death

Dog Breeds (for shop)

Setting Default What it does
Dogs table dogs 条目表。按文件中的示例添加、删除或修改条目。

Animals dogs can retrieve (hunt mode)

Setting Default What it does
DogRetrievableAnimals table dog retrievable animals 使用的游戏模型或实体。
  ↳ 1110710183 table Big game mammals
  ↳ -1437898800 table 1437898800 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1667609490 table 1667609490 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2032656150 table 2032656150 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2021043433 table 2021043433 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1098441944 table 1098441944 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1427753735 table 1427753735 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1556473961 table 1556473961 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2137407627 table 2137407627 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1088132500 table 1088132500 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 2023809075 table 2023809075 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -249305323 table 249305323 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2029832225 table 2029832225 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 2075325674 table 2075325674 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1383236440 table 1383236440 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 195700131 table 195700131 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1700211906 table 1700211906 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 788053982 table 788053982 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 40345436 table 40345436 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1255771871 table 1255771871 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -753902995 table 753902995 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2091538496 table 2091538496 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1851177881 table 1851177881 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1755643085 table 1755643085 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1381945409 table 1381945409 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1864338716 table Predators
  ↳ -665854081 table 665854081 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 252669332 table 252669332 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 480688259 table 480688259 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 734582471 table 734582471 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -541762431 table Small game
  ↳ 1553815115 table 1553815115 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1211566332 table 1211566332 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1458540991 table 1458540991 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -203109469 table 203109469 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1170118274 table 1170118274 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1797625440 table 1797625440 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 68584579 table 68584579 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1134449699 table 1134449699 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 989669666 table 989669666 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1465438313 table 1465438313 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1785067139 table 1785067139 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -710876114 table 710876114 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -117890714 table 117890714 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1003616053 table Game birds
  ↳ -646237339 table 646237339 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1459778951 table 1459778951 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -164963696 table 164963696 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1104697660 table 1104697660 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -466054788 table 466054788 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2011226991 table 2011226991 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -166054593 table 166054593 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1076508705 table 1076508705 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -466687768 table 466687768 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -575340245 table 575340245 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1416324601 table 1416324601 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1265966684 table 1265966684 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1797450568 table 1797450568 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2073130256 table 2073130256 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -564099192 table 564099192 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 723190474 table 723190474 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1652376302 table 1652376302 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1353981788 table 1353981788 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2145890973 table 2145890973 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1095117488 table 1095117488 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 386506078 table 386506078 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -861544272 table 861544272 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -2063183075 table 2063183075 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 2023522846 table 2023522846 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1093853729 table 1093853729 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1525077198 table 1525077198 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -578821898 table 578821898 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 98537260 table 98537260 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1197044581 table 1197044581 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1582986780 table 1582986780 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1784941179 table 1784941179 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1302821723 table 1302821723 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1210546580 table 1210546580 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 2105463796 table 2105463796 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1253481500 table 1253481500 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -393435863 table 393435863 条目表。按文件中的示例添加、删除或修改条目。
  ↳ -1849659473 table 1849659473 条目表。按文件中的示例添加、删除或修改条目。

Key Hashes

Setting Default What it does
DogKeys table dog keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。
  ↳ G 0x760A9C6F g 的设置。
  ↳ B 0x4CC0E2FE b 的设置。
  ↳ S 0xD27782E3 s 的设置。
  ↳ W 0x8FD015D8 w 的设置。
  ↳ H 0x24978A28 h 的设置。
  ↳ U 0xD8F73058 u 的设置。
  ↳ R 0x0D55A0F0 r 的设置。
  ↳ ENTER 0xC7B5340A enter 的设置。
  ↳ E 0xDFF812F9 e 的设置。
  ↳ J 0xF3830D8E j 的设置。
  ↳ 7 0xB03A913B 7 的设置。
  ↳ 8 0x42385422 8 的设置。
shared/config_shared.lua - 15 个选项#

General

Setting Default What it does
Language "en" 'en' (other languages: add them to shared/locale.lua)

General Settings

Setting Default What it does
Debug false Debug output for debug:true = 是,false = 否(默认 false)。
FadeIn true fade in 的开关:true = 开,false = 关(默认 true)。
DistanceSpawn 20.0 distance spawn 的游戏内距离。
AnimalFood "raw_meat" Food item for both dogs and birds

Opening Hours

Setting Default What it does
AlwaysOpen true if false, configure open/close times
OpenTime 8 store opens
CloseTime 20 store closes

Blip Settings

Setting Default What it does
Blip table blip 的地图标记或图标设置。
  ↳ blipName "Hunting Pets" blip name 的地图标记或图标设置。
  ↳ blipSprite -699499938 blip sprite 的地图标记或图标设置。
  ↳ blipScale 0.6 blip scale 的地图标记或图标设置。

Shop Locations

Setting Default What it does
Shops table shops 条目表。按文件中的示例添加、删除或修改条目。

Checkpoint Colours

Setting Default What it does
Checkpoints table checkpoints 条目表。按文件中的示例添加、删除或修改条目。
  ↳ shop table shop 条目表。按文件中的示例添加、删除或修改条目。

Free (included in JRS Core)   jrs_lumberjack

jrs core Lumberjack - jrs core only, organized secure lumber workflow

Resource jrs_lumberjack
Folder [JOBS]
Version 3.11.1
Author jrs team
Depends on jrs_character, jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 16,949 Lua lines

Commands

  • /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

Database tables

jrs_lumberjack_carts, jrs_lumberjack_world, jrs_lumberjack_world_history

shared/config.lua - 193 个选项#

General

Setting Default What it does
Locale "ar" 此脚本的界面语言(en 或 ar)。
CoreResource "jrs_core" REDEMPIRE resources this build is wired against.
InventoryResource "jrs_inventory" inventory resource 的设置。
CharacterResource "jrs_character" character resource 的设置。
UseWorldDatabase false back in here (COPY CODE) - they just no longer save anything to the DB or survive a resource restart on their own. Set true to restore the old database-backed world (persistent World Builder saves, survives restarts).
TreeSpots table tree spots 条目表。按文件中的示例添加、删除或修改条目。
ProcessSpots table Process locations
SawingSpots table Sawing locations
CuttingKey 0x760A9C6F cutting key 使用的按键或控制。控制是游戏输入列表中的 hash 值。
Item "hatchet" item required to chop tree
HatchetDurability table jrs_inventory's own durability metadata (every 'equipment' category item, the hatchet included, already starts at durability=100 automatically - see jrs_inventory/config/config.lua Config.Metadata.CategoryDefaults.equipment).
  ↳ enabled true 开启或关闭 enabled(默认 true)。
  ↳ lossPerChop table durability points lost per successful chop (random range)
  ↳ breakOnZero true destroy the hatchet once its durability reaches 0
MaxTimeCarryingTree 60 much in second to player stay carrying the tree before it deleted - requested 60 is fine
ProcessedWoodPickupMs 60000 Time in ms that processed wood waits at station for player to pick it up
TreeInWagon 15 max tree in wagon
MaxVisualCartLogs 3 Maximum visible logs/trees rendered on the wagon at once (prevents excessive stacking/ugly bushes while capacity remains Config.TreeInWagon)
StageOne 30000 Time to wait in regrowth trees depend on the stage
StageTwo 30000 Time to wait in regrowth trees depend on the stage
StageThree 30000 Time to wait in regrowth trees depend on the stage
RemoveMoneyOnSpawnCart true Take money when the player spawns a cart
AddMoneyWhenSendAway true Refund the money when the player sends the cart away -- (requires RemoveMoneyOnSpawnCart to be true)
CartCost 0.50 The cost of spawning the cart (authentic 1899 cents deposit)
UseJob true 开启或关闭 job(默认 true)。
Jobs table 允许谁:jobs 的职业、组或权限。
UseBlips true 开启或关闭 blips(默认 true)。
Blips table blips 的地图标记或图标设置。
Levels table levels 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 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 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 76 table 76 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 77 table 77 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 78 table 78 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 79 table 79 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 80 table 80 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 81 table 81 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 82 table 82 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 83 table 83 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 84 table 84 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 85 table 85 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 86 table 86 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 87 table 87 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 88 table 88 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 89 table 89 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 90 table 90 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 91 table 91 条目表。按文件中的示例添加、删除或修改条目。

PROCESS STATION CONFIG (إعدادات محطة البروسيس - معالجة الجذع)

Setting Default What it does
ProcessStation table process station 条目表。按文件中的示例添加、删除或修改条目。
  ↳ model "p_lumbercart02x" model 使用的游戏模型或实体。
  ↳ actionPoint table action point 使用的世界坐标(x, y, z)。
  ↳ workpiece table workpiece 条目表。按文件中的示例添加、删除或修改条目。

SAWING / SWING STATION CONFIG (إعدادات محطة السوينج - طاولة واحدة)

Setting Default What it does
EnableCompanionSawhorse false 开启或关闭 companion sawhorse(默认 false)。
SawStation table saw station 条目表。按文件中的示例添加、删除或修改条目。
  ↳ model "p_sawhorse01x" model 使用的游戏模型或实体。
  ↳ companionModel nil companion model 使用的游戏模型或实体。
  ↳ actionPoint table Action point: where the player stands (في المنتصف تماماً أمام الخشبة رياضياً)
  ↳ centerOffset table Center offset: where the player faces (منتصف الخشبة تماماً)
  ↳ companion nil Companion sawhorse disabled: الخشبة على طاولة واحدة فقط
  ↳ workpiece table Workpiece (wood plank) position on the sawhorses
SawStationModel "p_sawhorse01x" saw station model 使用的游戏模型或实体。
SawingWork table request: starts with the wood plane, then the hand saw. المرحلة 1: تسوية الخشب بالمسحاج (Wood plane) المرحلة 2: نشر الخشب بالمنشار (Hand saw)
  ↳ phase1 table phase1 条目表。按文件中的示例添加、删除或修改条目。
  ↳ phase2 table phase2 条目表。按文件中的示例添加、删除或修改条目。
  ↳ anim table Legacy compatibility fallbacks (now mirror phase1: plane first):
  ↳ tool table tool 条目表。按文件中的示例添加、删除或修改条目。
  ↳ buckingSawPreset table JRS bucking saw preset (منشار السوينج الثنائي):
  ↳ enablePhase2 false Two-phase transition disabled per request: sawing now stays on phase1 (the wood plane animation) for the whole action, no switch to phase2.
DefaultSawhorseCompanion Config.SawStation.companion default sawhorse companion 的设置。
WoodVisuals Config.WoodVisuals or {} wood visuals 的设置。
TreeGrowth table tree growth 条目表。按文件中的示例添加、删除或修改条目。
  ↳ enabled true 开启或关闭 enabled(默认 true)。
  ↳ seedItem "tree_seed" seed item 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ plantDuration 6000 plant duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ plantXp 15 plant xp 的数值(默认 15)。
  ↳ maxTreesPerPlayer 8 max trees per player 的上限。
  ↳ minDistance 3.5 min distance 的游戏内距离。
  ↳ stage1Duration 60 seconds to grow from sapling to young tree
  ↳ stage2Duration 60 seconds to grow from young tree to mature tree
  ↳ stage1Model "p_tree_ponderosa_sap_01" stage1 model 使用的游戏模型或实体。
  ↳ stage2Model "p_tree_ponderosa_sap_02" stage2 model 使用的游戏模型或实体。
  ↳ stage3Model "p_tree_pine_ponderosa_07" stage3 model 使用的游戏模型或实体。
  ↳ stumpModel "p_tree_stump_cut_01" stump model 使用的游戏模型或实体。
  ↳ pickupDurationMs 60000 pickup duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
DutyClothing table duty clothing 条目表。按文件中的示例添加、删除或修改条目。
  ↳ enabled true 开启或关闭 enabled(默认 true)。
  ↳ mode "uniform" mode 的设置。
  ↳ cleanupOnRestart true cleanup on restart 的开关:true = 开,false = 关(默认 true)。
  ↳ clothingResource "jrs_clothing" clothing resource 的设置。
  ↳ minUniformComponents 1 min uniform components 的最低值或等级要求。
  ↳ maleSourcePed "s_m_m_cghworker_01" male source ped 使用的游戏模型或实体。
  ↳ maleOutfitPreset 0 male outfit preset 的数值(默认 0)。
  ↳ Uniform table uniform 条目表。按文件中的示例添加、删除或修改条目。

Free (included in JRS Core)   jrs_mdt

JRS Core MDT - records, warrants, reports, charges and fines for the law

Resource jrs_mdt
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages de, en, es, fr, it, pl, pt, ru
Code size 6,019 Lua lines

Commands

  • /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

shared/config.lua - 33 个选项#

General

Setting Default What it does
Language "en" 'en' or another file in locales/

Law Enforcement Jobs

Setting Default What it does
LawJobs table Jobs that can access the MDT system
  ↳ Police table police 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Valentine table valentine 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Strawberry table strawberry 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Blackwater table blackwater 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Rhodes table rhodes 条目表。按文件中的示例添加、删除或修改条目。
  ↳ SaintDenis table saint denis 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Tumbleweed table tumbleweed 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Annesburg table annesburg 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Armadillo table armadillo 条目表。按文件中的示例添加、删除或修改条目。

MDT Settings

Setting Default What it does
Settings table settings 条目表。按文件中的示例添加、删除或修改条目。
  ↳ command "mdt" command 的设置。
  ↳ keybind nil keybind 的设置。
  ↳ requireOnDuty false jrs_police handles duty itself
  ↳ maxSearchResults 50 max search results 的上限。
  ↳ recordRetentionDays 0 record retention days 的数值(默认 0)。
  ↳ warrantExpirationDays 0 warrant expiration days 的数值(默认 0)。
  ↳ debug false Debug output for debug:true = 是,false = 否(默认 false)。

Report Incident Types

Setting Default What it does
IncidentTypes table label: Display name shown in UI value: Stored in database (use lowercase, no spaces) color: Tailwind classes for badge styling

Default Values

Setting Default What it does
Defaults table defaults 条目表。按文件中的示例添加、删除或修改条目。
  ↳ jobGrade table 允许谁:job grade 的职业、组或权限。

Fines System

Setting Default What it does
Fines table fines 条目表。按文件中的示例添加、删除或修改条目。
  ↳ enabled true 开启或关闭 enabled(默认 true)。
  ↳ gracePeriodDays 7 grace period days 的数值(默认 7)。
  ↳ paymentLocations table payment locations 使用的世界坐标(x, y, z)。
Jail table jail 条目表。按文件中的示例添加、删除或修改条目。
  ↳ enabled true 开启或关闭 enabled(默认 true)。
  ↳ delaySeconds 5 delay seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ maxDistance 10.0 max distance 的游戏内距离。
  ↳ jailCoords vector3(2761.44, -1460.54, 4... jail coords 使用的世界坐标(x, y, z)。
  ↳ jailHeading 90.0 jail heading 的数值(默认 90.0)。
  ↳ minutesPerMonth 1 minutes per month 的数值(默认 1)。

Free (included in JRS Core)   jrs_medic

A medical scrpt for jrs core framework

Resource jrs_medic
Folder [JOBS]
Version 0.3
Author JRS TEAM
Interface No
Code size 1,344 Lua lines

Exports

getDoctorFromCall, isOnDuty

configs/config.lua - 38 个选项#

General

Setting Default What it does
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 item name
  ↳ potion table potion 条目表。按文件中的示例添加、删除或修改条目。
  ↳ syringe table syringe 条目表。按文件中的示例添加、删除或修改条目。

Free (included in JRS Core)   jrs_mining

jrs_mining - native jrs core mining, order-based smelting and gold panning with restart recovery

Resource jrs_mining
Folder [JOBS]
Version 7.17.1
Author jrs team
Depends on jrs_character, jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 22,626 Lua lines

Commands

  • /goldsmelt_offset
  • /helmetoffset
  • /miningback
  • /miningbag
  • /miningduty
  • /miningenter
  • /mininghand
  • /miningstore
  • /pickaxeoffset

Exports

GetPlayerLevel, GetPlayerXP

Database tables

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 个选项#

General

Setting Default What it does
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 Requires character ready:true = 是,false = 否(默认 true)。
Locale "ar" Language: en, ar, fr, es, de, it, pt, nl
Debug false Debug output for 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 Automatically handles 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 Requires 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:

Setting Default What it does
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 Shows 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 coord checker efficiency 使用的世界坐标(x, y, z)。
MiniGameAsMineAccurately false mini game as mine accurately 的开关:true = 开,false = 关(默认 false)。
config/goldpanning.lua - 87 个选项#

General

Setting Default What it does
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 Requires 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 Requires 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 个选项#

General

Setting Default What it does
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 Shows 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 个选项#

General

Setting Default What it does
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

Setting Default What it does
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 &#123; 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 Shows 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... coord checker efficiency 使用的世界坐标(x, y, z)。
  ↳ 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

Setting Default What it does
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

Setting Default What it does
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 Requires 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.

Paid (server only)   jrs_moonshine

JRS Core moonshiner job (jrs_multijob): distilling, distilleries, business and delivery

Resource jrs_moonshine
Folder [JOBS]
Version 1.5.0
Author jrs team
Depends on /assetpacks, jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 4,477 Lua lines

Exports

jrs_is_player_moonshining

Database tables

jrs_moonshine_missions, jrs_moonshine_productions, jrs_moonshine_shells, jrs_moonshine_stills

config.lua - 186 个选项#

General

Setting Default What it does
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 or false

Config.PlayerXP ###

Setting Default What it does
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 ###

Setting Default What it does
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 ###

Setting Default What it does
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

Setting Default What it does
ActiveLawmenPlayerCount 2 active lawmen player count 的数值(默认 2)。

Config.ExplosionItem ###

Setting Default What it does
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 ## --

Setting Default What it does
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

Setting Default What it does
  ↳ 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)

Setting Default What it does
  ↳ 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

Setting Default What it does
JRS Config.JRS or &#123; jrs 的设置。
Notes from the README#
text
# 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/
'''

Free (included in JRS Core)   jrs_multijob

jrs core MultiJob - job board, saved professions and employee management for jrs_core

Resource jrs_multijob
Folder [JOBS]
Version 5.17.2
Author jrs team
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 5,239 Lua lines

Exports

AddCharacterJob, AddJob, GetAllJobDefinitions, GetCharacterJobs, JobName, JobNameServer, OpenMenu, RankName, RankNameServer, RemoveCharacterJob, RemoveJob, SyncPlayerJob

Database tables

IF, jrs_multijob_jobs, jrs_multijob_migrations

config/boards.lua - 10 个选项#

General

Setting Default What it does
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 个选项#

General

Setting Default What it does
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 个选项#

General

Setting Default What it does
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 个选项#

General

Setting Default What it does
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 个选项#

General

Setting Default What it does
Settings table settings 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Debug false Debug output for 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 条目表。按文件中的示例添加、删除或修改条目。

Paid (server only)   jrs_newspaper

JRS Newspaper - newspaper publishing, archives and investigations for RedM

Resource jrs_newspaper
Folder [JOBS]
Version 1.1.0
Author jrs
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 3,051 Lua lines

Commands

  • /jrsnewspaper

Database tables

jrs_newspaper_ads, jrs_newspaper_articles, jrs_newspaper_books, jrs_newspaper_editions, jrs_newspaper_investigations, jrs_newspaper_publishers, jrs_newspaper_transactions

config.lua - 91 个选项#

General

Setting Default What it does
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 Requires identity:true = 是,false = 否(默认 true)。
  ↳ UseCoreNotifications true 开启或关闭 core notifications(默认 true)。
  ↳ NotificationDuration 4500 notification duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ AllowCoreAdmins true Allows core admins:true = 是,false = 否(默认 true)。
  ↳ AdminActsAsEditor true admin acts as editor 的开关:true = 开,false = 关(默认 true)。
  ↳ VerifiedCoreVersion "1.0.18" verified core version 的设置。
Debug false Debug output for debug:true = 是,false = 否(默认 false)。
Language "ar" 'en' or '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 archive locations 使用的世界坐标(x, y, z)。
InvestigationLocations table investigation locations 使用的世界坐标(x, y, z)。
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 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
Notes from the README#
text
# 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 }
'''

Free (included in JRS Core)   jrs_police

jrs_police - RedM police system with recruitment NPCs, rank kits, roster management, Steam admin, NUI and stable lifecycle

Resource jrs_police
Folder [JOBS]
Version 2.11.7
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 19,673 Lua lines

Commands

  • /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

Database tables

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

Setting Default What it does
Honor table honor 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Default 50 default 的数值(默认 50)。
  ↳ Minimum 0 minimum 的最低值或等级要求。
  ↳ Maximum 100 maximum 的上限。
  ↳ LowThreshold 30 low threshold 的数值(默认 30)。
  ↳ ShowDuration 5000 show duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ ShowOnChange true Shows 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 output for 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 Allows 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 Requires server distance validation:true = 是,false = 否(默认 true)。
  ↳ ServerNpcValidationDistance 7.0 server npc validation distance 的游戏内距离。
  ↳ InteractDistance 2.2 interact distance 的游戏内距离。
  ↳ RequirePoliceJob false Requires 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 "أنت لست في موقع التنظيف الصحيح." cleaning invalid location 使用的世界坐标(x, y, z)。
  ↳ MustBeOnFoot 'يجب أن تكون مترجلاً لتنظيف ... must be on foot 的设置。
  ↳ TooFarFromStation "اقترب أكثر من موظف المركز." too far from station 的设置。
  ↳ PoliceOnly 'هذه الخدمة مخصصة لرجال الشر... police only 的设置。
config/main.lua - 32 个选项#

General

Setting Default What it does
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

Setting Default What it does
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 locations 使用的世界坐标(x, y, z)。
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

Paid (server only)   jrs_polls

Polls and referendums: server polls by admins, city polls by governors (citizens vote), one vote per character

Resource jrs_polls
Folder [JOBS]
Version 1.0.0
Author jrs team
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 335 行 Lua

Database tables

jrs_poll_votes, jrs_polls

config.lua - 15 个选项#

General

Setting Default What it does
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

Paid (server only)   jrs_publicjobs

JRS Public Jobs - Daily Labor & Work Activities

Resource jrs_publicjobs
Folder [JOBS]
Version 1.0.0
Author JRS Team
Depends on jrs_core, jrs_inventory
Interface Yes (NUI)
Languages ar, en
Code size 2,210 Lua lines
config.lua - 30 个选项#

General

Setting Default What it does
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

Setting Default What it does
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

Setting Default What it does
Locations table locations 使用的世界坐标(x, y, z)。

KEYS

Setting Default What it does
Keys table keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。
  ↳ InteractJob "INPUT_INTERACT_OPTION1" 允许谁:interact job 的职业、组或权限。

NAVIGATION COLORS

Setting Default What it does
NavigationColors table navigation colors 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Blip "BLIP_MODIFIER_MP_COLOR_11" blip 的地图标记或图标设置。
  ↳ Route "COLOR_PLATFORM_GREEN" route 的设置。

JOB SPECIFIC BLIPS & NAVIGATION

Setting Default What it does
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

Setting Default What it does
ProgressBar table progress bar 条目表。按文件中的示例添加、删除或修改条目。
  ↳ type "innercircle" type 的设置。
  ↳ color "#0A4F05" color 的设置。

PUBLIC JOBS

Setting Default What it does
Labour table labour 条目表。按文件中的示例添加、删除或修改条目。
Distribute table distribute 条目表。按文件中的示例添加、删除或修改条目。
Sweep table sweep 条目表。按文件中的示例添加、删除或修改条目。
Sharpen table sharpen 条目表。按文件中的示例添加、删除或修改条目。
ChopWood table chop wood 条目表。按文件中的示例添加、删除或修改条目。
WaterCarrying table water carrying 条目表。按文件中的示例添加、删除或修改条目。

Free (included in JRS Core)   jrs_railroad

JRS Core railroad - buy and run trains, companies, cargo, passengers and tickets

Resource jrs_railroad
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages en
Code size 8,394 Lua lines

Commands

  • /setjunction
  • /trainpos
  • /trainrobbery

Database tables

IF, railroad_companies, railroad_companies_owned, railroad_company_supplies, railroad_company_upgrades, railroad_employees, railroad_rewards, railroad_trains

shared/config.lua - 164 个选项#

General

Setting Default What it does
Language "en" 'en' or 'ar'

GENERAL SETTINGS

Setting Default What it does
Debug false Debug output for debug:true = 是,false = 否(默认 false)。
AutoInstallDatabase true automatically creates/verifies all required MySQL tables on resource start (from install/rsg_railroad_full.sql). Set to false if you prefer to import the .sql file yourself.
MaxTrainsPerCompany 5 max trains a company can own
MaxTrainsPerPlayer 5 max trains a single player can personally own (bug fix: was referenced but never defined)
SellBackPercent 0.60 60% of purchase price on resale
TrainDespawnDist 250 despawn if player is far from their train
StationInteractRadius 3.0 how close to station marker to interact
HUDKeybind 0x760A9C6F G key (hold) to open HUD while driving
NotifyRadius 20.0 notify radius 的游戏内距离。
TicketItem "trainticket" ticket item 使用的背包物品。名称必须存在于 jrs_items 表中。
TicketPrice 20.00 ticket price 的金额。奖励会经过 jrs_core 的经济倍率。
MarkupPrice 25.00 markup price 的金额。奖励会经过 jrs_core 的经济倍率。

DISCORD WEBHOOK LOGGING

Setting Default What it does
  ↳ Enabled true 开启或关闭 enabled(默认 true)。
  ↳ BotName "JRS Railroad" bot name 显示给玩家的文本。可修改以翻译或更名。
  ↳ BotAvatar "" optional image URL shown as the webhook's avatar
  ↳ URLs table Per-category webhook URLs. Paste your Discord webhook URLs below.
  ↳ Colors table Embed colors (decimal, not hex -- e.g. 0x2ECC71 = 3066993)
  ↳ LogMissionCompletions false Mission completions fire very frequently -- off by default so the economy channel isn't flooded. Turn on if you want every delivery / maintenance job logged too.

CONTINUOUS PASSENGER SYSTEM

Setting Default What it does
PassengerSystem table passenger system 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Enabled true 开启或关闭 enabled(默认 true)。
  ↳ MaxBoardPerStop 10 max board per stop 的上限。
  ↳ MinBoardPerStop 1 min board per stop 的最低值或等级要求。
  ↳ SearchRadius 120.0 search radius 的游戏内距离。
  ↳ TicketPrice 15.0 ticket price 的金额。奖励会经过 jrs_core 的经济倍率。
  ↳ TicketXP 5 ticket xp 的数值(默认 5)。
  ↳ DisembarkChance 50 disembark chance 的比率或倍数。
  ↳ MinBoardedToKeep 1 min boarded to keep 的最低值或等级要求。
  ↳ BoardingWindowMs 38000 boarding window ms 的数值(默认 38000)。
  ↳ BoardWalkSpeed 5.0 walk speed to train
  ↳ BoardDistance 5.0 within this distance (m) counts as boarded
  ↳ StationStopRadius 135.0 station stop radius 的游戏内距离。
  ↳ TrainStopSpeed 1.5 train stop speed 的数值(默认 1.5)。
  ↳ CompanyShare 0.50 company share 的数值(默认 0.50)。

RANKS (Brakeman -> Foreman)

Setting Default What it does
Ranks table ranks 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 1 table 1 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 2 table 2 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 3 table 3 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 4 table 4 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 5 table 5 条目表。按文件中的示例添加、删除或修改条目。

V2: COMPANY OWNERSHIP

Setting Default What it does
CompanyPurchasePrice 50000 company purchase price 的金额。奖励会经过 jrs_core 的经济倍率。
CompanySellPercent 0.50 company sell percent 的比率或倍数。
MissionPaySplit table mission pay split 的金额。奖励会经过 jrs_core 的经济倍率。
  ↳ driver 0.50 driver 的数值(默认 0.50)。
  ↳ company 0.50 company 的数值(默认 0.50)。
SupplyItems table supply items 使用的背包物品。名称必须存在于 jrs_items 表中。

FUEL / WATER / CONDITION

Setting Default What it does
Fuel table fuel 条目表。按文件中的示例添加、删除或修改条目。
  ↳ item "coal" item 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ itemLabel "Coal" item label 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ refuelAmount 2 refuel amount 的数值(默认 2)。
  ↳ decreaseInterval 20000 decrease interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ decreaseAmount 1 decrease amount 的数值(默认 1)。
Water table water 条目表。按文件中的示例添加、删除或修改条目。
  ↳ item "rocker_bucket_full" item 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ itemLabel "Bucket of Water" item label 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ refillAmount 50 refill amount 的数值(默认 50)。
  ↳ decreaseInterval 45000 decrease interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ decreaseAmount 1 decrease amount 的数值(默认 1)。
Condition table condition 条目表。按文件中的示例添加、删除或修改条目。
  ↳ item "oilcan" item 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ itemLabel "Oil Can" item label 使用的背包物品。名称必须存在于 jrs_items 表中。
  ↳ repairAmount 50 repair amount 的数值(默认 50)。
  ↳ decreaseInterval 60000 decrease interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ decreaseAmount 1 decrease amount 的数值(默认 1)。
  ↳ lowConditionSpeedCap 0.25 low condition speed cap 的上限。

COMPANIES

Setting Default What it does
Companies table companies 条目表。按文件中的示例添加、删除或修改条目。
  ↳ lemoyne_central table lemoyne central 条目表。按文件中的示例添加、删除或修改条目。
  ↳ heartlands_express table heartlands express 条目表。按文件中的示例添加、删除或修改条目。
  ↳ cumberland_western table cumberland western 条目表。按文件中的示例添加、删除或修改条目。
  ↳ new_austin_rail table new austin rail 条目表。按文件中的示例添加、删除或修改条目。

UPGRADES

Setting Default What it does
Upgrades table upgrades 条目表。按文件中的示例添加、删除或修改条目。
  ↳ speed table speed 条目表。按文件中的示例添加、删除或修改条目。
  ↳ fuel_cap table fuel cap 的上限。
  ↳ water_cap table water cap 的上限。
  ↳ durability table durability 条目表。按文件中的示例添加、删除或修改条目。

TRAINS

Setting Default What it does
Trains table trains 条目表。按文件中的示例添加、删除或修改条目。

STATIONS

Setting Default What it does
StationBlipHash 1258184551 station blip hash 的地图标记或图标设置。
Stations table stations 条目表。按文件中的示例添加、删除或修改条目。

TRACK SWITCHES (per route)

Setting Default What it does
TrackSwitches table track switches 条目表。按文件中的示例添加、删除或修改条目。
  ↳ route_east table route east 条目表。按文件中的示例添加、删除或修改条目。
  ↳ route_south table route south 条目表。按文件中的示例添加、删除或修改条目。
TrainSetup table train setup 条目表。按文件中的示例添加、删除或修改条目。
RouteOneTrainSwitches table route one train switches 条目表。按文件中的示例添加、删除或修改条目。
RouteOneTrainStops table route one train stops 条目表。按文件中的示例添加、删除或修改条目。
RouteOneTramSwitches table route one tram switches 条目表。按文件中的示例添加、删除或修改条目。
RouteOneTramStops table route one tram stops 条目表。按文件中的示例添加、删除或修改条目。
RouteThreeTrainSwitches table route three train switches 条目表。按文件中的示例添加、删除或修改条目。
RouteThreeTrainStops table route three train stops 条目表。按文件中的示例添加、删除或修改条目。
TrackModels table track models 使用的游戏模型或实体。

MISSIONS

Setting Default What it does
Missions table missions 条目表。按文件中的示例添加、删除或修改条目。
  ↳ delivery table delivery 条目表。按文件中的示例添加、删除或修改条目。
  ↳ maintenance table maintenance 条目表。按文件中的示例添加、删除或修改条目。

DELIVERY DESTINATIONS

Setting Default What it does
DeliveryDestinations table delivery destinations 条目表。按文件中的示例添加、删除或修改条目。

PropModel / CarryOffset / CarryAnim / CarryMoveRate are copied

Setting Default What it does
CargoDelivery table Disabling Enabled reverts to no physical cargo, but note that delivery legs currently only complete via the carry/drop flow, so leave this on unless you also restore a walk-based fallback.
  ↳ Enabled true 开启或关闭 enabled(默认 true)。
  ↳ PropModel "p_barrel010x" PLACEHOLDER: verify in-game
  ↳ MaxSimultaneous 3 should match Config.Missions.delivery.jobLegs; max barrels the flatbed can carry
  ↳ RequiredTrainModel "appleseed_config" only this train has the flatbed car for barrels
  ↳ FlatbedCarModel "privateflatcar01x" the coupled carriage barrels are loaded onto
  ↳ PlatformOverrides table just reuses that station's own coords (heading 0.0) as an untested starting point -- check each one in-game and adjust the x/y/z/heading as needed (e.g. move it away from doorways/props, face it properly, etc.).
  ↳ PlatformFallbackCoords vector4(-164.49, 636.65, 114... Used only if a mission is somehow started without a station reference.
  ↳ PlatformBarrelOffsets table Small per-barrel offsets (relative to PlatformSpawnCoords) so multiple loose barrels don't spawn stacked on top of each other.
  ↳ TrainAttachOffsets table if MaxSimultaneous/jobLegs is increased. x = side offset, y = along the flatbed length, z = height above the deck. Still needs in-game tuning -- raise/lower z further if barrels are clipped into the flatbed deck or float above it.
  ↳ CarryOffset table Proven values from mack-oilcompany's Config.CarryOffsets.barrel (CP_BeltFront attach point).
  ↳ CarryAnim table Proven barrel carry animation from mack-oilcompany's AttachBarrelToPlayer.
  ↳ CarryMoveRate 0.7 slows the player while carrying, same as mack-oilcompany
  ↳ PickupRequiresStopped true train must be stopped to load/unload barrels
  ↳ MaxTrainSpeedToPickup 1.5 m/s
  ↳ DropRadius 4.0 distance from destination coords that completes the leg
  ↳ AbandonDistance 100.0 distance from the destination that force-fails an active carry
  ↳ MinMoveDistance 15.0 Only one barrel can be unloaded per drop-off: after a delivery, the train must move at least this far from that spot before "Unload Cargo" appears again.

REWARDS

Setting Default What it does
RailwaymanRewards table railwayman rewards 条目表。按文件中的示例添加、删除或修改条目。
CompanyRankRewards table company rank rewards 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 2 table 2 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 3 table 3 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 4 table 4 条目表。按文件中的示例添加、删除或修改条目。
  ↳ 5 table 5 条目表。按文件中的示例添加、删除或修改条目。

BLIPS

Setting Default What it does
Blips table blips 的地图标记或图标设置。
  ↳ station table station 条目表。按文件中的示例添加、删除或修改条目。
  ↳ train table train 条目表。按文件中的示例添加、删除或修改条目。
  ↳ mission table mission 条目表。按文件中的示例添加、删除或修改条目。
  ↳ water table water 条目表。按文件中的示例添加、删除或修改条目。
  ↳ depot table depot 条目表。按文件中的示例添加、删除或修改条目。
  ↳ switch table switch 条目表。按文件中的示例添加、删除或修改条目。
AmbientTram table (SpawnAmbientTram) but never defined; feature silently no-op'd.
  ↳ enabled true 开启或关闭 enabled(默认 true)。
  ↳ model "appleseed_config" reuse a known-good train model
  ↳ spawnCoords vector3(2732.33, -1445.62, 4... Saint Denis Yard
  ↳ direction 1 direction 的数值(默认 1)。
  ↳ passengers 6 passengers 的数值(默认 6)。
  ↳ speed 8.0 speed 的数值(默认 8.0)。

NOTE: OutlawModels / HorseModels / OutlawWeapons below MUST be

Setting Default What it does
TrainRobbery table because shipping guessed model hashes would just fail silently (peds won't load) instead of erroring, which is worse to debug. Enabled is set to false until you confirm/replace them.
  ↳ Enabled false flip to true once models below are verified
  ↳ AmbientEnabled true ambient enabled 的开关:true = 开,false = 关(默认 true)。
  ↳ AmbientCheckInterval 300000 5 min between scans for ambient trains to rob
  ↳ AmbientChance 25 % chance an ambient train gets robbed per scan
  ↳ AmbientFollowMs 45000 how long ambient outlaws harass a route train
  ↳ PlayerChance 20 % chance used only if TriggerTrainRobbery(false) is ever called
  ↳ SafeZoneRadius 500.0 no robbery within this distance of any station
  ↳ ManualStopRobRadius 15.0 outlaw must be this close to rob a stopped/dead train
  ↳ TrainStopSpeed 1.5 speed (m/s) below which a manual stop counts as "stopped"
  ↳ RobberySlowSpeed 8.0 train is forced down to this speed during a robbery
  ↳ BoardTrain true board train 的开关:true = 开,false = 关(默认 true)。
  ↳ BoardDistance 4.0 board distance 的游戏内距离。
  ↳ BoardSideOffset 1.2 board side offset 的数值(默认 1.2)。
  ↳ EscapeTimeMs 15000 escape time ms 的数值(默认 15000)。
  ↳ InitialMessageDelay 4000 initial message delay 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ SpawnAheadDistance 80.0 spawn ahead distance 的游戏内距离。
  ↳ SpawnMultiplier 3.0 spawn multiplier 使用的世界坐标(x, y, z)。
  ↳ OutlawCount table outlaw count 条目表。按文件中的示例添加、删除或修改条目。
  ↳ OutlawAccuracy 35 outlaw accuracy 的数值(默认 35)。
  ↳ OutlawModels table PLACEHOLDER -- replace with real RDR2 ped model names:
  ↳ HorseModels table horse models 使用的游戏模型或实体。
  ↳ OutlawWeapons table outlaw weapons 使用的游戏模型或实体。
  ↳ PressureDecayInterval 4000 pressure decay interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ PressureDecayPerOutlaw 4 pressure decay per outlaw 的数值(默认 4)。
  ↳ PressureAttackRadius 40.0 pressure attack radius 的游戏内距离。
  ↳ PressureRecoveryInterval 2000 pressure recovery interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。
  ↳ PressureRecoveryAmount 5 pressure recovery amount 的数值(默认 5)。
  ↳ PressureRepairAmount 30 pressure repair amount 的数值(默认 30)。
  ↳ PressureRepairTime 8000 pressure repair time 的数值(默认 8000)。
  ↳ RobberyTakePercent 0.20 20% of the current cash register
  ↳ RobberyTakeMin 20 robbery take min 的最低值或等级要求。
  ↳ RobberyTakeMax 500 robbery take max 的上限。

Free (included in JRS Core)   jrs_samples

JRS Core animal samples - sedate animals, collect samples, leaderboard and milestones

Resource jrs_samples
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on /onesync, jrs_core, oxmysql
Interface No
Code size 1,631 Lua lines

Commands

  • /samplesmenu
  • /setfeatured

Database tables

jrs_samples

config.lua - 24 个选项#

JRS SAMPLES — Configuration

Setting Default What it does
Language "en" 'en' or 'ar'

Debug

Setting Default What it does
DebugClient false Print client-side debug logs to F8 console
DebugServer false Print server-side debug logs to server console

Database

Setting Default What it does
AutoInstallDB true create the jrs_samples table automatically on resource start

Sample Collection

Setting Default What it does
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)

Setting Default What it does
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)

Setting Default What it does
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

Setting Default What it does
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

Setting Default What it does
FirstDiscoveryBonus 500 Extra cash awarded to the FIRST player EVER to collect a particular animal sample. Set to 0 to disable.

Featured Animal

Setting Default What it does
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

Free (included in JRS Core)   jrs_smelting

JRS Core smelting - turn ore from jrs_mining into bars at smelters

Resource jrs_smelting
Folder [JOBS]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, jrs_inventory, jrs_progressbar
Interface No
Code size 1,023 Lua lines
config.lua - 8 个选项#

General

Setting Default What it does
Language "en" 'en' or 'ar'
SpawnDistance 50.0 smelter NPC appears inside this radius
UseDistance 2.5 prompt radius
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.

Paid (server only)   jrs_stashes

jrs core Stashes - purchasable and placeable shared stashes for jrs_core / jrs_inventory

Resource jrs_stashes
Folder [JOBS]
Version 1.4.1
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 2,652 Lua lines

Exports

AdminRemovePropertyStash, BeginPropertyPlacement, CountPropertyStashes, CreatePropertyStashDirect, GetPropertyStashes, GetPropertyStashesDetailed, RefreshAccess, ReloadStashes, RemoveAllPropertyStashes, RemovePropertyStash, SetPropertyStashSingleSize, SetPropertyStashSize

Database tables

jrs_stashes

config/config.lua - 76 个选项#

General

Setting Default What it does
Debug false Debug output for 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 gold
  ↳ 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 的设置。
Notes from the README#
text
# 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.

Paid (server only)   jrs_train

Resource jrs_train
Folder [JOBS]
Version 2.5.3-jrs
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 8,062 Lua lines

Commands

  • /-jrs_train_track_left
  • /-jrs_train_track_right
  • /jrs_train_menu
  • /ticketgps

Exports

BacchusBridgeDestroyed, CheckIfTrainIsSpawned, FindNearestTicketBooth, ForceExitSitting, GetTrainEntity, PlayTrainWhistleSafe

Database tables

train

config/config.lua - 139 个选项#

General

Setting Default What it does
defaultlang "ar" defaultlang 的设置。
Debug false Debug output for 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" display name of the item
  ↳ 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" display name of the item
  ↳ 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 Allows 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

Paid (server only)   jrs_truck

Network-safe custom truck shell for RedM using jrs_core and jrs_inventory

Resource jrs_truck
Folder [JOBS]
Version 2.9.1
Author jrs team
Depends on jrs_core, jrs_inventory
Interface No
Languages ar, en
Code size 2,645 Lua lines
config/config.lua - 130 个选项#

General

Setting Default What it does
Debug false Debug output for 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 spawn 使用的世界坐标(x, y, z)。
  ↳ 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 Forces draft animal auto creation:true = 是,false = 否(默认 true)。
  ↳ RequireDraftAnimal true Requires 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 Hides 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) position 使用的世界坐标(x, y, z)。
  ↳ TextScale 0.35 text scale 显示给玩家的文本。可修改以翻译或更名。
Commands table commands 条目表。按文件中的示例添加、删除或修改条目。
  ↳ Spawn table spawn 使用的世界坐标(x, y, z)。
  ↳ 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." spawn failed 使用的世界坐标(x, y, z)。
  ↳ SpawnBlocked "The spawn area is blocked." spawn blocked 使用的世界坐标(x, y, z)。
  ↳ 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 的设置。
Notes from the README#
text
# 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.

Paid (server only)   jrs_undertaker

Undertaker job (jrs_multijob

Resource jrs_undertaker
Folder [JOBS]
Version 1.0.1
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface No
Languages ar, en
Code size 571 行 Lua
config.lua - 26 个选项#

General

Setting Default What it does
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 spawn when within 使用的世界坐标(x, y, z)。
  ↳ 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
JRS Core · 免费开源的 RedM 框架 · JRS TEAM 出品