JRS COREDocs
Scripts

Activities

22 scripts in the [ACTIVITIES] folder

Side activities and gameplay systems that are not a job.

This folder has 22 scripts. Pick a script in the tabs below.

Paid (server only)   jrs_Ballon

A bare exports.jrs_core:getCoreApi() call can throw if jrs_core's client export isn't ready at the exact instant this script runs (a real, seen-before race on this server - restarting only jrs_Ballon, not jrs_core, is exactly the scenario that triggers it). An uncaught error here would kill this e

Resource jrs_Ballon
Folder [ACTIVITIES]
Version 1.9.0
Depends on jrs_core, jrs_inventory, oxmysql, uiprompt
Interface Yes (NUI)
Languages ar, en
Code size 4,804 Lua lines

Commands

  • /ballooncall
  • /balloondebug
  • /balloonrefuel
  • /balloonreturn

Database tables

jrs_balloon_migrations, jrs_player_balloon

config.lua - 131 options#

General

Setting Default What it does
DefaultLanguage "ar" Set Language
Keys table Key or control used for keys. Controls are hash values from the game input list.
  ↳ shop 0x760A9C6F [G] Open Balloon Shop Menu
  ↳ ret 0xE30CD707 [R] Return Balloon at Shop
  ↳ inv 0xD8F73058 [U] Open Balloon Inventory
  ↳ targetRet 0x760A9C6F [G] Target Menu Balloon Return
  ↳ boardDriver 0xCEFD9220 [E] Board as driver
  ↳ boardPassenger 0xD9D0E1C0 [Space] Board as passenger
  ↳ refuel 0x24978A28 [H] Refuel the balloon while driving
  ↳ autoPilot 0x26E9DC00 [Z] Start or cancel automatic flight to the map waypoint
  ↳ leavePassenger 0xB2F377E8 [F] Leave passenger position
  ↳ changePassengerSeat 0x26E9DC00 [Z] Move to the next available passenger position
MaxBalloons 1 Default: 5
ShowBalloonTag true Default: true / Set to false to disable
BalloonTagDistance 15 Default: 15 / Distance from Balloon to Show Tag
ShowBalloonBlip true Default: true / Set to false to disable
BalloonBlipSprite "blip_mp_player_wagon" Native sprite identifier; the "wagon" part is part of RedM's fixed sprite name.
EnableBalloonCall true Default: true / Set to false to Access Balloon from Menu Only
CallDistance 100 Default: 100 / Distance from Balloon to Call for Respawn
CallSpawnDistance 5.0 Distance beside the player when calling the balloon
BalloonFuel table Optional balloon fuel system. Set enabled = false to disable it completely. Each entry consumes the stated item amount and adds its duration to the balloon fuel tank.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ showDriverHud true Shows the remaining fuel bar to the current driver only
  ↳ lowFuelNotifyThreshold 0.15 Core notification once when fuel falls below 15%
  ↳ estimatedRangeSpeedKmh 15.0 Used by the HUD to estimate remaining travel range
  ↳ startingFuelSeconds 3600 descent from the moment it spawns (see balloon_c.lua), so a fresh purchase needs a gas can in hand before it can even take off. Starts full so a new purchase is flyable immediately. Must be <= maxFuelSeconds.
  ↳ maxFuelSeconds 3600 Maximum stored fuel: 60 minutes
  ↳ heartbeatSeconds 3 Number for heartbeat seconds (default 3).
  ↳ descentSpeed 0.15 Slow descent speed when fuel reaches zero
  ↳ repairLegacyZeroFuelOnce true One-time migration for databases that received the early fuel column with DEFAULT 0. The repair is recorded in jrs_balloon_migrations, so genuinely empty tanks are never refilled again on later restarts.
  ↳ registrationRetrySeconds 4.0 Server validation may wait up to 3.5s for OneSync ownership
  ↳ registrationAttempts 4 Number for registration attempts (default 4).
  ↳ refuelPromptThreshold 0.25 It used to be hard-coded at 0.05, which meant a player carrying a gas can could not use it until the tank was 95% empty. 0.25 of a 60-minute tank gives a 15-minute window. /balloonrefuel works at any fuel level.
  ↳ shopPrice 1.75 Cash price for one gas can in the balloon shop
  ↳ items table Inventory items used by items. Names must exist in the jrs_items table.
BalloonControls table Set a map waypoint, then press Z from the Balloon control list to start or cancel it. Manual balloon handling. Horizontal velocity is capped so holding a movement key cannot accelerate the networked balloon indefinitely.
  ↳ normalSpeedKmh 15.0 Comfortable hot-air-balloon cruise
  ↳ fastSpeedKmh 20.0 Optional faster travel while holding traversal
  ↳ accelerationKmhPerSecond 4.5 Number for acceleration kmh per second (default 4.5).
  ↳ brakeKmhPerSecond 10.0 Number for brake kmh per second (default 10.0).
  ↳ coastDecelerationKmhPerSecond 0.35 Gentle drift slowdown after releasing movement
  ↳ normalAcceleration 0.05 Legacy values are kept for compatibility with older custom edits.
  ↳ fastAcceleration 0.15 Number for fast acceleration (default 0.15).
  ↳ maxHorizontalSpeed 20.0 / 3.6 Upper limit for max horizontal speed.
  ↳ cameraRelative true Manual navigation follows the gameplay camera like the reference script. The compass/HUD is read-only and never feeds this controller.
BalloonPilot table Pilot immersion adapted from Rs-Balloon-V2. The animation and rope are cosmetic only; neither affects velocity, heading, fuel, or autopilot.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ ropeEnabled true Switch for rope enabled: true = on, false = off (default true).
  ↳ animationDict 'script_story@gng2@ig@ig_2_b... Animation settings for animation dict.
  ↳ burnerPullClip "base_burner_pull_arthur" Animation settings for burner pull clip.
  ↳ idleClip "idle_burner_line_arthur" Animation settings for idle clip.
  ↳ ropeLength 0.70 Number for rope length (default 0.70).
  ↳ balloonBone "engine" Setting for balloon bone.
  ↳ handBone "PH_L_HAND" Setting for hand bone.
BalloonRental table Rental is persistent across resource/server restarts. A rental is stored in player_balloon with is_rental=1 until its Unix expiry time is reached.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ price 5.0 Money value for price. Rewards go through the economy multiplier of jrs_core.
  ↳ currency 0 0 cash, 1 gold
  ↳ durationMinutes 30 Time setting for duration minutes. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ oneActiveRental true Switch for one active rental: true = on, false = off (default true).
  ↳ warningsSeconds table Table of warnings seconds entries. Add, remove or edit entries following the examples in the file.
  ↳ name "Rental Balloon" Text shown to the player for name. Change it to translate or rebrand.
BalloonTransfer table Table of balloon transfer entries. Add, remove or edit entries following the examples in the file.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ maxDistance 5.0 sender and recipient must be this close server-side
BalloonRemoval table Table of balloon removal entries. Add, remove or edit entries following the examples in the file.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ maxHeight 0.75 basket must be effectively on the ground
  ↳ maxSpeedKmh 2.0 Upper limit for max speed kmh.
  ↳ preventExitAboveHeight 0.75 Number for prevent exit above height (default 0.75).
BalloonAutoPilot table Table of balloon auto pilot entries. Add, remove or edit entries following the examples in the file.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ horizontalSpeed 15.0 / 3.6 15 km/h cruise, matching normal manual speed
  ↳ takeoffSpeed 0.8 Number for takeoff speed (default 0.8).
  ↳ landingSpeed 0.18 Gentle final descent
  ↳ landingFastSpeed 0.85 Controlled descent while still well above terrain
  ↳ landingSlowDistance 7.0 Begin the gentle final approach this many metres above terrain
  ↳ landingHorizontalSpeed 0.8 Small X/Y correction while descending
  ↳ landingHorizontalTolerance 0.8 Metres from waypoint centre considered aligned
  ↳ takeoffHeight 30.0 Rise vertically by this many metres before moving horizontally
  ↳ arrivalDistance 3.0 Distance in game units that applies to arrival distance.
  ↳ landOnArrival true Switch for land on arrival: true = on, false = off (default true).
  ↳ landingHeight 0.55 Touchdown clearance above the live terrain under the basket
  ↳ terrainFollowing true Raise the balloon automatically for terrain ahead
  ↳ terrainClearance 20.0 Metres to keep above the ground
  ↳ terrainLookAhead 80.0 Metres ahead to scan for hills and mountains
ReturnDistance 3 Default: 3
SeatPlayerOnSpawn false Default: true / Set to false to have Player Walk to Balloon
BalloonBoardingDistance 5.0 Balloon capacity: one pilot and three custom passenger positions in the basket. The base game model only has a driver seat, so passenger positions are synchronized separately.
BalloonPassengerSlots table Upper limit for balloon passenger slots.
SellPriceMultiplier 0.60 Default: 0.60
CurrencyType 2 Default: 2
ShowClosedBlip true If true, will show colored blip when shop is closed
InventoryDistance 1 Default: 3
Inventory table Table of inventory entries. Add, remove or edit entries following the examples in the file.
  ↳ hotAirBalloon01 table Table of hot air balloon01 entries. Add, remove or edit entries following the examples in the file.
Shops table Balloon Shops
  ↳ balloon1 table Table of balloon1 entries. Add, remove or edit entries following the examples in the file.
BlipColors table Map blip or icon settings for blip colors.
  ↳ LIGHT_BLUE "BLIP_MODIFIER_MP_COLOR_1" Setting for light blue.
  ↳ DARK_RED "BLIP_MODIFIER_MP_COLOR_2" Setting for dark red.
  ↳ PURPLE "BLIP_MODIFIER_MP_COLOR_3" Setting for purple.
  ↳ ORANGE "BLIP_MODIFIER_MP_COLOR_4" Setting for orange.
  ↳ TEAL "BLIP_MODIFIER_MP_COLOR_5" Setting for teal.
  ↳ LIGHT_YELLOW "BLIP_MODIFIER_MP_COLOR_6" Setting for light yellow.
  ↳ PINK "BLIP_MODIFIER_MP_COLOR_7" Setting for pink.
  ↳ GREEN "BLIP_MODIFIER_MP_COLOR_8" Setting for green.
  ↳ DARK_TEAL "BLIP_MODIFIER_MP_COLOR_9" Setting for dark teal.
  ↳ RED "BLIP_MODIFIER_MP_COLOR_10" Setting for red.
  ↳ LIGHT_GREEN "BLIP_MODIFIER_MP_COLOR_11" Setting for light green.
  ↳ TEAL2 "BLIP_MODIFIER_MP_COLOR_12" Setting for teal2.
  ↳ BLUE "BLIP_MODIFIER_MP_COLOR_13" Setting for blue.
  ↳ DARK_PUPLE "BLIP_MODIFIER_MP_COLOR_14" Setting for dark puple.
  ↳ DARK_PINK "BLIP_MODIFIER_MP_COLOR_15" Setting for dark pink.
  ↳ DARK_DARK_RED "BLIP_MODIFIER_MP_COLOR_16" Setting for dark dark red.
  ↳ GRAY "BLIP_MODIFIER_MP_COLOR_17" Setting for gray.
  ↳ PINKISH "BLIP_MODIFIER_MP_COLOR_18" Setting for pinkish.
  ↳ YELLOW_GREEN "BLIP_MODIFIER_MP_COLOR_19" Setting for yellow green.
  ↳ DARK_GREEN "BLIP_MODIFIER_MP_COLOR_20" Setting for dark green.
  ↳ BRIGHT_BLUE "BLIP_MODIFIER_MP_COLOR_21" Setting for bright blue.

Paid (server only)   jrs_alchemy

Potion mixing: brew tonics and medicine from herbs with a heat-control mini-game at doctor offices

Resource jrs_alchemy
Folder [ACTIVITIES]
Version 1.0.0
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 295 Lua lines
config.lua - 9 options#

General

Setting Default What it does
Key 0x760A9C6F G at a mixing table
Radius 2.0 Distance in game units that applies to radius.
BrewSeconds 12 length of the heat mini-game
FailBelow 35 score under this ruins the batch (ingredients lost)
GreatAbove 80 score over this may give a bonus batch...
GreatBonusChance 50 ...with this % chance (rolled on the server)
CooldownSeconds 20 Time setting for cooldown seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
Stations table Where people can brew. Doctor offices (jrs_doctors) by default.
Recipes table Inventory items used by recipes. Names must exist in the jrs_items table.

Paid (server only)   jrs_beekeeping

jrs core Beekeeping - persistent bee farming, hive management and trading for jrs_core / jrs_inventory

Resource jrs_beekeeping
Folder [ACTIVITIES]
Version 1.8.1
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 5,903 Lua lines

Database tables

IF, jrs_beekeeping_apiaries, jrs_beekeeping_profiles

config/apiaries.lua - 4 options#

General

Setting Default What it does
Apiaries table Apiary props are resolved directly from the models shipped in stream/.
  ↳ apiary_1 table Table of apiary 1 entries. Add, remove or edit entries following the examples in the file.
  ↳ apiary_2 table Table of apiary 2 entries. Add, remove or edit entries following the examples in the file.
  ↳ apiary_3 table Table of apiary 3 entries. Add, remove or edit entries following the examples in the file.
config/farm.lua - 28 options#

General

Setting Default What it does
Farm table Complete bee-farm and colony-care system.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ TickSeconds 300 Number for tick seconds (default 300).
  ↳ GlobalTickMs 300000 Number for global tick ms (default 300000).
  ↳ GlobalTickBatchSize 250 Number for global tick batch size (default 250).
  ↳ MaxOfflineHours 72 Upper limit for max offline hours.
  ↳ FarmMenuDistance 5.0 Distance in game units that applies to farm menu distance.
  ↳ StartingForageQuality 72 Number for starting forage quality (default 72).
  ↳ MaxStorage 100 Upper limit for max storage.
  ↳ Building table Hive structures are purchased as usable inventory items. Using the hive item starts prop placement; no separate placement tool or material is required. Colony work still uses the configured care supplies below.
  ↳ FarmActionDistance 6.0 Distance in game units that applies to farm action distance.
  ↳ WorldHud table Floating status card (with the circular HP/Honey/Food/Water meters) that used to hover above each hive. Disabled so every hive is just a clean physical object in the world. Set Enabled = true to bring it back.
  ↳ ForageZones table Flower-rich forage zones increase nectar collection and colony growth.
  ↳ Profile table BEEKEEPER LEVEL (the player). Shown at the top of the farm menu. XP needed for level L = XPBase * (L - 1) ^ XPExponent lvl 5 ~ 420 XP, lvl 10 ~ 1300 XP, lvl 12 ~ 1720 XP, lvl 20 ~ 3700 XP
  ↳ HiveLevels table HIVE LEVEL (the hive itself). Each hive earns XP from every care action and harvest done on it. XP[n] = total hive XP needed to reach level n.
  ↳ DecayPerHour table Slower needs: a full feed (+38) now lasts ~15 hours before food is low, so one visit or two per day keeps a hive healthy.
  ↳ Neglect table and hurts the hive, but can never push health or queen below these floors, so a hive is never lost just because the owner was offline. Only an untreated disease can still collapse a colony.
  ↳ CollapseSwarmLoss 15 On collapse the hive keeps its stored honey/wax/propolis (it used to be wiped) and only loses this much swarm strength.
  ↳ Condition table Table of condition entries. Add, remove or edit entries following the examples in the file.
  ↳ Production table Table of production entries. Add, remove or edit entries following the examples in the file.
  ↳ Disease table Table of disease entries. Add, remove or edit entries following the examples in the file.
  ↳ Seasons table Table of seasons entries. Add, remove or edit entries following the examples in the file.
  ↳ Actions table Table of actions entries. Add, remove or edit entries following the examples in the file.
  ↳ UpgradeRequirements table level = beekeeper (player) level needed to upgrade.
  ↳ SplitLevel 10 Beekeeper level needed for Split Colony.
  ↳ CraftingUses table Shown in the bee farm COLLECT tab. These mirror the "beekeeping" recipes in jrs_crafting/config/recipes.lua - edit both together. level = jrs_crafting level; benefit = English fallback (NUI key craft_use_<item>).
  ↳ BulkActions table Table of bulk actions entries. Add, remove or edit entries following the examples in the file.
  ↳ ActionValues table Table of action values entries. Add, remove or edit entries following the examples in the file.
config/locations.lua - 3 options#

General

Setting Default What it does
Locations table Store, NPC, blip and placement-zone configuration.
  ↳ Stores table Table of stores entries. Add, remove or edit entries following the examples in the file.
  ↳ Placement table Table of placement entries. Add, remove or edit entries following the examples in the file.
config/main.lua - 36 options#

General

Setting Default What it does
Main table General resource, prompt, interface and store configuration.
  ↳ Locale "ar" Interface language of this script (en or ar).
  ↳ Debug false Debug output for debug: true = yes, false = no (default false).
  ↳ Version "1.8.0" Setting for version.
  ↳ Keys table Key or control used for keys. Controls are hash values from the game input list.
  ↳ Prompts table Table of prompts entries. Add, remove or edit entries following the examples in the file.
  ↳ UI table Table of ui entries. Add, remove or edit entries following the examples in the file.
  ↳ Notifications table Table of notifications entries. Add, remove or edit entries following the examples in the file.
  ↳ InteractionDistance 3.2 Distance in game units that applies to interaction distance.
  ↳ StoreDrawDistance 25.0 Distance in game units that applies to store draw distance.
  ↳ PedSpawnDistance 120.0 Distance in game units that applies to ped spawn distance.
  ↳ PlacementDistance 2.4 Distance in game units that applies to placement distance.
  ↳ WorldStreaming table Nearby persistent props are streamed to every player, while interaction and management remain owner-only.
  ↳ HiveBlip table Map blip on every hive the player owns (only the owner sees it).
  ↳ PropSafety table Client-side prop safeguards: one physical object per database hive, staggered model creation and a visibility/collision watchdog.
  ↳ MinimumApiarySpacing 4.0 Minimum or level requirement for minimum apiary spacing.
  ↳ MaxApiariesPerCharacter 1 Absolute hive limit per character. This is a hard cap: the beekeeper level system can never let a player exceed it. Set to 1 so each player can place only one hive. Raise this number to allow more.
  ↳ MaxShopQuantity 100 Upper limit for max shop quantity.
  ↳ PlacementPreview table Table of placement preview entries. Add, remove or edit entries following the examples in the file.
  ↳ ServerValidation table Table of server validation entries. Add, remove or edit entries following the examples in the file.
  ↳ ActionCooldownMs 1000 Time setting for action cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DatabaseReadyTimeoutMs 10000 Time setting for database ready timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DeleteUnstartedAfterDays 0 Number for delete unstarted after days (default 0).
  ↳ HarvestXP 10 Number for harvest xp (default 10).
Stream table Every configured prop below maps directly to a model inside stream/. Existing database entries are normalized to these model names on startup.
  ↳ Resource "jrs_beekeeping" Setting for resource.
  ↳ Ytyp "bee_house_gk_ytyp" Setting for ytyp.
  ↳ Models table Game model or entity used for models.
  ↳ Fallbacks table Table of fallbacks entries. Add, remove or edit entries following the examples in the file.
  ↳ NativeFallbacks table Guaranteed base-game fallbacks. These are only used when the custom streamed archetype cannot be registered on the player's RedM build.
  ↳ AllModels table Game model or entity used for all models.
Shop table Table of shop entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ CurrencyLabels table Table of currency labels entries. Add, remove or edit entries following the examples in the file.
  ↳ BuyItems table Full store list: hive kits plus every colony-care supply the player needs to buy and use for the CARE actions (water, brush, smoker, medicine, frame, queen cell). Item images are resolved from jrs_inventory.
  ↳ SellItems table Inventory items used by sell items. Names must exist in the jrs_items table.
config/xp.lua - 6 options#

Set Enabled = false to switch this script's XP off without touching code.

Setting Default What it does
XP table Table of xp entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Job "beekeeping" 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 Table of rewards entries. Add, remove or edit entries following the examples in the file.
Notes from the README#
text
# jrs_beekeeping
`jrs_beekeeping` is a complete RedM beekeeping/farm resource converted to the REDEMPIRE stack. It uses `jrs_core` for character and currency handling, `jrs_inve
## Requirements
- `jrs_core`
- `jrs_inventory`
- `oxmysql`
No legacy framework adapter or framework.lua is used.
## Main features
- Persistent player-owned beehives.
- Small, medium and large hive kits as usable `jrs_inventory` items.
- Placement preview and server-side placement validation.
- Hive ownership by REDEMPIRE `identifier` + `charIdentifier`.
- Complete colony management: queen, food, water, cleaning, smoker, medicine, repair, queen replacement and upgrades.
- Health, hunger, water, cleanliness, stress, queen health, swarm strength and forage quality simulation.
- Diseases, offline lifecycle progression and seasonal production modifiers.
- Honey, beeswax, propolis and royal-jelly harvesting.
- Hive XP/level progression and character profile progression.
- Bulk farm actions.
- Bee Market for buying supplies/hive kits and selling products.
- Cash and Gold support through `jrs_core` currency APIs.
- Persistent streamed hive props.
- NUI shop/farm interface, notifications and sounds.
- Optional Discord webhook logs.
- Rate limits, distance checks, transaction locks and rollback paths around inventory/currency operations.
## 1.1.0 deep-fix notes
This build is aligned against the supplied/current REDEMPIRE APIs rather than a generic framework adapter.
- Shared per-player mutation lock serializes Bee Market, hive placement and farm inventory/economy mutations.
- Owner-level lifecycle lock prevents the global hive tick and live player actions from overwriting each other after an awaited MySQL call.
- `jrs_inventory` split-stack removals use exact `itemId` entries and roll back earlier stacks with their metadata if a later stack fails.
- Hive placement, upgrade and dismantle use direct delta synchronization instead of forcing every client to re-query the database.
- Menu/HUD synchronization is read-only; lifecycle state is persisted only by authoritative mutation/tick paths.
- Character-ready gating prevents hive refresh requests during character selection/loading.
- NUI open retries stop as soon as the UI is ready, and character unload/resource stop release only state owned by this resource.
- Server distance checks, transaction idempotency, finite-number checks and action rate limits remain authoritative.
- Normal success/compatibility console noise is hidden while `Config.Main.Debug = false`; critical rollback/startup errors remain visible.
## Installation
1. Copy the folder as:
'''text
resources/[jrs]/jrs_beekeeping
'''
2. Import:
'''text
sql/jrs_beekeeping.sql
'''
3. Copy the item images from:

Paid (server only)   jrs_canon

jrs core persistent cannon and gatling placement system

Resource jrs_canon
Folder [ACTIVITIES]
Version 1.2.0
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 1,798 Lua lines

Database tables

jrs_canon_placements

config/config.lua - 30 options#

General

Setting Default What it does
Debug false Debug output for debug: true = yes, false = no (default false).
RangeRecover 2.0 Interaction distances
RangeUse 2.5 Distance in game units that applies to range use.
EntityMatchRadius 3.0 Distance in game units that applies to entity match radius.
OtherPlayerBlockRadius 2.0 Distance in game units that applies to other player block radius.
MinimumDistanceBetweenCannons 2.0 Distance in game units that applies to minimum distance between cannons.
MaxPlacementFromPlayer 8.0 Upper limit for max placement from player.
ServerEntityReadyTimeout 5000 Server-created RedM vehicle entities can take a moment to register.
FreezePlaced false If true, freeze the deployed artillery base in place.
PreviewAlpha 170 Placement preview
PreviewGroundOffset 0.0 Number for preview ground offset (default 0.0).
TickHeadingPlace 5.0 Number for tick heading place (default 5.0).
PlacementSpawnDelay 150 Small delay after destroying the local preview and before spawning the real cannon. This is intentionally short and prevents the preview from visually doubling.
PreviewCleanupRadius 4.0 Distance in game units that applies to preview cleanup radius.
KeyPlace 0x760A9C6F G
KeyUse 0xCEFD9220 E
KeyCancelRecover 0x71F89BBC R
WheelUp table Table of wheel up entries. Add, remove or edit entries following the examples in the file.
WheelDown table Table of wheel down entries. Add, remove or edit entries following the examples in the file.
AllowAnyPlayerRecover true Anyone can recover a deployed cannon.
MaxPlacementsPerCharacter 3 0 = unlimited
MaxPlacementsTotal 150 whole server, 0 = unlimited
MaxPlacementHeightDiff 5.0 max |gun z - player z| when placing
EventCooldownMs 750 per player, per server event
BlockInSafeZone true Block using or placing artillery inside safe zones.
Cannons table Table of cannons entries. Add, remove or edit entries following the examples in the file.
  ↳ canon table Table of canon entries. Add, remove or edit entries following the examples in the file.
  ↳ canon2 table Table of canon2 entries. Add, remove or edit entries following the examples in the file.
  ↳ gatling table Table of gatling entries. Add, remove or edit entries following the examples in the file.
  ↳ gatling2 table Table of gatling2 entries. Add, remove or edit entries following the examples in the file.
Notes from the README#
text
# jrs_canon v1.1.0
REDEMPIRE cannon / Gatling deployment system for RedM.
## v1.0.7 changes
- Placements are **persisted in database** (`jrs_canon_placements` table) across server and resource restarts.
- Inventory operations are **verified with callbacks** on both placement (`jrsCore:subItem`) and recovery (`jrsCore:addItem`), preventing item loss or duplicati
- Enforced `Config.AllowAnyPlayerRecover`: when set to `false`, only the original owner character can recover deployed artillery.
- Client re-sync net event handlers properly registered for `jrs_character:isPlayerReady`, `jrs_core:client:characterReady`, and `jrs_canon:client:requestSync`.
- Completed Arabic localization in `locales/ar.lua` (translated English strings: placement title, cancel, recover, and added not_owner).
- Clean entity teardown on resource stop without wiping persistent database records.
## Dependencies
- `jrs_core`
- `jrs_inventory`
- `oxmysql`
## SQL Setup
Import the SQL schemas if not already applied:
1. `sql/jrs_canon_items.sql` (registers cannon and gatling inventory items)
2. `sql/jrs_canon_placements.sql` (table schema for persisted deployments; automatically initialized on boot)
## Controls
- Use the item from the inventory: the inventory closes and placement starts
  (same NUI panel and keys as jrs_housing furniture placement)
- Crosshair: move the gun
- Arrow Left / Right (or mouse wheel): rotate - Q / E: turn 45 degrees
- Arrow Down / Up: lower / raise (-0.5 .. +3.0 m) - F: back onto the ground
- L: lock position - X: speed (Precise / Normal / Fast) - R: reset
- G: place (only inside Config.MaxPlacementFromPlayer) - DELETE: cancel
- At a deployed gun: E use, R remove and get the item back
- Seated on the gun: centre reticle is shown, gold while firing

Paid (server only)   jrs_casino

JRS Casino - Blackjack & Roulette Unified Resource

Resource jrs_casino
Folder [ACTIVITIES]
Version 1.1.0-jrs
Author jrs team
Depends on PolyZone, jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en, roule
Code size 6,247 Lua lines

Commands

  • /card
  • /cds
  • /playDealer

Exports

SetCanSitDownCallback, SetGetChipsCallback, SetGiveChipsCallback, SetLeaveCheckCallback, SetSatDownCallback, SetStandUpCallback, SetTakeChipsCallback

config/blackjack/config_shared.lua - 6 options#

General

Setting Default What it does
XP table Table of xp entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ OnWin 50 XP when beating dealer
  ↳ OnBlackjack 100 XP on natural 21 (Blackjack)
  ↳ OnPush 20 XP on tie/draw
  ↳ OnPlay 10 XP for participating / bust
config/roulette/config.lua - 30 options#

General

Setting Default What it does
OpenControl 0x760A9C6F G
HoldToOpen false false: single press, true: hold G
Roulettee table Table of roulettee entries. Add, remove or edit entries following the examples in the file.
  ↳ 1 table Table of 1 entries. Add, remove or edit entries following the examples in the file.
TableModel "p_roulettetable01x" Game model or entity used for table model.
ItemNames table Inventory items used by item names. Names must exist in the jrs_items table.
  ↳ Red "red_coin" Setting for red.
  ↳ Black "black_coin" Setting for black.
  ↳ Green "green_coin" Setting for green.
ChipPrices table Table of chip prices entries. Add, remove or edit entries following the examples in the file.
  ↳ red 1 Number for red (default 1).
  ↳ black 2 Number for black (default 2).
  ↳ green 3 Number for green (default 3).
XP table Table of xp entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ OnWin 50 XP on winning red/black
  ↳ OnWinGreen 100 XP on winning green
  ↳ OnPlay 10 XP on participating / loss
Language table Interface language of this script (en or ar).
  ↳ nomoney "You don't have enough money... Setting for nomoney.
  ↳ winblack "Black wins!" Setting for winblack.
  ↳ winred "Red wins!" Setting for winred.
  ↳ wingreen "Green wins!" Setting for wingreen.
  ↳ playroulette "Press [~e~Space~q~] to play... Setting for playroulette.
  ↳ inprogress "A game is already in progress." Setting for inprogress.
  ↳ teleportA "Press [~e~Space~q~] to ente... Setting for teleport a.
  ↳ teleportB "Press [~e~Space~q~] to go t... Setting for teleport b.
  ↳ losemoney "~e~Roulette~q~: You lost! T... Setting for losemoney.
  ↳ PlayRoulettee "Play Roulette" Setting for play roulettee.
  ↳ Youwon "Congratulations! You won!" Setting for youwon.

Paid (server only)   jrs_chicken_job

JRS Chicken Job

Resource jrs_chicken_job
Folder [ACTIVITIES]
Version 3.4.0
Author JRS
Depends on jrs_core, jrs_inventory, oxmysql
Interface No
Code size 5,140 Lua lines

Commands

  • /chicken_cancel
  • /chicken_status

Database tables

jrs_chicken_cooldowns

config.lua - 168 options#

General

Setting Default What it does
defaultlang "ar" ar | en
Debug false Debug output for debug: true = yes, false = no (default false).
ServerHealthChecks false RedM server SyncTrees_RDR3 currently exposes no ped/vehicle health node. Enable only on an artifact with verified server-side health support.

JRS Integration ------------------------

Setting Default What it does
Integration table Table of integration entries. Add, remove or edit entries following the examples in the file.
  ↳ coreResource "jrs_core" Setting for core resource.
  ↳ inventoryResource "jrs_inventory" Setting for inventory resource.

Development helper. Keep disabled on a live/production server.

Setting Default What it does
TestMode table When enabled, /chicken_test <stage> [hub] can jump directly to a mission stage without server rewards, XP, cooldowns, or items.
  ↳ enabled false Turns enabled on or off (default false).
  ↳ defaultHub "valentine" Setting for default hub.
  ↳ teleportPlayer true Switch for teleport player: true = on, false = off (default true).
  ↳ wagonHeadings table Test wagon direction. These headings are used for test stages that spawn the wagon at butcher/processing locations instead of the normal job-hub wagon spawn.
  ↳ command "chicken_test" Setting for command.
  ↳ stopCommand "chicken_test_stop" Setting for stop command.
  ↳ noRewards true Test mode NEVER grants money/items/XP even if this resource is accidentally left enabled. It only simulates progression client-side.
Prompts table Table of prompts entries. Add, remove or edit entries following the examples in the file.
  ↳ start "Start Chicken Job" Setting for start.
  ↳ catchChicken "Catch Chicken" Setting for catch chicken.
  ↳ loadChicken "Load Chicken" Setting for load chicken.
  ↳ unloadChicken "Unload Chicken" Setting for unload chicken.
  ↳ killChicken "Slaughter Chicken" Setting for kill chicken.
  ↳ pickupDeadChicken "Pick Up Chicken" Setting for pickup dead chicken.
  ↳ placeDeadChicken "Place on Table" Setting for place dead chicken.
  ↳ cutChicken "Cut Chicken" Setting for cut chicken.
  ↳ pickupChest "Pick Up Products" Setting for pickup chest.
  ↳ loadChest "Load Products" Setting for load chest.
  ↳ unloadChest "Unload Products" Setting for unload chest.
  ↳ deliverChest "Deliver Products" Setting for deliver chest.
  ↳ interact "Interact" Setting for interact.
Texts table Table of texts entries. Add, remove or edit entries following the examples in the file.
  ↳ ar table Table of ar entries. Add, remove or edit entries following the examples in the file.
  ↳ en table Table of en entries. Add, remove or edit entries following the examples in the file.
Text Config.Texts[Config.defaultl... Text shown to the player for text. Change it to translate or rebrand.

These are native RDR2/RedM animations. If a specific clip is not

Setting Default What it does
Animations table available on a build, the action still continues using the fallback.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ pickup table Table of pickup entries. Add, remove or edit entries following the examples in the file.
  ↳ carry table Table of carry entries. Add, remove or edit entries following the examples in the file.
  ↳ chickenCarry table Two-hand front carry for chickens. This is shared by every chicken pickup path so the player always holds the chicken between both hands.
  ↳ putDown table Table of put down entries. Add, remove or edit entries following the examples in the file.
  ↳ chickenStow table RDR2 chicken-specific stow clip. Used when loading onto the wagon.
  ↳ chickenPickup table v3.4.0: RDR2's own pick-up-a-chicken clip (used for every chicken pickup: field, wagon cage, ground after slaughter). The basin keeps pickup above.
  ↳ chickenUnstow table Table of chicken unstow entries. Add, remove or edit entries following the examples in the file.
  ↳ killPlace table The player visibly bends down and releases the live chicken before drawing the knife. This dictionary is the RDR2 handheld-chicken drop.
  ↳ kill table kneel used when dressing a chicken in-game). The old dict 'melee@knife@streamed_core' does not exist in RDR3, so the hammer fallback always ran. enter -> success (chicken dies at strikePhase) -> exit.
  ↳ tableCut table butcher_idle), the same mp005_s_posse_butcher01x table spawned below. It is a standing full-body clip, so it plays with rdoFlag (1 = loop). If it does not start, the rabbit-chop camp clips below are used.
CarrySystem table Prefer RDR2's native carriable system for chickens. It lets the game control the player's hands/body pose instead of a manual hand attachment. Manual offsets below are kept because chicken native carry is disabled here.
  ↳ native true Switch for native: true = on, false = off (default true).
  ↳ nativeForLiveChicken false Native small-animal carry grips the chicken through the body on this build. Keep native available for other carriables, but use our tuned hand grip for chickens.
  ↳ nativeForDeadChicken true Switch for native for dead chicken: true = on, false = off (default true).
  ↳ requireNativeDeadCarry true Requires native dead carry: true = yes, false = no (default true).
  ↳ timeoutMs 2600 Time setting for timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ fallbackManualAttach true Switch for fallback manual attach: true = on, false = off (default true).
  ↳ fallbackCarryConfig 'GENERIC_DEAD_CARRIABLE_SMAL... Setting for fallback carry config.
  ↳ taskSlot 0 Number for task slot (default 0).
  ↳ taskFlags 0 Number for task flags (default 0).
CarryOffsets table Table of carry offsets entries. Add, remove or edit entries following the examples in the file.
  ↳ liveChicken table Attach chickens to the player's root instead of a rotating spine bone. These offsets are stable player-space coordinates: centered, in front of the waist and directly between the hands of the carry animation.
  ↳ deadChicken table Table of dead chicken entries. Add, remove or edit entries following the examples in the file.
  ↳ deadChickenBack table After slaughter, carry the whole dead chicken over the player's back/shoulder. No looping box-carry animation is played; the player can walk normally.
  ↳ pluckedChicken table Table of plucked chicken entries. Add, remove or edit entries following the examples in the file.
  ↳ basin table Table of basin entries. Add, remove or edit entries following the examples in the file.
Basin table Table of basin entries. Add, remove or edit entries following the examples in the file.
  ↳ model "p_washbasin01x" Game model or entity used for model.
  ↳ groundHeading 0.0 Number for ground heading (default 0.0).
  ↳ wagonAttach table Table of wagon attach entries. Add, remove or edit entries following the examples in the file.

Discord Webhook --------------------------

Setting Default What it does
  ↳ enabled true Turns enabled on or off (default true).
  ↳ url "" Setting for url.
  ↳ botName "rakan chicken" Text shown to the player for bot name. Change it to translate or rebrand.
  ↳ color 16753920 Number for color (default 16753920).

Job Check ----------------------------

Setting Default What it does
JobCheck table Who is allowed: jobs, groups or permissions for job check.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ job "chicken" Who is allowed: jobs, groups or permissions for job.
  ↳ minLevel 0 Minimum or level requirement for min level.
  ↳ showBlipOnlyIfJob true true = show blip on map ONLY for players who have the chicken job

Feature Toggles -------------------------

Setting Default What it does
Features table Table of features entries. Add, remove or edit entries following the examples in the file.
  ↳ npc true job start NPC + blip
  ↳ wagon true wagon spawn + load chickens
  ↳ catch true catch zone + chickens
  ↳ kill true animated kill/chop phase
  ↳ cut true G butcher cut scenario + inventory items
  ↳ chest true basin: store products after cut
  ↳ delivery true final delivery point
  ↳ gps true yellow route on minimap
  ↳ markers true world markers (hidden when you arrive)
  ↳ blips true objective blips
  ↳ sounds false Switch for sounds: true = on, false = off (default false).

Multi-player sync -----------------------

Setting Default What it does
Sync table Others SEE your chickens / wagon / table / anims Only YOU can catch, kill, or process your mission entities
  ↳ enabled true Turns enabled on or off (default true).
  ↳ viewDistance 120.0 Distance in game units that applies to view distance.
Gps table Table of gps entries. Add, remove or edit entries following the examples in the file.
  ↳ color "COLOR_YELLOW" The mission uses a REAL map waypoint (SetNewWaypoint), exactly like selecting a destination manually from the RDR2 map.
  ↳ hudColor 6 used only by the emergency multi-route fallback
  ↳ useCoreDestination false Optional 3D world indicator from jrs_core. Keep false if you only want the normal map/minimap GPS route.
  ↳ enableBlipRouteFallback false Turns blip route fallback on or off (default false).
ObjectiveBlips table Map blip or icon settings for objective blips.
  ↳ wagon "blip_ambient_wagon" Setting for wagon.
  ↳ catch "blip_ambient_herd" Setting for catch.
  ↳ process "blip_proc_cleaver" Setting for process.
  ↳ chest "blip_ambient_loot" Setting for chest.
  ↳ delivery "blip_ambient_delivery" Setting for delivery.

Keys -------------------------------

Setting Default What it does
Keys table Key or control used for keys. Controls are hash values from the game input list.
  ↳ interact 0x760A9C6F G

Mission Cooldown ------------------------

Setting Default What it does
MissionCooldown table Saved in DB — survives disconnect / reconnect
  ↳ enabled true Turns enabled on or off (default true).
  ↳ minutes 60 Number for minutes (default 60).

JRS Core (XP) -------------------------

Setting Default What it does
XP table Awards XP to the Poultry Butcher (chicken) job level in jrs_job_levels and automatically feeds Config.JobXP.CoreShare into the player's global level. Set Enabled = false to disable all XP.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Job "chicken" Who is allowed: jobs, groups or permissions for job.
  ↳ Multiplier 1.0 Rate or multiplier for multiplier.
  ↳ Default 0 Number for default (default 0).
  ↳ Rewards table Table of rewards entries. Add, remove or edit entries following the examples in the file.
RakanLevel Config.XP Legacy alias kept for backwards compatibility

Job Hubs (multi NPC) --------------------

Setting Default What it does
JobHubs table Each hub: NPC, wagon spawn, catch zones, butcher, delivery

Wagon ------------------------------

Setting Default What it does
Wagon table Table of wagon entries. Add, remove or edit entries following the examples in the file.
  ↳ model "wagon02x" Game model or entity used for model.
  ↳ useDraftVehicle true Turns draft vehicle on or off (default true).
  ↳ draftHorseGroup "DRAFT_HORSES_MID" Who is allowed: jobs, groups or permissions for draft horse group.
  ↳ maxChickens 5 Upper limit for max chickens.
  ↳ pickupDistance 10.0 G prompt / auto-start near wagon
  ↳ loadDistance 4.0 distance to load chicken on wagon
  ↳ rearLoadDistance 2.5 Distance in game units that applies to rear load distance.
  ↳ rearLoadOffset vector3(0.0, -1.10, -0.15) relative to the rear cage
  ↳ unloadDistance 4.0 distance to take chicken from wagon
  ↳ chestLoadDistance 4.0 distance to load/unload basin on wagon
  ↳ loadMarkerOffset vector3(0.0, -1.85, 0.0) marker at rear of wagon bed
  ↳ searchRadius 150.0 Distance in game units that applies to search radius.
  ↳ autoStartWhenInWagon true continue mission when player enters the wagon
  ↳ chickenTrap table Physical chicken cage carried in the wagon bed. Chickens are attached to this object, not directly to the wagon.
  ↳ failMission table Fail mission if wagon destroyed or draft horse dies

Catch Zones -----------------------------

Setting Default What it does
ChickensRequired 5 Random zone picked each job run
Chicken table Table of chicken entries. Add, remove or edit entries following the examples in the file.
  ↳ model "a_c_chicken_01" Game model or entity used for model.
  ↳ zoneTriggerRadius 25.0 broad streaming/search area
  ↳ arrivalRadius 16.0 actual arrival distance before chickens spawn
  ↳ spawnRadius 7.0 Distance in game units that applies to spawn radius.
  ↳ minSpacing 2.0 Minimum or level requirement for min spacing.
  ↳ catchDistance 1.8 Distance in game units that applies to catch distance.
  ↳ showMarkers false circular marker under every live chicken (disabled, text only)
  ↳ showBlips true chicken icons stay visible until that chicken is picked up
  ↳ blipSprite "blip_ambient_herd" Map blip or icon settings for blip sprite.
  ↳ blipScale 0.55 Map blip or icon settings for blip scale.
  ↳ marker table Table of marker entries. Add, remove or edit entries following the examples in the file.
  ↳ drawText table Text shown to the player for draw text. Change it to translate or rebrand.
  ↳ maxHeightDiff 6.0 Upper limit for max height diff.
  ↳ carryUsePed true carryUsePed = true -> live chicken ped in hands (not dead prop)
  ↳ carryModel "a_c_chicken_01" Game model or entity used for carry model.
  ↳ carryProp "p_chicken01x" only used when carryUsePed = false (dead plucked prop)

Butcher table cut --------

Setting Default What it does
ButcherScenario table Animation settings for butcher scenario.
  ↳ ScenarioTypes table Chicken cutting uses the rabbit-butcher scenario on the spawned table.
  ↳ FallbackScenario "WORLD_HUMAN_BUTCHER_RABBIT" Animation settings for fallback scenario.
  ↳ DistanceThreshold 2.5 Distance in game units that applies to distance threshold.
  ↳ ScenarioWait 8000 Time setting for scenario wait. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DirectCutDurationMs 7200 Time setting for direct cut duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DirectCutHoldMs 8000 Number for direct cut hold ms (default 8000).

Butcher / Wagon Unload Sites --------------------

Setting Default What it does
ButcherSites table Table of butcher sites entries. Add, remove or edit entries following the examples in the file.

Chicken cutting stations.

Setting Default What it does
CutStations table Valentine uses a spawned butcher table with its own attached scenario point.

Processing defaults (all sites) -----------------

Setting Default What it does
ProcessStation table Table of process station entries. Add, remove or edit entries following the examples in the file.
  ↳ advanceOnItemFail true Switch for advance on item fail: true = on, false = off (default true).
  ↳ wagonUnloadDistance 2.0 Distance in game units that applies to wagon unload distance.
  ↳ steps table table, phases, chest, steps.kill -> client/coords.lua

Delivery -------------------------------

Setting Default What it does
Delivery table Table of delivery entries. Add, remove or edit entries following the examples in the file.
  ↳ payment table Table of payment entries. Add, remove or edit entries following the examples in the file.
  ↳ areaRadius 35.0 wagon near delivery point to unload basin
  ↳ dropRadius 4.0 player distance to place basin at delivery point
  ↳ returnRadius 5.0 Distance in game units that applies to return radius.

Markers ------------------------------

Setting Default What it does
Marker table Table of marker entries. Add, remove or edit entries following the examples in the file.
  ↳ type 0x94FDAE17 Setting for type.
  ↳ rgba table Table of rgba entries. Add, remove or edit entries following the examples in the file.
  ↳ size table Table of size entries. Add, remove or edit entries following the examples in the file.

Paid (server only)   jrs_cinema

JRS Cinema - synchronized RDR2 shows and room-aware grayscale YouTube cinema playback with server-synced volume control

Resource jrs_cinema
Folder [ACTIVITIES]
Version 1.3.1
Author JRS
Depends on jrs_core
Interface Yes (NUI)
Code size 2,031 Lua lines

Exports

CanManageCinema, GetActiveShow

config.lua - 52 options#

General

Setting Default What it does
Key 0x760A9C6F G
ShowStartTime 60 seconds after buying a ticket
PriceType 0 0 = Money, 1 = Gold
DistanceStart 150.0 players inside this radius receive/start the show
ServerBuyDistanceExtra 1.5 Distance in game units that applies to server buy distance extra.
ShowLockSeconds 900 safety fallback if the host disconnects or a show fails
RandomTransitions false Switch for random transitions: true = on, false = off (default false).
Debug false Debug output for debug: true = yes, false = no (default false).
SellerPrompt "Talk to Seller" Text shown to the player for seller prompt. Change it to translate or rebrand.
MenuTitle "بائع التذاكر" Text shown to the player for menu title. Change it to translate or rebrand.
MenuSubtitle "اختر عرضاً واشترِ تذكرة" Setting for menu subtitle.
Messages table Text shown to the player for messages. Change it to translate or rebrand.
  ↳ cinema "السينما" Setting for cinema.
  ↳ notEnough 'ليس لديك ما يكفي من المال ل... Setting for not enough.
  ↳ notEnoughGold 'ليس لديك ما يكفي من الذهب ل... Money value for not enough gold. Rewards go through the economy multiplier of jrs_core.
  ↳ showAlreadyRunning 'هناك عرض مجدول أو قيد التشغ... Setting for show already running.
  ↳ ticketBought 'تم شراء التذكرة بنجاح. سيبد... Setting for ticket bought.
  ↳ showStarted "بدأ العرض الآن." Setting for show started.
  ↳ tooFar "أنت بعيد جداً عن بائع التذاكر." Setting for too far.
  ↳ invalidSelection "اختيار غير صالح للعرض." Setting for invalid selection.
  ↳ coreUnavailable "نظام jrs_core غير متوفر." Setting for core unavailable.
  ↳ characterNotReady 'شخصيتك لا تزال قيد التحميل.... Setting for character not ready.
  ↳ purchaseFailed 'فشلت عملية الشراء. يرجى الم... Setting for purchase failed.
  ↳ showFailed "تعذر بدء العرض." Setting for show failed.
  ↳ youtubeNoPermission 'ليس لديك صلاحية لإدارة شاشة... Who is allowed: jobs, groups or permissions for youtube no permission.
  ↳ youtubeInvalidUrl "رابط يوتيوب غير صالح." Setting for youtube invalid url.
  ↳ youtubeOnlyMovie 'تشغيل يوتيوب متاح فقط في شا... Setting for youtube only movie.
  ↳ youtubeStarted "تم بدء تشغيل فيديو يوتيوب." Setting for youtube started.
  ↳ youtubeStopped "تم إيقاف فيديو يوتيوب." Setting for youtube stopped.
  ↳ youtubePaused "تم إيقاف الفيديو مؤقتاً." Setting for youtube paused.
  ↳ youtubeResumed "تم استئناف تشغيل الفيديو." Setting for youtube resumed.
YouTube table YouTube / external cinema playback
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ UseCoreAdmin true Administration permission comes DIRECTLY from jrs_core:IsAdmin(). It automatically follows jrs_core Config.AdminGroups (owner/admin/support in your current core, plus any groups you add there later).
  ↳ AllowedJobs table Jobs allowed to manage YouTube playback. Job name and grade are read directly from jrs_core getJob/getJobGrade. Value = minimum job grade.
  ↳ UseAcePermission false Optional ACE fallback. Core admin + job permissions above are enough for normal use, so this stays disabled unless you explicitly need ACE too.
  ↳ AcePermission "jrs.cinema.manage" Who is allowed: jobs, groups or permissions for ace permission.
  ↳ StartDelay 2 seconds before a newly submitted video begins
  ↳ RenderDistance 45.0 YouTube NUI is only active while player is near the screen
  ↳ DefaultVolume 100 initial volume selected when a new YouTube video is started
  ↳ MaxVolume 100 hard safety cap; manager slider can select 0-100 but never exceed this value
  ↳ BlackAndWhite true render YouTube video in grayscale / old-cinema style
  ↳ SameRoomOnly true only show/hear YouTube while player is in the same interior room as the cinema screen
  ↳ VolumeFadeDistance 35.0 volume fades to 0 by this distance
  ↳ Width 1280 Number for width (default 1280).
  ↳ Height 720 Number for height (default 720).
  ↳ ProjectionRefreshMs 0 0 = every frame while the screen is visible
  ↳ FixedScreens table Table of fixed screens entries. Add, remove or edit entries following the examples in the file.
  ↳ MaxRuntimeSeconds 14400 4 hour safety lock
ShowTickets table Table of show tickets entries. Add, remove or edit entries following the examples in the file.
TheatreShows table Table of theatre shows entries. Add, remove or edit entries following the examples in the file.
CinemaShows table Table of cinema shows entries. Add, remove or edit entries following the examples in the file.
Notes from the README#
text
# jrs_cinema v1.1.9
YouTube cinema changes:
- YouTube image is grayscale by default (`Config.YouTube.BlackAndWhite = true`).
- Video and YouTube audio are only exposed while the player is in the same RedM interior room as the projection screen (`Config.YouTube.SameRoomOnly = true`).
- The room check follows PMMS' proven RedM method: `GetInteriorFromEntity` + `GetRoomKeyFromEntity`.
- An invisible local RDR2 projection target is created only as the room-reference entity; it has no collision and no DUI.
## v1.1.7 - PMMS-style RedM YouTube projection
YouTube display now follows the proven RedM method used by PMMS: a single fixed
world coordinate is projected every frame with `GetScreenCoordFromWorldCoord`,
and the NUI video size is calculated from camera FOV and camera distance. This
removes the old 4-corner homography entirely and still avoids `CreateDui`.
Screen tuning is intentionally simple: edit only `coords` and `videoSize` under
`Config.YouTube.FixedScreens`. `coords` is the centre of the video in the world.
# jrs_cinema
Standalone JRS cinema/theatre system for RedM using the RDR2 built-in theatre animscenes and magic-lantern movie assets.
## Requirements
- jrs_core
- OneSync/server entity coordinates for server-side ticket-seller distance validation.
## Install
1. Put `jrs_cinema` in your resources folder.
2. Ensure `jrs_core` starts first.
3. Add `ensure jrs_cinema` to server.cfg.
## Flow
Seller NPC -> hold G -> choose show/movie -> server validates distance and balance -> server removes Money/Gold -> synchronized countdown -> players inside `Con
## Main config
- `Config.ShowStartTime = 60`
- `Config.PriceType = 0` (Money) or `1` (Gold)
- `Config.DistanceStart = 150.0`
- `Config.ShowLockSeconds = 900`
- Ticket locations, NPCs, prices and show lists are all editable in `config.lua`.
## jrs_core integration
Uses `exports.jrs_core:getCoreApi()`, `getCharacter`, `removeMoney` and `NotifyRightTip`.
## Notes
The underlying show/movie asset identifiers are Rockstar RDR2 game assets. Theatre engine behavior was implemented with reference to the MIT-licensed `xK3LY/red
## v1.1.3 - Managed YouTube playback
Movie cinemas can now render a synchronized YouTube embed on the in-world projection screen using Cfx DUI/runtime textures.
Management is server-authoritative. A player can submit/control YouTube when one of these is true:
- `exports.jrs_core:IsAdmin(source)` returns true. This automatically follows `Config.AdminGroups` inside jrs_core.
- Their job from jrs_core exists in `Config.YouTube.AllowedJobs` and meets the configured minimum grade.
- Optional ACE permission `jrs.cinema.manage` is allowed when `UseAcePermission = true`.
Core administration is enabled with:
'''lua
UseCoreAdmin = true
'''
Default allowed job:

Free (included in JRS Core)   jrs_crafting

jrs core Crafting - server-authoritative crafting system for jrs_core / jrs_inventory

Resource jrs_crafting
Folder [ACTIVITIES]
Version 6.14.2
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 15,939 Lua lines

Commands

  • /craftadmin_grant
  • /craftadmin_override
  • /craftadmin_reload
  • /craftadmin_revoke
  • /craftadmin_set
  • /craftadmin_system
  • /craftbenchremove

Exports

GetStoreRecipe

Database tables

jrs_crafting_benches, jrs_crafting_logs, jrs_crafting_orders, jrs_crafting_recipe_access, jrs_crafting_recipe_admin

config/admin.lua - 11 options#

General

Setting Default What it does
Admin table Who is allowed: jobs, groups or permissions for admin.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Command "craftadmin" Setting for command.
  ↳ AllowServerConsole true REDEMPIRE-native staff access. Add/remove groups as needed.
  ↳ AllowedGroups table Who is allowed: jobs, groups or permissions for allowed groups.
  ↳ AllowedIdentifiers table Optional exact identifiers (steam:, license:, discord:, etc.).
  ↳ BypassRecipeAccess true Switch for bypass recipe access: true = on, false = off (default true).
  ↳ Database table Table of database entries. Add, remove or edit entries following the examples in the file.
  ↳ Defaults table Table of defaults entries. Add, remove or edit entries following the examples in the file.
  ↳ Limits table Table of limits entries. Add, remove or edit entries following the examples in the file.
  ↳ Logging table Table of logging entries. Add, remove or edit entries following the examples in the file.
config/animations.lua - 5 options#

General

Setting Default What it does
Animations table Table of animations entries. Add, remove or edit entries following the examples in the file.
  ↳ craft table Default Animation
  ↳ spindlecook table Table of spindlecook entries. Add, remove or edit entries following the examples in the file.
  ↳ knifecooking table Table of knifecooking entries. Add, remove or edit entries following the examples in the file.
  ↳ campfire table Table of campfire entries. Add, remove or edit entries following the examples in the file.
config/categories.lua - 1 options#

General

Setting Default What it does
Categories table Table of categories entries. Add, remove or edit entries following the examples in the file.
config/integrations.lua - 16 options#

General

Setting Default What it does
JRSXP table Table of jrsxp entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ XPPerCraft 1 Flat character XP per crafted unit (quantity 3 = 3 XP). Not scaled by recipe level. BaseXPPerCraft/XPPerLevelRequired are unused since 6.9.0.
  ↳ BaseXPPerCraft 25 Number for base xp per craft (default 25).
  ↳ XPPerLevelRequired 5 Minimum or level requirement for xp per level required.
CraftPrice table Money value for craft price. Rewards go through the economy multiplier of jrs_core.
  ↳ Free true Free = true: crafting costs materials only, never money (beats admin price overrides).
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ BasePrice 0.25 Money value for base price. Rewards go through the economy multiplier of jrs_core.
  ↳ PricePerLevel 0.10 Money value for price per level. Rewards go through the economy multiplier of jrs_core.
  ↳ Currency 0 0 = money, 1 = gold
Logging table Table of logging entries. Add, remove or edit entries following the examples in the file.
  ↳ Username "jrs_crafting" Setting for username.
  ↳ Color 5763719 Number for color (default 5763719).
  ↳ LogSuccessfulCrafts true Logs successful crafts: true = yes, false = no (default true).
  ↳ LogSecurityViolations true Logs security violations: true = yes, false = no (default true).
config/items.lua - 320 options#

General

Setting Default What it does
ItemDefinitions table Inventory items used by item definitions. Names must exist in the jrs_items table.
  ↳ aloe_vera table Table of aloe vera entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoarrownormal table Table of ammoarrownormal entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoarrowsmallgame table Table of ammoarrowsmallgame entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoelephant table Table of ammoelephant entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoknives table Table of ammoknives entries. Add, remove or edit entries following the examples in the file.
  ↳ ammopistolexpress table Table of ammopistolexpress entries. Add, remove or edit entries following the examples in the file.
  ↳ ammopistolnormal table Table of ammopistolnormal entries. Add, remove or edit entries following the examples in the file.
  ↳ ammopistolsplitpoint table Table of ammopistolsplitpoint entries. Add, remove or edit entries following the examples in the file.
  ↳ ammopistolvelocity table Table of ammopistolvelocity entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorepeaterexpress table Table of ammorepeaterexpress entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorepeaternormal table Table of ammorepeaternormal entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorepeatersplitpoint table Table of ammorepeatersplitpoint entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorepeatervelocity table Table of ammorepeatervelocity entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorevolverexpress table Table of ammorevolverexpress entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorevolvernormal table Table of ammorevolvernormal entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorevolversplitpoint table Table of ammorevolversplitpoint entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorevolvervelocity table Table of ammorevolvervelocity entries. Add, remove or edit entries following the examples in the file.
  ↳ ammorifleexpress table Table of ammorifleexpress entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoriflenormal table Table of ammoriflenormal entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoriflesplitpoint table Table of ammoriflesplitpoint entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoriflevelocity table Table of ammoriflevelocity entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoshotgunnormal table Table of ammoshotgunnormal entries. Add, remove or edit entries following the examples in the file.
  ↳ ammoshotgunslug table Table of ammoshotgunslug entries. Add, remove or edit entries following the examples in the file.
  ↳ ammovarminttranq table Table of ammovarminttranq entries. Add, remove or edit entries following the examples in the file.
  ↳ Applee table Table of applee entries. Add, remove or edit entries following the examples in the file.
  ↳ beer table Table of beer entries. Add, remove or edit entries following the examples in the file.
  ↳ Black_Berry table Table of black berry entries. Add, remove or edit entries following the examples in the file.
  ↳ campfire table Table of campfire entries. Add, remove or edit entries following the examples in the file.
  ↳ Choc_Daisy table Table of choc daisy entries. Add, remove or edit entries following the examples in the file.
  ↳ Chocolate table Table of chocolate entries. Add, remove or edit entries following the examples in the file.
  ↳ clothh table Table of clothh entries. Add, remove or edit entries following the examples in the file.
  ↳ coal table Table of coal entries. Add, remove or edit entries following the examples in the file.
  ↳ cocoa table Table of cocoa entries. Add, remove or edit entries following the examples in the file.
  ↳ coffeebeans table Table of coffeebeans entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_breakfast table Table of consumable breakfast entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_caramel table Table of consumable caramel entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_chickenpie table Table of consumable chickenpie entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_chocolate table Table of consumable chocolate entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_chocolatecake table Table of consumable chocolatecake entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_chocolatecoffee table Table of consumable chocolatecoffee entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_coffee table Table of consumable coffee entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_coffeecake table Table of consumable coffeecake entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_fruitsalad table Table of consumable fruitsalad entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_game table Table of consumable game entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_kidneybeans_can table Table of consumable kidneybeans can entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_peach table Table of consumable peach entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_peachcobbler table Table of consumable peachcobbler entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_poundcake table Table of consumable poundcake entries. Add, remove or edit entries following the examples in the file.
  ↳ consumable_horse_meal table Game model or entity used for consumable horse meal.
  ↳ consumable_horse_peppermints table Game model or entity used for consumable horse peppermints.
  ↳ creeping_thyme table Table of creeping thyme entries. Add, remove or edit entries following the examples in the file.
  ↳ copperbar table Table of copperbar entries. Add, remove or edit entries following the examples in the file.
  ↳ English_Mace table Table of english mace entries. Add, remove or edit entries following the examples in the file.
  ↳ grape table Table of grape entries. Add, remove or edit entries following the examples in the file.
  ↳ haycube table Table of haycube entries. Add, remove or edit entries following the examples in the file.
  ↳ honey table Table of honey entries. Add, remove or edit entries following the examples in the file.
  ↳ hwood table Table of hwood entries. Add, remove or edit entries following the examples in the file.
  ↳ iron table Table of iron entries. Add, remove or edit entries following the examples in the file.
  ↳ ironbar table Table of ironbar entries. Add, remove or edit entries following the examples in the file.
  ↳ juice1 table Table of juice1 entries. Add, remove or edit entries following the examples in the file.
  ↳ juice2 table Table of juice2 entries. Add, remove or edit entries following the examples in the file.
  ↳ juice3 table Table of juice3 entries. Add, remove or edit entries following the examples in the file.
  ↳ largenugget table Table of largenugget entries. Add, remove or edit entries following the examples in the file.
  ↳ malt table Table of malt entries. Add, remove or edit entries following the examples in the file.
  ↳ medium_beaver_meat table Table of medium beaver meat entries. Add, remove or edit entries following the examples in the file.
  ↳ medium_boar_meat table Table of medium boar meat entries. Add, remove or edit entries following the examples in the file.
  ↳ medium_bear_meat table Table of medium bear meat entries. Add, remove or edit entries following the examples in the file.
  ↳ raw_meat table Table of raw meat entries. Add, remove or edit entries following the examples in the file.
  ↳ mediumnugget table Table of mediumnugget entries. Add, remove or edit entries following the examples in the file.
  ↳ mulberry table Table of mulberry entries. Add, remove or edit entries following the examples in the file.
  ↳ oil table Table of oil entries. Add, remove or edit entries following the examples in the file.
  ↳ Parasol_Mushroom table Table of parasol mushroom entries. Add, remove or edit entries following the examples in the file.
  ↳ perfect_beaver_meat table Table of perfect beaver meat entries. Add, remove or edit entries following the examples in the file.
  ↳ pistolbarrel table Table of pistolbarrel entries. Add, remove or edit entries following the examples in the file.
  ↳ pistolreceiver table Table of pistolreceiver entries. Add, remove or edit entries following the examples in the file.
  ↳ pistolrecmold table Table of pistolrecmold entries. Add, remove or edit entries following the examples in the file.
  ↳ potato table Table of potato entries. Add, remove or edit entries following the examples in the file.
  ↳ raspberryale table Table of raspberryale entries. Add, remove or edit entries following the examples in the file.
  ↳ rawcotton table Table of rawcotton entries. Add, remove or edit entries following the examples in the file.
  ↳ Red_Raspberry table Table of red raspberry entries. Add, remove or edit entries following the examples in the file.
  ↳ repeaterbarrel table Table of repeaterbarrel entries. Add, remove or edit entries following the examples in the file.
  ↳ repeaterreceiver table Table of repeaterreceiver entries. Add, remove or edit entries following the examples in the file.
  ↳ repeaterstock table Table of repeaterstock entries. Add, remove or edit entries following the examples in the file.
  ↳ revolverbarrel table Table of revolverbarrel entries. Add, remove or edit entries following the examples in the file.
  ↳ revolvercylinder table Table of revolvercylinder entries. Add, remove or edit entries following the examples in the file.
  ↳ revolverhandle table Table of revolverhandle entries. Add, remove or edit entries following the examples in the file.
  ↳ riflebarrel table Table of riflebarrel entries. Add, remove or edit entries following the examples in the file.
  ↳ riflereceiver table Table of riflereceiver entries. Add, remove or edit entries following the examples in the file.
  ↳ riflestock table Table of riflestock entries. Add, remove or edit entries following the examples in the file.
  ↳ rubber table Table of rubber entries. Add, remove or edit entries following the examples in the file.
  ↳ salt table Table of salt entries. Add, remove or edit entries following the examples in the file.
  ↳ shotgunbarrel table Table of shotgunbarrel entries. Add, remove or edit entries following the examples in the file.
  ↳ shotgunmold table Table of shotgunmold entries. Add, remove or edit entries following the examples in the file.
  ↳ shotgunstock table Table of shotgunstock entries. Add, remove or edit entries following the examples in the file.
  ↳ smallnugget table Table of smallnugget entries. Add, remove or edit entries following the examples in the file.
  ↳ string table Table of string entries. Add, remove or edit entries following the examples in the file.
  ↳ sugar table Table of sugar entries. Add, remove or edit entries following the examples in the file.
  ↳ sulfur table Table of sulfur entries. Add, remove or edit entries following the examples in the file.
  ↳ tequila table Table of tequila entries. Add, remove or edit entries following the examples in the file.
  ↳ vodka table Table of vodka entries. Add, remove or edit entries following the examples in the file.
  ↳ water table Table of water entries. Add, remove or edit entries following the examples in the file.
  ↳ WEAPON_BOW table Game model or entity used for weapon bow.
  ↳ WEAPON_BOW_IMPROVED table Game model or entity used for weapon bow improved.
  ↳ WEAPON_KIT_METAL_DETECTOR table Game model or entity used for weapon kit metal detector.
  ↳ WEAPON_LASSO table Game model or entity used for weapon lasso.
  ↳ WEAPON_LASSO_REINFORCED table Game model or entity used for weapon lasso reinforced.
  ↳ WEAPON_MELEE_KNIFE table Game model or entity used for weapon melee knife.
  ↳ WEAPON_PISTOL_M1899 table Game model or entity used for weapon pistol m1899.
  ↳ WEAPON_PISTOL_MAUSER table Game model or entity used for weapon pistol mauser.
  ↳ WEAPON_PISTOL_SEMIAUTO table Game model or entity used for weapon pistol semiauto.
  ↳ WEAPON_PISTOL_VOLCANIC table Game model or entity used for weapon pistol volcanic.
  ↳ WEAPON_REPEATER_CARBINE table Game model or entity used for weapon repeater carbine.
  ↳ WEAPON_REPEATER_EVANS table Game model or entity used for weapon repeater evans.
  ↳ WEAPON_REPEATER_HENRY table Game model or entity used for weapon repeater henry.
  ↳ WEAPON_REPEATER_WINCHESTER table Game model or entity used for weapon repeater winchester.
  ↳ WEAPON_REVOLVER_CATTLEMAN table Game model or entity used for weapon revolver cattleman.
  ↳ WEAPON_REVOLVER_DOUBLEACTION table Game model or entity used for weapon revolver doubleaction.
  ↳ WEAPON_REVOLVER_LEMAT table Game model or entity used for weapon revolver lemat.
  ↳ WEAPON_REVOLVER_NAVY table Game model or entity used for weapon revolver navy.
config/jrs.lua - 9 options#

General

Setting Default What it does
REDEMPIRE table Table of redempire entries. Add, remove or edit entries following the examples in the file.
  ↳ CoreResource "jrs_core" Setting for core resource.
  ↳ InventoryResource "jrs_inventory" Setting for inventory resource.
  ↳ ItemImagePath "nui://jrs_inventory/html/im... Inventory items used by item image path. Names must exist in the jrs_items table.
  ↳ ItemImagePaths table Inventory items used by item image paths. Names must exist in the jrs_items table.
  ↳ MaxWeapons 7 Fallback only. The current jrs_inventory build is queried through jrsCore:canCarryWeapons first, so job/group weapon limits stay authoritative.
  ↳ WeaponCapacityTimeoutMs 3500 Time setting for weapon capacity timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ NotificationDuration 5000 Time setting for notification duration. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
ItemAliases Config.ItemAliases or &#123;&#125; Optional recipe-name -> actual jrs_inventory item-name aliases.
Notes from the README#
text
# jrs_crafting 6.0.0-jrs
Crafting system converted to use **jrs_core** and **jrs_inventory** directly.
## Verified against supplied builds
This package was reviewed against the supplied `jrs_core` build from 2026-08-12 and `jrs_inventory` v1.5.4. It uses the current account-group API, Character Rea
## Requirements
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_crafting
'''
No external progress-bar resource is required. The resource uses its internal craft timer and the supplied NUI.
## Main integration
Server integration is in:
'''text
server/services/jrs.lua
'''
It uses:
- `exports.jrs_core:getCoreApi()` for characters, money/gold and notifications.
- `exports.jrs_core:GetXP()` / `AddXP()` for crafting level and XP.
- `exports.jrs_core:IsCharacterReady()` / `GetCharacterState()` for character state.
- `exports.jrs_inventory:jrs_inventoryApi()` for item counts, capacity, add/remove, weapons and usable items.
Client code waits for `jrs_core` character readiness before enabling crafting prompts.
## Item installation
Import:
'''text
sql/jrs_items.sql
'''
The installer uses the current REDEMPIRE item columns:
'''text
item, label, limit, can_remove, type, usable, descriptions, metadata, category
'''
`limit` is the per-item weight used by `jrs_inventory`. Existing rows are not overwritten because the installer uses `INSERT IGNORE`.
Copy any missing item PNGs into:
'''text
jrs_inventory/html/images/items/
'''
## Configuration
Important files:
'''text
config/jrs.lua          # jrs_core / jrs_inventory resource names and compatibility timeouts
config/settings.lua     # timings, keys, distances and notifications
config/integrations.lua # REDEMPIRE XP, crafting price and webhook logging
config/security.lua     # server-authoritative anti-abuse validation
config/admin.lua        # recipe administration and audit options

Paid (server only)   jrs_fasttravel

jrs core Fast Travel - native jrs_core stagecoach travel system

Resource jrs_fasttravel
Folder [ACTIVITIES]
Version 1.3.0
Author jrs team
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 10,966 Lua lines

Exports

GetLoggingStatus, GetRecentLogs

Database tables

IF, jrs_fasttravel_destinations, jrs_fasttravel_logs

config/admin.lua - 26 options#

General

Setting Default What it does
Admin table Who is allowed: jobs, groups or permissions for admin.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Command "ftadmin" Setting for command.
  ↳ SessionLifetimeMs 600000 Time setting for session lifetime ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ ActionRateWindowMs 10000 Rate or multiplier for action rate window ms.
  ↳ ActionsPerWindow 20 Number for actions per window (default 20).
  ↳ SnapshotRefreshMs 3000 Number for snapshot refresh ms (default 3000).
  ↳ MaxLogsShown 100 Upper limit for max logs shown.
  ↳ AllowGlobalToggle true Allows global toggle: true = yes, false = no (default true).
  ↳ AllowCityToggle true Allows city toggle: true = yes, false = no (default true).
  ↳ AllowCancelTrip true Allows cancel trip: true = yes, false = no (default true).
  ↳ AllowCancelAllTrips true Allows cancel all trips: true = yes, false = no (default true).
  ↳ AllowCleanupBroadcast true Allows cleanup broadcast: true = yes, false = no (default true).
  ↳ AllowSecurityUnblock true Allows security unblock: true = yes, false = no (default true).
  ↳ AllowRuntimeMultiplier true Allows runtime multiplier: true = yes, false = no (default true).
  ↳ AllowBulkCityToggle true Allows bulk city toggle: true = yes, false = no (default true).
  ↳ AllowRuntimeReset true Allows runtime reset: true = yes, false = no (default true).
  ↳ AllowCreateDestination true Allows create destination: true = yes, false = no (default true).
  ↳ AllowUpdateDestination true Allows update destination: true = yes, false = no (default true).
  ↳ AllowDeleteDestination true Allows delete destination: true = yes, false = no (default true).
  ↳ MaxDynamicDestinations 64 Upper limit for max dynamic destinations.
  ↳ CancelActiveTripsWhenGlobalDisabled true When service is disabled from the admin menu, active trips are safely cancelled and refunded instead of being left in an invalid state.
  ↳ CancelTripsWhenCityDisabled true Switch for cancel trips when city disabled: true = on, false = off (default true).
  ↳ CancelActiveTripsBeforeCleanup true Cleaning all coaches first cancels/refunds active journeys so no player is left inside a deleted vehicle or with a stale server travel token.
  ↳ RuntimeMultiplierMin 0.10 Minimum or level requirement for runtime multiplier min.
  ↳ RuntimeMultiplierMax 10.00 Upper limit for runtime multiplier max.
config/build.lua - 7 options#

General

Setting Default What it does
Build table Table of build entries. Add, remove or edit entries following the examples in the file.
  ↳ SystemTitle Lang('Build.SystemTitle') Text shown to the player for system title. Change it to translate or rebrand.
  ↳ Version "1.1.0" Setting for version.
  ↳ VersionType Lang('Build.VersionType') Setting for version type.
  ↳ VersionName Lang('Build.VersionName') Text shown to the player for version name. Change it to translate or rebrand.
  ↳ ResourceName "jrs_fasttravel" Text shown to the player for resource name. Change it to translate or rebrand.
  ↳ PrintStartupBanner true Switch for print startup banner: true = on, false = off (default true).
config/cleanup.lua - 19 options#

General

Setting Default What it does
Cleanup table Table of cleanup entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ CaptureDraftAnimals true Switch for capture draft animals: true = on, false = off (default true).
  ↳ DisableDraftAutoCreationBeforeDelete true Turns off draft auto creation before delete: true = yes, false = no (default true).
  ↳ HarnessSlots 6 Upper limit for harness slots.
  ↳ NearbyScanRadius 14.0 Distance in game units that applies to nearby scan radius.
  ↳ LateCaptureDelayMs 500 Time setting for late capture delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DeleteRetries 5 Number for delete retries (default 5).
  ↳ DeleteRetryDelayMs 120 Time setting for delete retry delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ NetworkControlTimeoutMs 1200 Time setting for network control timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ OrphanSweepAfterCleanup true Switch for orphan sweep after cleanup: true = on, false = off (default true).
  ↳ OrphanSweepDelayMs 250 Time setting for orphan sweep delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ SafePlayerExitBeforeDelete true Safely place a player beside the coach before deleting the vehicle.
  ↳ PlayerExitTimeoutMs 1800 Time setting for player exit timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ PlayerExitRightOffset 2.8 Number for player exit right offset (default 2.8).
  ↳ PlayerExitRearOffset -1.2 Number for player exit rear offset (default -1.2).
  ↳ PlayerExitUpOffset 0.25 Number for player exit up offset (default 0.25).
  ↳ RestorePlayerStateAfterCleanup true Restore controls/collision after any administrator or failure cleanup.
  ↳ Debug false Debug output for debug: true = yes, false = no (default false).
config/destinations.lua - 1 options#

General

Setting Default What it does
Destinations table map.x and map.y are percentages based on the original 10000 x 6325 map image. icon is an English-only local SVG badge shown on the map and in the hover card. Each destination has its own price, travel duration, transport, and desc
config/interaction.lua - 15 options#

General

Setting Default What it does
Interaction table Table of interaction entries. Add, remove or edit entries following the examples in the file.
  ↳ Control 0x760A9C6F Key or control used for control. Controls are hash values from the game input list.
  ↳ Distance 3.8 Distance in game units that applies to distance.
  ↳ HoldToOpen false Switch for hold to open: true = on, false = off (default false).
  ↳ NpcSpawnDistance 120.0 Distance in game units that applies to npc spawn distance.
  ↳ NpcDeleteDistance 145.0 Distance in game units that applies to npc delete distance.
  ↳ PromptLabel Lang('Interaction.PromptLabe... Text shown to the player for prompt label. Change it to translate or rebrand.
  ↳ PromptGroupLabel Lang('Interaction.PromptGrou... Who is allowed: jobs, groups or permissions for prompt group label.
Ped table Station-attendant ped settings. Explicit RDR3 hashes are used because some RedM artifacts can return false from generic model-validation wrappers.
  ↳ DefaultModel table Explicit RDR3 model hashes are used so station attendants do not depend on model-name hashing or GTA-style native wrappers.
  ↳ FallbackModels table Game model or entity used for fallback models.
  ↳ ModelLoadTimeoutMs 10000 Time setting for model load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ RequestIntervalMs 250 Time setting for request interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ SpawnRetryMs 30000 World coordinates (x, y, z) used for spawn retry ms.
  ↳ InvalidModelLogCooldownMs 60000 Time setting for invalid model log cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
config/interface.lua - 66 options#

General

Setting Default What it does
Interface table Table of interface entries. Add, remove or edit entries following the examples in the file.
  ↳ ShowCityLabels true Shows city labels: true = yes, false = no (default true).
  ↳ ShowRegionOnHover true Shows region on hover: true = yes, false = no (default true).
  ↳ HighlightCurrentStation true Switch for highlight current station: true = on, false = off (default true).
Text table Text shown to the player for text. Change it to translate or rebrand.
  ↳ MenuTitle Lang('Text.MenuTitle') Text shown to the player for menu title. Change it to translate or rebrand.
  ↳ MenuSubtitle Lang('Text.MenuSubtitle') Setting for menu subtitle.
  ↳ Close Lang('Text.Close') Setting for close.
  ↳ TravelNow Lang('Text.TravelNow') Setting for travel now.
  ↳ Destination Lang('Text.Destination') Setting for destination.
  ↳ SelectDestination Lang('Text.SelectDestination... Setting for select destination.
  ↳ CurrentLocation Lang('Text.CurrentLocation') World coordinates (x, y, z) used for current location.
  ↳ Price Lang('Text.Price') Money value for price. Rewards go through the economy multiplier of jrs_core.
  ↳ Region Lang('Text.Region') Setting for region.
  ↳ TravelTime Lang('Text.TravelTime') Setting for travel time.
  ↳ Free Lang('Text.Free') Setting for free.
  ↳ MoneySymbol Lang('Text.MoneySymbol') Money value for money symbol. Rewards go through the economy multiplier of jrs_core.
  ↳ GoldLabel Lang('Text.GoldLabel') Money value for gold label. Rewards go through the economy multiplier of jrs_core.
  ↳ TravelPrompt Lang('Text.TravelPrompt') Text shown to the player for travel prompt. Change it to translate or rebrand.
  ↳ Paid Lang('Text.Paid') Setting for paid.
  ↳ FreeTravel Lang('Text.FreeTravel') Setting for free travel.
  ↳ NotEnoughMoney Lang('Text.NotEnoughMoney') Money value for not enough money. Rewards go through the economy multiplier of jrs_core.
  ↳ InvalidDestination Lang('Text.InvalidDestinatio... Setting for invalid destination.
  ↳ CityUnavailable Lang('Text.CityUnavailable') Setting for city unavailable.
  ↳ SameDestination Lang('Text.SameDestination') Setting for same destination.
  ↳ TooFar Lang('Text.TooFar') Setting for too far.
  ↳ Cooldown Lang('Text.Cooldown') Time setting for cooldown. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ CooldownSeconds Lang('Text.CooldownSeconds') Time setting for cooldown seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ CharacterUnavailable Lang('Text.CharacterUnavaila... Setting for character unavailable.
  ↳ CoreUnavailable Lang('Text.CoreUnavailable') Setting for core unavailable.
  ↳ UnsupportedCurrency Lang('Text.UnsupportedCurren... Setting for unsupported currency.
  ↳ Busy Lang('Text.Busy') Setting for busy.
  ↳ Dead Lang('Text.Dead') Setting for dead.
  ↳ Combat Lang('Text.Combat') Setting for combat.
  ↳ Falling Lang('Text.Falling') Setting for falling.
  ↳ Ragdoll Lang('Text.Ragdoll') Setting for ragdoll.
  ↳ ClosedAtNight Lang('Text.ClosedAtNight') Setting for closed at night.
  ↳ Closed Lang('Text.Closed') Setting for closed.
  ↳ JobDenied Lang('Text.JobDenied') Who is allowed: jobs, groups or permissions for job denied.
  ↳ NoPermission Lang('Text.NoPermission') Who is allowed: jobs, groups or permissions for no permission.
  ↳ TravelFailed Lang('Text.TravelFailed') Setting for travel failed.
  ↳ PaymentFailed Lang('Text.PaymentFailed') Setting for payment failed.
  ↳ ServerResponseTimeout Lang('Text.ServerResponseTim... Time setting for server response timeout. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ TeleportFallback Lang('Text.TeleportFallback'... Setting for teleport fallback.
  ↳ TravelPreparing Lang('Text.TravelPreparing') Setting for travel preparing.
  ↳ BoardingStagecoach Lang('Text.BoardingStagecoac... Setting for boarding stagecoach.
  ↳ TravelInProgress Lang('Text.TravelInProgress'... Setting for travel in progress.
  ↳ DriverTakingYou Lang('Text.DriverTakingYou') Setting for driver taking you.
  ↳ TravelArrival Lang('Text.TravelArrival') Setting for travel arrival.
  ↳ TravelTransfer Lang('Text.TravelTransfer') Setting for travel transfer.
  ↳ TravelBlackout Lang('Text.TravelBlackout') Setting for travel blackout.
  ↳ ArrivalDetail Lang('Text.ArrivalDetail') Setting for arrival detail.
  ↳ Welcome Lang('Text.Welcome') Setting for welcome.
  ↳ WelcomeArrived Lang('Text.WelcomeArrived') Setting for welcome arrived.
  ↳ TravelRefunded Lang('Text.TravelRefunded') Setting for travel refunded.
  ↳ TravelFailedStage Lang('Text.TravelFailedStage... Setting for travel failed stage.
  ↳ FareQuoteExpired Lang('Text.FareQuoteExpired'... Setting for fare quote expired.
  ↳ MorningRate Lang('Text.MorningRate') Rate or multiplier for morning rate.
  ↳ DayRate Lang('Text.DayRate') Rate or multiplier for day rate.
  ↳ EveningRate Lang('Text.EveningRate') Rate or multiplier for evening rate.
  ↳ NightRate Lang('Text.NightRate') Rate or multiplier for night rate.
  ↳ StandardRate Lang('Text.StandardRate') Rate or multiplier for standard rate.
  ↳ LoadingRate Lang('Text.LoadingRate') Rate or multiplier for loading rate.
  ↳ Loading Lang('Text.Loading') Setting for loading.
  ↳ DistanceKilometers Lang('Text.DistanceKilometer... Distance in game units that applies to distance kilometers.
  ↳ PlayersInCity Lang('Text.PlayersInCity') Setting for players in city.
Notes from the README#
text
## In-game destination builder (1.1.3)
Administrators can open the Fast Travel admin menu and use the **DESTINATIONS** tab to create persistent travel locations without editing Lua files. The builder
Locations created from the admin menu are saved in the `jrs_fasttravel_destinations` SQL table, restored after resource/server restarts, and synchronized live t
# REDEMPIRE Fast Travel
`jrs_fasttravel` is the REDEMPIRE-native rewrite of the stagecoach fast travel resource for RedM.
The resource now integrates directly with `jrs_core`. The old multi-core bridge and its framework selection files are not part of this build.
## Resource
- Name: `jrs_fasttravel`
- Version: `1.1.2`
- Game: RedM / RDR3
- Core: `jrs_core`
- Author: `jrs`
## Main features
- Stagecoach fast travel between configured towns.
- Server-authoritative destination validation and payment.
- Cash or gold payment through `jrs_core`.
- Distance-based dynamic fares.
- Time-of-day fare multipliers.
- Server-issued one-use travel quotes.
- Per-city service enable/disable state.
- Global service enable/disable state.
- Job and grade restrictions per destination.
- Destination population display.
- Spawned coach/driver/horse cleanup.
- Travel failure refunds.
- Security rate limits and travel tokens.
- Built-in NUI notifications with REDEMPIRE notification fallback.
- Administrator menu using `jrs_core` staff groups.
- Optional database and Discord audit logging.
## Requirements
Required:
'''text
jrs_core
'''
Recommended / required by the normal REDEMPIRE stack:
'''text
oxmysql
'''
`oxmysql` is a required dependency in this build because administrator-created Fast Travel destinations are stored in SQL. The destination table is created auto
No inventory resource is required by Fast Travel.
## Installation
1. Extract the folder as exactly:
'''text
jrs_fasttravel
'''

Paid (server only)   jrs_fightarena

JRS Fight Arena - deathmatch arena on jrs_core: temporary loadouts, groups, weekly top 10 prizes, events

Resource jrs_fightarena
Folder [ACTIVITIES]
Version 2.3.2
Author jrs team
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 3,473 Lua lines

Commands

  • /arenaevent
  • /arenakick
  • /arenareset
  • /scope
  • /scopes

Exports

GetArenaPlayers, IsInArena

Database tables

jrs_fightarena_pairs, jrs_fightarena_rewards, jrs_fightarena_stats, jrs_fightarena_weekly, jrs_fightarena_weeks

config/config.lua - 73 options#

JRS FIGHT ARENA (deathmatch) - configuration

Setting Default What it does
Debug false Debug output for debug: true = yes, false = no (default false).

Entry

Setting Default What it does
EntryFee 50 charged by the server on every entry (0 = free)
EntryCurrency 0 0 = money, 1 = gold
MaxPlayers 24 Upper limit for max players.
JoinCooldown 10 seconds between two entries of the same player
RespawnSeconds 8 wait before an arena respawn
SpawnProtectionMs 3000 invincible after a respawn (cancelled by shooting)

Arena master (outside the fence) and the exit clerk (inside the fence)

Setting Default What it does
Lobby table Coordinates are player-standing height; peds are created at z - 1.0.
  ↳ coords vector4(-4185.269, -3413.116... World coordinates (x, y, z) used for coords.
  ↳ model "s_m_m_dispatchleaderpolice_01" Game model or entity used for model.
  ↳ scenario 'WORLD_HUMAN_SMOKE_NERVOUS_S... Animation settings for scenario.
  ↳ promptDistance 2.2 Distance in game units that applies to prompt distance.
  ↳ spawnDistance 40.0 Distance in game units that applies to spawn distance.
  ↳ blip table Map blip or icon settings for blip.
ExitClerk table Table of exit clerk entries. Add, remove or edit entries following the examples in the file.
  ↳ coords vector4(-4189.850, -3416.763... World coordinates (x, y, z) used for coords.
  ↳ model "s_m_m_dispatchleaderpolice_01" Game model or entity used for model.
  ↳ scenario 'WORLD_HUMAN_SMOKE_NERVOUS_S... Animation settings for scenario.
  ↳ promptDistance 2.2 Distance in game units that applies to prompt distance.
  ↳ spawnDistance 40.0 Distance in game units that applies to spawn distance.
ExitPoint vector4(-4178.627, -3416.370... Where a player is put back when leaving the arena (outside the fence).

Arena zone

Setting Default What it does
Arena table close to the centre is moved to the ExitPoint (e.g. after a disconnect mid-match). Must stay inside the fence and must not reach the lobby ped.
  ↳ center vector3(-4217.394, -3459.406... Setting for center.
  ↳ LeaveRadius 62.0 Distance in game units that applies to leave radius.
  ↳ StuckRadius 48.0 Distance in game units that applies to stuck radius.
SpawnPoints table Spawn points inside the arena. The server picks the point farthest from living enemies, so add as many as you like.

Temporary loadout (arena-only weapons, never touch the inventory)

Setting Default What it does
Loadout table (right + left holster, dual wield), two long arms (both shoulders), two melee and two thrown weapons. A name this game build doesn't know is skipped on the client (IsWeaponValid), so it never shows or gets given.
  ↳ Slots table Upper limit for slots.
  ↳ SlotType table which weapon category each slot accepts
  ↳ Default table Table of default entries. Add, remove or edit entries following the examples in the file.
  ↳ Scopes table Available scopes for rifles / snipers / repeaters
  ↳ AllowSameSidearm true the same revolver/pistol may fill both sidearm slots (dual wield a pair)
  ↳ AmmoPerWeapon 999 guns get infinite ammo on top of this
  ↳ ThrownPerLife 5 thrown weapons: this many per life, NOT infinite
  ↳ Weapons table Game model or entity used for weapons.
  ↳ AmmoTypes table Every ammo type is zeroed on leave, so arena ammo can never reach a real weapon.

Groups (teams)

Setting Default What it does
Groups table Who is allowed: jobs, groups or permissions for groups.
  ↳ MaxMembers 4 Upper limit for max members.
  ↳ NameMin 3 Minimum or level requirement for name min.
  ↳ NameMax 20 Upper limit for name max.
  ↳ InviteSeconds 60 Number for invite seconds (default 60).
  ↳ InviteRange 60.0 target must be this close to the lobby or inside the arena
  ↳ FriendlyFire false false = teammates' hits are undone
  ↳ TeamKillPenalty 1 kills removed from a player who kills a teammate

Scoring / anti-farm

Setting Default What it does
Score table Table of score entries. Add, remove or edit entries following the examples in the file.
  ↳ MaxKillDistance 150.0 killer must be this close to the victim (server-checked)
  ↳ FarmWindowSeconds 600 same killer -> same victim credit window
  ↳ FarmMaxKills 5 credited kills per pair inside the window
  ↳ WeeklyPairMax 15 credited kills per killer -> same victim ACCOUNT per week (stops friends farming prizes)
  ↳ KillReward 0 money per credited kill (0 = off)
  ↳ LeaderboardSize 10 Number for leaderboard size (default 10).
  ↳ LeaderboardCacheSeconds 30 Number for leaderboard cache seconds (default 30).

Weekly leaderboard + prizes

Setting Default What it does
Weekly table The board resets every Monday 00:00 (database clock). When a week ends the top 10 (with at least MinKills) get a cash prize they claim in the arena menu (REWARDS tab). Only server-verified kills count.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ MinKills 10 a player needs this many kills in the week to win a prize
  ↳ Prizes table rank 1..10 ($)
  ↳ Milestones table Kill milestones inside one week (each paid once per week).
  ↳ AnnounceWinner false no server-wide toast: only arena EVENTS notify players
  ↳ BoardSize 10 Number for board size (default 10).

Events

Setting Default What it does
Events table free_entry : no entry fee Schedule uses the SERVER clock. wday: 1 = Sunday ... 7 = Saturday. Admins: /arenaevent <double_points|cash_kill|free_entry> <minutes>, /arenaevent stop
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Types table Table of types entries. Add, remove or edit entries following the examples in the file.
  ↳ MaxMinutes 240 Upper limit for max minutes.
  ↳ Schedule table Table of schedule entries. Add, remove or edit entries following the examples in the file.

Controls (verified hashes from jrs_utils/shared/keys.lua)

Setting Default What it does
Keys table Key or control used for keys. Controls are hash values from the game input list.
  ↳ Menu 0x760A9C6F G
  ↳ Leave 0xCEFD9220 E
  ↳ Inventory 0xC1989F95 I (blocked inside the arena)
PromptCooldownMs 900 Time setting for prompt cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
Notifications table arena EVENT announcements (start/end/event cash) and admin command replies. Everything else (errors, kills, group news, loadout saved...) is shown inside the arena menu, or on the arena HUD while fighting - never as a toast.
  ↳ EventsOnly true Switch for events only: true = on, false = off (default true).
Command "arena" opens the menu near the arena master or inside the arena
AdminAce "jrs_fightarena.admin" Who is allowed: jobs, groups or permissions for admin ace.

Paid (server only)   jrs_fillet

JRS Five Finger Fillet - Western Knife Game Minigame

Resource jrs_fillet
Folder [ACTIVITIES]
Version 1.2.0
Author JRS TEAM
Interface Yes (NUI)
Languages ar, en
Code size 2,165 Lua lines
config.lua - 41 options#

General

Setting Default What it does
Language "ar" اللغات المدعومة: 'ar' (العربية) أو 'en' (English)
ScoreTimer table إعدادات التوقيت والنقاط Colors: https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/colours
  ↳ Time 30 مدة الجولة بالثواني
  ↳ LeftColor "COLOR_GREEN" Setting for left color.
  ↳ RightColor "COLOR_GREENDARK" Setting for right color.
Keys table أزرار التحكم Keys: https://github.com/femga/rdr3_discoveries/tree/master/Controls
  ↳ Seat "INPUT_INTERACT_OPTION1" G للجلوس
  ↳ StartDuel "INPUT_CREATOR_ACCEPT" ENTER لبدء المبارزة
  ↳ Practice "INPUT_INTERACT_OPTION1" G للتدريب المنفرد
  ↳ GoOut "INPUT_GAME_MENU_CANCEL" BACKSPACE للنهوض
  ↳ Flourish "F" F لحركة استعراض السكين (0xB2F377E8)
  ↳ Zoom "INPUT_INSPECT_ZOOM" كليك يمين الماوس لتقريب الكاميرا
  ↳ Finger1 "INPUT_FRONTEND_UP" سهم أعلى
  ↳ Finger2 "INPUT_FRONTEND_LEFT" سهم يسار
  ↳ Finger3 "INPUT_FRONTEND_DOWN" سهم أسفل
  ↳ Finger4 "INPUT_FRONTEND_RIGHT" سهم يمين
  ↳ Finger5 "INPUT_FRONTEND_LEFT" سهم يسار
  ↳ Finger6 "INPUT_FRONTEND_DOWN" سهم أسفل
  ↳ ExitGame "INPUT_GAME_MENU_CANCEL" BACKSPACE للخروج من اللعبة في أي وقت
Sounds table أصوات اللعبة فقط (بدون أي أصوات خارجية من الواجهة) - { اسم الصوت, مجموعة الأصوات }
  ↳ Stab table ضربة صحيحة
  ↳ Miss table جرح / خطأ
  ↳ Countdown table عد تنازلي للمبارزة
  ↳ CountdownGo table بداية المبارزة
  ↳ RoundEnd table نهاية الجولة
  ↳ DuelWin table فوز بالمبارزة
  ↳ DuelLose table خسارة المبارزة
KeyFingersRandom false تفعيل الترتيب العشوائي (true) أو التسلسلي الثابت (false)
SetScale false تعطيل تغيير سكيل الشخصية للحفاظ على طولها وشكلها الأصلي
MissDamage 5 مقدار الضرر عند جرح الإصبع
KnifeAttach table سكين اللعبة الأصلي من ريد ديد (p_filletknife01x) يُركّب على عظمة PH_R_Hand بدون إزاحة حتى يطابق أنيميشن الطعن ويمر رأس السكين بين الأصابع فعلاً. عدّل هنا فقط لو ظهر مائل.
StabPattern table ترتيب مواضع السكين بين الأصابع مثل ريد ديد أونلاين: 1..5 ثم رجوع 4..2 (0 = خارج الإبهام)
Economy table ربط السكربت باقتصاد ونظام خبرة السيرفر (jrs_core Integration)
  ↳ EnableBetting false تفعيل نظام الرهان المالي بين اللاعبين في المبارزة (true/false)
  ↳ DuelBetAmount 1.0 مبلغ الرهان المقتطع من كل لاعب في المبارزة (في حال تفعيل الرهان)
  ↳ DuelWinRewardMoney 2.50 فلوس تُمنح للفائز في المبارزة (دولار كاش في المحفظة)
  ↳ DuelWinXP 50 نقاط خبرة (XP) تُمنح للفائز في المبارزة
  ↳ PracticeRewardMoney 0.15 فلوس تُمنح عند إنهاء التدريب بنجاح
  ↳ PracticeXP 20 نقاط خبرة (XP) تُمنح عند إنهاء التدريب بنجاح
  ↳ MinScoreForXP 300 الحد الأدنى للنقاط في التدريب للحصول على المكافأة
Locations table المواقع في العالم

Free (included in JRS Core)   jrs_guarma

Prompt key used at every port to open the travel menu.

Resource jrs_guarma
Folder [ACTIVITIES]
Version 1.6.0
Author jrs team
Depends on jrs_core, jrs_inventory
Interface Yes (NUI)
Languages ar, en
Code size 2,678 Lua lines

Commands

  • /guarma
  • /guarmaadmin
  • /guarmamenu
  • /setguarmamanager

Exports

GetOwnerFacilityPanel, GetSettings, GetTreasuryBalance, HasFacilityAccess, IsInGuarma, IsIslandOwner, IsManager, OpenAdmin, OwnerSetFacilityAccess, RefreshOwner, ResolveCharId, SetAccess, SetManager, SetSetting, SetTicketPrice, SetTravelMode

Database tables

jrs_guarma_access, jrs_guarma_facility_access, jrs_guarma_managers, jrs_guarma_settings

config/config.lua - 65 options#

General

Setting Default What it does
defaultlang "ar" Setting for defaultlang.
keys table Prompt key used at every port to open the travel menu.
  ↳ menu 0xC7B5340A [Enter]
ticketItem "guarmaTicket" Default travel ticket. Individual destinations can require a different item through their own requiredItem block.
ride table Optional scripted boat / balloon ride, played on arrival.
  ↳ maxSpawnDistance 150.0 A ride whose spawn is further than this from the arriving player is skipped instead of dragging them to it. Guards against a misconfigured destination silently teleporting somebody across the map.
menu table Table of menu entries. Add, remove or edit entries following the examples in the file.
  ↳ hideHud true Hide the jrs HUDs while the travel menu is open
  ↳ fadeTime 1500 Screen fade in / out duration (ms)
  ↳ escToClose true Allow ESC to close the menu
worldState table Guarma island world state (horizon, water type, minimap zone).
  ↳ enabled true Turns enabled on or off (default true).
  ↳ checkInterval 1000 How often the island boundary is re-checked (ms)
promptLoop table frame; outside it the loop idles at idleInterval. Without a band wider than shop.distance the prompt only appears up to a full interval after the player has already walked into range.
  ↳ wakeDistance 20.0 Distance in game units that applies to wake distance.
  ↳ idleInterval 500 Time setting for idle interval. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
admin table Admin commands. Permission is checked against jrs_core groups.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ tpCommand "tpguarma" /tpguarma [playerId] - send a player to Guarma
  ↳ exitCommand "exitguarma" /exitguarma [playerId] - pull a player back to the mainland
  ↳ guarmaPort "guarma" Shop key used as the Guarma arrival point
  ↳ mainPort "stdenis" Shop key used as the mainland arrival point
managers table can grant/revoke player access to Guarma (/guarmaaccess) and cash out the Guarma treasury (/guarmawithdraw). Only a full admin can promote/demote a manager, from the Script Admin Hub (JOBS -> Guarma Administration).
  ↳ accessCommand "guarmaaccess" /guarmaaccess [playerId] [remove] - grant/revoke Guarma access
  ↳ withdrawCommand "guarmawithdraw" /guarmawithdraw <amount> [bank] - pay out the Guarma treasury to yourself
treasury table Guarma Managers can pull it out with /guarmawithdraw. jrs_banking is an optional integration: if it is not running the money is still taken from the player, it just is not deposited anywhere.
  ↳ jobName "guarma" Who is allowed: jobs, groups or permissions for job name.
  ↳ label "Guarma Bank (بنك قواراما)" Text shown to the player for label. Change it to translate or rebrand.
  ↳ bankName "Guarma" Text shown to the player for bank name. Change it to translate or rebrand.
shops table Table of shops entries. Add, remove or edit entries following the examples in the file.
  ↳ stdenis table Table of stdenis entries. Add, remove or edit entries following the examples in the file.
  ↳ guarma table Table of guarma entries. Add, remove or edit entries following the examples in the file.
BlipColors table Map blip or icon settings for blip colors.
  ↳ LIGHT_BLUE "BLIP_MODIFIER_MP_COLOR_1" Setting for light blue.
  ↳ DARK_RED "BLIP_MODIFIER_MP_COLOR_2" Setting for dark red.
  ↳ PURPLE "BLIP_MODIFIER_MP_COLOR_3" Setting for purple.
  ↳ ORANGE "BLIP_MODIFIER_MP_COLOR_4" Setting for orange.
  ↳ TEAL "BLIP_MODIFIER_MP_COLOR_5" Setting for teal.
  ↳ LIGHT_YELLOW "BLIP_MODIFIER_MP_COLOR_6" Setting for light yellow.
  ↳ PINK "BLIP_MODIFIER_MP_COLOR_7" Setting for pink.
  ↳ GREEN "BLIP_MODIFIER_MP_COLOR_8" Setting for green.
  ↳ DARK_TEAL "BLIP_MODIFIER_MP_COLOR_9" Setting for dark teal.
  ↳ RED "BLIP_MODIFIER_MP_COLOR_10" Setting for red.
  ↳ LIGHT_GREEN "BLIP_MODIFIER_MP_COLOR_11" Setting for light green.
  ↳ TEAL2 "BLIP_MODIFIER_MP_COLOR_12" Setting for teal2.
  ↳ BLUE "BLIP_MODIFIER_MP_COLOR_13" Setting for blue.
  ↳ DARK_PUPLE "BLIP_MODIFIER_MP_COLOR_14" Setting for dark puple.
  ↳ DARK_PINK "BLIP_MODIFIER_MP_COLOR_15" Setting for dark pink.
  ↳ DARK_DARK_RED "BLIP_MODIFIER_MP_COLOR_16" Setting for dark dark red.
  ↳ GRAY "BLIP_MODIFIER_MP_COLOR_17" Setting for gray.
  ↳ PINKISH "BLIP_MODIFIER_MP_COLOR_18" Setting for pinkish.
  ↳ YELLOW_GREEN "BLIP_MODIFIER_MP_COLOR_19" Setting for yellow green.
  ↳ DARK_GREEN "BLIP_MODIFIER_MP_COLOR_20" Setting for dark green.
  ↳ BRIGHT_BLUE "BLIP_MODIFIER_MP_COLOR_21" Setting for bright blue.
  ↳ BRIGHT_PURPLE "BLIP_MODIFIER_MP_COLOR_22" Setting for bright purple.
  ↳ YELLOW_ORANGE "BLIP_MODIFIER_MP_COLOR_23" Setting for yellow orange.
  ↳ BLUE2 "BLIP_MODIFIER_MP_COLOR_24" Setting for blue2.
  ↳ TEAL3 "BLIP_MODIFIER_MP_COLOR_25" Setting for teal3.
  ↳ TAN "BLIP_MODIFIER_MP_COLOR_26" Setting for tan.
  ↳ OFF_WHITE "BLIP_MODIFIER_MP_COLOR_27" Setting for off white.
  ↳ LIGHT_YELLOW2 "BLIP_MODIFIER_MP_COLOR_28" Setting for light yellow2.
  ↳ LIGHT_PINK "BLIP_MODIFIER_MP_COLOR_29" Setting for light pink.
  ↳ LIGHT_RED "BLIP_MODIFIER_MP_COLOR_30" Setting for light red.
  ↳ LIGHT_YELLOW3 "BLIP_MODIFIER_MP_COLOR_31" Setting for light yellow3.
  ↳ WHITE "BLIP_MODIFIER_MP_COLOR_32" Setting for white.

Free (included in JRS Core)   jrs_herbs

jrs core Herbs - standalone herbalism with strict jrs_farming separation

Resource jrs_herbs
Folder [ACTIVITIES]
Version 5.5.0
Author jrs team
Interface Yes (NUI)
Languages ar, en
Code size 8,158 Lua lines

Commands

  • /-jrs_herbs_inspect

Exports

AddHerbalismXP, GetHerbCatalog, GetHerbDefinition, GetHerbItemCount, GetHerbalismLevel, GetHerbalismProgression, IsHerbItem, SetHerbalismLevel, SetHerbalismXP

Database tables

IF, jrs_herbs_progress

config/branding.lua - 5 options#

General

Setting Default What it does
Branding table Startup console banner.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ SystemName "REDEMPIRE HERBS SYSTEM" Text shown to the player for system name. Change it to translate or rebrand.
  ↳ VersionName "REDEMPIRE HERBS" Text shown to the player for version name. Change it to translate or rebrand.
  ↳ VersionType "RELEASE" Setting for version type.
config/consumables.lua - 7 options#

General

Setting Default What it does
Food table Inventory-use timing and metabolism provider.
  ↳ UseCooldownMs 2500 Time setting for use cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ AutoRegisterPlantRewards true Automatically handles register plant rewards: true = yes, false = no (default true).
  ↳ ApplyToxicDamage true Switch for apply toxic damage: true = on, false = off (default true).
  ↳ ToxicDamage 5 Number for toxic damage (default 5).
Metabolism table Table of metabolism entries. Add, remove or edit entries following the examples in the file.
  ↳ Provider "auto" auto, framework
config/database.lua - 7 options#

General

Setting Default What it does
Database table Persistent herbalism data. The resource auto-detects a supported MySQL adapter.
  ↳ Provider "auto" auto, oxmysql, mysql-async, ghmattimysql, kvp
  ↳ AutoCreateTable true Automatically handles create table: true = yes, false = no (default true).
  ↳ Table "jrs_herbs_progress" Setting for table.
  ↳ QueryTimeoutMs 10000 Time setting for query timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ FallbackToKvp true Switch for fallback to kvp: true = on, false = off (default true).
  ↳ DetectionOrder table Table of detection order entries. Add, remove or edit entries following the examples in the file.
config/farming_exclusions.lua - 127 options#

General

Setting Default What it does
FarmingOwnedItems table Cultivated farming items are owned by jrs_farming, never by jrs_herbs. The comparison is punctuation/case-insensitive so Black_Berry == Blackberry. Keep the inventory rows themselves: farming still needs those items.
  ↳ agaritaseed true Agarita_Seed
  ↳ alaskanginsengseed true Alaskan_Ginseng_Seed
  ↳ americanginsengseed true American_Ginseng_Seed
  ↳ appleseed true Apple_Seed
  ↳ bitterweedseed true Bitter_Weed_Seed
  ↳ blackberryseed true Black_Berry_Seed
  ↳ blackcurrantseed true Black_Currant_Seed
  ↳ bloodflowerseed true Blood_Flower_Seed
  ↳ bulrushseed true Bulrush_Seed
  ↳ burdockrootseed true Burdock_Root_Seed
  ↳ cardinalflowerseed true Cardinal_Flower_Seed
  ↳ chanterellesseed true Chanterelles_Seed
  ↳ chocdaisyseed true Choc_Daisy_Seed
  ↳ cocoaseeds true cocoaseeds
  ↳ cornseed true cornseed
  ↳ creekingthymeseed true Creeking_Thyme_Seed
  ↳ creekplumseed true Creekplum_Seed
  ↳ crowsgarlicseed true Crows_Garlic_Seed
  ↳ desertsageseed true Desert_Sage_Seed
  ↳ englishmaceseed true English_Mace_Seed
  ↳ evergreenhuckleberryseed true Evergreen_Huckleberry_Seed
  ↳ goldencurrantseed true Golden_Currant_Seed
  ↳ hempseed true hemp_seed
  ↳ hopseed true hop_seed
  ↳ hummingbirdsageseed true Hummingbird_Sage_Seed
  ↳ indiantobbacoseed true Indian_Tobbaco_Seed
  ↳ milkweedseed true Milk_Weed_Seed
  ↳ oleandersageseed true Oleander_Sage_Seed
  ↳ oreganoseed true Oregano_Seed
  ↳ parasolmushroomseed true Parasol_Mushroom_Seed
  ↳ peachseeds true peachseeds
  ↳ potatoseed true potatoseed
  ↳ prairiepoppyseed true Prairie_Poppy_Seed
  ↳ ramsheadseed true Rams_Head_Seed
  ↳ redraspberryseed true Red_Raspberry_Seed
  ↳ redsageseed true Red_Sage_Seed
  ↳ saltbushseed true Saltbush_Seed
  ↳ sugarcube_seed true sugarcube_seed
  ↳ sugarcubeseed true sugarcubeseed
  ↳ sugarcaneseed true sugarcaneseed
  ↳ texasbonnetseed true Texas_Bonnet_Seed
  ↳ tomatoseed true tomatoseed
  ↳ violetsnowdropseed true Violet_Snowdrop_Seed
  ↳ wheatseed true wheatseed
  ↳ wildcarrotseed true Wild_Carrot_Seed
  ↳ wildfeverfewseed true Wild_Feverfew_Seed
  ↳ wildmintseed true Wild_Mint_Seed
  ↳ wildrhubarbseed true Wild_Rhubarb_Seed
  ↳ wintergreenberryseed true Wintergreen_Berry_Seed
  ↳ wisteriaseed true Wisteria_Seed
  ↳ yarrowseed true Yarrow_Seed
  ↳ coffeeseeds true coffeeseeds
  ↳ teaseeds true teaseeds
  ↳ maltseed true malt_seed
  ↳ grapesseed true grapes_seed
  ↳ aloeveraseed true aloe_vera_seed
  ↳ lavenderseed true lavender_seed
  ↳ chamomileseed true chamomile_seed
  ↳ echinaceaseed true echinacea_seed
  ↳ weedseed true weed_seed
  ↳ agarita true Agarita
  ↳ alaskanginseng true Alaskan_Ginseng
  ↳ americanginseng true American_Ginseng
  ↳ apple true apple
  ↳ bitterweed true Bitter_Weed
  ↳ blackberry true Black_Berry
  ↳ blackcurrant true Black_Currant
  ↳ bloodflower true Blood_Flower
  ↳ bulrush true Bulrush
  ↳ burdockroot true Burdock_Root
  ↳ cardinalflower true Cardinal_Flower
  ↳ chanterelles true Chanterelles
  ↳ chocdaisy true Choc_Daisy
  ↳ cocoa true cocoa
  ↳ corn true corn
  ↳ creekingthyme true Creeking_Thyme
  ↳ creekplum true Creekplum
  ↳ crowsgarlic true Crows_Garlic
  ↳ desertsage true Desert_Sage
  ↳ englishmace true English_Mace
  ↳ evergreenhuckleberry true Evergreen_Huckleberry
  ↳ goldencurrant true Golden_Currant
  ↳ hemp true hemp
  ↳ hop true hop
  ↳ hummingbirdsage true Hummingbird_Sage
  ↳ indiantobbaco true Indian_Tobbaco
  ↳ milkweed true Milk_Weed
  ↳ oleandersage true Oleander_Sage
  ↳ oregano true Oregano
  ↳ parasolmushroom true Parasol_Mushroom
  ↳ consumablepeach true consumable_peach
  ↳ potato true potato
  ↳ prairiepoppy true Prairie_Poppy
  ↳ ramshead true Rams_Head
  ↳ redraspberry true Red_Raspberry
  ↳ redsage true Red_Sage
  ↳ saltbush true Saltbush
  ↳ sugarcube true sugarcube
  ↳ cana true cana
  ↳ texasbonnet true Texas_Bonnet
  ↳ consumabletomato true consumable_tomato
  ↳ violetsnowdrop true Violet_Snowdrop
  ↳ wheat true wheat
  ↳ carrots true carrots
  ↳ wildfeverfew true Wild_Feverfew
  ↳ wildmint true Wild_Mint
  ↳ wildrhubarb true Wild_Rhubarb
  ↳ wintergreenberry true Wintergreen_Berry
  ↳ wisteria true Wisteria
  ↳ yarrow true Yarrow
  ↳ coffeebeans true coffeebeans
  ↳ tealeaf true tealeaf
  ↳ malt true malt
  ↳ grapes true grapes
  ↳ aloevera true aloe_vera
  ↳ lavenderflower true lavender_flower
  ↳ chamomileflower true chamomile_flower
  ↳ echinaceaflower true echinacea_flower
  ↳ weedex true weed_ex

Only add an item here when BOTH systems are meant to own it. Anything else

Setting Default What it does
SharedFarmingItems table belongs in Config.FarmingOwnedItems above.
  ↳ moonbloom true moonbloom
  ↳ moonbloomseed true moonbloom_seed
config/framework.lua - 7 options#

General

Setting Default What it does
Framework table Framework detection and resource mapping.
  ↳ Name "auto" Text shown to the player for name. Change it to translate or rebrand.
  ↳ Debug false Debug output for debug: true = yes, false = no (default false).
  ↳ AllowStandaloneInventory false Allows standalone inventory: true = yes, false = no (default false).
  ↳ DetectionOrder table Table of detection order entries. Add, remove or edit entries following the examples in the file.
  ↳ Resources table Table of resources entries. Add, remove or edit entries following the examples in the file.
CustomFramework Config.CustomFramework or &#123;&#125; Custom framework hooks table (functions are handled server-side)
config/gathering.lua - 7 options#

General

Setting Default What it does
Gathering table Server-authoritative gathering rules and client action sequence.
  ↳ DefaultCooldownMinutes 60 Time setting for default cooldown minutes. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MinimumRespawnMinutes 10 A gathered or eaten plant disappears for every player and grows back after this many minutes. A plant's own cooldown wins when it is longer (most plants in plants.lua still carry the legacy cooldown = 1).
  ↳ MaximumServerDistance 3.25 Distance in game units that applies to maximum server distance.
  ↳ MaximumRewardAmount 100 Money value for maximum reward amount. Rewards go through the economy multiplier of jrs_core.
  ↳ WorldCooldownCellSize 2.0 Time setting for world cooldown cell size. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ Progress table Table of progress entries. Add, remove or edit entries following the examples in the file.
Notes from the README#
text
# JRS Herbs 5.1.2 — XP Perks + Farming Catalogue Separation
- Herbalism XP/levels remain enabled, but no plant is locked behind a level.
- Level perks: +1 gather yield at levels 20/40/60/80/100 (up to +5).
- Cutting speed improves by 5% every 10 levels, capped at 40%; server timing uses the same level-aware duration.
- Any seed/produce item owned by the current jrs_farming catalogue is removed from the jrs_herbs runtime plant/food/catalogue lists. Farming keeps those crops/i
- Existing farming-entity coordinate protection remains as a second server-side separation layer.
# jrs_herbs 5.1.1
A complete multi-framework RedM herbalism resource with camera-based plant inspection, gathering, edible plant items, persistent Herbalism XP, levels 1–100, ser
## Strict farming separation (5.1.1)
`jrs_herbs` and `jrs_farming` are intentionally separate systems.
- A plant entity spawned by `jrs_farming` is never eligible for herb inspection, Loot, or Eat prompts.
- This remains true when a farm crop and a native herb share the same RDR2 model hash.
- The herbs server rejects gather/eat requests at persisted farming-plant coordinates, so client event injection cannot turn a crop into a wild-herb reward.
- No farming inventory, growth, water, fertilizer, health, ownership, or SQL state is read or modified by `jrs_herbs`.
- No herb XP/progression is granted for farming actions.
- Native/world herbs continue to use `jrs_herbs`; cultivated crops continue to use `jrs_farming`.
The guard is configured under `Config.Integration.FarmingSeparation`.
## Core features
- Hold **right mouse / aim** while looking at a plant to show its selector, botanical record, level requirement, yield, rewards, source, regrowth time, distance
- Release right mouse to hide only the selector and information panel.
- No ground circle or nearest-plant auto-selection. Only the plant centered in the camera can be inspected.
- Approach a plant to receive native **R Loot Plant** and **E Eat Plant** prompts without holding right mouse.
- While right mouse is held, nearby prompts follow the exact inspected plant so the UI and action can never point to different plants.
- Eating directly from a world plant uses the same server distance, level, reservation, cooldown, and progression validation as looting.
- Every non-seed plant reward is automatically registered as edible/usable.
- Toxic plants have configurable negative effects and safe client-side damage handling.
- Full Herbalism progression from level **1 to 100**, with persistent XP, plant unlock requirements, gathering/eating statistics, level-up notifications, and yi
- SQL storage through `oxmysql`, `mysql-async`, or `ghmattimysql`, with resource KVP fallback.
- Server-side anti-exploit checks for distance, level, cooldown, action duration, inventory capacity, reservation tokens, reward rollback, and request rate limi
## Installation
1. Back up and remove the old `jrs_herbs` resource.
2. Copy the new `jrs_herbs` folder into your resources directory.
3. Open `install/README.md` and install the matching item file for your inventory/core.
4. Optional: import `install/progression.sql`. This is not required while `Config.Database.AutoCreateTable = true`.
5. Ensure your core, inventory, and MySQL adapter before this resource.
6. Start it with:
'''cfg
ensure jrs_herbs
'''
## Supported frameworks and inventories
Automatic detection is included for:
- REDEMPIRE
- RSG
- QBR
- QR

Paid (server only)   jrs_horserace

Horse races between players: host anywhere (to your map waypoint) or on admin tracks, entry fees, spectator bets, server-checked checkpoints

Resource jrs_horserace
Folder [ACTIVITIES]
Version 1.0.0
Author jrs team
Depends on jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 684 Lua lines

Database tables

jrs_horserace_tracks

config.lua - 24 options#

General

Setting Default What it does
Command "race" open the race panel (host / join / bet)
TrackCommand "racetrack" admin: build tracks in game
AdminGroups table Who is allowed: jobs, groups or permissions for admin groups.
LobbySeconds 120 lobby auto-closes if the host never starts
CountdownSeconds 5 Number for countdown seconds (default 5).
MinRacers 2 Minimum or level requirement for min racers.
MaxRacers 8 Upper limit for max racers.
JoinDistance 40.0 from the start line, to join or bet
StartDistance 25.0 racers further than this at "GO" are refunded and removed
InviteRadius 200.0 players this close get the "race forming" notice
MaxEntryFee 200 Money value for max entry fee. Rewards go through the economy multiplier of jrs_core.
MaxBet 250 Upper limit for max bet.
HouseCutPercent 10 taken from the racer pot and the betting pool
Payouts table Prize split of the racer pot by finishing place (racers that finish).
  ↳ 2 table Table of 2 entries. Add, remove or edit entries following the examples in the file.
  ↳ 3 table Table of 3 entries. Add, remove or edit entries following the examples in the file.
  ↳ 4 table 4 or more racers
CheckpointRadius 12.0 client: when to report a checkpoint
ServerCheckRadius 20.0 server: must really be this close
MaxSpeed 22.0 m/s; faster legs are rejected (teleport guard)
MinWaypointDistance 300.0 quick races to a map waypoint must be at least this long
MaxWaypointDistance 4000.0 Distance in game units that applies to max waypoint distance.
TimeLimitPerKm 150 seconds allowed per km before the race times out
CheckpointBlipSprite -1546805641 Map blip or icon settings for checkpoint blip sprite.

Free (included in JRS Core)   jrs_hunting

jrs core Hunting - complete hunting, carcass processing, legendary contracts, progression, dynamic market, posses and bait for jrs_core / jrs_inventory

Resource jrs_hunting
Folder [ACTIVITIES]
Version 8.3.1
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 18,048 Lua lines

Commands

  • /CheckJobHunting
  • /jrshuntingtest
  • /jrshuntingversion

Exports

AddHunterTrust, GetHunterTrust, GetHuntingSession, MissionHud, Notify, Progress, RemoveHunterTrust, SetHunterTrust, ValidateHuntingConfig

Database tables

IF, jrs_hunting_group_progression, jrs_hunting_legendary_cooldowns, jrs_hunting_legendary_global_cooldowns, jrs_hunting_market, jrs_hunting_mission_history, jrs_hunting_players, jrs_hunting_posse_members, jrs_hunting_posses, jrs_hunting_reputation, jrs_hunting_schema, jrs_hunting_stats, jrs_hunting_trust_audit, jrs_hunting_weekly_rewards, jrs_hunting_weekly_stats

config/animals.lua - 1 options#

General

Setting Default What it does
AnimalDefinitions table Game model or entity used for animal definitions.
config/core.lua - 39 options#

General

Setting Default What it does
UseHunting true Master kill-switch. When false, no hunting activity, market, bait or legendaries are allowed.
XPType "custom" 'custom' = grant XP via jrs_core (the shipped integration).
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Url "" configured only in server/webhook_config.lua,
  ↳ BotName "Hunting Log" Username shown on the webhook message.
  ↳ VerboseLogging true Emit every kill/skin/pickup/sale/admin action (false = only sales and staff actions).
REDEMPIRE table Table of redempire entries. Add, remove or edit entries following the examples in the file.
  ↳ CoreResource "jrs_core" Setting for core resource.
  ↳ InventoryResource "jrs_inventory" Setting for inventory resource.
  ↳ Currency table jrs_core currency indexes used by addMoney/removeMoney.
  ↳ ReadyTimeoutMs 15000 Maximum time hunting waits for the active REDEMPIRE character after a restart/switch.
  ↳ Debug false Development diagnostics only. Keep false on live servers.
HuntingAccess table All permissions below are checked again on the server from the currently selected jrs_core character. Client state is only used to hide/block prompts. Job table value = minimum required job grade.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ NormalJobs table Who is allowed: jobs, groups or permissions for normal jobs.
  ↳ LegendaryJobs table Who is allowed: jobs, groups or permissions for legendary jobs.
  ↳ RequireForHunting true These are independent so a server owner can deliberately disable one gate. The supplied live configuration keeps every hunting action profession-locked.
  ↳ RequireForSkinning true Requires for skinning: true = yes, false = no (default true).
  ↳ RequireForProcessing true Requires for processing: true = yes, false = no (default true).
  ↳ RequireForWorldBait true Requires for world bait: true = yes, false = no (default true).
  ↳ RequireForMarket true Requires for market: true = yes, false = no (default true).
  ↳ RequireForLegendaryMenu true Requires for legendary menu: true = yes, false = no (default true).
  ↳ AdminBypass true If true, Config.Admin groups can bypass jobs.
  ↳ RefreshCommand "huntingrefresh" Command a player runs after being granted a job to refresh their cached hunting access.
  ↳ Messages table Text shown to the player for messages. Change it to translate or rebrand.
Validation table Startup self-checks. These validate the shipped configuration against the generated animal catalog and, once MySQL is ready, the jrs_inventory item table.
  ↳ CheckInventoryItems true Switch for check inventory items: true = on, false = off (default true).
  ↳ CheckRewardImages true Switch for check reward images: true = on, false = off (default true).
Admin table Who is allowed: jobs, groups or permissions for admin.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Command "jrshuntingadmin" Setting for command.
  ↳ Groups table REDEMPIRE staff groups that can open/use the hunting admin menu. You can use this as a map (recommended) or a string list.
  ↳ MaxSpawnedAnimals 30 Upper limit for max spawned animals.
  ↳ SpawnDistance 5.0 Distance in game units that applies to spawn distance.
  ↳ RewardGiveLimit 10 Money value for reward give limit. Rewards go through the economy multiplier of jrs_core.
WeeklyCompetition table Table of weekly competition entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Score table Table of score entries. Add, remove or edit entries following the examples in the file.
  ↳ WinnerReward table Money value for winner reward. Rewards go through the economy multiplier of jrs_core.
config/hunting.lua - 115 options#

General

Setting Default What it does
Locale "ar" Interface language of this script (en or ar).
ReputationCommand "jrshuntingrep" Setting for reputation command.
ButcherService table Table of butcher service entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ UseGameNativeSkinning true TRUE = Rockstar/RedM native skin/pluck prompt, animation and camera. Native EVENT_LOOT_COMPLETE is verified by the server and rewards are paid once. FALSE = use jrs_hunting scripted carcass processing instead.
  ↳ NativeSkinSettleMs 0 Number for native skin settle ms (default 0).
  ↳ NativeSkinCarryWindowMs 90000 Number for native skin carry window ms (default 90000).
  ↳ HideNativePeltWhenCarried true Hides native pelt when carried: true = yes, false = no (default true).
  ↳ NativeCarryFadeMs 0 Number for native carry fade ms (default 0).
  ↳ NetworkRegistrationMs 150 Number for network registration ms (default 150).
  ↳ NonCarryableModels table Only these bodies are removed automatically after their skin AND meat rewards succeed. Do not use category=large: deer, sheep, wolves, etc. are still carriable.
  ↳ RewardOnPickup true Reward on pickup instead of at the skin step. When true, skinning (E) only produces the carriable pelt; the reward items are granted when the player collects/carries it (R).
  ↳ AutoSkinDirectCarry false Carrying a whole dead animal straight up (R) auto-processes it and grants the reward items.
  ↳ ProcessAnywhere true Scripted processing settings (used only when UseGameNativeSkinning = false).
  ↳ AllowGroundCarcasses true Allows ground carcasses: true = yes, false = no (default true).
  ↳ AtButcherNpc true Switch for at butcher npc: true = on, false = off (default true).
  ↳ AutoCollectCarriedCarcass false Automatically handles collect carried carcass: true = yes, false = no (default false).
  ↳ PromptKey 0xCEFD9220 E
  ↳ UiInteractionKey 0xCEFD9220 E
  ↳ FieldInteractionDistance 3.2 Distance in game units that applies to field interaction distance.
  ↳ InteractionDistance 2.8 Distance in game units that applies to interaction distance.
  ↳ DurationMs 9000 Time setting for duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ InstantProcessing false Switch for instant processing: true = on, false = off (default false).
  ↳ ServerResponseTimeoutMs 18000 Time setting for server response timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ CancelIfPlayerDies true Switch for cancel if player dies: true = on, false = off (default true).
  ↳ ProcessCancelDistance 4.5 Distance in game units that applies to process cancel distance.
  ↳ AnimationScenario "WORLD_HUMAN_BUTCHER_RABBIT" Animation settings for animation scenario.
  ↳ AnimationScenarios table Animation settings for animation scenarios.
  ↳ AnimationVerifyDelayMs 250 Time setting for animation verify delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ CinematicCamera false Switch for cinematic camera: true = on, false = off (default false).
  ↳ CameraTransitionMs 450 Number for camera transition ms (default 450).
  ↳ CameraCuts table Table of camera cuts entries. Add, remove or edit entries following the examples in the file.
  ↳ DeleteRetries 8 Number for delete retries (default 8).
  ↳ DeleteRetryMs 180 Number for delete retry ms (default 180).
  ↳ DeleteFallbackRadius 1.50 Distance in game units that applies to delete fallback radius.
Security table Table of security entries. Add, remove or edit entries following the examples in the file.
  ↳ NativeRewardQuality 1 Fixed server-selected quality until this artifact supports authoritative quality reads. Never trust the quality sent by a modified client. 0=poor, 1=good, 2=perfect.
  ↳ HarvestCooldownMs 1800 Time setting for harvest cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MaxQualityRewardAmount 25 Money value for max quality reward amount. Rewards go through the economy multiplier of jrs_core.
  ↳ MaxItemsPerHarvest 10 Upper limit for max items per harvest.
  ↳ MaxSaleAmount 1000 Upper limit for max sale amount.
  ↳ MaxBulkSaleUnits 5000 Upper limit for max bulk sale units.
  ↳ MaxBulkSaleTypes 150 Upper limit for max bulk sale types.
  ↳ SaleCooldownMs 350 Time setting for sale cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ ButcherValidationDistance 12.0 Distance in game units that applies to butcher validation distance.
  ↳ ProcessEntityDistance 5.0 Distance in game units that applies to process entity distance.
  ↳ RequireNetworkedCarcass true Requires networked carcass: true = yes, false = no (default true).
  ↳ FallbackMaxPerWindow 30 Non-networked corpses (server cannot verify them): at most this many distinct animals per kind (hunt / skin / carcass) per player in the rolling window. 0 = no cap.
  ↳ FallbackWindowMs 300000 Number for fallback window ms (default 300000).
  ↳ RateWindowMs 10000 Rate or multiplier for rate window ms.
  ↳ MaxActionsPerWindow 24 Upper limit for max actions per window.
  ↳ MaxBaitPurchaseAmount 25 Upper limit for max bait purchase amount.
  ↳ StrikeWindowSeconds 180 Number for strike window seconds (default 180).
  ↳ KickAfterStrikes 20 Number for kick after strikes (default 20).
  ↳ EnableKick false player is never DropPlayer()-kicked for it. Kicking real players over ordinary hunting/skinning edge cases (lag, a corpse not networked yet, an unconfigured animal model, etc.) was causing legitimate disconnects.
WorldHunting table Table of world hunting entries. Add, remove or edit entries following the examples in the file.
  ↳ EnableBaitHunting true Turns bait hunting on or off (default true).
  ↳ SpawnDistance 32.0 Distance in game units that applies to spawn distance.
  ↳ AnimalWaitMs 12000 Time setting for animal wait ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ BaitLifetimeMs 120000 Time setting for bait lifetime ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ SuccessXp 8 Number for success xp (default 8).
  ↳ BaitProps table Game model or entity used for bait props.
  ↳ UsableItems table Inventory items used by usable items. Names must exist in the jrs_items table.
AnimalSettings table Game model or entity used for animal settings.
  ↳ EnableRegularAnimals true Turns regular animals on or off (default true).
  ↳ EnableBirds true Turns birds on or off (default true).
  ↳ EnableReptiles true Turns reptiles on or off (default true).
  ↳ EnableSmallAnimals true Turns small animals on or off (default true).
  ↳ EnableFish false Turns fish on or off (default false).
  ↳ EnableOnlineAnimalVariants false Turns online animal variants on or off (default false).
  ↳ DefaultQuality 1 Used only if RedM cannot return a valid carcass-quality value. 0 = poor, 1 = good, 2 = perfect.
QualityRewards table Table of quality rewards entries. Add, remove or edit entries following the examples in the file.
BaitAnimalPools table Game model or entity used for bait animal pools.
  ↳ herbivore_bait table Table of herbivore bait entries. Add, remove or edit entries following the examples in the file.
  ↳ potent_herbivore_bait table Table of potent herbivore bait entries. Add, remove or edit entries following the examples in the file.
  ↳ predator_bait table Table of predator bait entries. Add, remove or edit entries following the examples in the file.
  ↳ potent_predator_bait table Table of potent predator bait entries. Add, remove or edit entries following the examples in the file.
PredatorModelNames table Game model or entity used for predator model names.
LegendaryHunting table Table of legendary hunting entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ RequiredLevel 10 Minimum or level requirement for required level.
  ↳ YellowBlipModifier "BLIP_MODIFIER_MP_COLOR_2" Map blip or icon settings for yellow blip modifier.
  ↳ RouteColor "COLOR_RED" Setting for route color.
  ↳ ShowSearchRadius true Shows search radius: true = yes, false = no (default true).
  ↳ RevealSearchRadiusDistance 220.0 Distance in game units that applies to reveal search radius distance.
  ↳ MissionHud true Switch for mission hud: true = on, false = off (default true).
  ↳ PromptKey 0xC7B5340A [G] key for bait
  ↳ MissionCooldownMinutes 20 Time setting for mission cooldown minutes. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ FailureCooldownMinutes 5 Time setting for failure cooldown minutes. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MissionTimeoutMinutes 35 Time setting for mission timeout minutes. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ EscapeDistance 260.0 Distance in game units that applies to escape distance.
  ↳ SearchRadius 55.0 Distance in game units that applies to search radius.
  ↳ HabitatSearchDelayMinMs 10000 Time setting for habitat search delay min ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ HabitatSearchDelayMaxMs 22000 Time setting for habitat search delay max ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ PheromoneItem "legendary_animal_pheromone" Inventory items used by pheromone item. Names must exist in the jrs_items table.
  ↳ BaitSpawnDelayMs 6500 Time setting for bait spawn delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ BaitApproachDistance 95.0 Distance in game units that applies to bait approach distance.
  ↳ BaitMinimumHunterDistance 20.0 Distance in game units that applies to bait minimum hunter distance.
  ↳ BaitApproachSpeed 0.65 Number for bait approach speed (default 0.65).
  ↳ BaitApproachTimeoutMs 180000 Time setting for bait approach timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MapItem "legendary_animal_map" Inventory items used by map item. Names must exist in the jrs_items table.
  ↳ MapDurationSeconds 180 Time setting for map duration seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ RequireBaitItem true Requires bait item: true = yes, false = no (default true).
  ↳ EnforcePreferredHours true Switch for enforce preferred hours: true = on, false = off (default true).
  ↳ AllowBaitPurchase true Allows bait purchase: true = yes, false = no (default true).
  ↳ MenuTitle "HUNTING" Text shown to the player for menu title. Change it to translate or rebrand.
  ↳ BlipName "Legendary Animal Territory" Map blip or icon settings for blip name.
  ↳ PlaceBaitPrompt "Place bait" Text shown to the player for place bait prompt. Change it to translate or rebrand.
  ↳ MissionCashReward 0.0 Money value for mission cash reward. Rewards go through the economy multiplier of jrs_core.
  ↳ MissionXpReward 6100 Money value for mission xp reward. Rewards go through the economy multiplier of jrs_core.
  ↳ BaitPrices table Table of bait prices entries. Add, remove or edit entries following the examples in the file.
  ↳ BaitItems table Inventory items used by bait items. Names must exist in the jrs_items table.
  ↳ RegionByName table Text shown to the player for region by name. Change it to translate or rebrand.
  ↳ PredatorSpecies table Table of predator species entries. Add, remove or edit entries following the examples in the file.
  ↳ UiImages table Table of ui images entries. Add, remove or edit entries following the examples in the file.
config/legendary.lua - 1 options#

General

Setting Default What it does
LegendaryHunting Config.LegendaryHunting or &#123;... Setting for legendary hunting.
config/market.lua - 30 options#

General

Setting Default What it does
DynamicPricing table Table of dynamic pricing entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Persist true Switch for persist: true = on, false = off (default true).
  ↳ RefreshMinutes 20 Number for refresh minutes (default 20).
  ↳ MinMultiplier 0.62 Minimum or level requirement for min multiplier.
  ↳ MaxMultiplier 1.58 Upper limit for max multiplier.
  ↳ MaxStep 0.14 Upper limit for max step.
  ↳ RoundTo 2 Number for round to (default 2).
MarketDemand table Table of market demand entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ SupplyImpactPerUnit 0.0035 Number for supply impact per unit (default 0.0035).
  ↳ MaxImpactPerSale 0.12 Upper limit for max impact per sale.
  ↳ RecoveryPerRefresh 0.035 Number for recovery per refresh (default 0.035).
  ↳ GlobalEventChance 0.12 Rate or multiplier for global event chance.
  ↳ GlobalEventMultiplier table Rate or multiplier for global event multiplier.
PlayerResale table are listed in the butcher's "Player Market" tab, where anyone (no hunting job needed) can buy them. Stock and markup live in jrs_stores (market 'hunting', config/resale_config.lua). Price = highest possible butcher payout x markup
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Categories table meat | pelts | carcasses
  ↳ MaxPerkBonus 0.25 fallback cap of the jrs_core BUTCHER SELL BONUS perk
Notifications table Table of notifications entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ ItemReceivedOnly false Switch for item received only: true = on, false = off (default false).
  ↳ OnAnimalItemReceived true Switch for on animal item received: true = on, false = off (default true).
  ↳ Duration 4200 Time setting for duration. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
AnimalTargetUI table This card appears only while aiming at a configured hunting animal.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ MaxDistance 160.0 Distance in game units that applies to max distance.
  ↳ UpdateInterval 35 Time setting for update interval. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DeadHoldMs 3000 Number for dead hold ms (default 3000).
  ↳ VerticalOffset 0.05 Number for vertical offset (default 0.05).
config/progression.lua - 61 options#

General

Setting Default What it does
Progression table Table of progression entries. Add, remove or edit entries following the examples in the file.
  ↳ MaxLevel 100 Upper limit for max level.
  ↳ Command "huntingrank" Setting for command.
  ↳ Xp table Hunter progression awarded only after server-verified actions. Processing XP itself comes from each animal's sourceXp table in config/animals.lua (Config.AnimalDefinitions).
  ↳ Reputation table Table of reputation entries. Add, remove or edit entries following the examples in the file.
  ↳ Curve table Table of curve entries. Add, remove or edit entries following the examples in the file.
  ↳ Titles table Table of titles entries. Add, remove or edit entries following the examples in the file.
  ↳ Levels table generated by shared/config_runtime.lua
  ↳ Unlocks table These unlocks are enforced server-side, not just displayed in the NUI.
  ↳ ApplyItemMultiplier false Switch for apply item multiplier: true = on, false = off (default false).
  ↳ ApplyPriceBonus true Switch for apply price bonus: true = on, false = off (default true).
  ↳ AlsoAwardCoreXp true Also feed hunter XP into jrs_core's unified per-job level (keeps the script's own hunting reputation/rank progression intact).
  ↳ HonorRewards table Proportional honor / reputation awarded to the server's main integrity system (jrs_police / jrs_integrity).
HuntingSession table Table of hunting session entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ StreakWindowSeconds 300 Number for streak window seconds (default 300).
  ↳ ShowInMenu true Shows in menu: true = yes, false = no (default true).
Trust table Table of trust entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Max 100 Upper limit for max.
  ↳ GainOnLegendarySuccess 2 Number for gain on legendary success (default 2).
  ↳ LossOnLegendaryFailure 1 Number for loss on legendary failure (default 1).
  ↳ DiscountEvery 5 Number for discount every (default 5).
  ↳ DiscountPerStep 0.025 Number for discount per step (default 0.025).
  ↳ MaxDiscount 0.40 Upper limit for max discount.
  ↳ Command "huntertrust" Setting for command.
  ↳ ExportSecurity table Table of export security entries. Add, remove or edit entries following the examples in the file.
GroupHunts table Who is allowed: jobs, groups or permissions for group hunts.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ CommandsEnabled false Switch for commands enabled: true = on, false = off (default false).
  ↳ MenuTitle "HUNTING" Text shown to the player for menu title. Change it to translate or rebrand.
  ↳ NearbyPlayersLimit 8 Upper limit for nearby players limit.
  ↳ MaxMembers 4 Upper limit for max members.
  ↳ InviteCommand "huntinvite" Setting for invite command.
  ↳ AcceptCommand "huntaccept" Setting for accept command.
  ↳ LeaveCommand "huntleave" Setting for leave command.
  ↳ StatusCommand "huntgroup" Setting for status command.
  ↳ RequiredGroupLevel 1 Minimum or level requirement for required group level.
  ↳ RequiredHunterLevel 1 Minimum or level requirement for required hunter level.
  ↳ ContractRequiredHunterLevel 10 Minimum or level requirement for contract required hunter level.
  ↳ InviteTimeoutSeconds 30 Time setting for invite timeout seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ InviteDistance 15.0 Distance in game units that applies to invite distance.
  ↳ CompletionDistance 300.0 Distance in game units that applies to completion distance.
  ↳ ActivityShareDistance 120.0 Distance in game units that applies to activity share distance.
  ↳ CancelIfLeaderLeaves false Switch for cancel if leader leaves: true = on, false = off (default false).
  ↳ RewardScaleBySize table Money value for reward scale by size. Rewards go through the economy multiplier of jrs_core.
GroupProgression table Who is allowed: jobs, groups or permissions for group progression.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ MaxLevel 100 Upper limit for max level.
  ↳ RequiredLevel 1 Minimum or level requirement for required level.
  ↳ Curve table Table of curve entries. Add, remove or edit entries following the examples in the file.
  ↳ Xp table Table of xp entries. Add, remove or edit entries following the examples in the file.
  ↳ Titles table Table of titles entries. Add, remove or edit entries following the examples in the file.
  ↳ Levels table generated by shared/config_runtime.lua

Set Enabled = false to switch this script's XP off without touching code.

Setting Default What it does
XP table Table of xp entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ XPType "custom" 'custom' = award to jrs_core (the shipped integration). The top-level Config.XPType takes priority over this field.
  ↳ Job "hunting" 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 Table of rewards entries. Add, remove or edit entries following the examples in the file.
Notes from the README#
text
# REDEMPIRE Hunting 8.2.0
A RedM hunting resource written directly against **jrs_core** and **jrs_inventory**.
It does not use VORP, RSG, RedEM or SSReputation, and every sensitive operation —
job, character, skinning, rewards, selling, bait and legendary contracts — is verified
on the server.
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
- The MySQL/MariaDB database REDEMPIRE already uses
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_hunting
'''
## Installation
1. Replace the `jrs_hunting` folder with the one in this package.
2. Run `jrs_hunting.sql` once to create/upgrade the hunting tables.
3. Run `install/jrs_items.sql` once to add the required hunting items to the `items`
   table `jrs_inventory` uses.
4. Make sure `oxmysql`, `jrs_core` and `jrs_inventory` start before `jrs_hunting`.
5. Start or restart the resource.
6. Watch the server console on boot. The config validator prints `CONFIG ERROR` if any
   setting or required item is wrong.
The SQL files are written to be re-runnable where possible, but always back the database
up before an upgrade.
## Hunting jobs
Defaults live in `config/core.lua`:
'''lua
Config.HuntingAccess.NormalJobs = {
    hunter = 0,
    legendary_hunter = 0,
}
Config.HuntingAccess.LegendaryJobs = {
    legendary_hunter = 0,
}
'''
- `hunter`: normal hunting, skinning, processing, ordinary bait, the hunting market.
- `legendary_hunter`: everything `hunter` can do, plus the legendary map, contracts,
  bait and animals.
- Each value is the lowest allowed `jobgrade`.
- The real check reads `character.job` and `character.jobgrade` for the active
  character in `jrs_core`.

Paid (server only)   jrs_occult

Night terrors: eerie night encounters in the wild, spirit trees, curses and church cleansing

Resource jrs_occult
Folder [ACTIVITIES]
Version 1.0.1
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface No
Languages ar, en
Code size 643 Lua lines

Commands

  • /cleanse
  • /curse

Database tables

jrs_occult_curses

config.lua - 27 options#

General

Setting Default What it does
AdminGroups table Who is allowed: jobs, groups or permissions for admin groups.
Relic table Table of relic entries. Add, remove or edit entries following the examples in the file.
NightStart 22 In-game night (GetClockHours).
NightEnd 4 Number for night end (default 4).

Encounters (only at night, outdoors, away from towns)

Setting Default What it does
CheckEveryMinutes 4 how often a player in the wild is rolled
Chance 25 % per roll
CooldownMinutes 20 per character between encounters
Encounters table Table of encounters entries. Add, remove or edit entries following the examples in the file.
  ↳ whispers table Table of whispers entries. Add, remove or edit entries following the examples in the file.
  ↳ shadow table Table of shadow entries. Add, remove or edit entries following the examples in the file.
  ↳ nightfolk table Table of nightfolk entries. Add, remove or edit entries following the examples in the file.
  ↳ wolves table Table of wolves entries. Add, remove or edit entries following the examples in the file.
Towns table Towns (no encounters inside these circles).

Spirit trees: offer a relic at night -> blessing or curse

Setting Default What it does
Trees table Table of trees entries. Add, remove or edit entries following the examples in the file.
TreeRadius 4.0 Distance in game units that applies to tree radius.
TreeCooldownMinutes 30 Time setting for tree cooldown minutes. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
BlessingChance 60 otherwise a random curse
BlessingSeconds 600 golden health + stamina cores

Curses

Setting Default What it does
CurseMinutes 45 real minutes; kept across relogs
Curses table Table of curses entries. Add, remove or edit entries following the examples in the file.
  ↳ weak table Table of weak entries. Add, remove or edit entries following the examples in the file.
  ↳ restless table Table of restless entries. Add, remove or edit entries following the examples in the file.
  ↳ nightbound table hurts in daylight only
Churches table Praying at a church lifts a curse.
ChurchRadius 12.0 ground distance (the bell coords sit high)
CleansePrice 10 Money value for cleanse price. Rewards go through the economy multiplier of jrs_core.
Keys table G (hold)

Paid (server only)   jrs_pedmenu

jrs core Ped Menu - jrs_core ped access, preview and admin system

Resource jrs_pedmenu
Folder [ACTIVITIES]
Version 1.4.0
Author jrs team
Depends on jrs_character, jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 8,231 Lua lines

Exports

ClosePedMenu, GetActivityLogs, GetAdminLogs, GetCoreName, GetDefaultPed, GetLastPed, GetSecurityLogs, GetStoreCatalog, HasPedAccess, IsOpen, IsStorePed, LoadLastPed, OpenPedMenu, PrepareCharacterTransition, PreviewPed, RemovePedMode

Database tables

jrs_pedmenu_activity_logs, jrs_pedmenu_admin_logs, jrs_pedmenu_defaults, jrs_pedmenu_requests, jrs_pedmenu_security_logs

config/shared/durations.lua - 4 options#

General

Setting Default What it does
PedTimeSettings table Access duration options shown to administrators.
AllowCustomAdminDays true Allows custom admin days: true = yes, false = no (default true).
AdminMinimumDays 1 Minimum or level requirement for admin minimum days.
AdminMaximumDays 3650 Upper limit for admin maximum days.
config/shared/features_ui.lua - 17 options#

General

Setting Default What it does
Features table Feature switches. Set an option to false to disable it on both UI and server validation.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ BrowseMenu true Switch for browse menu: true = on, false = off (default true).
  ↳ OwnedMenu true Switch for owned menu: true = on, false = off (default true).
  ↳ AdminMenu true Switch for admin menu: true = on, false = off (default true).
  ↳ AdminLogs true Switch for admin logs: true = on, false = off (default true).
  ↳ Search true Switch for search: true = on, false = off (default true).
  ↳ Categories true Switch for categories: true = on, false = off (default true).
  ↳ Preview true Switch for preview: true = on, false = off (default true).
  ↳ RequestPed true Switch for request ped: true = on, false = off (default true).
  ↳ KeepPed true Switch for keep ped: true = on, false = off (default true).
  ↳ SetDefault true Switch for set default: true = on, false = off (default true).
  ↳ ReturnCharacter true Switch for return character: true = on, false = off (default true).
  ↳ OutfitVariants true Switch for outfit variants: true = on, false = off (default true).
UI table NUI settings passed to the browser interface.
  ↳ PageSize 60 Number for page size (default 60).
  ↳ Sounds table Table of sounds entries. Add, remove or edit entries following the examples in the file.
config/shared/general.lua - 19 options#

General

Setting Default What it does
General table General REDEMPIRE Ped Menu settings.
  ↳ Language "ar" Interface language of this script (en or ar).
  ↳ Commands table Table of commands entries. Add, remove or edit entries following the examples in the file.
  ↳ Timeouts table Table of timeouts entries. Add, remove or edit entries following the examples in the file.
  ↳ CloseAfterUse false Switch for close after use: true = on, false = off (default false).
  ↳ AllowOpenInVehicle false Allows open in vehicle: true = yes, false = no (default false).
  ↳ MenuOpenCooldownMs 750 Time setting for menu open cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
Language Config.General.Language Interface language of this script (en or ar).
Commands Config.General.Commands Setting for commands.
UtilityCommandsEnabled Config.General.Commands.Enab... Setting for utility commands enabled.
OpenMenu Config.General.Commands.Open Setting for open menu.
CallbackTimeout Config.General.Timeouts.Call... Time setting for callback timeout. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
ModelLoadTimeout Config.General.Timeouts.Mode... Time setting for model load timeout. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
CharacterReadyTimeoutMs Config.General.Timeouts.Char... Time setting for character ready timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
MenuCharacterWaitMs Config.General.Timeouts.Menu... Time setting for menu character wait ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
CharacterReadyPollMs Config.General.Timeouts.Char... Setting for character ready poll ms.
CloseAfterUse Config.General.CloseAfterUse Setting for close after use.
AllowOpenInVehicle Config.General.AllowOpenInVe... Setting for allow open in vehicle.
MenuOpenCooldownMs Config.General.MenuOpenCoold... Time setting for menu open cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
config/shared/init.lua - 3 options#

General

Setting Default What it does
Resource table Table of resource entries. Add, remove or edit entries following the examples in the file.
  ↳ Name "jrs_pedmenu" Text shown to the player for name. Change it to translate or rebrand.
  ↳ Version "1.0.0" Setting for version.
config/shared/kid_peds.lua - 3 options#

General

Setting Default What it does
UseWeaponKidPeds true Kid ped weapon handling.
AllowAllWeaponsForKidPeds true Allows all weapons for kid peds: true = yes, false = no (default true).
whitelistKidWeapons table Who is allowed: jobs, groups or permissions for whitelist kid weapons.
config/shared/preview.lua - 38 options#

General

Setting Default What it does
Preview table Table of preview entries. Add, remove or edit entries following the examples in the file.
  ↳ Distance 3.0 Distance in game units that applies to distance.
  ↳ HumanDistance 2.55 Distance in game units that applies to human distance.
  ↳ AnimalDistance 3.60 Distance in game units that applies to animal distance.
  ↳ MinDistance 1.45 Distance in game units that applies to min distance.
  ↳ MaxDistance 5.5 Distance in game units that applies to max distance.
  ↳ Height 0.9 Number for height (default 0.9).
  ↳ HumanHeight 1.02 Number for human height (default 1.02).
  ↳ AnimalHeight 0.72 Game model or entity used for animal height.
  ↳ HumanTargetHeight 0.82 Number for human target height (default 0.82).
  ↳ AnimalTargetHeight 0.48 Game model or entity used for animal target height.
  ↳ MinHeight 0.35 Minimum or level requirement for min height.
  ↳ MaxHeight 1.8 Upper limit for max height.
  ↳ FieldOfView 38.0 Number for field of view (default 38.0).
  ↳ StartAngle 28.0 Number for start angle (default 28.0).
  ↳ HumanScreenOffset 0.78 Horizontal showcase placement. Higher values move the ped farther into the clear right side of the screen.
  ↳ AnimalScreenOffset 0.66 Game model or entity used for animal screen offset.
  ↳ ScreenOffset 0.78 Backward-compatible fallback
  ↳ AutoRotate true Automatically handles rotate: true = yes, false = no (default true).
  ↳ AutoRotateSpeed 0.08 Number for auto rotate speed (default 0.08).
  ↳ RotationSpeed 1.55 Number for rotation speed (default 1.55).
  ↳ DragSensitivity 0.35 degrees per pixel when dragging the ped with the mouse
  ↳ HeightSpeed 0.018 Number for height speed (default 0.018).
  ↳ ZoomStep 0.18 Number for zoom step (default 0.18).
  ↳ HeightStep 0.08 Number for height step (default 0.08).
  ↳ ManualInputResumeMs 2500 Key or control used for manual input resume ms. Controls are hash values from the game input list.
  ↳ RestoreWaitBeforeNewPreviewMs 15000 Time setting for restore wait before new preview ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ TransitionMs 250 Number for transition ms (default 250).
  ↳ DrawLight true Switch for draw light: true = on, false = off (default true).
  ↳ FreezePlayer true Switch for freeze player: true = on, false = off (default true).
  ↳ RestoreNaturalCharacter true Switch for restore natural character: true = on, false = off (default true).
  ↳ RestoreFade true Switch for restore fade: true = on, false = off (default true).
  ↳ RestoreFadeOutMs 120 Number for restore fade out ms (default 120).
  ↳ RestoreFadeInMs 180 Number for restore fade in ms (default 180).
  ↳ RestoreTimeoutMs 9000 Time setting for restore timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ RestoreSettleMs 850 Number for restore settle ms (default 850).
  ↳ Controls table Table of controls entries. Add, remove or edit entries following the examples in the file.
PreviewDistance Config.Preview.Distance Kept for older configs/integrations.
Notes from the README#
text
# REDEMPIRE Ped Menu 1.0.0
`jrs_pedmenu` is a RedM ped access, preview, default-ped and administration system rebuilt for `jrs_core` only.
There is no legacy multi-core bridge in this build. Character identity, jobs/groups and ready state are read directly from `jrs_core`.
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_character` is recommended for restoring the saved natural character appearance after leaving a temporary ped/preview.
Start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_character
ensure jrs_pedmenu
'''
## Installation
1. Copy the folder as `jrs_pedmenu`.
2. Import `install/jrs_pedmenu.sql` once.
3. Add `ensure jrs_pedmenu` after `jrs_core` in `server.cfg`.
4. Review the shared and server configuration files before production use.
## jrs_core integration
The server bridge reads the active REDEMPIRE character using:
'''lua
exports.jrs_core:GetCharacter(source)
'''
and falls back to:
'''lua
local REDEMPIRE = exports.jrs_core:getCoreApi()
local character = REDEMPIRE.getCharacter(source)
'''
The resource listens for the authoritative ready event:
'''lua
jrs_core:server:characterReady
'''
and the client refreshes its player information on:
'''lua
jrs_core:client:characterReady
jrs_character:isPlayerReady
'''
## Character restore
When a temporary ped or preview is closed, the resource first fires this local integration hook:
'''lua
jrs_pedmenu:client:refreshCharacter
'''
A REDEMPIRE appearance resource can handle that hook and call the callback passed by the ped menu. If no custom handler responds and `jrs_character` is started,
'''lua

Paid (server only)   jrs_pets

JRS Pets - Instant Sync stable RedM companion system with protected purchases, preview tests, HUD and native prompts

Resource jrs_pets
Folder [ACTIVITIES]
Version 4.22.0-stable
Author JRS
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 23,513 Lua lines

Commands

  • /-jrs_pet_menu
  • /jrs_pets_version
  • /jrspetfx
  • /jrspetrespawnnpc

Exports

CallOwnedPet, CanOpenActionMenu, GetMenuData, GetPetOwner, GivePet, HasFullAccess, IsEntityPet, OpenBirds, OpenManagement, OpenSupplies, PerformMenuAction, SetCompanionSetting

Database tables

IF, jrs_pet_market, jrs_pet_market_payouts, jrs_pets, jrs_pets_birds

config/config.lua - 174 options#

General

Setting Default What it does
ScriptInfo table Script identity displayed in the server startup console banner. Keep these values in English so console logs remain consistent.
  ↳ scriptName "JRS Pets" Text shown to the player for script name. Change it to translate or rebrand.
  ↳ version "4.17.0" Setting for version.
  ↳ versionName "Instant Sync" Text shown to the player for version name. Change it to translate or rebrand.
  ↳ versionType "Stable" Setting for version type.
  ↳ edition "Full" Setting for edition.
  ↳ printOnStart true Switch for print on start: true = on, false = off (default true).
DebugAndBaseOption table Table of debug and base option entries. Add, remove or edit entries following the examples in the file.
  ↳ debug false Debug output for debug: true = yes, false = no (default false).
  ↳ defaultUnemployedJob "unemployed" Default job for unemployed players
StorePreview table Store preview camera and the pre-purchase pet test. The test uses only a temporary local preview ped; it never creates or saves a pet.
  ↳ cameraFollowPet false Keep the scripted camera fixed; only the look-at target follows the preview animal.
  ↳ cameraFollowIntervalMs 0 0 = every frame for the smoothest tracking.
  ↳ cameraSmoothing 1.0 1.0 snaps to the animal; lower values provide smoother movement.
  ↳ light table Table of light entries. Add, remove or edit entries following the examples in the file.
  ↳ test table Table of test entries. Add, remove or edit entries following the examples in the file.
JrsCompanionFeatures table JRS companion features (client/jrs_companion_features.lua + server.lua change_owner).
  ↳ friendlyRelationships table Town NPCs / law / gangs and players treat your pet as friendly (respect), and the pet does not pick fights with them. Uses its own relationship group, so wild dogs/animals are NOT affected. The attack prompt still works.
  ↳ levelAttributes table Pet gets stronger as it levels: rank = baseRank + level * rankPerLevel (max maxRank). Attribute indexes: 1 stamina, 3 courage, 4 agility, 5 speed (0 health is left out on purpose, it changes max health and the saved health value).
  ↳ menuAnimation table Player writes in a notebook while the owned-pet menu (/jrspets) is open.
  ↳ maxTransfersPerPet 0 How many times one pet can change owner. 0 = unlimited.
Breeding table Table of breeding entries. Add, remove or edit entries following the examples in the file.
  ↳ requiredLevel 5 Minimum or level requirement for required level.
  ↳ rewardItem "" Optional inventory item. Keep empty to disable rewards.
  ↳ rewardAmount 1 Money value for reward amount. Rewards go through the economy multiplier of jrs_core.
Currency table Currency settings: Story money (cash) only. Gold is disabled.
  ↳ useStoreMoney true Buy pets only with Store Money / الشراء فقط بستور موني
  ↳ currencyMode "store_money" Setting for currency mode.
  ↳ symbol " ستور موني" Setting for symbol.
  ↳ symbolPosition "after" World coordinates (x, y, z) used for symbol position.
  ↳ enableGold false Disable gold purchases / تعطيل الشراء بالذهب
  ↳ goldSymbol "G" Money value for gold symbol. Rewards go through the economy multiplier of jrs_core.
  ↳ cashType 0 Legacy cash fallback
  ↳ goldType 1 Gold (disabled / معطل)
GoldRol false Disable gold completely / تعطيل الذهب والقولد
MarketFoodShop table Table of market food shop entries. Add, remove or edit entries following the examples in the file.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ currencyType 0 Cash ($)
  ↳ maxQuantity 10 Upper limit for max quantity.
  ↳ items table Inventory items used by items. Names must exist in the jrs_items table.
PetsStoreLogic table Table of pets store logic entries. Add, remove or edit entries following the examples in the file.
  ↳ callFromStore false If you want to call the store from the store, you can set it to true.
  ↳ sellOldForMoney true If you want to sell the old pet for money, you can set it to true.
  ↳ saveCallPet true A pet that was out comes back after reconnect / restart.
  ↳ healPrice table Money value for heal price. Rewards go through the economy multiplier of jrs_core.
  ↳ whereTheyAreKept table Table of where they are kept entries. Add, remove or edit entries following the examples in the file.
  ↳ mating table Table of mating entries. Add, remove or edit entries following the examples in the file.
  ↳ storePetAge table Table of store pet age entries. Add, remove or edit entries following the examples in the file.
PetsLogic table Table of pets logic entries. Add, remove or edit entries following the examples in the file.
  ↳ ballItem "Ball" Inventory items used by ball item. Names must exist in the jrs_items table.
  ↳ renameItem "HorseTag" Inventory items used by rename item. Names must exist in the jrs_items table.
  ↳ cooldownForWhistle 5 Time setting for cooldown for whistle. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ ageingSetup table Table of ageing setup entries. Add, remove or edit entries following the examples in the file.
  ↳ statusSetup table Table of status setup entries. Add, remove or edit entries following the examples in the file.
  ↳ experienceSystem table Table of experience system entries. Add, remove or edit entries following the examples in the file.
  ↳ bondingSystem table Bonding system how much is horse friend with you.
canHoldAnimals table You can use here GetHashKey("animal"),
  ↳ -1910795227 true Switch for 1910795227: true = on, false = off (default true).
  ↳ -930822792 true Switch for 930822792: true = on, false = off (default true).
  ↳ 831859211 true Switch for 831859211: true = on, false = off (default true).
  ↳ 1095117488 true Switch for 1095117488: true = on, false = off (default true).
  ↳ -930822792 true Switch for 930822792: true = on, false = off (default true).
  ↳ -541762431 true Switch for 541762431: true = on, false = off (default true).
  ↳ 1465438313 true Switch for 1465438313: true = on, false = off (default true).
  ↳ 1095117488 true Switch for 1095117488: true = on, false = off (default true).
  ↳ 1458540991 true Switch for 1458540991: true = on, false = off (default true).
  ↳ 1465438313 true Switch for 1465438313: true = on, false = off (default true).
  ↳ -1134449699 true Switch for 1134449699: true = on, false = off (default true).
  ↳ -575340245 true Switch for 575340245: true = on, false = off (default true).
  ↳ 386506078 true Switch for 386506078: true = on, false = off (default true).
  ↳ -861544272 true Switch for 861544272: true = on, false = off (default true).
  ↳ -564099192 true Switch for 564099192: true = on, false = off (default true).
  ↳ 1104697660 true Switch for 1104697660: true = on, false = off (default true).
  ↳ 1459778951 true Switch for 1459778951: true = on, false = off (default true).
  ↳ -2145890973 true Switch for 2145890973: true = on, false = off (default true).
  ↳ -1003616053 true Switch for 1003616053: true = on, false = off (default true).
  ↳ 723190474 true Switch for 723190474: true = on, false = off (default true).
  ↳ 1095117488 true Switch for 1095117488: true = on, false = off (default true).
  ↳ 1205982615 true Switch for 1205982615: true = on, false = off (default true).
  ↳ -2063183075 true Switch for 2063183075: true = on, false = off (default true).
  ↳ -2073130256 true Switch for 2073130256: true = on, false = off (default true).
  ↳ 1416324601 true Switch for 1416324601: true = on, false = off (default true).
  ↳ 1265966684 true Switch for 1265966684: true = on, false = off (default true).
  ↳ -1797450568 true Switch for 1797450568: true = on, false = off (default true).
  ↳ 2079703102 true Switch for 2079703102: true = on, false = off (default true).
  ↳ -164963696 true Switch for 164963696: true = on, false = off (default true).
  ↳ -1076508705 true Switch for 1076508705: true = on, false = off (default true).
  ↳ 2023522846 true Switch for 2023522846: true = on, false = off (default true).
  ↳ -466687768 true Switch for 466687768: true = on, false = off (default true).
  ↳ -575340245 true Switch for 575340245: true = on, false = off (default true).
  ↳ -466054788 true Switch for 466054788: true = on, false = off (default true).
  ↳ -2011226991 true Switch for 2011226991: true = on, false = off (default true).
  ↳ -166054593 true Switch for 166054593: true = on, false = off (default true).
  ↳ 1104697660 true Switch for 1104697660: true = on, false = off (default true).
  ↳ 0000000000 true Switch for 0000000000: true = on, false = off (default true).
  ↳ -1211566332 true Switch for 1211566332: true = on, false = off (default true).
  ↳ 2105463796 true Switch for 2105463796: true = on, false = off (default true).
  ↳ -1414989025 true Switch for 1414989025: true = on, false = off (default true).
  ↳ -1170118274 true Switch for 1170118274: true = on, false = off (default true).
  ↳ 1502581273 true Switch for 1502581273: true = on, false = off (default true).
  ↳ -125323032 true Switch for 125323032: true = on, false = off (default true).
  ↳ 1203222291 true Switch for 1203222291: true = on, false = off (default true).
  ↳ 740300135 true Switch for 740300135: true = on, false = off (default true).
  ↳ -2054685425 true Switch for 2054685425: true = on, false = off (default true).
  ↳ -1610495764 true Switch for 1610495764: true = on, false = off (default true).
  ↳ -1028170431 true Switch for 1028170431: true = on, false = off (default true).
  ↳ -1523680261 true Switch for 1523680261: true = on, false = off (default true).
canHuntAnimals table Game model or entity used for can hunt animals.

This section powers the compact left-side pet panel and the in-world radial

Setting Default What it does
CompanionSystem table menu. Every feature can be disabled independently.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ commands table Table of commands entries. Add, remove or edit entries following the examples in the file.
  ↳ targeting table Table of targeting entries. Add, remove or edit entries following the examples in the file.
  ↳ panel table Table of panel entries. Add, remove or edit entries following the examples in the file.
  ↳ progression table Table of progression entries. Add, remove or edit entries following the examples in the file.
  ↳ metabolism table Table of metabolism entries. Add, remove or edit entries following the examples in the file.
  ↳ behavior table Table of behavior entries. Add, remove or edit entries following the examples in the file.
  ↳ revive table Table of revive entries. Add, remove or edit entries following the examples in the file.
  ↳ sounds table Table of sounds entries. Add, remove or edit entries following the examples in the file.

Aim directly at your called pet and press/hold right mouse briefly. The menu

Setting Default What it does
NativePetPrompt table uses only RedM native prompts; it never opens NUI.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ openOnRightClick false Mouse 2 is reserved for hold-only pet vitals.
  ↳ debug false Debug output for debug: true = yes, false = no (default false).
  ↳ distance 4.5 Distance in game units that applies to distance.
  ↳ lookDot 0.955 Number for look dot (default 0.955).
  ↳ holdDurationMs 120 Time setting for hold duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ reopenDelayMs 700 Time setting for reopen delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ inputDebounceMs 180 Key or control used for input debounce ms. Controls are hash values from the game input list.
  ↳ consumeControls true Switch for consume controls: true = on, false = off (default true).
  ↳ closeAfterAction true Switch for close after action: true = on, false = off (default true).
  ↳ fallbackCommand "jrspetmenu" Setting for fallback command.
  ↳ noPetText "Call your pet before openin... Text shown to the player for no pet text. Change it to translate or rebrand.
  ↳ tooFarText "Move closer to your pet." Text shown to the player for too far text. Change it to translate or rebrand.
  ↳ controls table Table of controls entries. Add, remove or edit entries following the examples in the file.
CompanionCatalogue table Additional companion catalogue. Existing entries in configPetsStore.lua always keep priority; these entries only fill missing animal categories.

Features ported from Fixitfy FX-Pets (PETS.zip, 2026-10-03)

Setting Default What it does
FixitfyFeatures table Table of fixitfy features entries. Add, remove or edit entries following the examples in the file.
  ↳ petBox table Pet Box: pack one of your pets into an inventory item (give it, trade it, store it). Using the box adopts the pet. Menu: pet action menu -> "Pet Box".
  ↳ reviveItem table Revive item: brings a downed pet back right away instead of waiting CompanionSystem.revive.delaySeconds.
  ↳ consumables table Usable from the inventory: feeds / waters your called pet with the normal feeding animation. Values = hunger or thirst restored.
  ↳ speciesAnimations table Species animations (eat / drink / sit / sleep / howl ...) for every non-dog companion. Replaces the dog animations those animals used to get, which do not play on cat / bird / bear / deer skeletons.
  ↳ logs table Discord log of buy / pet box / revive item. Leave "" to route through jrs_logs (the in-game log viewer / central webhook).
SpeciesAnimationModels table model (lowercase) -> animation set in Config.SpeciesAnimations
  ↳ a_c_cat_01 "cat" Setting for a c cat 01.
  ↳ a_c_raccoon_01 "raccoon" Setting for a c raccoon 01.
  ↳ a_c_fox_01 "fox", ["mp_a_c_fox_01"] = "... Setting for a c fox 01.
  ↳ a_c_pig_01 "pig" Setting for a c pig 01.
  ↳ a_c_rabbit_01 "rabbit" Setting for a c rabbit 01.
  ↳ a_c_squirrel_01 "squirrel", ["a_c_chipmunk_0... Setting for a c squirrel 01.
  ↳ a_c_badger_01 "badger" Setting for a c badger 01.
  ↳ a_c_deer_01 "deer" Setting for a c deer 01.
  ↳ a_c_eagle_01 "eagle", ["a_c_hawk_01"] = "... Setting for a c eagle 01.
  ↳ a_c_crow_01 "crow", ["a_c_raven_01"] = "... Setting for a c crow 01.
  ↳ a_c_sparrow_01 "sparrow", ["a_c_songbird_01... Setting for a c sparrow 01.
  ↳ a_c_cardinal_01 "sparrow", ["a_c_bluejay_01"... Setting for a c cardinal 01.
  ↳ a_c_oriole_01 "sparrow", ["a_c_carolinapar... Setting for a c oriole 01.
  ↳ a_c_owl_01 "owl" Setting for a c owl 01.
  ↳ a_c_bear_01 "bear", ["a_c_bearblack_01"]... Setting for a c bear 01.
  ↳ a_c_wolf "wolf", ["a_c_wolf_medium"] ... Setting for a c wolf.
  ↳ a_c_moose_01 "moose" Setting for a c moose 01.
SpeciesAnimations table Taken from Fixitfy Config.Animations. "Eating" / "Drinking" become the feed / water animations; the rest become level-unlocked commands (order kept).
  ↳ raccoon table Table of raccoon entries. Add, remove or edit entries following the examples in the file.
  ↳ fox table Table of fox entries. Add, remove or edit entries following the examples in the file.
  ↳ pig table Table of pig entries. Add, remove or edit entries following the examples in the file.
  ↳ cat table Table of cat entries. Add, remove or edit entries following the examples in the file.
  ↳ rabbit table Table of rabbit entries. Add, remove or edit entries following the examples in the file.
  ↳ squirrel table Table of squirrel entries. Add, remove or edit entries following the examples in the file.
  ↳ badger table Table of badger entries. Add, remove or edit entries following the examples in the file.
  ↳ deer table Table of deer entries. Add, remove or edit entries following the examples in the file.
  ↳ eagle table Table of eagle entries. Add, remove or edit entries following the examples in the file.
  ↳ crow table Table of crow entries. Add, remove or edit entries following the examples in the file.
  ↳ sparrow table Table of sparrow entries. Add, remove or edit entries following the examples in the file.
  ↳ owl table Table of owl entries. Add, remove or edit entries following the examples in the file.
  ↳ bear table Table of bear entries. Add, remove or edit entries following the examples in the file.
  ↳ wolf table Table of wolf entries. Add, remove or edit entries following the examples in the file.
  ↳ moose table Table of moose entries. Add, remove or edit entries following the examples in the file.
config/configCoords.lua - 7 options#

General

Setting Default What it does
Shops table Table of shops entries. Add, remove or edit entries following the examples in the file.
  ↳ 0 table U cant remove this
  ↳ 1 table Table of 1 entries. Add, remove or edit entries following the examples in the file.
  ↳ 2 table From Fixitfy FX-Pets markets (2026-10-03)
  ↳ 3 table From Fixitfy FX-Pets markets (2026-10-03)
  ↳ 4 table From Fixitfy FX-Pets markets (2026-10-03)
PlayerStore table Table of player store entries. Add, remove or edit entries following the examples in the file.
config/configJobs.lua - 4 options#

General

Setting Default What it does
Jobs table Who is allowed: jobs, groups or permissions for jobs.
  ↳ PetTrainer table Table of pet trainer entries. Add, remove or edit entries following the examples in the file.
  ↳ Petbreeder table Table of petbreeder entries. Add, remove or edit entries following the examples in the file.
  ↳ Config.DebugAndBaseOption.defaultUnemployedJob table default setting (any job not listed above)
config/configLang.lua - 87 options#

General

Setting Default What it does
Language table Interface language of this script (en or ar).
  ↳ notifyTitle "الحيوانات الأليفة" Text shown to the player for notify title. Change it to translate or rebrand.
  ↳ notifyImage "pets" Text shown to the player for notify image. Change it to translate or rebrand.
  ↳ notifyInHandBlock table Notifications
  ↳ notifyInInteraction table Text shown to the player for notify in interaction. Change it to translate or rebrand.
  ↳ notifyPetsDoesHaveAnySkill table Text shown to the player for notify pets does have any skill. Change it to translate or rebrand.
  ↳ notifyYourPetLearnSkill table Text shown to the player for notify your pet learn skill. Change it to translate or rebrand.
  ↳ notifyYourPetFailedLearnNewSkill table Text shown to the player for notify your pet failed learn new skill. Change it to translate or rebrand.
  ↳ notifyYourPetFailedLearn table Text shown to the player for notify your pet failed learn. Change it to translate or rebrand.
  ↳ notifyYourPetIsNotMuchOld table Text shown to the player for notify your pet is not much old. Change it to translate or rebrand.
  ↳ notifyYouAreSpammingInteraction table Text shown to the player for notify you are spamming interaction. Change it to translate or rebrand.
  ↳ notifyPetSometingFind table Text shown to the player for notify pet someting find. Change it to translate or rebrand.
  ↳ notifyYouAreIgnoringYourPet table Text shown to the player for notify you are ignoring your pet. Change it to translate or rebrand.
  ↳ notifyYourPetDidntFindNothing table Text shown to the player for notify your pet didnt find nothing. Change it to translate or rebrand.
  ↳ notifyYouSpammingYourPet table Text shown to the player for notify you spamming your pet. Change it to translate or rebrand.
  ↳ notifyYourPetIncreaseBondingTo table Text shown to the player for notify your pet increase bonding to. Change it to translate or rebrand.
  ↳ notifyYourPetStarving table Text shown to the player for notify your pet starving. Change it to translate or rebrand.
  ↳ notifyYourPetMustBeSelected table Text shown to the player for notify your pet must be selected. Change it to translate or rebrand.
  ↳ notifyYouNeedSelectCity table Text shown to the player for notify you need select city. Change it to translate or rebrand.
  ↳ notifyYouDontHavePermissions table Who is allowed: jobs, groups or permissions for notify you dont have permissions.
  ↳ notifyYouCantBreedThisWithThis table Text shown to the player for notify you cant breed this with this. Change it to translate or rebrand.
  ↳ notifyYouCantBreedMorePets table Text shown to the player for notify you cant breed more pets. Change it to translate or rebrand.
  ↳ notifyYouCantBuyMorePets table Text shown to the player for notify you cant buy more pets. Change it to translate or rebrand.
  ↳ notifyYouDontHaveEnoughMoney table Money value for notify you dont have enough money. Rewards go through the economy multiplier of jrs_core.
  ↳ notifyYouDontHaveEnoughGold table Money value for notify you dont have enough gold. Rewards go through the economy multiplier of jrs_core.
  ↳ notifyYouSuccessfullyBuyPet table Text shown to the player for notify you successfully buy pet. Change it to translate or rebrand.
  ↳ notifyYoutSuccessHealPet table Text shown to the player for notify yout success heal pet. Change it to translate or rebrand.
  ↳ notifyYouSuccessSellPet table Text shown to the player for notify you success sell pet. Change it to translate or rebrand.
  ↳ notifyYouSuccessBreedPet table Text shown to the player for notify you success breed pet. Change it to translate or rebrand.
  ↳ notifyYouSuccessTakeBack table Text shown to the player for notify you success take back. Change it to translate or rebrand.
  ↳ notifyYouSuccessTransferPet table Text shown to the player for notify you success transfer pet. Change it to translate or rebrand.
  ↳ notifyYouDontHaveItemsForFixBreed table Inventory items used by notify you dont have items for fix breed. Names must exist in the jrs_items table.
  ↳ notifyYouGiveItemToPet table Inventory items used by notify you give item to pet. Names must exist in the jrs_items table.
  ↳ notifyYouDontHaveNothingToGive table Text shown to the player for notify you dont have nothing to give. Change it to translate or rebrand.
  ↳ notifyYourPetIsHealed table Text shown to the player for notify your pet is healed. Change it to translate or rebrand.
  ↳ notifyYouNeedHaveCalledPet table Text shown to the player for notify you need have called pet. Change it to translate or rebrand.
  ↳ notifyAfterNextCallPet table Text shown to the player for notify after next call pet. Change it to translate or rebrand.
  ↳ notifyBallIsLossed table Text shown to the player for notify ball is lossed. Change it to translate or rebrand.
  ↳ notifyYourPetCantFetchBall table Text shown to the player for notify your pet cant fetch ball. Change it to translate or rebrand.
  ↳ answerDoYouWantSelectPet table Questions
  ↳ answerDoYouWantResetAge table Table of answer do you want reset age entries. Add, remove or edit entries following the examples in the file.
  ↳ answerYourPetFoundSometingDoUWantBringIt table Table of answer your pet found someting do u want bring it entries. Add, remove or edit entries following the examples in the file.
  ↳ answerDoYouWantTransferToPet table Table of answer do you want transfer to pet entries. Add, remove or edit entries following the examples in the file.
  ↳ answerDoYouWantAcceptBreed table Table of answer do you want accept breed entries. Add, remove or edit entries following the examples in the file.
  ↳ answerDoYouWantHealFor table Table of answer do you want heal for entries. Add, remove or edit entries following the examples in the file.
  ↳ answerDoYouWantSellFor table Table of answer do you want sell for entries. Add, remove or edit entries following the examples in the file.
  ↳ answerDoYouWantTakeMoney table Money value for answer do you want take money. Rewards go through the economy multiplier of jrs_core.
  ↳ answerDoYouWantTakeBack table Table of answer do you want take back entries. Add, remove or edit entries following the examples in the file.
  ↳ answerDoYouWantBuyFor table Table of answer do you want buy for entries. Add, remove or edit entries following the examples in the file.
  ↳ answerDoYouWantAddPetToStore table Table of answer do you want add pet to store entries. Add, remove or edit entries following the examples in the file.
  ↳ doYouWantTransferPetToPlayer table Table of do you want transfer pet to player entries. Add, remove or edit entries following the examples in the file.
  ↳ multiInputAge table Multi inputs
  ↳ multiInputGender table Key or control used for multi input gender. Controls are hash values from the game input list.
  ↳ multiInputName table Key or control used for multi input name. Controls are hash values from the game input list.
  ↳ inputPetsName table Inputs
  ↳ inputPetsPrice table Money value for input pets price. Rewards go through the economy multiplier of jrs_core.
  ↳ inputPetsDesc table Key or control used for input pets desc. Controls are hash values from the game input list.
  ↳ promptOpenStore table Prompts
  ↳ promptOpenPlayerStore table Text shown to the player for prompt open player store. Change it to translate or rebrand.
  ↳ promptPetInteraction table Text shown to the player for prompt pet interaction. Change it to translate or rebrand.
  ↳ promptPetSkills table Text shown to the player for prompt pet skills. Change it to translate or rebrand.
  ↳ promptPetFlee table Text shown to the player for prompt pet flee. Change it to translate or rebrand.
  ↳ promptPetHunt table Text shown to the player for prompt pet hunt. Change it to translate or rebrand.
  ↳ promptPetTransfer table Text shown to the player for prompt pet transfer. Change it to translate or rebrand.
  ↳ promptPetText table Text shown to the player for prompt pet text. Change it to translate or rebrand.
  ↳ oldAge "مسن" General values
  ↳ male "ذكر" Setting for male.
  ↳ female "أنثى" Setting for female.
  ↳ yes "نعم" Setting for yes.
  ↳ no "لا" Setting for no.
  ↳ s "ثانية" Setting for s.
  ↳ petsStoreTitle "الحيوانات الأليفة" Store UI
  ↳ menuStore "المتجر" Setting for menu store.
  ↳ menuBreed "التزاوج" Setting for menu breed.
  ↳ menuTransfer "النقل" Setting for menu transfer.
  ↳ menuPlayerStoreAddPet "عرض الحيوان" Player market / pet information
  ↳ menuPlayerStoreName "الاسم" Text shown to the player for menu player store name. Change it to translate or rebrand.
  ↳ menuPlayerStoreGender "الجنس" Setting for menu player store gender.
  ↳ menuPlayerStoreExp "الخبرة" Setting for menu player store exp.
  ↳ menuPlayerStorePrice "السعر" Money value for menu player store price. Rewards go through the economy multiplier of jrs_core.
  ↳ menuPlayerStoreAge "العمر" Setting for menu player store age.
  ↳ menuPlayerStoreDesc "الوصف" Setting for menu player store desc.
  ↳ menuPetsSpots "الفرو / اللون" Setting for menu pets spots.
  ↳ menuStoreExp "الخبرة" Setting for menu store exp.
  ↳ menuStoreGender "الجنس" Setting for menu store gender.
  ↳ menuStoreAge "العمر" Setting for menu store age.
  ↳ menuStoreBreed "التزاوج" Setting for menu store breed.
config/configPets.lua - 20 options#

General

Setting Default What it does
iconSkills true It allows the activation of icons for skills. This way, text-based skills are replaced with icons.
PetsConfig table Table of pets config entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogHusky_01 table Table of a c dog husky 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogRufus_01 table Table of a c dog rufus 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogLab_01 table Table of a c dog lab 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogBluetickCoonhound_01 table Table of a c dog bluetick coonhound 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogHound_01 table Table of a c dog hound 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogCollie_01 table Table of a c dog collie 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogChesBayRetriever_01 table Table of a c dog ches bay retriever 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_DogAmericanFoxhound_01 table Table of a c dog american foxhound 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_dogaustraliansheperd_01 table Table of a c dogaustraliansheperd 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_doghobo_01 table Table of a c doghobo 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_dogcatahoulacur_01 table Table of a c dogcatahoulacur 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_dogpoodle_01 table Table of a c dogpoodle 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ A_C_Cat_01 table Table of a c cat 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_bearblack_01 table Table of a c bearblack 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_squirrel_01 table Table of a c squirrel 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_owl_01 table Table of a c owl 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_parrot_01 table Table of a c parrot 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_rabbit_01 table Table of a c rabbit 01 entries. Add, remove or edit entries following the examples in the file.
config/configPetShop.lua - 19 options#

Payment: every category is paid in Store Money (price) unless the category has

Setting Default What it does
PetShop table Table of pet shop entries. Add, remove or edit entries following the examples in the file.
  ↳ enabled true Turns enabled on or off (default true).
  ↳ onlyListedPets true true = hide every pet that is not in Categories below
  ↳ theme "JRS" "JRS" (jrs_stores look), "Dark" or "Light" (Fixitfy originals, see Themes)
  ↳ myPetsCommand "mypets" opens the My Pets window ("" = off)
  ↳ nameMinLength 3 Minimum or level requirement for name min length.
  ↳ nameMaxLength 24 Upper limit for name max length.
  ↳ attackPets table Owner 10-05: birds of prey + big cats only (RDR2 has no tiger model). Everything else (dogs, wolves, bears, cats, birds ...) never attacks. Attack still unlocks at pet level 8 (progression.fullAbilityLevel).
  ↳ showBalance true player Store Money / gold in the top-left boxes
  ↳ shopTitles table Shop titles shown in the menu header. Key = shop index in configCoords.lua
  ↳ Themes table Table of themes entries. Add, remove or edit entries following the examples in the file.
  ↳ Categories table Shop categories, in display order.
  ↳ showSupplies true Supplies tab inside the shop (items from Config.MarketFoodShop.items)

true = two pets can never share a name (checked on buy and rename).

Setting Default What it does
  ↳ uniquePetNames false Switch for unique pet names: true = on, false = off (default false).
  ↳ shopJobs table Optional, only if you ever want a lock: shopJobs = { [2] = { police = 0 } } -- lock a whole shop to a job jobs = { "police" } / groups = { "vip" } -- on one pet in Categories
  ↳ shopNpcScenario "WORLD_HUMAN_SMOKE_NERVOUS_S... Idle scenario of the shopkeeper NPC ("" = stand still).
  ↳ blipColours table Shop blip colour: open / closed (uses the npcSetting.useTime hours).
  ↳ targetShortcuts table Keys while you aim (right click) at your own called pet.
  ↳ HunterBirds table shop. They are bought through the birds system (its own database table, cash prices from BirdsConfig.Birds, max BirdsConfig.MaxBirdsPerCharacter) and are used from the shoulder / "My Birds" (/birds), not as pets.
Notes from the README#
text
# JRS Pets 4.9.4 Stable - Instant Sync
Complete persistent pet ownership system for RedM. The resource keeps the configured shop, pet catalogue and pet profiles, adds a camera that remains locked to 
## Core systems
- Persistent pet ownership stored in `jrs_pets` through oxmysql.
- Native `jrs_core` character and currency integration, with JRS selected as the required default framework.
- Configured shop NPC with automatic recovery if the ped is deleted, dead, hidden or left with a stale entity handle.
- Cash and gold purchasing, coat selection, catalogue search, category filters and a live 3D preview.
- Adaptive preview camera that centers differently sized animals, stays locked to a moving preview animal, and preserves manual rotate and zoom controls.
- Pre-purchase Test Walk and Test Behavior controls return the animal safely to its configured preview position.
- 37 store companions across dogs, cats, birds, wild animals, critters and farm animals.
- Owned-pet list, active-pet selection, call, store, rename, transfer, deletion and an animal-food-only supplies shop.
- Per-player purchase locks prevent duplicate pet and food transactions while a previous request is still running.
- `jrs_inventory` capacity is checked before food payment; synchronous insertion, removal and refund results remain authoritative.
## Companion gameplay
- Live HUD above the active pet showing name, level, age, experience, gender, bonding, behavior, health, hunger, thirst and life state.
- Native quick prompts appear beside the active pet for Pet/Revive, Feed, Drink, Follow/Stay, Carry/Drop, More Actions and Return Pet.
- `More Actions` opens the complete native prompt-only selector without NUI.
- Right-click targeting remains available as an alternate way to open pet actions.
- Follow, stay, recall, flee, carry, shoulder, feed, drink, bathe, pet, vocalize and store commands.
- Hunt mode, dead-animal search and prey retrieval.
- Configurable automatic protection against peds attacking the owner.
- Hunger and health requirements block hunting, retrieval, tracking and combat when the pet is not fit to work.
- Age-based body scaling, persistent experience, configurable levels and level-gated abilities.
- Health, hunger, thirst, hygiene, disease, bonding, age and experience tracking.
- Server-authoritative hygiene decay and disease damage.
- Paid healing clears disease and restores hygiene to a safe level.
- Downed state, recovery timer, manual revive and automatic revive.
- Per-species vocalization groups with cooldown handling.
- Ball fetch, configured skills, breeding and age reset remain available.
## Commands
- `/mypets` opens the companion panel with mouse focus. Run it again or press Escape to close it.
- `/callpet` calls or spawns the selected pet.
- `/fleepet` makes the active pet flee and stores it.
- `/jrspetrespawnnpc` recreates the configured shop keeper.
- `/jrsaccess` shows the current access state.
- `jrs_pets_version` is a server-console-only command that prints the complete build identity banner again.
## Configuration
The editable configuration remains in six files:
- `config/config.lua`
- `config/configJobs.lua`
- `config/configCoords.lua`
- `config/configPetsStore.lua`
- `config/configPets.lua`
- `config/configLang.lua`
`Config.ScriptInfo` at the top of `config/config.lua` controls Script Name, Version, Version Name, Version Type, Edition, Author and automatic startup printing.

Paid (server only)   jrs_ranch

jrs core Ranch - complete ranch management system for jrs_core / jrs_inventory

Resource jrs_ranch
Folder [ACTIVITIES]
Version 4.6.1-jrs
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 35,802 Lua lines

Commands

  • /jrs_testid
  • /ranchcheck
  • /ranchdbstatus
  • /ranchremove

Exports

IsRanchPredator, Notify

Database tables

jrs_ranch, jrs_ranch_animals, jrs_ranch_birth_records, jrs_ranch_breeding_records, jrs_ranch_buildings, jrs_ranch_guard_dogs, jrs_ranch_herd_transfers, jrs_ranch_market_stock, jrs_ranch_members, jrs_ranch_meta, jrs_ranch_pregnancies, jrs_ranch_ui_settings, jrs_ranch_upkeep_log

config/admin_theft.lua - 43 options#

REDEMPIRE RANCH 3.1.3 - ADMIN CONTROL CENTER, HERD TRANSFERS AND CATTLE RUSTLING

Setting Default What it does
RanchAdmin table Who is allowed: jobs, groups or permissions for ranch admin.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Command "ranchadmin" Setting for command.
  ↳ PageSize 100 Number for page size (default 100).
  ↳ RecentLogLimit 40 Upper limit for recent log limit.
  ↳ TeleportHeightOffset 1.0 Number for teleport height offset (default 1.0).
  ↳ AuditConsole true Switch for audit console: true = on, false = off (default true).
HerdTransfer table Table of herd transfer entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ AllowSelectedAnimals true Allows selected animals: true = yes, false = no (default true).
  ↳ AllowWholeHerd true Allows whole herd: true = yes, false = no (default true).
  ↳ RespectFarmCapacity true Switch for respect farm capacity: true = on, false = off (default true).
  ↳ BlockPregnantAnimals true Switch for block pregnant animals: true = on, false = off (default true).
  ↳ LockBlocksAdminTransfer true Switch for lock blocks admin transfer: true = on, false = off (default true).
  ↳ LockBlocksRustling true Switch for lock blocks rustling: true = on, false = off (default true).
  ↳ MaxAnimalsPerRequest 250 Upper limit for max animals per request.
CattleRustling table Table of cattle rustling entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ RequireFarmOwner true Requires farm owner: true = yes, false = no (default true).
  ↳ MinimumFarmRank 1 1 Owner, 2 Manager, 3 Senior, 4 Worker
  ↳ InteractionDistance 3.0 Distance in game units that applies to interaction distance.
  ↳ ServerDistancePadding 2.0 Distance in game units that applies to server distance padding.
  ↳ PromptControl 0xE30CD707 Key or control used for prompt control. Controls are hash values from the game input list.
  ↳ PromptHoldMs 1200 Text shown to the player for prompt hold ms. Change it to translate or rebrand.
  ↳ ScanIntervalMs 500 Time setting for scan interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ FreezeAnimalDuringAttempt true confirms the rustling prompt until the server accepts/rejects the result. The short control request and refresh watchdog make this reliable even when another client originally owns the network entity.
  ↳ FreezeControlTimeoutMs 850 Time setting for freeze control timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ FreezeRefreshMs 90 Number for freeze refresh ms (default 90).
  ↳ AttemptCooldownSeconds 900 Time setting for attempt cooldown seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ SessionExpireSeconds 75 Time setting for session expire seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MinimumAttemptSeconds 3 Minimum or level requirement for minimum attempt seconds.
  ↳ SuccessChance 75 Rate or multiplier for success chance.
  ↳ GuardDogSuccessPenalty 20 Number for guard dog success penalty (default 20).
  ↳ BlockPregnantAnimals true Switch for block pregnant animals: true = on, false = off (default true).
  ↳ BlockYoungAnimalsBelowGrowth 35 Game model or entity used for block young animals below growth.
  ↳ RequireVictimOwnerOnline false Requires victim owner online: true = yes, false = no (default false).
  ↳ NotifyVictim true Switch for notify victim: true = on, false = off (default true).
  ↳ NotifyTargetFarm true Switch for notify target farm: true = on, false = off (default true).
  ↳ FailedAttemptNotifiesVictim true Switch for failed attempt notifies victim: true = on, false = off (default true).
  ↳ MinigameProfile table Table of minigame profile entries. Add, remove or edit entries following the examples in the file.
  ↳ AnimationProfile "rustle_animal" Animation settings for animation profile.
  ↳ Dispatch table Table of dispatch entries. Add, remove or edit entries following the examples in the file.
FarmAnimationSystem type(Config.FarmAnimationSys... The animation is defined here so disabling/removing this optional feature file cannot corrupt the main animation configuration.
config/animals_care.lua - 96 options#

animals_care.lua : Animal interaction, previews, care, species and breeding

Setting Default What it does
AnimalInfo table Game model or entity used for animal info.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Control 0xF84FA74F Right Mouse / INPUT_AIM
  ↳ MaxDistance 3.5 Distance in game units that applies to max distance.
  ↳ UseModelHeight true Turns model height on or off (default true).
  ↳ HeightOffset 1.45 Fallback when model dimensions are unavailable
  ↳ HeightPadding 0.14 Number for height padding (default 0.14).
  ↳ MinimumHeight 0.35 Minimum or level requirement for minimum height.
  ↳ AutoShowHealth false false = the status card stays hidden until the owner RIGHT-CLICKS the animal (right-click again to hide). true = old behaviour: a health-only card pops up automatically whenever the player walks close.
  ↳ HealthOnly true Switch for health only: true = on, false = off (default true).
  ↳ HealthDisplayDistance 3.25 Distance in game units that applies to health display distance.
  ↳ PositionUpdateMs 60 How often (ms) the world position above the animal is streamed to the HUD. Lower = smoother tracking (the HUD snaps exactly to the animal with no CSS easing). 30ms (~33fps) tracks a moving animal cleanly.
AnimalPreview table Local, non-persistent animal preview used by the livestock shop. The exact male/female model selected in the UI is spawned, displayed, then deleted.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ DurationMs 0 persistent until another animal/tab/camera is selected
  ↳ SpawnDistance 4.0 Distance in game units that applies to spawn distance.
  ↳ CameraDistance 4.2 Distance in game units that applies to camera distance.
  ↳ CameraHeight 1.35 Number for camera height (default 1.35).
  ↳ RotationSpeed 8.0 Number for rotation speed (default 8.0).
  ↳ CancelControl 0xF84FA74F Right Mouse / INPUT_AIM
AnimalAutoReturn table Automatically return an active animal to the barn when its owner gets too far away. The distance is measured from the player to the animal.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ MaxDistanceFromPlayer 120.0 Distance in game units that applies to max distance from player.
  ↳ CheckIntervalMs 5000 Time setting for check interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ NotifyOwner true Switch for notify owner: true = on, false = off (default true).
AnimalLifespanDays 30 Persistent animal lifespan in real-world days. Existing animals receive a fresh lifespan when upgrading from a version that did not store dies_at.
Care table Complete animal-care system. Every value below is enforced by the server; changing a control or item here automatically changes the matching action.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ InteractionDistance 3.5 Distance in game units that applies to interaction distance.
  ↳ ActionCooldownSeconds 3 Time setting for action cooldown seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ Controls table Table of controls entries. Add, remove or edit entries following the examples in the file.
  ↳ StartStats table Table of start stats entries. Add, remove or edit entries following the examples in the file.
  ↳ Actions table Table of actions entries. Add, remove or edit entries following the examples in the file.
  ↳ MenuWaterItem "water" drinks there. SearchRadius = how far from the animal the water may be. Watering from the farm menu consumes this inventory item (the in-world Give Water prompt instead needs a lake/river and uses no item).
  ↳ MenuWaterGain 50 Number for menu water gain (default 50).
  ↳ LakeDrink table Table of lake drink entries. Add, remove or edit entries following the examples in the file.
  ↳ Decay table Table of decay entries. Add, remove or edit entries following the examples in the file.
  ↳ ProductionRequirements table Table of production requirements entries. Add, remove or edit entries following the examples in the file.
  ↳ Fx Config.FarmCareFx Setting for fx.
AnimalSpecies table Species, gender and offspring rules used by purchases and server-authorized breeding. Models in the same group may breed when their genders differ.
  ↳ a_c_bull_01 table Table of a c bull 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_cow table Table of a c cow entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_pig_01 table Table of a c pig 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_sheep_01 table Table of a c sheep 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_goat_01 table Table of a c goat 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_chicken_01 table Table of a c chicken 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_rooster_01 table Table of a c rooster 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_turkey_01 table Table of a c turkey 01 entries. Add, remove or edit entries following the examples in the file.
Breeding table Table of breeding entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ LifetimeProduction table Every animal may successfully produce offspring only once. Failed attempts do not consume this lifetime allowance.
  ↳ RandomPrice table Server-authoritative random breeding service price. A new quote is generated for each valid attempt inside the configured species range.
  ↳ PenRadius 20.0 Both selected animals must be inside the ranch's breeding pen circle to confirm
  ↳ MinimumAgeMinutes 90 Minimum or level requirement for minimum age minutes.
  ↳ MinimumScale 0.85 Minimum or level requirement for minimum scale.
  ↳ MinimumGrowthPercent 75 Minimum or level requirement for minimum growth percent.
  ↳ RequirementsByGroup table Optional stricter maturity rules per species group.
  ↳ MinimumStats table Minimum or level requirement for minimum stats.
  ↳ ChancePercent 75 Rate or multiplier for chance percent.
  ↳ CooldownSeconds 60 * 60 Time setting for cooldown seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DefaultGestationSeconds 45 * 60 Setting for default gestation seconds.
  ↳ GestationSeconds table Table of gestation seconds entries. Add, remove or edit entries following the examples in the file.
  ↳ WorkerTiers table Table of worker tiers entries. Add, remove or edit entries following the examples in the file.
  ↳ HalfTierDailyLimit 3 Upper limit for half tier daily limit.
AnimalRestAnimations table dictionaries. Mammals use their native world "resting" state instead of a generic scenario, so they visibly sit/lie down and remain relaxed. Unknown species fall back to TaskStandStill rather than attempting unsafe hashes.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ LoadTimeoutMs 2400 Time setting for load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ EnterDurationMs 1650 Time setting for enter duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ RestartCheckMs 4500 Number for restart check ms (default 4500).
  ↳ VariationEnabled true Switch for variation enabled: true = on, false = off (default true).
  ↳ VariationMinDelayMs 6500 Time setting for variation min delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ VariationMaxDelayMs 12000 Time setting for variation max delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ VariationDurationMs 3600 Time setting for variation duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ Profiles table Table of profiles entries. Add, remove or edit entries following the examples in the file.
Resting table Table of resting entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ MaxEnemies 4 Upper limit for max enemies.
  ↳ Control 0xD27782E3 Key or control used for control. Controls are hash values from the game input list.
  ↳ Label "Rest / Leave Rest" Text shown to the player for label. Change it to translate or rebrand.
  ↳ InteractionDistance 2.5 Distance in game units that applies to interaction distance.
  ↳ DecayMultiplier 0.25 Rate or multiplier for decay multiplier.
  ↳ HealthRecoveryPerTick 2 Number for health recovery per tick (default 2).
  ↳ HappinessRecoveryPerTick 3 Number for happiness recovery per tick (default 3).
Selling table Table of selling entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
Slaughter table Table of slaughter entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Control 0x9959A6F0 Key or control used for control. Controls are hash values from the game input list.
  ↳ Label "Slaughter Animal" Text shown to the player for label. Change it to translate or rebrand.
  ↳ InteractionDistance 2.5 Distance in game units that applies to interaction distance.
  ↳ Duration 7000 Time setting for duration. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ PlayerAnimation table Animation settings for player animation.
  ↳ AnimalAnimation table Game model or entity used for animal animation.
  ↳ MinimumGrowthPercent 95 Minimum or level requirement for minimum growth percent.
  ↳ MinimumStats table Minimum or level requirement for minimum stats.
AnimalRestAnimations Config.AnimalRestAnimations ... Natural Resting-zone movement. Animals alternate between a short wander inside a small radius and their species-specific sitting/lying animation.
config/animals_spawn_products.lua - 78 options#

animals_spawn_products.lua : Selling, slaughter, herding, spawn optimization, gr

Setting Default What it does
SellingRequirements table Table of selling requirements entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ MinimumGrowthPercent 95 Minimum or level requirement for minimum growth percent.
  ↳ MinimumStats table Minimum or level requirement for minimum stats.
Herding table Table of herding entries. Add, remove or edit entries following the examples in the file.
  ↳ BellItem "ranch_bell" Inventory items used by bell item. Names must exist in the jrs_items table.
  ↳ RequireBell true Requires bell: true = yes, false = no (default true).
  ↳ Command "ranchbell" Setting for command.
  ↳ Radius 50.0 Distance in game units that applies to radius.
  ↳ FollowDurationSeconds 15 * 60 Time setting for follow duration seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ FollowDistance 3.0 Distance in game units that applies to follow distance.
AnimalBlips table Map blip or icon settings for animal blips.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Label "My Animal" Text shown to the player for label. Change it to translate or rebrand.
  ↳ Sprite (Config.RanchBlips and Confi... Map blip or icon settings for sprite.
  ↳ Scale (Config.RanchBlips and Confi... Rate or multiplier for scale.
  ↳ ModColor (Config.RanchBlips and Confi... Setting for mod color.
AnimalFollowOnSpawn true The animal starts following its owner the instant it spawns (server sets isFollowing = true on call/spawn). Set false to have it stand still instead.
AnimalRespawnWatchdog table Watchdog: re-create any owned animal whose ped was culled by the engine while it should still be out of the barn (fixes animals "disappearing").
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ CheckIntervalMs 7000 Lightweight recovery: never recreate a whole herd on one frame.
  ↳ MaxRespawnsPerPass 1 Upper limit for max respawns per pass.
  ↳ RespawnStepMs 320 Time setting for respawn step ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MissingConfirmMs 2600 Number for missing confirm ms (default 2600).
AnimalSpawnPerformance table Central spawn-performance settings used by Barn, Call, Feed and watchdog recovery. Models stay loaded briefly during a herd burst, then are released.
  ↳ ModelLoadTimeoutMs 4500 Time setting for model load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ ModelPollMs 25 Game model or entity used for model poll ms.
  ↳ ModelKeepAliveMs 45000 Game model or entity used for model keep alive ms.
  ↳ ModelCleanupIntervalMs 20000 Time setting for model cleanup interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ BulkBatchSize 1 Number for bulk batch size (default 1).
  ↳ BulkBatchDelayMs 180 Time setting for bulk batch delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ BulkDeleteBatchSize 1 Number for bulk delete batch size (default 1).
  ↳ BulkDeleteDelayMs 160 Time setting for bulk delete delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
AnimalWanderingEnabled false Keep owned animals near their spawn point unless a player explicitly uses the follow/herd actions.
VariationLabels table Variation labels for the NUI color picker when buying animals. Keys correspond to Variations values in the species definition. Per-species VariationLabels override these defaults.
  ↳ 0 "Standard" Setting for 0.
  ↳ 1 "Pattern 1" Setting for 1.
  ↳ 2 "Pattern 2" Setting for 2.
Growth table Table of growth entries. Add, remove or edit entries following the examples in the file.
  ↳ TickRate 60 * 1000 Check every 1 minute
  ↳ ScaleIncrease 0.125 Fallback growth rate
  ↳ DefaultStartScale 0.5 Start small (baby)
  ↳ DefaultMaxScale 1.0 Adult size
  ↳ HungerDecayPerTick 2 How much hunger drops each tick
  ↳ MinHungerToGrow 30 Minimum hunger required to grow
GrowthRates table Custom growth times in hours per animal model
  ↳ a_c_bull_01 table Table of a c bull 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_cow table Table of a c cow entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_sheep_01 table Table of a c sheep 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_goat_01 table Table of a c goat 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_pig_01 table Table of a c pig 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_chicken_01 table Table of a c chicken 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_rooster_01 table Table of a c rooster 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_turkey_01 table Table of a c turkey 01 entries. Add, remove or edit entries following the examples in the file.
AnimalProducts table Game model or entity used for animal products.
  ↳ a_c_bull_01 table Table of a c bull 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_cow table Table of a c cow entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_pig_01 table Table of a c pig 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_sheep_01 table Table of a c sheep 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_goat_01 table Table of a c goat 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_chicken_01 table Table of a c chicken 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_rooster_01 table Table of a c rooster 01 entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_turkey_01 table Table of a c turkey 01 entries. Add, remove or edit entries following the examples in the file.
AnimalsToBuy table Each store card represents one species. The player must choose Male or Female; the server resolves the correct model and price from this table.
AgePricing table Table of age pricing entries. Add, remove or edit entries following the examples in the file.
  ↳ young 0.5 Number for young (default 0.5).
  ↳ prime 1.5 Number for prime (default 1.5).
  ↳ adult 1.0 Number for adult (default 1.0).
  ↳ old 0.7 Number for old (default 0.7).
BaseSellPrices table Table of base sell prices entries. Add, remove or edit entries following the examples in the file.
  ↳ a_c_bull_01 20.00 Number for a c bull 01 (default 20.00).
  ↳ a_c_cow 15.00 Number for a c cow (default 15.00).
  ↳ a_c_pig_01 7.00 Number for a c pig 01 (default 7.00).
  ↳ a_c_sheep_01 5.00 Number for a c sheep 01 (default 5.00).
  ↳ a_c_goat_01 4.50 Number for a c goat 01 (default 4.50).
  ↳ a_c_chicken_01 0.75 Number for a c chicken 01 (default 0.75).
  ↳ a_c_rooster_01 1.00 Number for a c rooster 01 (default 1.00).
  ↳ a_c_turkey_01 1.25 Number for a c turkey 01 (default 1.25).
config/blips.lua - 26 options#

blips.lua : Duty-only ranch map blips

Setting Default What it does
RanchBlips table Map blip or icon settings for ranch blips.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ OnDutyOnly true Switch for on duty only: true = on, false = off (default true).
  ↳ ForceWhite true Forces white: true = yes, false = no (default true).
  ↳ WhiteColor WHITE Setting for white color.
  ↳ Behavior table Map behavior: off duty shows only ranch-entry NPC blips. On duty shows only the active physical ranch plus live mission/entity representatives.
  ↳ Unified table Table of unified entries. Add, remove or edit entries following the examples in the file.
  ↳ Ranch table Table of ranch entries. Add, remove or edit entries following the examples in the file.
  ↳ RestingZone table Table of resting zone entries. Add, remove or edit entries following the examples in the file.
  ↳ AnimalSale table Game model or entity used for animal sale.
  ↳ BredAnimalMarket table Game model or entity used for bred animal market.
  ↳ Slaughter table Table of slaughter entries. Add, remove or edit entries following the examples in the file.
  ↳ CattleAuction table Table of cattle auction entries. Add, remove or edit entries following the examples in the file.
  ↳ AuctionRoute table Table of auction route entries. Add, remove or edit entries following the examples in the file.
  ↳ Animal table Game model or entity used for animal.
  ↳ GuardDog table Table of guard dog entries. Add, remove or edit entries following the examples in the file.
  ↳ Predator table Table of predator entries. Add, remove or edit entries following the examples in the file.
  ↳ Staff table Table of staff entries. Add, remove or edit entries following the examples in the file.
  ↳ FeedWagon table Table of feed wagon entries. Add, remove or edit entries following the examples in the file.
  ↳ HayPickup table Table of hay pickup entries. Add, remove or edit entries following the examples in the file.
  ↳ RestingDestination table Table of resting destination entries. Add, remove or edit entries following the examples in the file.
  ↳ Chore table Table of chore entries. Add, remove or edit entries following the examples in the file.
  ↳ Tasks table Table of tasks entries. Add, remove or edit entries following the examples in the file.
  ↳ GeneralStore table Table of general store entries. Add, remove or edit entries following the examples in the file.
  ↳ Bank table Table of bank entries. Add, remove or edit entries following the examples in the file.
  ↳ PostOffice table Table of post office entries. Add, remove or edit entries following the examples in the file.
config/core.lua - 278 options#

VERSION / FILE INTEGRITY

Setting Default What it does
Integrity table The resource always performs a local required-file check at startup. To use a private REDEMPIRE Ranch update manifest, enable UpdateCheck and set VersionUrl to a JSON endpoint: {"version":"3.2.0","files":["client/animations.lua","
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ FailClosed false false: warn and continue with safe fallbacks
  ↳ RequiredFiles table Table of required files entries. Add, remove or edit entries following the examples in the file.
UpdateCheck table Table of update check entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled false Turns enabled on or off (default false).
  ↳ VersionUrl "" private REDEMPIRE JSON manifest URL
  ↳ ReleaseUrl "" private download / release page shown in console
  ↳ TimeoutMs 5000 Time setting for timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.

SERVER SECURITY / ANTI-ABUSE

Setting Default What it does
Security table All important rewards and destructive actions are revalidated server-side. Keep KickOnAbuse false unless you want repeated invalid/spam requests to kick.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ CallbackWindowMs 1000 Global callback transport limiter. Individual sensitive actions use stricter limits and short-lived transaction locks in server/farm.lua.
  ↳ CallbackMaxCalls 12 Upper limit for callback max calls.
  ↳ MaxCallbackPayloadEntries 96 Upper limit for max callback payload entries.
  ↳ MaxCallbackStringLength 1024 Upper limit for max callback string length.
  ↳ MaxCallbackDepth 6 Upper limit for max callback depth.
  ↳ CallbackTimeoutMs 15000 Time setting for callback timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ ServerCallbackTimeoutMs 14000 Time setting for server callback timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MaxPendingCallbacks 96 Upper limit for max pending callbacks.
  ↳ CallbackLogCleanupIntervalMs 300000 Time setting for callback log cleanup interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ CallbackLogMaxAgeMs 600000 Upper limit for callback log max age ms.
  ↳ DatabaseQueryTimeoutMs 30000 Time setting for database query timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ SharedLockCleanupIntervalMs 300000 Time setting for shared lock cleanup interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ SecurityStateCleanupIntervalMs 300000 Time setting for security state cleanup interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ SecurityStateMaxAgeMs 600000 Upper limit for security state max age ms.
  ↳ DefaultWindowMs 1000 Number for default window ms (default 1000).
  ↳ DefaultMaxCalls 4 Upper limit for default max calls.
  ↳ RateLimitStrikeThreshold 6 Upper limit for rate limit strike threshold.
  ↳ RateLimitStrikeWindowMs 5000 Upper limit for rate limit strike window ms.
  ↳ CallbackNameMaxLength 96 Upper limit for callback name max length.
  ↳ UnknownCallbackWindowMs 5000 Number for unknown callback window ms (default 5000).
  ↳ UnknownCallbackMaxCalls 8 Upper limit for unknown callback max calls.
  ↳ ViolationResetMs 900000 Number for violation reset ms (default 900000).
  ↳ AuditCooldownMs 2000 Time setting for audit cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ MaxNetworkId 2147483647 Upper limit for max network id.
  ↳ PredatorDamageWindowMs 2000 Number for predator damage window ms (default 2000).
  ↳ PredatorDamageMaxPerWindow 50 Upper limit for predator damage max per window.
  ↳ PredatorEntityDistancePadding 2.0 Distance in game units that applies to predator entity distance padding.
  ↳ ExternalAntiCheat table Optional server-side anti-cheat bridge. It is called only for confirmed server-side violations; no gameplay decision trusts a client report.
  ↳ KickOnAbuse false Abuse response. Violations are always printed to the server console.
  ↳ MaxViolations 12 Upper limit for max violations.
  ↳ KickMessage 'REDEMPIRE Ranch: suspicious... Text shown to the player for kick message. Change it to translate or rebrand.
  ↳ MaxCoordinateAbsolute 10000.0 Input / world bounds.
  ↳ MaxAnimalBuyAmount 30 Upper limit for max animal buy amount.
  ↳ MaxProduceCollectAmount 1000 Upper limit for max produce collect amount.
  ↳ MaxMoneyTransaction 10000 Money value for max money transaction. Rewards go through the economy multiplier of jrs_core.
  ↳ AnimalNameMaxLength 30 Upper limit for animal name max length.
  ↳ FarmMenuDistance 25.0 Interaction validation distances. These are intentionally generous so normal gameplay is not rejected by OneSync/server coordinate delay.
  ↳ AnimalReturnFarmDistance 85.0 An animal can only be returned from the UI while its verified entity is near the physical farm. Padding absorbs normal OneSync coordinate delay.
  ↳ AnimalReturnEntityDistancePadding 8.0 Distance in game units that applies to animal return entity distance padding.
  ↳ AnimalReturnPlayerDistance 4.5 player must stand beside the actual animal ped
  ↳ FeedStartDistance 120.0 Distance in game units that applies to feed start distance.
  ↳ FeedFinishExtraDistance 20.0 Distance in game units that applies to feed finish extra distance.
  ↳ HireDistance 15.0 Distance in game units that applies to hire distance.
  ↳ FeedSessionExpireSeconds 7200 Feed mission server ticket. The server refuses instant/replayed completion. Low-level farms can graze for up to 40 minutes, so the ticket must live long enough for loading/delivery plus the full grazing phase.
  ↳ FeedMinimumGrazingFactor 0.95 Minimum or level requirement for feed minimum grazing factor.
  ↳ ProduceMinimumFactor 0.25 Minimum or level requirement for produce minimum factor.
  ↳ ChoreMinimumFactor 0.50 Minimum or level requirement for chore minimum factor.
  ↳ ChoreSessionExpireSeconds 300 Time setting for chore session expire seconds. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DropLegacyTablesOnStartup false Never delete old/legacy tables automatically on every resource restart. Enable this only once when intentionally migrating an old installation.
  ↳ CleanupOwnerlessMembershipsOnStartup false Switch for cleanup ownerless memberships on startup: true = on, false = off (default false).

INVENTORY SAFETY

Setting Default What it does
InventorySafety table Every direct player-inventory grant is checked against the REDEMPIRE core's authoritative carry limit before anything is added. This prevents rewards, purchases or collection actions from overflowing a full inventory.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ CheckBeforeEveryGrant true Switch for check before every grant: true = on, false = off (default true).
  ↳ VerifyAfterGrant true Switch for verify after grant: true = on, false = off (default true).
  ↳ RejectWhenCarryCheckFails true Switch for reject when carry check fails: true = on, false = off (default true).
  ↳ MaxSingleGrant 1000 Upper limit for max single grant.
  ↳ VerifyAttempts 14 Number for verify attempts (default 14).
  ↳ VerifyDelayMs 75 Time setting for verify delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ FullMessage "Your inventory is full." Text shown to the player for full message. Change it to translate or rebrand.

NUI GAMEPLAY INPUT LOCK

Setting Default What it does
NuiInputLock table Blocks the Red Dead weapon wheel and gameplay controls while the ranch NUI owns focus. NUI mouse/keyboard input remains available. Preview prompt keys still work because their handlers read disabled controls intentionally.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ DisableAllGameplayControls true Turns off all gameplay controls: true = yes, false = no (default true).
  ↳ DisableWeaponSwitching true Turns off weapon switching: true = yes, false = no (default true).
  ↳ DisablePlayerFiring true Turns off player firing: true = yes, false = no (default true).
  ↳ ControlGroups table Key or control used for control groups. Controls are hash values from the game input list.
  ↳ Controls table Extra RedM controls retained for servers that disable only selected input.

TEST MODE (DEVELOPMENT SERVERS ONLY)

Setting Default What it does
TestMode table Keep Enabled = false on a live server. When enabled, the farm Owner gets a Test tab with server-authorized shortcuts for testing without long waits.
  ↳ Enabled false Enabled for the Steam identifiers listed in config/steam_permissions.lua. Test page removed from the player UI (2026-09-28); keep this OFF.
  ↳ OwnerOnly true Test Mode is always Steam-whitelist protected when enabled. Identifiers are stored in config/steam_permissions.lua and loaded server-side only.
  ↳ PredatorTargetAnimals 4 Number of ranch animals automatically called for the guaranteed wolf test when no local herd is already outside.
  ↳ Rustling table owned by an isolated synthetic herd, not by the tester's ranch. The normal world prompt/minigame/server transfer flow is then used to steal it into the tester's barn.
  ↳ Limits table Safety limits for custom values sent from the Test tab.
  ↳ Values table Table of values entries. Add, remove or edit entries following the examples in the file.

DYNAMIC FARM ECONOMY

Setting Default What it does
DynamicPricing table Every price shown/charged by the integrated farm systems can move inside a configured range. Prices remain stable during RefreshMinutes, then refresh together. The server is authoritative; the UI only displays server prices.
  ↳ Enabled false static Red Dead Online-style catalogue prices
  ↳ RefreshMinutes 60 Number for refresh minutes (default 60).
  ↳ Categories table Table of categories entries. Add, remove or edit entries following the examples in the file.

FARM MARKET - care supplies + produce sales in one NUI tab

Setting Default What it does
FarmMarket table Table of farm market entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ AutoRegisterDatabaseItems true INSERT IGNORE all care/product item names into the jrs_inventory items table when it exists
  ↳ MaxTransactionQuantity 100 Upper limit for max transaction quantity.
  ↳ ProductFarmDepositPercent 20 remainder is paid directly to the player
  ↳ InventoryImageBase 'nui://jrs_inventory/html/im... Setting for inventory image base.
  ↳ InventoryImageExtension ".png" Setting for inventory image extension.
  ↳ UseInventoryImagesOnly true market never loads duplicate local item artwork
  ↳ CareItems table Inventory items used by care items. Names must exist in the jrs_items table.
  ↳ Products table 10-04 profit raise (no NPC store sells these 4 raw products, so no buy->sell loop).
FarmTimeDecayUpdate 10 decay tick: animals get hungry + grow
FarmTimeProduceUpdate 1 produce tick: mature, healthy animals create produce
FarmTimeRestingUpdate 2 resting tick: animals recover clean/happy

CLIENT PERFORMANCE

Setting Default What it does
Performance table Conservative defaults designed to keep resmon close to idle even with many animals. Render-frame work is only used while a visible marker/prompt needs it.
  ↳ PlayerCoordCacheMs 140 Shared on-demand coordinate cache used by independent ranch loops.
  ↳ WorldMarkerIdleMs 3000 World zone rings. Segment LOD keeps the same segmented style with much less DrawLine work near large resting zones.
  ↳ DisableDrawLines true RedM b1491 can crash in the renderer when resources issue DrawLine calls (crash hash: purple-oxygen-venus). Keep this on until the client fix lands.
  ↳ WorldRingMaxSegments 32 Upper limit for world ring max segments.
  ↳ WorldRingFarDistance 35.0 Distance in game units that applies to world ring far distance.
  ↳ WorldRingFarSegments 16 Number for world ring far segments (default 16).
  ↳ FarmNpcIdleMs 2200 Number for farm npc idle ms (default 2200).
  ↳ FarmNpcApproachDistance 25.0 Distance in game units that applies to farm npc approach distance.
  ↳ FarmNpcApproachMs 350 Number for farm npc approach ms (default 350).
  ↳ AnimalGroundProbeMs 400 Game model or entity used for animal ground probe ms.
  ↳ AnimalNearScanMs 260 Game model or entity used for animal near scan ms.
  ↳ AnimalIdleScanMs 1250 Game model or entity used for animal idle scan ms.
  ↳ AnimalActiveDistanceMs 260 Distance in game units that applies to animal active distance ms.
  ↳ AnimalIdleInputMs 650 Key or control used for animal idle input ms. Controls are hash values from the game input list.
  ↳ AutoReturnIdleMs 12000 Number for auto return idle ms (default 12000).
  ↳ RustlingIdleScanMs 1800 Number for rustling idle scan ms (default 1800).
  ↳ RustlingNearScanMs 500 Number for rustling near scan ms (default 500).
  ↳ FeedMarkerDrawDistance 70.0 Distance in game units that applies to feed marker draw distance.
  ↳ RestingMarkerDrawDistance 180.0 Distance in game units that applies to resting marker draw distance.
  ↳ FeedWagonDrawDistance 45.0 Distance in game units that applies to feed wagon draw distance.
  ↳ FeedMissionTravelMs 550 Number for feed mission travel ms (default 550).
  ↳ FeedGrazingLoopMs 2200 Number for feed grazing loop ms (default 2200).
  ↳ StaticNpcStreamDistance 115.0 Static ranch/resting NPC streaming. All static NPCs are local and only exist near the current player.
  ↳ StaticNpcDespawnDistance 165.0 Distance in game units that applies to static npc despawn distance.
  ↳ StaticNpcIdleMs 3000 Number for static npc idle ms (default 3000).
  ↳ StaticNpcNearMs 450 Number for static npc near ms (default 450).
  ↳ StaticNpcModelLoadTimeoutMs 3500 Time setting for static npc model load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ StaticNpcModelPollMs 35 Game model or entity used for static npc model poll ms.
  ↳ GizmoCameraSyncMs 50 The heavy Three.js editor is loaded only when building starts. Camera transform messages are limited to about 20 FPS while the gizmo is active.
  ↳ PredatorHealthUiMs 160 Number for predator health ui ms (default 160).
  ↳ AnimalUiCoalesceMs 80 Game model or entity used for animal ui coalesce ms.
  ↳ StaleEntityCleanupMs 45000 Number for stale entity cleanup ms (default 45000).
  ↳ UiLevelRefreshMs 2500 Minimum or level requirement for ui level refresh ms.
  ↳ MarketRefreshMs 30000 Heavy-server defaults: refresh only while needed and keep payload churn low.
  ↳ StaffRefreshMs 30000 Number for staff refresh ms (default 30000).
  ↳ UiStateRefreshMs 18000 Number for ui state refresh ms (default 18000).
  ↳ EntityBlipRefreshMs 2500 Map blip or icon settings for entity blip refresh ms.
  ↳ ChorePromptIdleMs 1500 Text shown to the player for chore prompt idle ms. Change it to translate or rebrand.

RESTING MANAGER NPC

Setting Default What it does
RestingManager table One lightweight streamed NPC is available in the resting zone assigned to each farm. Farm members can use the prompt to put every eligible animal from that farm into resting mode with one server-authoritative batch.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ InteractDistance 3.0 Interaction / server validation. NPC streaming values are centralized in Config.Performance so the farm NPCs and resting managers share one budget.
  ↳ PromptIdleMs 900 Text shown to the player for prompt idle ms. Change it to translate or rebrand.
  ↳ ServerValidationPadding 3.0 Number for server validation padding (default 3.0).
  ↳ CooldownMs 1500 Time setting for cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ PromptKey 0xCEFD9220 E
  ↳ PromptText "Rest All Animals" Text shown to the player for prompt text. Change it to translate or rebrand.
  ↳ PromptGroup "Resting Manager" Who is allowed: jobs, groups or permissions for prompt group.
  ↳ PromptHoldMs 800 Text shown to the player for prompt hold ms. Change it to translate or rebrand.
  ↳ OnlySpawnedAnimals true false = the manager puts every animal owned by the farm into resting state in one server batch. Spawned animals update immediately; barn animals retain the resting state for the next time they are called out.
  ↳ Npc table Default NPC appearance. A resting zone can override any of these values inside its manager table.

FARM DUTY / WORK CLOTHES

Setting Default What it does
FarmDuty table The UI button applies a lightweight configurable outfit preset. On REDEMPIRE, going off duty runs the configured character clothes reload command so the player's saved outfit is restored instead of being permanently replaced.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ RequiredForWork true care, call/return, resting, produce, chores, breeding, selling and building
  ↳ ApplyClothes true Switch for apply clothes: true = on, false = off (default true).
  ↳ ButtonLabelOn "Go On Duty" Key or control used for button label on. Controls are hash values from the game input list.
  ↳ ButtonLabelOff "Go Off Duty" Key or control used for button label off. Controls are hash values from the game input list.
  ↳ RestoreCommand "rc" restores the character's saved clothing when leaving duty
  ↳ ApplyDelayMs 350 Time setting for apply delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ RevalidateMs 5000 re-check membership/rank/permission during work without querying every frame
  ↳ AllowedRanks table Duty is server-authoritative. A player MUST be a registered member of the current farm and have one of these farm ranks before the outfit is applied. Rank 1=Owner, 2=Manager, 3=Senior Rancher, 4=Rancher by default.
  ↳ RequiredPermission "care" Who is allowed: jobs, groups or permissions for required permission.
  ↳ maleUniformSourcePed "a_m_m_ranchertravelers_warm_01" Duty clothing configuration (replicated from jrs_mining)
  ↳ maleUniformOutfitPreset 0 Number for male uniform outfit preset (default 0).
  ↳ Uniform table Real multiplayer clothing components (applied as native components)
  ↳ PerFarm table Table of per farm entries. Add, remove or edit entries following the examples in the file.
  ↳ Messages table Text shown to the player for messages. Change it to translate or rebrand.

WORLD ANIMAL INTERACTION (HUD + hotkeys)

Setting Default What it does
AnimalInteraction table status circles (Health/Food/Water/Cleanliness/Happiness/Growth/Breeding) at the top of the screen and the action list on the right. Every key, distance and timing value is configurable here.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Distance 15.0 generous interaction radius for large animals and herd handling
  ↳ CheckIntervalMs 250 proximity scan interval while idle
  ↳ RefreshSeconds 10 periodic HUD stat refresh from the server
  ↳ ActionCooldownSeconds 2 server-enforced delay between care actions
  ↳ RequireRestingZone true S can enter Rest only inside this farm's configured resting zone
  ↳ SpawnDistance 3.0 meters in front of the player a called animal appears
  ↳ SingleActive false calling an animal safely returns the previous one first
  ↳ FollowDistance 2.5 follow stopping range
  ↳ FollowSpeed 2.0 follow speed while the owner walks
  ↳ FollowRunSpeed 6.0 owner running/sprinting or herd > FollowRunDistance behind
  ↳ FollowMountSpeed 9.0 owner on a horse / wagon
  ↳ FollowRunDistance 7.0 metres behind before the herd breaks into a run
  ↳ FollowCatchUpDistance 45.0 off-screen and this far behind -> placed back behind the owner
  ↳ FollowFormationWidth 3 animals per row behind the owner
  ↳ FollowFormationSpacing 1.8 metres between formation slots
  ↳ ReturnDistance 3.5 strict player-to-animal range required to activate Return
  ↳ ReturnPromptDisplayDistance 6.0 selected animal: show the button early; enable inside ReturnDistance
  ↳ ReturnRequireRightClick true Return appears only after right-clicking/selecting the animal
  ↳ ReturnRequireNearFarm true animal must be back near its own farm before Return appears
  ↳ ReturnFarmDistance 85.0 client display range; server repeats the authoritative validation
  ↳ ReturnHoldMs 900 hold duration prevents accidental returns
  ↳ AutoReturn table Table of auto return entries. Add, remove or edit entries following the examples in the file.
  ↳ Keys table RedM keyboard control hashes for the on-screen actions.
ProduceMinigame table In-world produce collection. Each animal opens a small themed skill game; rewards are authorized only after the server validates the completed run.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ SessionSeconds 70 Number for session seconds (default 70).
  ↳ Types table Table of types entries. Add, remove or edit entries following the examples in the file.

REALISTIC RANCH ANIMATION SYSTEM

Setting Default What it does
FarmAnimationSystem table Central animation profiles used by Care, produce collection, upkeep chores, hay handling and slaughter. The client always tries the configured action first and falls back safely if a scenario/animation is unavailable.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ LoadTimeoutMs 4000 Time setting for load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ RequestRetryMs 250 Number for request retry ms (default 250).
  ↳ VerifyStartMs 1000 Number for verify start ms (default 1000).
  ↳ ScenarioVerifyMs 1800 Animation settings for scenario verify ms.
  ↳ AcceptUnverifiedScenarioStart true Canary builds can start a valid scenario while the query natives briefly report false. Keep the issued scenario instead of cancelling the chore.
  ↳ FaceTargetMs 650 Number for face target ms (default 650).
  ↳ FreezeAnimalDuringInteraction true Switch for freeze animal during interaction: true = on, false = off (default true).
  ↳ ClearPlayerTasksBeforeAction true Switch for clear player tasks before action: true = on, false = off (default true).
  ↳ FallbackScenario "WORLD_HUMAN_CROUCH_INSPECT" Animation settings for fallback scenario.
  ↳ MaleFallbackAnimCandidates table Animation settings for male fallback anim candidates.
  ↳ FemaleFallbackAnimCandidates table Animation settings for female fallback anim candidates.
  ↳ Profiles table Table of profiles entries. Add, remove or edit entries following the examples in the file.
FarmLimits table Hard farm limits. Upgrade tiers may be lower, but no farm can exceed these values. Keeping one hard limit in Config prevents UI/server drift.
  ↳ MaxAnimalsPerFarm 30 Upper limit for max animals per farm.
  ↳ MaxCalledAnimalsPerPlayer 30 Upper limit for max called animals per player.
  ↳ PersonalAnimals true each member calls/sees only the animals they bought (farm owner sees all)
  ↳ TeamTakeover false true = a member calling an animal a teammate has outside takes it over; false = locked to the caller
  ↳ MaxPurchasePerTransaction 30 Upper limit for max purchase per transaction.
FarmStorage table Shared farm storage, opened from the Manage tab. One container per farm (all members with menu access share it).
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ RequiresBuilding false building removed; storage is always open
  ↳ RequiredType "barrel" Setting for required type.
  ↳ RequiredLabel "Treasury Barrel" Text shown to the player for required label. Change it to translate or rebrand.
  ↳ LockedMessage 'Build the Treasury Barrel i... Text shown to the player for locked message. Change it to translate or rebrand.
  ↳ CollectionLockedMessage 'Build the Treasury Barrel i... Text shown to the player for collection locked message. Change it to translate or rebrand.
  ↳ BaseLimit 100 starting ranch storage capacity
  ↳ MaxLimit 1000 absolute storage ceiling
  ↳ NameSuffix " Storage" container title = farm name + this suffix
  ↳ AutoDepositProduce true All animal produce is deposited into the shared farm inventory instead of the collector's personal inventory. This prevents inventory swapping exploits during the collection minigame and keeps ranch production shared.
  ↳ AutoDepositChoreRewards true Automatically handles deposit chore rewards: true = yes, false = no (default true).
  ↳ DepositMetadata true Switch for deposit metadata: true = on, false = off (default true).
  ↳ FallbackToPlayerInventory false products/rewards stay in shared farm storage only
FarmCameras table Master switch for every scripted camera in the farm menu (barn / care / breed / call / shop preview / per-animal tracking). Enabled by default.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ TransitionMs 650 Smooth transition time used by every ranch camera.
  ↳ AnimalCam table Per-animal tracking camera (care display / shop preview / animal select).
  ↳ Breed table Dedicated breeding camera tuning.
  ↳ CareWanderRadius 5.0 The care display animal wanders in this radius (metres) so you can watch it move; the tracking camera follows it.
  ↳ TabFocusLift 0.6 Static tab cameras (barn/breed/call/manage/...) point-at focus height lift.

Permission keys:

Setting Default What it does
FarmRanks table storage open the shared farm storage manageStaff hire players / open the staff tab setRanks promote / demote members (Owner only, always)
  ↳ 1 table Table of 1 entries. Add, remove or edit entries following the examples in the file.
  ↳ 2 table Table of 2 entries. Add, remove or edit entries following the examples in the file.
  ↳ 3 table Table of 3 entries. Add, remove or edit entries following the examples in the file.
  ↳ 4 table Table of 4 entries. Add, remove or edit entries following the examples in the file.
FarmHireRank 4 Rank a newly-hired employee starts on (must be one of the employee ranks).
FarmMaxEmployees 5 Max employees (non-owner members) one farm may have.
AnimalCareEffects table Extra effects applied by each world-HUD care action, on top of the main stat gain that comes from the species item value in Config.FarmAnimalData.
  ↳ feed table xp = farm XP, only when the action raised its own stat (food/water/ clean/health). A full stat refuses the action before the item is used.
  ↳ water table Table of water entries. Add, remove or edit entries following the examples in the file.
  ↳ clean table Table of clean entries. Add, remove or edit entries following the examples in the file.
  ↳ treat table main gain of treat raises Health
AnimalHealth table Health simulation (checked every Config.FarmTimeDecayUpdate minutes).
  ↳ CriticalThreshold 10 food/water at or below this drains health
  ↳ DecayPerTick 5 health lost per tick while starving/dehydrated
  ↳ RecoverPerTick 2 health regained per tick while food+water >= 50
AnimalRestRecovery table Recovery for animals put into Rest mode (per Config.FarmTimeRestingUpdate tick).
  ↳ CleanPerTick 5 Number for clean per tick (default 5).
  ↳ HappyPerTick 5 Number for happy per tick (default 5).
  ↳ HealthPerTick 2 Number for health per tick (default 2).
AnimalRestScenarios table Scenario each species plays while resting (leave nil to just stand still).
  ↳ cow table Keep animal ambient tasks conservative and species-specific. Unknown generic/resting hashes are intentionally not attempted on animal peds.
  ↳ sheep table Table of sheep entries. Add, remove or edit entries following the examples in the file.
  ↳ pig table Table of pig entries. Add, remove or edit entries following the examples in the file.
  ↳ goat table Table of goat entries. Add, remove or edit entries following the examples in the file.
  ↳ chicken table Table of chicken entries. Add, remove or edit entries following the examples in the file.
  ↳ turkey table Table of turkey entries. Add, remove or edit entries following the examples in the file.
FarmCircleColorZone table default (unused type)
FarmCircleColorResting table green
FarmCircleColorSelling table yellow
FarmCircleColorSlaughter table red
FarmCircleColorAnimal table blue (spawned animals)

WORLD DRAW MARKERS

Setting Default What it does
PreviewNativePrompts table Native preview controls remain available while the ranch NUI owns mouse focus.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ LeftControl 0xDE794E3E Q
  ↳ RightControl 0xCEFD9220 E
  ↳ LeftLabel "Rotate Left" Text shown to the player for left label. Change it to translate or rebrand.
  ↳ RightLabel "Rotate Right" Text shown to the player for right label. Change it to translate or rebrand.
  ↳ CameraStep 1.8 Number for camera step (default 1.8).
AnimalSpawnSpacing table Animal spawns (call / call all / purchase / barn) never land on another ped: the spot is shifted outward until it is MinSpacing metres from everything nearby.
config/grazing_feed.lua - 94 options#

grazing_feed.lua : Feed wagon, hay handling and grazing mission

Setting Default What it does
FarmFeedMission table Table of farm feed mission entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ WagonModel "cart06" Physical mission flow: hay pickup blip -> load wagon -> drive to resting zone -> unload -> graze.
  ↳ WagonBlipSprite Config.RanchBlips.FeedWagon.... Map blip or icon settings for wagon blip sprite.
  ↳ WagonBlipScale Config.RanchBlips.FeedWagon.... Map blip or icon settings for wagon blip scale.
  ↳ HayBlipSprite Config.RanchBlips.HayPickup.... Map blip or icon settings for hay blip sprite.
  ↳ HayBlipScale Config.RanchBlips.HayPickup.... Map blip or icon settings for hay blip scale.
  ↳ HayModel "p_haybale03x" Game model or entity used for hay model.
  ↳ WagonCapacity 3 Authoritative logical wagon capacity. For performance and a cleaner look, only ONE hay bale is rendered inside the wagon; the remaining loaded bales are tracked logically and are spawned only when the player unloads them.
  ↳ ShowSingleWagonHay true Shows single wagon hay: true = yes, false = no (default true).
  ↳ SingleActivePerFarm true prevents duplicate long grazing rewards when several ranchers are online
  ↳ HayCount 3 legacy fallback only
  ↳ DeleteWagon table Player can remove the spawned feed wagon anywhere by walking next to it and holding F. During the grazing/waiting phase only the wagon is removed and grazing continues; before grazing, removing it cancels the delivery run.
  ↳ AutoDeleteWagonOnComplete false Keeping the wagon after grazing avoids a heavy vehicle teardown at the same moment animal AI and hay props are being released. The player can remove it safely at any location with the F prompt above.
  ↳ HayMarkerSnapToGround true Mission hay marker. It is terrain-snapped and intentionally very flat so the yellow/orange marker sits on the ground instead of floating.
  ↳ HayMarkerZOffset -0.08 Number for hay marker z offset (default -0.08).
  ↳ HayMarkerHeight 0.18 Number for hay marker height (default 0.18).
  ↳ HayMarkerSize 1.15 Number for hay marker size (default 1.15).
  ↳ HayMarkerAlpha 155 Number for hay marker alpha (default 155).
  ↳ RestingMarkerEnabled false Resting-zone world DrawMarker is disabled. Feed mission blips, arrival checks, prompts and the actual Resting Zone radius continue to work.
  ↳ RestingMarkerUseFullZone true Switch for resting marker use full zone: true = on, false = off (default true).
  ↳ RestingMarkerRadius 100.0 Distance in game units that applies to resting marker radius.
  ↳ RestingMarkerZOffset -0.08 Number for resting marker z offset (default -0.08).
  ↳ RestingMarkerHeight 0.16 Number for resting marker height (default 0.16).
  ↳ RestingMarkerAlpha 95 Number for resting marker alpha (default 95).
  ↳ PermanentHayEnabled true Always-visible hay prop at each farm's hay pickup blip. This prop is decorative and separate from the physical mission bales, so it remains visible before, during and after the Feed Mission.
  ↳ PermanentHayModel "p_haybale03x" Game model or entity used for permanent hay model.
  ↳ PermanentHayHeading 0.0 Number for permanent hay heading (default 0.0).
  ↳ PermanentHayZOffset -0.72 Number for permanent hay z offset (default -0.72).
  ↳ PermanentHayCollision true Switch for permanent hay collision: true = on, false = off (default true).
  ↳ PermanentHayRespawnMs 12000 Time setting for permanent hay respawn ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ PermanentHayCheckMs 12000 Client-side streaming: decorative hay piles exist only near the player.
  ↳ PermanentHayStreamDistance 150.0 Distance in game units that applies to permanent hay stream distance.
  ↳ PermanentHayDespawnDistance 220.0 Distance in game units that applies to permanent hay despawn distance.
  ↳ PermanentHayStack table Large always-visible pile at the hay blip. Each entry is: { localX, localY, localZ, headingOffset }
  ↳ SourceBaleOffset table Mission bale appears beside the permanent pile so it is easy to grab.
  ↳ ConsumeInventoryHay false The physical hay bales are the mission cost. Keep this false unless you ALSO want the server to remove hay items from the player's inventory.
  ↳ HayPurchase table Hay is purchased with the rancher's own cash when the feed mission starts. The price scales with the actual number of bales required by farm level.
  ↳ FeedAllSpawned true Feed every spawned farm animal after the physical delivery. Set false to keep the old single-species behaviour.
  ↳ RequireAllAnimalsOutside true after the required animals already exist outside. They can then walk to the delivered hay from wherever they are, unless the optional zone rule below is enabled.
  ↳ RequireAnimalsInRestingZone false Requires animals in resting zone: true = yes, false = no (default false).
  ↳ MinAnimalsInRestingZone 1 Minimum or level requirement for min animals in resting zone.
  ↳ AnimalRestingCheckRadius 150.0 Distance in game units that applies to animal resting check radius.
  ↳ SourceInteractDistance 2.5 Interaction distances.
  ↳ WagonInteractDistance 3.5 Distance in game units that applies to wagon interact distance.
  ↳ RestingArrivalDistance 140.0 Distance in game units that applies to resting arrival distance.
  ↳ RestingDropRadius 100.0 Distance in game units that applies to resting drop radius.
  ↳ HayPlacementSpread 8.0 Number for hay placement spread (default 8.0).
  ↳ DynamicGrazingSpots table and more developed ranches stay easier to manage without forcing every animal into one pile. The server uses this to calculate the paid hay requirement and the client distributes the bales around the resting zone.
  ↳ UtilityRoute table During grazing the herd rotates between delivered hay, the built Animal Feeder and the built Water Trough. Missing utilities are skipped safely.
  ↳ AnimalSpawnWaitMs 900 farm level: level 1 starts at 40 minutes and progressively drops to 15 minutes at the configured maximum level. The legacy GrazingDurationMs is retained only as a fallback when DurationByFarmLevel is disabled.
  ↳ AnimalWalkSpeed 1.0 Game model or entity used for animal walk speed.
  ↳ GrazingTravelTimeoutMs 90000 Time setting for grazing travel timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ NetworkControlTimeoutMs 250 Time setting for network control timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ GrazingDurationMs 2400000 Time setting for grazing duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DurationByFarmLevel table Time setting for duration by farm level. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ GrazingArrivalDistance 2.25 Distance in game units that applies to grazing arrival distance.
  ↳ GrazingRetaskIntervalMs 5000 Time setting for grazing retask interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ GrazingThinkIntervalMs 1500 Long 15-40 minute grazing sessions do not need a 5Hz AI loop.
  ↳ GrazingStartThinkIntervalMs 500 Time setting for grazing start think interval ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ GrazingTargetSpread 1.10 Number for grazing target spread (default 1.10).
  ↳ GrazingStayRadius 3.25 Distance in game units that applies to grazing stay radius.
  ↳ GrazingFaceHayMs 700 Number for grazing face hay ms (default 700).
  ↳ ServerCompletionSafetyMs 1500 Number for server completion safety ms (default 1500).
  ↳ GrazingCleanupDelayMs 1200 Time setting for grazing cleanup delay ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ GrazingAnimalReleaseStepMs 90 Release animal tasks gradually at mission end instead of clearing every animal on the same frame. This is especially useful on large ranches.
  ↳ SafeCleanup table Staged end-of-mission cleanup. Props are removed after animal tasks are released, and the wagon is never deleted while the local player is using it.
  ↳ UseSpeciesGrazingAnimations true hay bale. The client first verifies that the dictionary loaded, then verifies that the animation really started. A failed animation falls back to the conservative standing behaviour instead of trying unknown hashes.
  ↳ GrazingAnimationLoadTimeoutMs 2200 Time setting for grazing animation load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ GrazingAnimationRestartMs 9000 Animation settings for grazing animation restart ms.
  ↳ GrazingAnimations table Table of grazing animations entries. Add, remove or edit entries following the examples in the file.
  ↳ UseNativeGrazingScenarios false Scenario hashes stay disabled by default. They remain available only as an optional fallback for server owners who explicitly enable them.
  ↳ PlayGrazingAnimation true WORLD_ANIMAL_GRAZE fallback has been removed because sending an invalid scenario hash to an animal ped can hard-crash the RDR2 client instead of producing a catchable Lua error.
  ↳ UseGenericGrazingScenarioFallback false Turns generic grazing scenario fallback on or off (default false).
  ↳ ServerCooldownSeconds 30 Server-side anti-spam after a successful feed mission.
  ↳ CarryAnimDict 'amb_wander@code_human_hay_b... Two-hand hay carry pose from the game's dedicated hay-bale locomotion set. The prop is anchored to the right hand but centered across the torso so both hands visually support it instead of the bale floating above the head.
  ↳ CarryAnimName "base" Text shown to the player for carry anim name. Change it to translate or rebrand.
  ↳ CarryAnimFlag 31 Animation settings for carry anim flag.
  ↳ CarryAnimBlendIn 6.0 Animation settings for carry anim blend in.
  ↳ CarryAnimBlendOut -6.0 Animation settings for carry anim blend out.
  ↳ CarryAnimCheckMs 900 Animation settings for carry anim check ms.
  ↳ AttachBone "SKEL_R_Hand" Setting for attach bone.
  ↳ AttachOffset table Table of attach offset entries. Add, remove or edit entries following the examples in the file.
  ↳ HayActionAnimations table Short standing bale transitions. No crouch/sit scenario is used. The bale remains physically attached to the player during the one-shot, then the mission code attaches it to the wagon or snaps it to the ground.
  ↳ WagonAttachBone "" bale is attached visually; extra capacity is stored logically. Empty bone name uses the wagon root, which is more stable than cart06's body bone and keeps the bale centered inside the cargo bed.
  ↳ WagonHayZOffset -0.72 Only this one physical bale is rendered. It sits low inside cart06's cargo bed; the rest of the configured capacity remains logical only.
  ↳ WagonHaySlots table Upper limit for wagon hay slots.
  ↳ WagonHayLayerHeight 0.0 Number for wagon hay layer height (default 0.0).
  ↳ Keys table Context-sensitive RedM controls: C pick up hay / take hay from wagon SPACE load hay into wagon / place hay in resting zone
  ↳ EatScenarios table Grazing/eating scenarios that match the existing resting profiles and do not use trough/carcass-only scenario names near loose hay bales.
  ↳ FoodGain 40 Stat rewards after grazing completes.
  ↳ WaterGain 30 Number for water gain (default 30).
  ↳ HappyGain 10 Number for happy gain (default 10).
  ↳ XpReward 25 Money value for xp reward. Rewards go through the economy multiplier of jrs_core.
Notes from the README#
text
# jrs_ranch
Complete RedM ranch management resource converted to run directly on **jrs_core** and **jrs_inventory**.
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
Verified compatibility target for this package:
- `jrs_core` **1.0.10**
- `jrs_inventory` **1.5.4**
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_ranch
'''
## REDEMPIRE integration
The runtime integration is centralized in `shared/jrs.lua`.
- Character identity, jobs, cash and gold come from `jrs_core`.
- Inventory grants/removals/carry checks and usable items use `jrs_inventory:jrs_inventoryApi()`.
- Shared ranch storage uses the native `inventory_storage` format and `jrs_inventory` open/close events.
- Client RPC requests wait for the REDEMPIRE character-ready state before requesting character-dependent data.
- Ranch jobs are configured in `config/jrs_jobs.lua` and assigned through `jrs_core`.
No multi-core bridge is required by the resource.
## Database
Run:
'''text
install/sql/jrs_ranch.sql
'''
The resource also performs safe `CREATE TABLE IF NOT EXISTS` / column migrations at startup.
`jrs_ranch.sql` includes the ranch items using the current `jrs_inventory` item schema. If you only want the item rows, use:
'''text
install/sql/jrs_inventory_items.sql
'''
New ranch item definitions use `limit = 0.10` as their inventory weight. `INSERT IGNORE` is used so existing item rows are not overwritten.
**Important for jrs_inventory 1.5.4:** import the SQL before starting `jrs_inventory`. If `jrs_ranch` has to auto-insert a missing item while the server is alre
## Inventory images
Copy the PNG files from:
'''text
install/inventory_images/jrs_inventory/
'''
to:
'''text
jrs_inventory/html/images/items/
'''

Paid (server only)   jrs_randomquests

jrs core Random Quests - random quest system for jrs_core / jrs_inventory

Resource jrs_randomquests
Folder [ACTIVITIES]
Version 2.8.5
Author jrs team
Depends on jrs_core, jrs_inventory
Interface Yes (NUI)
Languages ar, en
Code size 7,617 Lua lines
config.lua - 223 options#

General

Setting Default What it does
Settings table Table of settings entries. Add, remove or edit entries following the examples in the file.
  ↳ Dist 110.0 Activation scan radius around each configured mission location.
  ↳ Dist1 80.0 Rescue warning distance.
  ↳ Dist2 60.0 Rescue enemies may engage the player inside this distance.
  ↳ Dist3 30.0 Rescue enemies may threaten/attack the hostage inside this distance.
  ↳ InteractDist 3.0 Native prompt interaction distance for rescue/escort/help NPCs.
  ↳ Refresh 1800 Mission cooldown in seconds after completion/failure/abandon.
  ↳ Button 0x760A9C6F G: primary native interaction prompt.
  ↳ Button1 0x24978A28 H: secondary native interaction prompt (decline).
  ↳ SpawnRate 90 Seconds between escort ambush-wave attempts after acceptance.
Missions table Table of missions entries. Add, remove or edit entries following the examples in the file.
  ↳ 1 table FOR EVERY TYPE OF MISSION, SOME SETTINGS ARE DIFFERENT (IF YOU WANNA CREATE MORE, JUST COPY THE SAME TYPE OF MISSION AND CHANGE WHAT YOU NEED)
  ↳ 2 table Table of 2 entries. Add, remove or edit entries following the examples in the file.
  ↳ 3 table Table of 3 entries. Add, remove or edit entries following the examples in the file.
  ↳ 4 table Table of 4 entries. Add, remove or edit entries following the examples in the file.
  ↳ 5 table Table of 5 entries. Add, remove or edit entries following the examples in the file.
  ↳ 6 table Table of 6 entries. Add, remove or edit entries following the examples in the file.
  ↳ 7 table Table of 7 entries. Add, remove or edit entries following the examples in the file.
  ↳ 8 table Table of 8 entries. Add, remove or edit entries following the examples in the file.
  ↳ 9 table Table of 9 entries. Add, remove or edit entries following the examples in the file.
  ↳ 10 table Table of 10 entries. Add, remove or edit entries following the examples in the file.
  ↳ 11 table Table of 11 entries. Add, remove or edit entries following the examples in the file.
  ↳ 12 table Table of 12 entries. Add, remove or edit entries following the examples in the file.
  ↳ 13 table Table of 13 entries. Add, remove or edit entries following the examples in the file.
  ↳ 14 table Table of 14 entries. Add, remove or edit entries following the examples in the file.
  ↳ 15 table Table of 15 entries. Add, remove or edit entries following the examples in the file.
  ↳ 16 table Table of 16 entries. Add, remove or edit entries following the examples in the file.
  ↳ 18 table Table of 18 entries. Add, remove or edit entries following the examples in the file.
  ↳ 19 table Table of 19 entries. Add, remove or edit entries following the examples in the file.
  ↳ 20 table Table of 20 entries. Add, remove or edit entries following the examples in the file.
  ↳ 21 table Table of 21 entries. Add, remove or edit entries following the examples in the file.
  ↳ 22 table Table of 22 entries. Add, remove or edit entries following the examples in the file.
  ↳ 23 table Table of 23 entries. Add, remove or edit entries following the examples in the file.
  ↳ 24 table Table of 24 entries. Add, remove or edit entries following the examples in the file.
  ↳ 25 table Table of 25 entries. Add, remove or edit entries following the examples in the file.
  ↳ 26 table Table of 26 entries. Add, remove or edit entries following the examples in the file.
  ↳ 27 table Table of 27 entries. Add, remove or edit entries following the examples in the file.
  ↳ 28 table Table of 28 entries. Add, remove or edit entries following the examples in the file.
  ↳ 29 table Table of 29 entries. Add, remove or edit entries following the examples in the file.
  ↳ 30 table Table of 30 entries. Add, remove or edit entries following the examples in the file.
  ↳ 31 table Table of 31 entries. Add, remove or edit entries following the examples in the file.
  ↳ 32 table Table of 32 entries. Add, remove or edit entries following the examples in the file.
  ↳ 33 table Table of 33 entries. Add, remove or edit entries following the examples in the file.
  ↳ 34 table Table of 34 entries. Add, remove or edit entries following the examples in the file.
  ↳ 35 table Table of 35 entries. Add, remove or edit entries following the examples in the file.
  ↳ 36 table Table of 36 entries. Add, remove or edit entries following the examples in the file.
  ↳ 37 table Table of 37 entries. Add, remove or edit entries following the examples in the file.
  ↳ 38 table Table of 38 entries. Add, remove or edit entries following the examples in the file.
  ↳ 39 table Table of 39 entries. Add, remove or edit entries following the examples in the file.
  ↳ 40 table Table of 40 entries. Add, remove or edit entries following the examples in the file.
  ↳ 41 table Table of 41 entries. Add, remove or edit entries following the examples in the file.
BlacklistCities table Town areas where escort ambush waves are suppressed.
Texts table Table of texts entries. Add, remove or edit entries following the examples in the file.
  ↳ rq_rescue "Someone in this area needs ... Setting for rq rescue.
  ↳ rq_escort "Someone in this area needs ... Setting for rq escort.
  ↳ rq_help "Someone in this area needs ... Setting for rq help.
  ↳ rq_rescueblip "Rescue" Setting for rq rescueblip.
  ↳ rq_escortblip "Escort" Setting for rq escortblip.
  ↳ rq_helpblip "Assistance" Setting for rq helpblip.
  ↳ rq_gonetoofar "You moved too far away. The... Setting for rq gonetoofar.
  ↳ rq_takecare "Careful. If you get too clo... Setting for rq takecare.
  ↳ rq_rescuefailed "The hostage was killed. Mis... Setting for rq rescuefailed.
  ↳ rq_button "Rescue" Key or control used for rq button. Controls are hash values from the game input list.
  ↳ rq_escbut1 "Accept Escort" Setting for rq escbut1.
  ↳ rq_escbut2 "Decline" Setting for rq escbut2.
  ↳ rq_helpbut1 "Give Item" Setting for rq helpbut1.
  ↳ rq_helpbut2 "Decline" Setting for rq helpbut2.
  ↳ rq_thankyou "Thank you for saving me. Yo... Setting for rq thankyou.
  ↳ rq_finishesc "Thank you for getting me he... Setting for rq finishesc.
  ↳ rq_finishhelp "Thank you. That is exactly ... Setting for rq finishhelp.
  ↳ rq_needescort "I need an escort to another... Setting for rq needescort.
  ↳ rq_deniedescort "Understood. I will find som... Setting for rq deniedescort.
  ↳ rq_acceptescort "Good. Let us move. Outlaws ... Setting for rq acceptescort.
  ↳ rq_escorthogtied "You brought me here hogtied... Setting for rq escorthogtied.
  ↳ rq_escortdead "The person you were escorti... Setting for rq escortdead.
  ↳ rq_spawnedoutlaws "Outlaws are closing in. Def... Setting for rq spawnedoutlaws.
  ↳ rq_escort_abandoned "You moved too far away from... Setting for rq escort abandoned.
  ↳ rq_needitem "I urgently need " Setting for rq needitem.
  ↳ rq_needitem1 "Can you help me?" Setting for rq needitem1.
  ↳ rq_noneeditem "You do not have the request... Setting for rq noneeditem.
  ↳ rq_deniedhelp "Understood. I will ask some... Setting for rq deniedhelp.
rq_rescue "شخص في هذه المنطقة يحتاج إل... Setting for rq rescue.
rq_escort "شخص في هذه المنطقة يحتاج إل... Setting for rq escort.
rq_help "شخص في هذه المنطقة يحتاج إل... Setting for rq help.
rq_rescueblip "Rescue" Setting for rq rescueblip.
rq_escortblip "Escort" Setting for rq escortblip.
rq_helpblip "Help" Setting for rq helpblip.
rq_gonetoofar "ابتعدت كثيراً عن الموقع. فُ... Setting for rq gonetoofar.
rq_takecare "احذر. إذا اقتربت كثيراً، قد... Setting for rq takecare.
rq_rescuefailed "قُتلت الرهينة. فشلت المهمة." Setting for rq rescuefailed.
rq_button "إنقاذ" Key or control used for rq button. Controls are hash values from the game input list.
rq_escbut1 "قبول المرافقة" Setting for rq escbut1.
rq_escbut2 "رفض" Setting for rq escbut2.
rq_helpbut1 "إعطاء الغرض" Setting for rq helpbut1.
rq_helpbut2 "رفض" Setting for rq helpbut2.
rq_thankyou "شكراً لإنقاذي! مكافأتك هي " Setting for rq thankyou.
rq_finishesc "شكراً لإيصالي بأمان إلى هنا... Setting for rq finishesc.
rq_finishhelp "شكراً لك. هذا بالضبط ما كنت... Setting for rq finishhelp.
rq_needescort "أحتاج إلى مرافقة إلى منطقة ... Setting for rq needescort.
rq_deniedescort "مفهوم. سأبحث عن شخص آخر." Setting for rq deniedescort.
rq_acceptescort "حسناً، دعنا نتحرك. الخارجون... Setting for rq acceptescort.
rq_escorthogtied "لقد جلبتني إلى هنا مقيداً ب... Setting for rq escorthogtied.
rq_escortdead "توفي الشخص الذي كنت ترافقه.... Setting for rq escortdead.
rq_spawnedoutlaws "الخارجون عن القانون يقتربون... Setting for rq spawnedoutlaws.
rq_escort_abandoned "ابتعدت كثيراً عن الشخص المط... Setting for rq escort abandoned.
rq_needitem "أحتاج بشكل عاجل إلى " Setting for rq needitem.
rq_needitem1 "هل يمكنك مساعدتي؟" Setting for rq needitem1.
rq_noneeditem "ليس لديك الغرض المطلوب، أحت... Setting for rq noneeditem.
rq_deniedhelp "مفهوم. سأطلب من شخص آخر." Setting for rq deniedhelp.
Currency 0 jrs_core: 0 cash / 1 gold / 2 rol / 3 dirty money.
PersistCooldowns true Persist per-mission cooldowns in resource KVP across restarts.
ActivationRetryMs 15000 Minimum client retry delay after a denied/failed activation attempt.
MissionTimeout 1800 Hard active-mission timeout in seconds.
EscortArrivalDistance 8.0 Player-side destination arrival radius.
EscortFollowDistance 3.5 Desired NPC follow distance behind the player.
EscortFollowSpeed 2.25 NPC follow movement speed.
EscortCatchupDistance 14.0 Distance where stronger catch-up behavior begins.
EscortTargetArrivalDistance 12.0 Escort NPC must be this close to destination to complete.
EscortAcceptServerDistance 12.0 Server acceptance distance from player to the escort offer NPC.
EscortAcceptTimeoutMs 6500 Client waits this long for the server accept/deny response.
Notes from the README#
text
# jrs_randomquests 2.5.0
Random rescue, escort, and assistance missions for RedM using **REDEMPIRE Core** and **jrs_inventory**.
## Required resources / start order
'''cfg
ensure jrs_core
ensure jrs_inventory
ensure jrs_randomquests
'''
No VORP, RSG, RedEM, SSReputation, or external progression/stress resource is required.
## Controls
- **G** — primary native RedM mission prompt (rescue / accept escort / give item).
- **H** — secondary native RedM mission prompt (decline escort/help).
- **/rqadmin** — opens the server-authorized admin menu. There is no key mapping/F6 binding.
- **/rqtest** — runs integrated server/client diagnostics for authorized admins.
## Mission types
### 1. Rescue
The mission activates near its configured `coords`, creates the mission blip/GPS route, spawns the hostage and configured enemies, and only allows rescue comple
### 2. Escort / person transport
1. The mission activates and shows only the **escort offer/person blip**.
2. **No GPS route is rendered before acceptance.**
3. Near the person, native prompts show **G = Accept Escort** and **H = Decline**.
4. G sends a server-side acceptance request. The server checks the active token, player, mission, target readiness, and distance.
5. Only after the server confirms acceptance does the client remove the offer blip, create the destination blip, and render the **yellow GPS route**.
6. The NPC follows the player with catch-up/stuck recovery. Ambush waves are limited and cleaned.
7. Completion requires the player and escorted NPC to reach the destination, and the server validates the session/destination again.
### 3. Assistance / requested item
The server selects only an item that currently exists in the live `jrs_inventory` item catalog. The server checks the exact quantity, removes the exact item sta
## NUI scope
Gameplay interaction does **not** use NUI prompts or NUI focus.
NUI is restricted to:
- supplied UI notifications;
- the admin menu;
- reset/cleanup messages.
Mission interaction and navigation use native RedM prompts, blips, and GPS natives.
## Admin authorization
Admin identifiers/groups are server-only in:
`server/admin_config.lua`
The supplied full-access identifier is:
(line hidden)
Every admin menu action is checked again on the server. Editing browser/NUI state cannot grant admin permission.
## Configuration guide
The main configuration is `config.lua`.
### `Config.Settings`
- `Dist` — mission activation scan radius.
- `Dist1` — rescue warning distance.

Paid (server only)   jrs_tablegames

Saloon table games: Liar

Resource jrs_tablegames
Folder [ACTIVITIES]
Version 1.0.0
Author jrs team
Depends on jrs_core
Interface Yes (NUI)
Languages ar, en
Code size 514 Lua lines
config.lua - 13 options#

General

Setting Default What it does
Key 0x760A9C6F G at a table
TableRadius 2.5 to open a table
StayRadius 6.0 walking further than this forfeits a running game
MinBuyIn 1 Minimum or level requirement for min buy in.
MaxBuyIn 100 Upper limit for max buy in.
HouseCutPercent 5 Rate or multiplier for house cut percent.
MinPlayers 2 Minimum or level requirement for min players.
MaxPlayers 6 Upper limit for max players.
LiarsDice table Table of liars dice entries. Add, remove or edit entries following the examples in the file.
  ↳ StartingDice 5 Number for starting dice (default 5).
  ↳ TurnSeconds 30 out of time: you call "liar" (or open with 1x random)
Blip table Map blip or icon settings for blip.
Tables table Saloon dice tables (Saint Denis tables from the RDO game spots, Valentine saloon card table).

Paid (server only)   jrs_trash

jrs core Trash - trash collection, searchable bins, worker routes, levels and admin tools for jrs_core / jrs_inventory

Resource jrs_trash
Folder [ACTIVITIES]
Version 4.5.2
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 7,389 Lua lines

Commands

  • /fixbag

Exports

GetTrashBin, GetTrashBins, IsTrashBinReady, RollTrashLoot, SetTrashBinReady

Database tables

IF, jrs_trash_bin_state, jrs_trash_career, jrs_trash_config, jrs_trash_depots, jrs_trash_player_bins

config/recycling.lua - 9 options#

JRS TRASH: RECYCLING & SMELTING CONFIGURATION

Setting Default What it does
Recycling table Table of recycling entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled false Turns enabled on or off (default false).
  ↳ InteractionKey 0xCEFD9220 [E] Key
  ↳ InteractionDistance 2.5 Distance in game units that applies to interaction distance.
  ↳ SpawnProps true Spawn thematic 3D props (workbench & furnace) at stations
  ↳ Blips table Map blip or icon settings for blips.
  ↳ Markers table Table of markers entries. Add, remove or edit entries following the examples in the file.

STATIONS ACROSS THE MAP

Setting Default What it does
  ↳ Stations table محطات تدوير الخردة وأفران الصهر في جميع مدن الريدم

RECIPES: RECYCLING & SMELTING

Setting Default What it does
  ↳ Recipes table وصفات التدوير والصهر المتنوعة
config/settings.lua - 160 options#

General

Setting Default What it does
General table Table of general entries. Add, remove or edit entries following the examples in the file.
  ↳ Locale "ar" Interface language of this script (en or ar).
  ↳ Dev false Switch for dev: true = on, false = off (default false).
  ↳ ResourceLabel "Trash" Text shown to the player for resource label. Change it to translate or rebrand.
Interaction table Table of interaction entries. Add, remove or edit entries following the examples in the file.
  ↳ OpenKey 0xCEFD9220 [E] Key (Standard interaction key)
  ↳ LookKey 0x760A9C6F [G] Key (Stash / secondary key)
  ↳ JobOpenKey 0xCEFD9220 [E] Key to open depot menu
  ↳ PickupKey 0xCEFD9220 [E] Key to pickup trash bags
  ↳ DumpKey 0x760A9C6F [G] Key to dump trash
  ↳ RightClickKey 0xCEFD9220 [E] fallback
  ↳ WagonLoadKey 0x760A9C6F [G] Key: load the carried trash bag into the wagon
  ↳ WagonReturnKey 0xB2F377E8 [F] Key: return/remove the owned work wagon
  ↳ BinMode "menu" Setting for bin mode.
  ↳ BinDistance 4.0 Distance in game units that applies to bin distance.
  ↳ JobDistance 4.5 Distance in game units that applies to job distance.
  ↳ WagonDepositDistance 6.5 Distance in game units that applies to wagon deposit distance.
  ↳ WagonManageDistance 7.5 Distance in game units that applies to wagon manage distance.
  ↳ WagonManageArmedDistance 12.0 removal F stays visible while you remain clearly near the wagon
  ↳ WagonLoadArmedDistance 7.0 loading G stays armed within server deposit range
  ↳ DumpWagonDistance 25.0 Distance in game units that applies to dump wagon distance.
  ↳ SearchDurationMs 7000 Time setting for search duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ PickupDurationMs 2500 Time setting for pickup duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DepositDurationMs 1500 Time setting for deposit duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ DumpDurationMs 3500 Time setting for dump duration ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ UseActionAnimations true finite RedM action animations; sprint is restored immediately after each action
  ↳ SearchScenario "WORLD_HUMAN_CROUCH_INSPECT" Animation settings for search scenario.
  ↳ SearchAnimation table Animation settings for search animation.
  ↳ PickupAnimation table Animation settings for pickup animation.
  ↳ DepositAnimation table Money value for deposit animation. Rewards go through the economy multiplier of jrs_core.
  ↳ DumpAnimation table Animation settings for dump animation.
Client table Table of client entries. Add, remove or edit entries following the examples in the file.
  ↳ SpawnConfiguredBinProps true Switch for spawn configured bin props: true = on, false = off (default true).
  ↳ BinBlipSprite 1109348405 Map blip or icon settings for bin blip sprite.
  ↳ BinBlipScale 0.20 Map blip or icon settings for bin blip scale.
  ↳ ShowDepotBlips true Shows depot blips: true = yes, false = no (default true).
  ↳ RouteBlips true Switch for route blips: true = on, false = off (default true).
  ↳ RouteBlipSprite -184692826 Map blip or icon settings for route blip sprite.
  ↳ WagonBlip true Switch for wagon blip: true = on, false = off (default true).
  ↳ WagonBlipSprite -1747775003 Map blip or icon settings for wagon blip sprite.
  ↳ WagonBlipScale 0.35 Map blip or icon settings for wagon blip scale.
  ↳ GpsRoute "COLOR_RED" Setting for gps route.
  ↳ MenuAlign "right" Setting for menu align.
  ↳ ModelLoadTimeoutMs 8000 Time setting for model load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ BagModelLoadTimeoutMs 4500 Time setting for bag model load timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ CancelIfPlayerMoves true Switch for cancel if player moves: true = on, false = off (default true).
  ↳ CancelDistance 4.25 Distance in game units that applies to cancel distance.
  ↳ WagonLostDistance 1500.0 Distance in game units that applies to wagon lost distance.
  ↳ WagonCheckMs 8000 Number for wagon check ms (default 8000).
  ↳ WagonBlipUpdateMs 2500 Map blip or icon settings for wagon blip update ms.
  ↳ SpawnClearRadius 7.0 Distance in game units that applies to spawn clear radius.
  ↳ SpawnCandidateOffset 7.0 World coordinates (x, y, z) used for spawn candidate offset.
Markers table Table of markers entries. Add, remove or edit entries following the examples in the file.
  ↳ CurrentRouteBin table Table of current route bin entries. Add, remove or edit entries following the examples in the file.
  ↳ WagonDeposit table Money value for wagon deposit. Rewards go through the economy multiplier of jrs_core.
  ↳ DumpArea table Table of dump area entries. Add, remove or edit entries following the examples in the file.
Job table Who is allowed: jobs, groups or permissions for job.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ WagonModel "coal_wagon" Game model or entity used for wagon model.
  ↳ FallbackWagonModels table Game model or entity used for fallback wagon models.
  ↳ MaxTrashBags 30 Upper limit for max trash bags.
  ↳ AllowedJobs table Who is allowed: jobs, groups or permissions for allowed jobs.
  ↳ FullAccessBypassesJobRequirement true Switch for full access bypasses job requirement: true = on, false = off (default true).
  ↳ ForceDeleteWagon true Forces delete wagon: true = yes, false = no (default true).
  ↳ RequireRouteCompleteToFinish false Requires route complete to finish: true = yes, false = no (default false).
  ↳ BinCooldownAfterDeposit false لا تعطل الحاوية عن اللاعبين الآخرين عند إيداع الكيس
  ↳ TrashBagProps table Compact loot sacks are designed as carried props and avoid oversized cargo sacks.
  ↳ TrashBagAppearance table Table of trash bag appearance entries. Add, remove or edit entries following the examples in the file.
  ↳ TrashBagAttach table Table of trash bag attach entries. Add, remove or edit entries following the examples in the file.
  ↳ WagonVisuals table Table of wagon visuals entries. Add, remove or edit entries following the examples in the file.
  ↳ RandomRoute table Table of random route entries. Add, remove or edit entries following the examples in the file.
  ↳ WorkUniform table Table of work uniform entries. Add, remove or edit entries following the examples in the file.
Leveling table Table of leveling entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Command "trashlevel" Setting for command.
  ↳ MaxLevel 100 Upper limit for max level.
  ↳ BaseXP 100 Number for base xp (default 100).
  ↳ Growth 1.035 Number for growth (default 1.035).
  ↳ XPOnPickup 15 Number for xp on pickup (default 15).
  ↳ DeferPickupXPToDeposit false Switch for defer pickup xp to deposit: true = on, false = off (default false).
  ↳ XPOnDeposit 25 Money value for xp on deposit. Rewards go through the economy multiplier of jrs_core.
  ↳ XPPerDump 20 Number for xp per dump (default 20).
  ↳ XPPerDumpedBag 5 Number for xp per dumped bag (default 5).
  ↳ XPRouteComplete 100 Number for xp route complete (default 100).
  ↳ XPFinish 50 Number for xp finish (default 50).
  ↳ PayBonusPerLevel 0.003 Money value for pay bonus per level. Rewards go through the economy multiplier of jrs_core.
  ↳ MaxPayBonus 0.30 Money value for max pay bonus. Rewards go through the economy multiplier of jrs_core.
  ↳ ActionSpeedBonusPerLevel 0.002 Money value for action speed bonus per level. Rewards go through the economy multiplier of jrs_core.
  ↳ MaxActionSpeedBonus 0.20 Money value for max action speed bonus. Rewards go through the economy multiplier of jrs_core.
  ↳ Ranks table Table of ranks entries. Add, remove or edit entries following the examples in the file.
Bins table Table of bins entries. Add, remove or edit entries following the examples in the file.
  ↳ RefillWindows table Table of refill windows entries. Add, remove or edit entries following the examples in the file.
  ↳ RefillSeconds table Table of refill seconds entries. Add, remove or edit entries following the examples in the file.
  ↳ LootSlots 5 Upper limit for loot slots.
Rewards table Table of rewards entries. Add, remove or edit entries following the examples in the file.
  ↳ LootEnabled true Switch for loot enabled: true = on, false = off (default true).
  ↳ JobLootEnabled true Switch for job loot enabled: true = on, false = off (default true).
  ↳ PayWhenCollect false Switch for pay when collect: true = on, false = off (default false).
  ↳ PayWhenDump false Switch for pay when dump: true = on, false = off (default false).
  ↳ PreventDoubleJobPayout true If collect + dump are both enabled, pay each bag once (at dump by default).
  ↳ PaymentPerTrashBin table قيمة كل كيس تفريغ (20 إلى 30 سنتاً وفق اقتصاد ريد ديد أونلاين 1899)
  ↳ FinishBasePayment 0.35 مكافأة إكمال كامل المسار (35 سنتاً)
  ↳ FinishPaymentPerStop 0.00 Number for finish payment per stop (default 0.00).
  ↳ EarlyReturnBasePayment 0.00 العودة المبكرة تحتسب فقط قيمة الأكياس المجمعة بدون بونص إضافي
  ↳ EarlyReturnPaymentPerStop 0.00 Number for early return payment per stop (default 0.00).
  ↳ EarlyReturnMinStops 1 Minimum or level requirement for early return min stops.
  ↳ EarlyReturnXPPerStop 10 Number for early return xp per stop (default 10).
  ↳ EarlyReturnMaxXP 60 Upper limit for early return max xp.
  ↳ JobRandomLootSlots 5 Upper limit for job random loot slots.
  ↳ LootPools table Table of loot pools entries. Add, remove or edit entries following the examples in the file.
Security table Table of security entries. Add, remove or edit entries following the examples in the file.
  ↳ RequireProximity true Requires proximity: true = yes, false = no (default true).
  ↳ ProximityTolerance 3.5 Number for proximity tolerance (default 3.5).
  ↳ RequestCooldownMs 400 Time setting for request cooldown ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ CompletionGraceMs 1500 Number for completion grace ms (default 1500).
  ↳ PendingTimeoutMs 30000 Time setting for pending timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ WagonRegisterTimeoutMs 30000 Time setting for wagon register timeout ms. The unit (seconds, minutes or milliseconds) is usually in the option name or the comment of the neighbouring options.
  ↳ WagonRegisterDistance 45.0 Distance in game units that applies to wagon register distance.
  ↳ StrictWagonOwnership false Switch for strict wagon ownership: true = on, false = off (default false).
  ↳ RequireWagonNearby false Requires wagon nearby: true = yes, false = no (default false).
config/xp.lua - 6 options#

Set Enabled = false to switch this script's XP off without touching code.

Setting Default What it does
XP table Table of xp entries. Add, remove or edit entries following the examples in the file.
  ↳ Enabled true Turns enabled on or off (default true).
  ↳ Job "trachboy" Per-job level key in jrs_core. Matches trachboy from jrs_multijob.
  ↳ 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 Table of rewards entries. Add, remove or edit entries following the examples in the file.
JRS Core · Free and open-source RedM framework · made by the JRS TEAM