Side activities and gameplay systems that are not a job.
Esta pasta tem 22 scripts. Escolha um script nas abas abaixo.
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 opções#
General
| Setting | Default | What it does |
|---|---|---|
DefaultLanguage |
"ar" |
Set Language |
Keys |
table |
Tecla ou controle usado para keys. Os controles são valores hash da lista de entradas do jogo. |
↳ 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 |
Liga ou desliga enabled (padrão 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 |
Número para heartbeat seconds (padrão 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 |
Número para registration attempts (padrão 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 |
Itens de inventário usados por items. Os nomes precisam existir na tabela jrs_items. |
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 |
Número para acceleration kmh per second (padrão 4.5). |
↳ brakeKmhPerSecond |
10.0 |
Número para brake kmh per second (padrão 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 |
Número para fast acceleration (padrão 0.15). |
↳ maxHorizontalSpeed |
20.0 / 3.6 |
Limite máximo para 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 |
Liga ou desliga enabled (padrão true). |
↳ ropeEnabled |
true |
Chave para rope enabled: true = ligado, false = desligado (padrão true). |
↳ animationDict |
'script_story@gng2@ig@ig_2_b... |
Ajustes de animação para animation dict. |
↳ burnerPullClip |
"base_burner_pull_arthur" |
Ajustes de animação para burner pull clip. |
↳ idleClip |
"idle_burner_line_arthur" |
Ajustes de animação para idle clip. |
↳ ropeLength |
0.70 |
Número para rope length (padrão 0.70). |
↳ balloonBone |
"engine" |
Ajuste para balloon bone. |
↳ handBone |
"PH_L_HAND" |
Ajuste para 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 |
Liga ou desliga enabled (padrão true). |
↳ price |
5.0 |
Valor em dinheiro para price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ currency |
0 |
0 cash, 1 gold |
↳ durationMinutes |
30 |
Ajuste de tempo para duration minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ oneActiveRental |
true |
Chave para one active rental: true = ligado, false = desligado (padrão true). |
↳ warningsSeconds |
table |
Tabela de entradas de warnings seconds. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ name |
"Rental Balloon" |
Texto mostrado ao jogador para name. Altere para traduzir ou renomear. |
BalloonTransfer |
table |
Tabela de entradas de balloon transfer. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ maxDistance |
5.0 |
sender and recipient must be this close server-side |
BalloonRemoval |
table |
Tabela de entradas de balloon removal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ maxHeight |
0.75 |
basket must be effectively on the ground |
↳ maxSpeedKmh |
2.0 |
Limite máximo para max speed kmh. |
↳ preventExitAboveHeight |
0.75 |
Número para prevent exit above height (padrão 0.75). |
BalloonAutoPilot |
table |
Tabela de entradas de balloon auto pilot. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ horizontalSpeed |
15.0 / 3.6 |
15 km/h cruise, matching normal manual speed |
↳ takeoffSpeed |
0.8 |
Número para takeoff speed (padrão 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 |
Distância em unidades do jogo para arrival distance. |
↳ landOnArrival |
true |
Chave para land on arrival: true = ligado, false = desligado (padrão 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 |
Limite máximo para 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 |
Tabela de entradas de inventory. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ hotAirBalloon01 |
table |
Tabela de entradas de hot air balloon01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Shops |
table |
Balloon Shops |
↳ balloon1 |
table |
Tabela de entradas de balloon1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
BlipColors |
table |
Ajustes do blip ou ícone do mapa para blip colors. |
↳ LIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_1" |
Ajuste para light blue. |
↳ DARK_RED |
"BLIP_MODIFIER_MP_COLOR_2" |
Ajuste para dark red. |
↳ PURPLE |
"BLIP_MODIFIER_MP_COLOR_3" |
Ajuste para purple. |
↳ ORANGE |
"BLIP_MODIFIER_MP_COLOR_4" |
Ajuste para orange. |
↳ TEAL |
"BLIP_MODIFIER_MP_COLOR_5" |
Ajuste para teal. |
↳ LIGHT_YELLOW |
"BLIP_MODIFIER_MP_COLOR_6" |
Ajuste para light yellow. |
↳ PINK |
"BLIP_MODIFIER_MP_COLOR_7" |
Ajuste para pink. |
↳ GREEN |
"BLIP_MODIFIER_MP_COLOR_8" |
Ajuste para green. |
↳ DARK_TEAL |
"BLIP_MODIFIER_MP_COLOR_9" |
Ajuste para dark teal. |
↳ RED |
"BLIP_MODIFIER_MP_COLOR_10" |
Ajuste para red. |
↳ LIGHT_GREEN |
"BLIP_MODIFIER_MP_COLOR_11" |
Ajuste para light green. |
↳ TEAL2 |
"BLIP_MODIFIER_MP_COLOR_12" |
Ajuste para teal2. |
↳ BLUE |
"BLIP_MODIFIER_MP_COLOR_13" |
Ajuste para blue. |
↳ DARK_PUPLE |
"BLIP_MODIFIER_MP_COLOR_14" |
Ajuste para dark puple. |
↳ DARK_PINK |
"BLIP_MODIFIER_MP_COLOR_15" |
Ajuste para dark pink. |
↳ DARK_DARK_RED |
"BLIP_MODIFIER_MP_COLOR_16" |
Ajuste para dark dark red. |
↳ GRAY |
"BLIP_MODIFIER_MP_COLOR_17" |
Ajuste para gray. |
↳ PINKISH |
"BLIP_MODIFIER_MP_COLOR_18" |
Ajuste para pinkish. |
↳ YELLOW_GREEN |
"BLIP_MODIFIER_MP_COLOR_19" |
Ajuste para yellow green. |
↳ DARK_GREEN |
"BLIP_MODIFIER_MP_COLOR_20" |
Ajuste para dark green. |
↳ BRIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_21" |
Ajuste para 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 linhas de Lua |
config.lua - 9 opções#
General
| Setting | Default | What it does |
|---|---|---|
Key |
0x760A9C6F |
G at a mixing table |
Radius |
2.0 |
Distância em unidades do jogo para 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 |
Ajuste de tempo para cooldown seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Stations |
table |
Where people can brew. Doctor offices (jrs_doctors) by default. |
Recipes |
table |
Itens de inventário usados por recipes. Os nomes precisam existir na tabela jrs_items. |
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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Apiaries |
table |
Apiary props are resolved directly from the models shipped in stream/. |
↳ apiary_1 |
table |
Tabela de entradas de apiary 1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ apiary_2 |
table |
Tabela de entradas de apiary 2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ apiary_3 |
table |
Tabela de entradas de apiary 3. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/farm.lua - 28 opções#
General
| Setting | Default | What it does |
|---|---|---|
Farm |
table |
Complete bee-farm and colony-care system. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ TickSeconds |
300 |
Número para tick seconds (padrão 300). |
↳ GlobalTickMs |
300000 |
Número para global tick ms (padrão 300000). |
↳ GlobalTickBatchSize |
250 |
Número para global tick batch size (padrão 250). |
↳ MaxOfflineHours |
72 |
Limite máximo para max offline hours. |
↳ FarmMenuDistance |
5.0 |
Distância em unidades do jogo para farm menu distance. |
↳ StartingForageQuality |
72 |
Número para starting forage quality (padrão 72). |
↳ MaxStorage |
100 |
Limite máximo para 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 |
Distância em unidades do jogo para 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 |
Tabela de entradas de condition. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Production |
table |
Tabela de entradas de production. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Disease |
table |
Tabela de entradas de disease. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Seasons |
table |
Tabela de entradas de seasons. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Actions |
table |
Tabela de entradas de actions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de bulk actions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ActionValues |
table |
Tabela de entradas de action values. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/locations.lua - 3 opções#
General
| Setting | Default | What it does |
|---|---|---|
Locations |
table |
Store, NPC, blip and placement-zone configuration. |
↳ Stores |
table |
Tabela de entradas de stores. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Placement |
table |
Tabela de entradas de placement. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/main.lua - 36 opções#
General
| Setting | Default | What it does |
|---|---|---|
Main |
table |
General resource, prompt, interface and store configuration. |
↳ Locale |
"ar" |
Idioma da interface deste script (en ou ar). |
↳ Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
↳ Version |
"1.8.0" |
Ajuste para version. |
↳ Keys |
table |
Tecla ou controle usado para keys. Os controles são valores hash da lista de entradas do jogo. |
↳ Prompts |
table |
Tabela de entradas de prompts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ UI |
table |
Tabela de entradas de ui. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Notifications |
table |
Tabela de entradas de notifications. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ InteractionDistance |
3.2 |
Distância em unidades do jogo para interaction distance. |
↳ StoreDrawDistance |
25.0 |
Distância em unidades do jogo para store draw distance. |
↳ PedSpawnDistance |
120.0 |
Distância em unidades do jogo para ped spawn distance. |
↳ PlacementDistance |
2.4 |
Distância em unidades do jogo para 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 |
Mínimo ou nível exigido para 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 |
Limite máximo para max shop quantity. |
↳ PlacementPreview |
table |
Tabela de entradas de placement preview. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ServerValidation |
table |
Tabela de entradas de server validation. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ActionCooldownMs |
1000 |
Ajuste de tempo para action cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DatabaseReadyTimeoutMs |
10000 |
Ajuste de tempo para database ready timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DeleteUnstartedAfterDays |
0 |
Número para delete unstarted after days (padrão 0). |
↳ HarvestXP |
10 |
Número para harvest xp (padrão 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" |
Ajuste para resource. |
↳ Ytyp |
"bee_house_gk_ytyp" |
Ajuste para ytyp. |
↳ Models |
table |
Modelo ou entidade do jogo usado para models. |
↳ Fallbacks |
table |
Tabela de entradas de fallbacks. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Modelo ou entidade do jogo usado para all models. |
Shop |
table |
Tabela de entradas de shop. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ CurrencyLabels |
table |
Tabela de entradas de currency labels. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Itens de inventário usados por sell items. Os nomes precisam existir na tabela jrs_items. |
config/xp.lua - 6 opções#
Set Enabled = false to switch this script's XP off without touching code.
| Setting | Default | What it does |
|---|---|---|
XP |
table |
Tabela de entradas de xp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão 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 |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# 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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
RangeRecover |
2.0 |
Interaction distances |
RangeUse |
2.5 |
Distância em unidades do jogo para range use. |
EntityMatchRadius |
3.0 |
Distância em unidades do jogo para entity match radius. |
OtherPlayerBlockRadius |
2.0 |
Distância em unidades do jogo para other player block radius. |
MinimumDistanceBetweenCannons |
2.0 |
Distância em unidades do jogo para minimum distance between cannons. |
MaxPlacementFromPlayer |
8.0 |
Limite máximo para 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 |
Número para preview ground offset (padrão 0.0). |
TickHeadingPlace |
5.0 |
Número para tick heading place (padrão 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 |
Distância em unidades do jogo para preview cleanup radius. |
KeyPlace |
0x760A9C6F |
G |
KeyUse |
0xCEFD9220 |
E |
KeyCancelRecover |
0x71F89BBC |
R |
WheelUp |
table |
Tabela de entradas de wheel up. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
WheelDown |
table |
Tabela de entradas de wheel down. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de cannons. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ canon |
table |
Tabela de entradas de canon. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ canon2 |
table |
Tabela de entradas de canon2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ gatling |
table |
Tabela de entradas de gatling. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ gatling2 |
table |
Tabela de entradas de gatling2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# 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 firingPaid (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/roulette/config.lua - 30 opções#
General
| Setting | Default | What it does |
|---|---|---|
OpenControl |
0x760A9C6F |
G |
HoldToOpen |
false |
false: single press, true: hold G |
Roulettee |
table |
Tabela de entradas de roulettee. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 1 |
table |
Tabela de entradas de 1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
TableModel |
"p_roulettetable01x" |
Modelo ou entidade do jogo usado para table model. |
ItemNames |
table |
Itens de inventário usados por item names. Os nomes precisam existir na tabela jrs_items. |
↳ Red |
"red_coin" |
Ajuste para red. |
↳ Black |
"black_coin" |
Ajuste para black. |
↳ Green |
"green_coin" |
Ajuste para green. |
ChipPrices |
table |
Tabela de entradas de chip prices. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ red |
1 |
Número para red (padrão 1). |
↳ black |
2 |
Número para black (padrão 2). |
↳ green |
3 |
Número para green (padrão 3). |
XP |
table |
Tabela de entradas de xp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ OnWin |
50 |
XP on winning red/black |
↳ OnWinGreen |
100 |
XP on winning green |
↳ OnPlay |
10 |
XP on participating / loss |
Language |
table |
Idioma da interface deste script (en ou ar). |
↳ nomoney |
"You don't have enough money... |
Ajuste para nomoney. |
↳ winblack |
"Black wins!" |
Ajuste para winblack. |
↳ winred |
"Red wins!" |
Ajuste para winred. |
↳ wingreen |
"Green wins!" |
Ajuste para wingreen. |
↳ playroulette |
"Press [~e~Space~q~] to play... |
Ajuste para playroulette. |
↳ inprogress |
"A game is already in progress." |
Ajuste para inprogress. |
↳ teleportA |
"Press [~e~Space~q~] to ente... |
Ajuste para teleport a. |
↳ teleportB |
"Press [~e~Space~q~] to go t... |
Ajuste para teleport b. |
↳ losemoney |
"~e~Roulette~q~: You lost! T... |
Ajuste para losemoney. |
↳ PlayRoulettee |
"Play Roulette" |
Ajuste para play roulettee. |
↳ Youwon |
"Congratulations! You won!" |
Ajuste para 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 opções#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"ar" |
ar | en |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão 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 |
Tabela de entradas de integration. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ coreResource |
"jrs_core" |
Ajuste para core resource. |
↳ inventoryResource |
"jrs_inventory" |
Ajuste para 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 |
Liga ou desliga enabled (padrão false). |
↳ defaultHub |
"valentine" |
Ajuste para default hub. |
↳ teleportPlayer |
true |
Chave para teleport player: true = ligado, false = desligado (padrão 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" |
Ajuste para command. |
↳ stopCommand |
"chicken_test_stop" |
Ajuste para 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 |
Tabela de entradas de prompts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ start |
"Start Chicken Job" |
Ajuste para start. |
↳ catchChicken |
"Catch Chicken" |
Ajuste para catch chicken. |
↳ loadChicken |
"Load Chicken" |
Ajuste para load chicken. |
↳ unloadChicken |
"Unload Chicken" |
Ajuste para unload chicken. |
↳ killChicken |
"Slaughter Chicken" |
Ajuste para kill chicken. |
↳ pickupDeadChicken |
"Pick Up Chicken" |
Ajuste para pickup dead chicken. |
↳ placeDeadChicken |
"Place on Table" |
Ajuste para place dead chicken. |
↳ cutChicken |
"Cut Chicken" |
Ajuste para cut chicken. |
↳ pickupChest |
"Pick Up Products" |
Ajuste para pickup chest. |
↳ loadChest |
"Load Products" |
Ajuste para load chest. |
↳ unloadChest |
"Unload Products" |
Ajuste para unload chest. |
↳ deliverChest |
"Deliver Products" |
Ajuste para deliver chest. |
↳ interact |
"Interact" |
Ajuste para interact. |
Texts |
table |
Tabela de entradas de texts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ar |
table |
Tabela de entradas de ar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ en |
table |
Tabela de entradas de en. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Text |
Config.Texts[Config.defaultl... |
Texto mostrado ao jogador para text. Altere para traduzir ou renomear. |
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 |
Liga ou desliga enabled (padrão true). |
↳ pickup |
table |
Tabela de entradas de pickup. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ carry |
table |
Tabela de entradas de carry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de put down. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de chicken unstow. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Chave para native: true = ligado, false = desligado (padrão 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 |
Chave para native for dead chicken: true = ligado, false = desligado (padrão true). |
↳ requireNativeDeadCarry |
true |
Requires native dead carry: true = sim, false = não (padrão true). |
↳ timeoutMs |
2600 |
Ajuste de tempo para timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ fallbackManualAttach |
true |
Chave para fallback manual attach: true = ligado, false = desligado (padrão true). |
↳ fallbackCarryConfig |
'GENERIC_DEAD_CARRIABLE_SMAL... |
Ajuste para fallback carry config. |
↳ taskSlot |
0 |
Número para task slot (padrão 0). |
↳ taskFlags |
0 |
Número para task flags (padrão 0). |
CarryOffsets |
table |
Tabela de entradas de carry offsets. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de dead chicken. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de plucked chicken. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ basin |
table |
Tabela de entradas de basin. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Basin |
table |
Tabela de entradas de basin. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ model |
"p_washbasin01x" |
Modelo ou entidade do jogo usado para model. |
↳ groundHeading |
0.0 |
Número para ground heading (padrão 0.0). |
↳ wagonAttach |
table |
Tabela de entradas de wagon attach. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Discord Webhook --------------------------
| Setting | Default | What it does |
|---|---|---|
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ url |
"" |
Ajuste para url. |
↳ botName |
"rakan chicken" |
Texto mostrado ao jogador para bot name. Altere para traduzir ou renomear. |
↳ color |
16753920 |
Número para color (padrão 16753920). |
Job Check ----------------------------
| Setting | Default | What it does |
|---|---|---|
JobCheck |
table |
Quem pode: empregos, grupos ou permissões para job check. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ job |
"chicken" |
Quem pode: empregos, grupos ou permissões para job. |
↳ minLevel |
0 |
Mínimo ou nível exigido para 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 |
Tabela de entradas de features. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Chave para sounds: true = ligado, false = desligado (padrão 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 |
Liga ou desliga enabled (padrão true). |
↳ viewDistance |
120.0 |
Distância em unidades do jogo para view distance. |
Gps |
table |
Tabela de entradas de gps. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Liga ou desliga blip route fallback (padrão false). |
ObjectiveBlips |
table |
Ajustes do blip ou ícone do mapa para objective blips. |
↳ wagon |
"blip_ambient_wagon" |
Ajuste para wagon. |
↳ catch |
"blip_ambient_herd" |
Ajuste para catch. |
↳ process |
"blip_proc_cleaver" |
Ajuste para process. |
↳ chest |
"blip_ambient_loot" |
Ajuste para chest. |
↳ delivery |
"blip_ambient_delivery" |
Ajuste para delivery. |
Keys -------------------------------
| Setting | Default | What it does |
|---|---|---|
Keys |
table |
Tecla ou controle usado para keys. Os controles são valores hash da lista de entradas do jogo. |
↳ interact |
0x760A9C6F |
G |
Mission Cooldown ------------------------
| Setting | Default | What it does |
|---|---|---|
MissionCooldown |
table |
Saved in DB — survives disconnect / reconnect |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ minutes |
60 |
Número para minutes (padrão 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 |
Liga ou desliga enabled (padrão true). |
↳ Job |
"chicken" |
Quem pode: empregos, grupos ou permissões para job. |
↳ Multiplier |
1.0 |
Taxa ou multiplicador para multiplier. |
↳ Default |
0 |
Número para default (padrão 0). |
↳ Rewards |
table |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de wagon. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ model |
"wagon02x" |
Modelo ou entidade do jogo usado para model. |
↳ useDraftVehicle |
true |
Liga ou desliga draft vehicle (padrão true). |
↳ draftHorseGroup |
"DRAFT_HORSES_MID" |
Quem pode: empregos, grupos ou permissões para draft horse group. |
↳ maxChickens |
5 |
Limite máximo para max chickens. |
↳ pickupDistance |
10.0 |
G prompt / auto-start near wagon |
↳ loadDistance |
4.0 |
distance to load chicken on wagon |
↳ rearLoadDistance |
2.5 |
Distância em unidades do jogo para 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 |
Distância em unidades do jogo para 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 |
Tabela de entradas de chicken. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ model |
"a_c_chicken_01" |
Modelo ou entidade do jogo usado para model. |
↳ zoneTriggerRadius |
25.0 |
broad streaming/search area |
↳ arrivalRadius |
16.0 |
actual arrival distance before chickens spawn |
↳ spawnRadius |
7.0 |
Distância em unidades do jogo para spawn radius. |
↳ minSpacing |
2.0 |
Mínimo ou nível exigido para min spacing. |
↳ catchDistance |
1.8 |
Distância em unidades do jogo para 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" |
Ajustes do blip ou ícone do mapa para blip sprite. |
↳ blipScale |
0.55 |
Ajustes do blip ou ícone do mapa para blip scale. |
↳ marker |
table |
Tabela de entradas de marker. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ drawText |
table |
Texto mostrado ao jogador para draw text. Altere para traduzir ou renomear. |
↳ maxHeightDiff |
6.0 |
Limite máximo para max height diff. |
↳ carryUsePed |
true |
carryUsePed = true -> live chicken ped in hands (not dead prop) |
↳ carryModel |
"a_c_chicken_01" |
Modelo ou entidade do jogo usado para carry model. |
↳ carryProp |
"p_chicken01x" |
only used when carryUsePed = false (dead plucked prop) |
Butcher table cut --------
| Setting | Default | What it does |
|---|---|---|
ButcherScenario |
table |
Ajustes de animação para butcher scenario. |
↳ ScenarioTypes |
table |
Chicken cutting uses the rabbit-butcher scenario on the spawned table. |
↳ FallbackScenario |
"WORLD_HUMAN_BUTCHER_RABBIT" |
Ajustes de animação para fallback scenario. |
↳ DistanceThreshold |
2.5 |
Distância em unidades do jogo para distance threshold. |
↳ ScenarioWait |
8000 |
Ajuste de tempo para scenario wait. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DirectCutDurationMs |
7200 |
Ajuste de tempo para direct cut duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DirectCutHoldMs |
8000 |
Número para direct cut hold ms (padrão 8000). |
Butcher / Wagon Unload Sites --------------------
| Setting | Default | What it does |
|---|---|---|
ButcherSites |
table |
Tabela de entradas de butcher sites. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de process station. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ advanceOnItemFail |
true |
Chave para advance on item fail: true = ligado, false = desligado (padrão true). |
↳ wagonUnloadDistance |
2.0 |
Distância em unidades do jogo para wagon unload distance. |
↳ steps |
table |
table, phases, chest, steps.kill -> client/coords.lua |
Delivery -------------------------------
| Setting | Default | What it does |
|---|---|---|
Delivery |
table |
Tabela de entradas de delivery. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ payment |
table |
Tabela de entradas de payment. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ areaRadius |
35.0 |
wagon near delivery point to unload basin |
↳ dropRadius |
4.0 |
player distance to place basin at delivery point |
↳ returnRadius |
5.0 |
Distância em unidades do jogo para return radius. |
Markers ------------------------------
| Setting | Default | What it does |
|---|---|---|
Marker |
table |
Tabela de entradas de marker. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ type |
0x94FDAE17 |
Ajuste para type. |
↳ rgba |
table |
Tabela de entradas de rgba. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ size |
table |
Tabela de entradas de size. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 opções#
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 |
Distância em unidades do jogo para server buy distance extra. |
ShowLockSeconds |
900 |
safety fallback if the host disconnects or a show fails |
RandomTransitions |
false |
Chave para random transitions: true = ligado, false = desligado (padrão false). |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
SellerPrompt |
"Talk to Seller" |
Texto mostrado ao jogador para seller prompt. Altere para traduzir ou renomear. |
MenuTitle |
"بائع التذاكر" |
Texto mostrado ao jogador para menu title. Altere para traduzir ou renomear. |
MenuSubtitle |
"اختر عرضاً واشترِ تذكرة" |
Ajuste para menu subtitle. |
Messages |
table |
Texto mostrado ao jogador para messages. Altere para traduzir ou renomear. |
↳ cinema |
"السينما" |
Ajuste para cinema. |
↳ notEnough |
'ليس لديك ما يكفي من المال ل... |
Ajuste para not enough. |
↳ notEnoughGold |
'ليس لديك ما يكفي من الذهب ل... |
Valor em dinheiro para not enough gold. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ showAlreadyRunning |
'هناك عرض مجدول أو قيد التشغ... |
Ajuste para show already running. |
↳ ticketBought |
'تم شراء التذكرة بنجاح. سيبد... |
Ajuste para ticket bought. |
↳ showStarted |
"بدأ العرض الآن." |
Ajuste para show started. |
↳ tooFar |
"أنت بعيد جداً عن بائع التذاكر." |
Ajuste para too far. |
↳ invalidSelection |
"اختيار غير صالح للعرض." |
Ajuste para invalid selection. |
↳ coreUnavailable |
"نظام jrs_core غير متوفر." |
Ajuste para core unavailable. |
↳ characterNotReady |
'شخصيتك لا تزال قيد التحميل.... |
Ajuste para character not ready. |
↳ purchaseFailed |
'فشلت عملية الشراء. يرجى الم... |
Ajuste para purchase failed. |
↳ showFailed |
"تعذر بدء العرض." |
Ajuste para show failed. |
↳ youtubeNoPermission |
'ليس لديك صلاحية لإدارة شاشة... |
Quem pode: empregos, grupos ou permissões para youtube no permission. |
↳ youtubeInvalidUrl |
"رابط يوتيوب غير صالح." |
Ajuste para youtube invalid url. |
↳ youtubeOnlyMovie |
'تشغيل يوتيوب متاح فقط في شا... |
Ajuste para youtube only movie. |
↳ youtubeStarted |
"تم بدء تشغيل فيديو يوتيوب." |
Ajuste para youtube started. |
↳ youtubeStopped |
"تم إيقاف فيديو يوتيوب." |
Ajuste para youtube stopped. |
↳ youtubePaused |
"تم إيقاف الفيديو مؤقتاً." |
Ajuste para youtube paused. |
↳ youtubeResumed |
"تم استئناف تشغيل الفيديو." |
Ajuste para youtube resumed. |
YouTube |
table |
YouTube / external cinema playback |
↳ Enabled |
true |
Liga ou desliga enabled (padrão 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" |
Quem pode: empregos, grupos ou permissões para 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 |
Número para width (padrão 1280). |
↳ Height |
720 |
Número para height (padrão 720). |
↳ ProjectionRefreshMs |
0 |
0 = every frame while the screen is visible |
↳ FixedScreens |
table |
Tabela de entradas de fixed screens. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ MaxRuntimeSeconds |
14400 |
4 hour safety lock |
ShowTickets |
table |
Tabela de entradas de show tickets. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
TheatreShows |
table |
Tabela de entradas de theatre shows. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
CinemaShows |
table |
Tabela de entradas de cinema shows. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# 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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Admin |
table |
Quem pode: empregos, grupos ou permissões para admin. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Command |
"craftadmin" |
Ajuste para command. |
↳ AllowServerConsole |
true |
REDEMPIRE-native staff access. Add/remove groups as needed. |
↳ AllowedGroups |
table |
Quem pode: empregos, grupos ou permissões para allowed groups. |
↳ AllowedIdentifiers |
table |
Optional exact identifiers (steam:, license:, discord:, etc.). |
↳ BypassRecipeAccess |
true |
Chave para bypass recipe access: true = ligado, false = desligado (padrão true). |
↳ Database |
table |
Tabela de entradas de database. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Defaults |
table |
Tabela de entradas de defaults. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Limits |
table |
Tabela de entradas de limits. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Logging |
table |
Tabela de entradas de logging. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/animations.lua - 5 opções#
General
| Setting | Default | What it does |
|---|---|---|
Animations |
table |
Tabela de entradas de animations. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ craft |
table |
Default Animation |
↳ spindlecook |
table |
Tabela de entradas de spindlecook. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ knifecooking |
table |
Tabela de entradas de knifecooking. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ campfire |
table |
Tabela de entradas de campfire. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/categories.lua - 1 opções#
General
| Setting | Default | What it does |
|---|---|---|
Categories |
table |
Tabela de entradas de categories. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/integrations.lua - 16 opções#
General
| Setting | Default | What it does |
|---|---|---|
JRSXP |
table |
Tabela de entradas de jrsxp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão 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 |
Número para base xp per craft (padrão 25). |
↳ XPPerLevelRequired |
5 |
Mínimo ou nível exigido para xp per level required. |
CraftPrice |
table |
Valor em dinheiro para craft price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Free |
true |
Free = true: crafting costs materials only, never money (beats admin price overrides). |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ BasePrice |
0.25 |
Valor em dinheiro para base price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ PricePerLevel |
0.10 |
Valor em dinheiro para price per level. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Currency |
0 |
0 = money, 1 = gold |
Logging |
table |
Tabela de entradas de logging. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Username |
"jrs_crafting" |
Ajuste para username. |
↳ Color |
5763719 |
Número para color (padrão 5763719). |
↳ LogSuccessfulCrafts |
true |
Logs successful crafts: true = sim, false = não (padrão true). |
↳ LogSecurityViolations |
true |
Logs security violations: true = sim, false = não (padrão true). |
config/items.lua - 320 opções#
General
| Setting | Default | What it does |
|---|---|---|
ItemDefinitions |
table |
Itens de inventário usados por item definitions. Os nomes precisam existir na tabela jrs_items. |
↳ aloe_vera |
table |
Tabela de entradas de aloe vera. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoarrownormal |
table |
Tabela de entradas de ammoarrownormal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoarrowsmallgame |
table |
Tabela de entradas de ammoarrowsmallgame. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoelephant |
table |
Tabela de entradas de ammoelephant. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoknives |
table |
Tabela de entradas de ammoknives. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammopistolexpress |
table |
Tabela de entradas de ammopistolexpress. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammopistolnormal |
table |
Tabela de entradas de ammopistolnormal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammopistolsplitpoint |
table |
Tabela de entradas de ammopistolsplitpoint. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammopistolvelocity |
table |
Tabela de entradas de ammopistolvelocity. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorepeaterexpress |
table |
Tabela de entradas de ammorepeaterexpress. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorepeaternormal |
table |
Tabela de entradas de ammorepeaternormal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorepeatersplitpoint |
table |
Tabela de entradas de ammorepeatersplitpoint. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorepeatervelocity |
table |
Tabela de entradas de ammorepeatervelocity. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorevolverexpress |
table |
Tabela de entradas de ammorevolverexpress. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorevolvernormal |
table |
Tabela de entradas de ammorevolvernormal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorevolversplitpoint |
table |
Tabela de entradas de ammorevolversplitpoint. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorevolvervelocity |
table |
Tabela de entradas de ammorevolvervelocity. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammorifleexpress |
table |
Tabela de entradas de ammorifleexpress. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoriflenormal |
table |
Tabela de entradas de ammoriflenormal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoriflesplitpoint |
table |
Tabela de entradas de ammoriflesplitpoint. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoriflevelocity |
table |
Tabela de entradas de ammoriflevelocity. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoshotgunnormal |
table |
Tabela de entradas de ammoshotgunnormal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammoshotgunslug |
table |
Tabela de entradas de ammoshotgunslug. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ammovarminttranq |
table |
Tabela de entradas de ammovarminttranq. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Applee |
table |
Tabela de entradas de applee. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ beer |
table |
Tabela de entradas de beer. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Black_Berry |
table |
Tabela de entradas de black berry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ campfire |
table |
Tabela de entradas de campfire. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Choc_Daisy |
table |
Tabela de entradas de choc daisy. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Chocolate |
table |
Tabela de entradas de chocolate. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ clothh |
table |
Tabela de entradas de clothh. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ coal |
table |
Tabela de entradas de coal. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ cocoa |
table |
Tabela de entradas de cocoa. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ coffeebeans |
table |
Tabela de entradas de coffeebeans. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_breakfast |
table |
Tabela de entradas de consumable breakfast. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_caramel |
table |
Tabela de entradas de consumable caramel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_chickenpie |
table |
Tabela de entradas de consumable chickenpie. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_chocolate |
table |
Tabela de entradas de consumable chocolate. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_chocolatecake |
table |
Tabela de entradas de consumable chocolatecake. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_chocolatecoffee |
table |
Tabela de entradas de consumable chocolatecoffee. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_coffee |
table |
Tabela de entradas de consumable coffee. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_coffeecake |
table |
Tabela de entradas de consumable coffeecake. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_fruitsalad |
table |
Tabela de entradas de consumable fruitsalad. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_game |
table |
Tabela de entradas de consumable game. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_kidneybeans_can |
table |
Tabela de entradas de consumable kidneybeans can. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_peach |
table |
Tabela de entradas de consumable peach. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_peachcobbler |
table |
Tabela de entradas de consumable peachcobbler. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_poundcake |
table |
Tabela de entradas de consumable poundcake. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ consumable_horse_meal |
table |
Modelo ou entidade do jogo usado para consumable horse meal. |
↳ consumable_horse_peppermints |
table |
Modelo ou entidade do jogo usado para consumable horse peppermints. |
↳ creeping_thyme |
table |
Tabela de entradas de creeping thyme. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ copperbar |
table |
Tabela de entradas de copperbar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ English_Mace |
table |
Tabela de entradas de english mace. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ grape |
table |
Tabela de entradas de grape. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ haycube |
table |
Tabela de entradas de haycube. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ honey |
table |
Tabela de entradas de honey. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ hwood |
table |
Tabela de entradas de hwood. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ iron |
table |
Tabela de entradas de iron. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ironbar |
table |
Tabela de entradas de ironbar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ juice1 |
table |
Tabela de entradas de juice1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ juice2 |
table |
Tabela de entradas de juice2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ juice3 |
table |
Tabela de entradas de juice3. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ largenugget |
table |
Tabela de entradas de largenugget. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ malt |
table |
Tabela de entradas de malt. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ medium_beaver_meat |
table |
Tabela de entradas de medium beaver meat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ medium_boar_meat |
table |
Tabela de entradas de medium boar meat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ medium_bear_meat |
table |
Tabela de entradas de medium bear meat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ raw_meat |
table |
Tabela de entradas de raw meat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ mediumnugget |
table |
Tabela de entradas de mediumnugget. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ mulberry |
table |
Tabela de entradas de mulberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ oil |
table |
Tabela de entradas de oil. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Parasol_Mushroom |
table |
Tabela de entradas de parasol mushroom. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ perfect_beaver_meat |
table |
Tabela de entradas de perfect beaver meat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ pistolbarrel |
table |
Tabela de entradas de pistolbarrel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ pistolreceiver |
table |
Tabela de entradas de pistolreceiver. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ pistolrecmold |
table |
Tabela de entradas de pistolrecmold. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ potato |
table |
Tabela de entradas de potato. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ raspberryale |
table |
Tabela de entradas de raspberryale. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rawcotton |
table |
Tabela de entradas de rawcotton. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Red_Raspberry |
table |
Tabela de entradas de red raspberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ repeaterbarrel |
table |
Tabela de entradas de repeaterbarrel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ repeaterreceiver |
table |
Tabela de entradas de repeaterreceiver. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ repeaterstock |
table |
Tabela de entradas de repeaterstock. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ revolverbarrel |
table |
Tabela de entradas de revolverbarrel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ revolvercylinder |
table |
Tabela de entradas de revolvercylinder. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ revolverhandle |
table |
Tabela de entradas de revolverhandle. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ riflebarrel |
table |
Tabela de entradas de riflebarrel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ riflereceiver |
table |
Tabela de entradas de riflereceiver. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ riflestock |
table |
Tabela de entradas de riflestock. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rubber |
table |
Tabela de entradas de rubber. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ salt |
table |
Tabela de entradas de salt. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ shotgunbarrel |
table |
Tabela de entradas de shotgunbarrel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ shotgunmold |
table |
Tabela de entradas de shotgunmold. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ shotgunstock |
table |
Tabela de entradas de shotgunstock. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ smallnugget |
table |
Tabela de entradas de smallnugget. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ string |
table |
Tabela de entradas de string. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ sugar |
table |
Tabela de entradas de sugar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ sulfur |
table |
Tabela de entradas de sulfur. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ tequila |
table |
Tabela de entradas de tequila. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ vodka |
table |
Tabela de entradas de vodka. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ water |
table |
Tabela de entradas de water. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ WEAPON_BOW |
table |
Modelo ou entidade do jogo usado para weapon bow. |
↳ WEAPON_BOW_IMPROVED |
table |
Modelo ou entidade do jogo usado para weapon bow improved. |
↳ WEAPON_KIT_METAL_DETECTOR |
table |
Modelo ou entidade do jogo usado para weapon kit metal detector. |
↳ WEAPON_LASSO |
table |
Modelo ou entidade do jogo usado para weapon lasso. |
↳ WEAPON_LASSO_REINFORCED |
table |
Modelo ou entidade do jogo usado para weapon lasso reinforced. |
↳ WEAPON_MELEE_KNIFE |
table |
Modelo ou entidade do jogo usado para weapon melee knife. |
↳ WEAPON_PISTOL_M1899 |
table |
Modelo ou entidade do jogo usado para weapon pistol m1899. |
↳ WEAPON_PISTOL_MAUSER |
table |
Modelo ou entidade do jogo usado para weapon pistol mauser. |
↳ WEAPON_PISTOL_SEMIAUTO |
table |
Modelo ou entidade do jogo usado para weapon pistol semiauto. |
↳ WEAPON_PISTOL_VOLCANIC |
table |
Modelo ou entidade do jogo usado para weapon pistol volcanic. |
↳ WEAPON_REPEATER_CARBINE |
table |
Modelo ou entidade do jogo usado para weapon repeater carbine. |
↳ WEAPON_REPEATER_EVANS |
table |
Modelo ou entidade do jogo usado para weapon repeater evans. |
↳ WEAPON_REPEATER_HENRY |
table |
Modelo ou entidade do jogo usado para weapon repeater henry. |
↳ WEAPON_REPEATER_WINCHESTER |
table |
Modelo ou entidade do jogo usado para weapon repeater winchester. |
↳ WEAPON_REVOLVER_CATTLEMAN |
table |
Modelo ou entidade do jogo usado para weapon revolver cattleman. |
↳ WEAPON_REVOLVER_DOUBLEACTION |
table |
Modelo ou entidade do jogo usado para weapon revolver doubleaction. |
↳ WEAPON_REVOLVER_LEMAT |
table |
Modelo ou entidade do jogo usado para weapon revolver lemat. |
↳ WEAPON_REVOLVER_NAVY |
table |
Modelo ou entidade do jogo usado para weapon revolver navy. |
config/jrs.lua - 9 opções#
General
| Setting | Default | What it does |
|---|---|---|
REDEMPIRE |
table |
Tabela de entradas de redempire. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ CoreResource |
"jrs_core" |
Ajuste para core resource. |
↳ InventoryResource |
"jrs_inventory" |
Ajuste para inventory resource. |
↳ ItemImagePath |
"nui://jrs_inventory/html/im... |
Itens de inventário usados por item image path. Os nomes precisam existir na tabela jrs_items. |
↳ ItemImagePaths |
table |
Itens de inventário usados por item image paths. Os nomes precisam existir na tabela jrs_items. |
↳ MaxWeapons |
7 |
Fallback only. The current jrs_inventory build is queried through jrsCore:canCarryWeapons first, so job/group weapon limits stay authoritative. |
↳ WeaponCapacityTimeoutMs |
3500 |
Ajuste de tempo para weapon capacity timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ NotificationDuration |
5000 |
Ajuste de tempo para notification duration. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
ItemAliases |
Config.ItemAliases or {} |
Optional recipe-name -> actual jrs_inventory item-name aliases. |
Notes from the README#
# 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 optionsPaid (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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Admin |
table |
Quem pode: empregos, grupos ou permissões para admin. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Command |
"ftadmin" |
Ajuste para command. |
↳ SessionLifetimeMs |
600000 |
Ajuste de tempo para session lifetime ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ActionRateWindowMs |
10000 |
Taxa ou multiplicador para action rate window ms. |
↳ ActionsPerWindow |
20 |
Número para actions per window (padrão 20). |
↳ SnapshotRefreshMs |
3000 |
Número para snapshot refresh ms (padrão 3000). |
↳ MaxLogsShown |
100 |
Limite máximo para max logs shown. |
↳ AllowGlobalToggle |
true |
Allows global toggle: true = sim, false = não (padrão true). |
↳ AllowCityToggle |
true |
Allows city toggle: true = sim, false = não (padrão true). |
↳ AllowCancelTrip |
true |
Allows cancel trip: true = sim, false = não (padrão true). |
↳ AllowCancelAllTrips |
true |
Allows cancel all trips: true = sim, false = não (padrão true). |
↳ AllowCleanupBroadcast |
true |
Allows cleanup broadcast: true = sim, false = não (padrão true). |
↳ AllowSecurityUnblock |
true |
Allows security unblock: true = sim, false = não (padrão true). |
↳ AllowRuntimeMultiplier |
true |
Allows runtime multiplier: true = sim, false = não (padrão true). |
↳ AllowBulkCityToggle |
true |
Allows bulk city toggle: true = sim, false = não (padrão true). |
↳ AllowRuntimeReset |
true |
Allows runtime reset: true = sim, false = não (padrão true). |
↳ AllowCreateDestination |
true |
Allows create destination: true = sim, false = não (padrão true). |
↳ AllowUpdateDestination |
true |
Allows update destination: true = sim, false = não (padrão true). |
↳ AllowDeleteDestination |
true |
Allows delete destination: true = sim, false = não (padrão true). |
↳ MaxDynamicDestinations |
64 |
Limite máximo para 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 |
Chave para cancel trips when city disabled: true = ligado, false = desligado (padrão 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 |
Mínimo ou nível exigido para runtime multiplier min. |
↳ RuntimeMultiplierMax |
10.00 |
Limite máximo para runtime multiplier max. |
config/build.lua - 7 opções#
General
| Setting | Default | What it does |
|---|---|---|
Build |
table |
Tabela de entradas de build. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ SystemTitle |
Lang('Build.SystemTitle') |
Texto mostrado ao jogador para system title. Altere para traduzir ou renomear. |
↳ Version |
"1.1.0" |
Ajuste para version. |
↳ VersionType |
Lang('Build.VersionType') |
Ajuste para version type. |
↳ VersionName |
Lang('Build.VersionName') |
Texto mostrado ao jogador para version name. Altere para traduzir ou renomear. |
↳ ResourceName |
"jrs_fasttravel" |
Texto mostrado ao jogador para resource name. Altere para traduzir ou renomear. |
↳ PrintStartupBanner |
true |
Chave para print startup banner: true = ligado, false = desligado (padrão true). |
config/cleanup.lua - 19 opções#
General
| Setting | Default | What it does |
|---|---|---|
Cleanup |
table |
Tabela de entradas de cleanup. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ CaptureDraftAnimals |
true |
Chave para capture draft animals: true = ligado, false = desligado (padrão true). |
↳ DisableDraftAutoCreationBeforeDelete |
true |
Turns off draft auto creation before delete: true = sim, false = não (padrão true). |
↳ HarnessSlots |
6 |
Limite máximo para harness slots. |
↳ NearbyScanRadius |
14.0 |
Distância em unidades do jogo para nearby scan radius. |
↳ LateCaptureDelayMs |
500 |
Ajuste de tempo para late capture delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DeleteRetries |
5 |
Número para delete retries (padrão 5). |
↳ DeleteRetryDelayMs |
120 |
Ajuste de tempo para delete retry delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ NetworkControlTimeoutMs |
1200 |
Ajuste de tempo para network control timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ OrphanSweepAfterCleanup |
true |
Chave para orphan sweep after cleanup: true = ligado, false = desligado (padrão true). |
↳ OrphanSweepDelayMs |
250 |
Ajuste de tempo para orphan sweep delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SafePlayerExitBeforeDelete |
true |
Safely place a player beside the coach before deleting the vehicle. |
↳ PlayerExitTimeoutMs |
1800 |
Ajuste de tempo para player exit timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ PlayerExitRightOffset |
2.8 |
Número para player exit right offset (padrão 2.8). |
↳ PlayerExitRearOffset |
-1.2 |
Número para player exit rear offset (padrão -1.2). |
↳ PlayerExitUpOffset |
0.25 |
Número para player exit up offset (padrão 0.25). |
↳ RestorePlayerStateAfterCleanup |
true |
Restore controls/collision after any administrator or failure cleanup. |
↳ Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
config/destinations.lua - 1 opções#
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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Interaction |
table |
Tabela de entradas de interaction. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Control |
0x760A9C6F |
Tecla ou controle usado para control. Os controles são valores hash da lista de entradas do jogo. |
↳ Distance |
3.8 |
Distância em unidades do jogo para distance. |
↳ HoldToOpen |
false |
Chave para hold to open: true = ligado, false = desligado (padrão false). |
↳ NpcSpawnDistance |
120.0 |
Distância em unidades do jogo para npc spawn distance. |
↳ NpcDeleteDistance |
145.0 |
Distância em unidades do jogo para npc delete distance. |
↳ PromptLabel |
Lang('Interaction.PromptLabe... |
Texto mostrado ao jogador para prompt label. Altere para traduzir ou renomear. |
↳ PromptGroupLabel |
Lang('Interaction.PromptGrou... |
Quem pode: empregos, grupos ou permissões para 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 |
Modelo ou entidade do jogo usado para fallback models. |
↳ ModelLoadTimeoutMs |
10000 |
Ajuste de tempo para model load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ RequestIntervalMs |
250 |
Ajuste de tempo para request interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SpawnRetryMs |
30000 |
Coordenadas do mundo (x, y, z) para spawn retry ms. |
↳ InvalidModelLogCooldownMs |
60000 |
Ajuste de tempo para invalid model log cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
config/interface.lua - 66 opções#
General
| Setting | Default | What it does |
|---|---|---|
Interface |
table |
Tabela de entradas de interface. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ShowCityLabels |
true |
Shows city labels: true = sim, false = não (padrão true). |
↳ ShowRegionOnHover |
true |
Shows region on hover: true = sim, false = não (padrão true). |
↳ HighlightCurrentStation |
true |
Chave para highlight current station: true = ligado, false = desligado (padrão true). |
Text |
table |
Texto mostrado ao jogador para text. Altere para traduzir ou renomear. |
↳ MenuTitle |
Lang('Text.MenuTitle') |
Texto mostrado ao jogador para menu title. Altere para traduzir ou renomear. |
↳ MenuSubtitle |
Lang('Text.MenuSubtitle') |
Ajuste para menu subtitle. |
↳ Close |
Lang('Text.Close') |
Ajuste para close. |
↳ TravelNow |
Lang('Text.TravelNow') |
Ajuste para travel now. |
↳ Destination |
Lang('Text.Destination') |
Ajuste para destination. |
↳ SelectDestination |
Lang('Text.SelectDestination... |
Ajuste para select destination. |
↳ CurrentLocation |
Lang('Text.CurrentLocation') |
Coordenadas do mundo (x, y, z) para current location. |
↳ Price |
Lang('Text.Price') |
Valor em dinheiro para price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Region |
Lang('Text.Region') |
Ajuste para region. |
↳ TravelTime |
Lang('Text.TravelTime') |
Ajuste para travel time. |
↳ Free |
Lang('Text.Free') |
Ajuste para free. |
↳ MoneySymbol |
Lang('Text.MoneySymbol') |
Valor em dinheiro para money symbol. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ GoldLabel |
Lang('Text.GoldLabel') |
Valor em dinheiro para gold label. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ TravelPrompt |
Lang('Text.TravelPrompt') |
Texto mostrado ao jogador para travel prompt. Altere para traduzir ou renomear. |
↳ Paid |
Lang('Text.Paid') |
Ajuste para paid. |
↳ FreeTravel |
Lang('Text.FreeTravel') |
Ajuste para free travel. |
↳ NotEnoughMoney |
Lang('Text.NotEnoughMoney') |
Valor em dinheiro para not enough money. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ InvalidDestination |
Lang('Text.InvalidDestinatio... |
Ajuste para invalid destination. |
↳ CityUnavailable |
Lang('Text.CityUnavailable') |
Ajuste para city unavailable. |
↳ SameDestination |
Lang('Text.SameDestination') |
Ajuste para same destination. |
↳ TooFar |
Lang('Text.TooFar') |
Ajuste para too far. |
↳ Cooldown |
Lang('Text.Cooldown') |
Ajuste de tempo para cooldown. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CooldownSeconds |
Lang('Text.CooldownSeconds') |
Ajuste de tempo para cooldown seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CharacterUnavailable |
Lang('Text.CharacterUnavaila... |
Ajuste para character unavailable. |
↳ CoreUnavailable |
Lang('Text.CoreUnavailable') |
Ajuste para core unavailable. |
↳ UnsupportedCurrency |
Lang('Text.UnsupportedCurren... |
Ajuste para unsupported currency. |
↳ Busy |
Lang('Text.Busy') |
Ajuste para busy. |
↳ Dead |
Lang('Text.Dead') |
Ajuste para dead. |
↳ Combat |
Lang('Text.Combat') |
Ajuste para combat. |
↳ Falling |
Lang('Text.Falling') |
Ajuste para falling. |
↳ Ragdoll |
Lang('Text.Ragdoll') |
Ajuste para ragdoll. |
↳ ClosedAtNight |
Lang('Text.ClosedAtNight') |
Ajuste para closed at night. |
↳ Closed |
Lang('Text.Closed') |
Ajuste para closed. |
↳ JobDenied |
Lang('Text.JobDenied') |
Quem pode: empregos, grupos ou permissões para job denied. |
↳ NoPermission |
Lang('Text.NoPermission') |
Quem pode: empregos, grupos ou permissões para no permission. |
↳ TravelFailed |
Lang('Text.TravelFailed') |
Ajuste para travel failed. |
↳ PaymentFailed |
Lang('Text.PaymentFailed') |
Ajuste para payment failed. |
↳ ServerResponseTimeout |
Lang('Text.ServerResponseTim... |
Ajuste de tempo para server response timeout. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ TeleportFallback |
Lang('Text.TeleportFallback'... |
Ajuste para teleport fallback. |
↳ TravelPreparing |
Lang('Text.TravelPreparing') |
Ajuste para travel preparing. |
↳ BoardingStagecoach |
Lang('Text.BoardingStagecoac... |
Ajuste para boarding stagecoach. |
↳ TravelInProgress |
Lang('Text.TravelInProgress'... |
Ajuste para travel in progress. |
↳ DriverTakingYou |
Lang('Text.DriverTakingYou') |
Ajuste para driver taking you. |
↳ TravelArrival |
Lang('Text.TravelArrival') |
Ajuste para travel arrival. |
↳ TravelTransfer |
Lang('Text.TravelTransfer') |
Ajuste para travel transfer. |
↳ TravelBlackout |
Lang('Text.TravelBlackout') |
Ajuste para travel blackout. |
↳ ArrivalDetail |
Lang('Text.ArrivalDetail') |
Ajuste para arrival detail. |
↳ Welcome |
Lang('Text.Welcome') |
Ajuste para welcome. |
↳ WelcomeArrived |
Lang('Text.WelcomeArrived') |
Ajuste para welcome arrived. |
↳ TravelRefunded |
Lang('Text.TravelRefunded') |
Ajuste para travel refunded. |
↳ TravelFailedStage |
Lang('Text.TravelFailedStage... |
Ajuste para travel failed stage. |
↳ FareQuoteExpired |
Lang('Text.FareQuoteExpired'... |
Ajuste para fare quote expired. |
↳ MorningRate |
Lang('Text.MorningRate') |
Taxa ou multiplicador para morning rate. |
↳ DayRate |
Lang('Text.DayRate') |
Taxa ou multiplicador para day rate. |
↳ EveningRate |
Lang('Text.EveningRate') |
Taxa ou multiplicador para evening rate. |
↳ NightRate |
Lang('Text.NightRate') |
Taxa ou multiplicador para night rate. |
↳ StandardRate |
Lang('Text.StandardRate') |
Taxa ou multiplicador para standard rate. |
↳ LoadingRate |
Lang('Text.LoadingRate') |
Taxa ou multiplicador para loading rate. |
↳ Loading |
Lang('Text.Loading') |
Ajuste para loading. |
↳ DistanceKilometers |
Lang('Text.DistanceKilometer... |
Distância em unidades do jogo para distance kilometers. |
↳ PlayersInCity |
Lang('Text.PlayersInCity') |
Ajuste para players in city. |
Notes from the README#
## 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 opções#
JRS FIGHT ARENA (deathmatch) - configuration
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão 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 |
Limite máximo para 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... |
Coordenadas do mundo (x, y, z) para coords. |
↳ model |
"s_m_m_dispatchleaderpolice_01" |
Modelo ou entidade do jogo usado para model. |
↳ scenario |
'WORLD_HUMAN_SMOKE_NERVOUS_S... |
Ajustes de animação para scenario. |
↳ promptDistance |
2.2 |
Distância em unidades do jogo para prompt distance. |
↳ spawnDistance |
40.0 |
Distância em unidades do jogo para spawn distance. |
↳ blip |
table |
Ajustes do blip ou ícone do mapa para blip. |
ExitClerk |
table |
Tabela de entradas de exit clerk. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ coords |
vector4(-4189.850, -3416.763... |
Coordenadas do mundo (x, y, z) para coords. |
↳ model |
"s_m_m_dispatchleaderpolice_01" |
Modelo ou entidade do jogo usado para model. |
↳ scenario |
'WORLD_HUMAN_SMOKE_NERVOUS_S... |
Ajustes de animação para scenario. |
↳ promptDistance |
2.2 |
Distância em unidades do jogo para prompt distance. |
↳ spawnDistance |
40.0 |
Distância em unidades do jogo para 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... |
Ajuste para center. |
↳ LeaveRadius |
62.0 |
Distância em unidades do jogo para leave radius. |
↳ StuckRadius |
48.0 |
Distância em unidades do jogo para 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 |
Limite máximo para slots. |
↳ SlotType |
table |
which weapon category each slot accepts |
↳ Default |
table |
Tabela de entradas de default. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Modelo ou entidade do jogo usado para 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 |
Quem pode: empregos, grupos ou permissões para groups. |
↳ MaxMembers |
4 |
Limite máximo para max members. |
↳ NameMin |
3 |
Mínimo ou nível exigido para name min. |
↳ NameMax |
20 |
Limite máximo para name max. |
↳ InviteSeconds |
60 |
Número para invite seconds (padrão 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 |
Tabela de entradas de score. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Número para leaderboard size (padrão 10). |
↳ LeaderboardCacheSeconds |
30 |
Número para leaderboard cache seconds (padrão 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 |
Liga ou desliga enabled (padrão 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 |
Número para board size (padrão 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 |
Liga ou desliga enabled (padrão true). |
↳ Types |
table |
Tabela de entradas de types. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ MaxMinutes |
240 |
Limite máximo para max minutes. |
↳ Schedule |
table |
Tabela de entradas de schedule. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Controls (verified hashes from jrs_utils/shared/keys.lua)
| Setting | Default | What it does |
|---|---|---|
Keys |
table |
Tecla ou controle usado para keys. Os controles são valores hash da lista de entradas do jogo. |
↳ Menu |
0x760A9C6F |
G |
↳ Leave |
0xCEFD9220 |
E |
↳ Inventory |
0xC1989F95 |
I (blocked inside the arena) |
PromptCooldownMs |
900 |
Ajuste de tempo para prompt cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
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 |
Chave para events only: true = ligado, false = desligado (padrão true). |
Command |
"arena" |
opens the menu near the arena master or inside the arena |
AdminAce |
"jrs_fightarena.admin" |
Quem pode: empregos, grupos ou permissões para 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 opções#
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" |
Ajuste para left color. |
↳ RightColor |
"COLOR_GREENDARK" |
Ajuste para 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 opções#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"ar" |
Ajuste para 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 |
Tabela de entradas de menu. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Liga ou desliga enabled (padrão 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 |
Distância em unidades do jogo para wake distance. |
↳ idleInterval |
500 |
Ajuste de tempo para idle interval. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
admin |
table |
Admin commands. Permission is checked against jrs_core groups. |
↳ enabled |
true |
Liga ou desliga enabled (padrão 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" |
Quem pode: empregos, grupos ou permissões para job name. |
↳ label |
"Guarma Bank (بنك قواراما)" |
Texto mostrado ao jogador para label. Altere para traduzir ou renomear. |
↳ bankName |
"Guarma" |
Texto mostrado ao jogador para bank name. Altere para traduzir ou renomear. |
shops |
table |
Tabela de entradas de shops. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ stdenis |
table |
Tabela de entradas de stdenis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ guarma |
table |
Tabela de entradas de guarma. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
BlipColors |
table |
Ajustes do blip ou ícone do mapa para blip colors. |
↳ LIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_1" |
Ajuste para light blue. |
↳ DARK_RED |
"BLIP_MODIFIER_MP_COLOR_2" |
Ajuste para dark red. |
↳ PURPLE |
"BLIP_MODIFIER_MP_COLOR_3" |
Ajuste para purple. |
↳ ORANGE |
"BLIP_MODIFIER_MP_COLOR_4" |
Ajuste para orange. |
↳ TEAL |
"BLIP_MODIFIER_MP_COLOR_5" |
Ajuste para teal. |
↳ LIGHT_YELLOW |
"BLIP_MODIFIER_MP_COLOR_6" |
Ajuste para light yellow. |
↳ PINK |
"BLIP_MODIFIER_MP_COLOR_7" |
Ajuste para pink. |
↳ GREEN |
"BLIP_MODIFIER_MP_COLOR_8" |
Ajuste para green. |
↳ DARK_TEAL |
"BLIP_MODIFIER_MP_COLOR_9" |
Ajuste para dark teal. |
↳ RED |
"BLIP_MODIFIER_MP_COLOR_10" |
Ajuste para red. |
↳ LIGHT_GREEN |
"BLIP_MODIFIER_MP_COLOR_11" |
Ajuste para light green. |
↳ TEAL2 |
"BLIP_MODIFIER_MP_COLOR_12" |
Ajuste para teal2. |
↳ BLUE |
"BLIP_MODIFIER_MP_COLOR_13" |
Ajuste para blue. |
↳ DARK_PUPLE |
"BLIP_MODIFIER_MP_COLOR_14" |
Ajuste para dark puple. |
↳ DARK_PINK |
"BLIP_MODIFIER_MP_COLOR_15" |
Ajuste para dark pink. |
↳ DARK_DARK_RED |
"BLIP_MODIFIER_MP_COLOR_16" |
Ajuste para dark dark red. |
↳ GRAY |
"BLIP_MODIFIER_MP_COLOR_17" |
Ajuste para gray. |
↳ PINKISH |
"BLIP_MODIFIER_MP_COLOR_18" |
Ajuste para pinkish. |
↳ YELLOW_GREEN |
"BLIP_MODIFIER_MP_COLOR_19" |
Ajuste para yellow green. |
↳ DARK_GREEN |
"BLIP_MODIFIER_MP_COLOR_20" |
Ajuste para dark green. |
↳ BRIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_21" |
Ajuste para bright blue. |
↳ BRIGHT_PURPLE |
"BLIP_MODIFIER_MP_COLOR_22" |
Ajuste para bright purple. |
↳ YELLOW_ORANGE |
"BLIP_MODIFIER_MP_COLOR_23" |
Ajuste para yellow orange. |
↳ BLUE2 |
"BLIP_MODIFIER_MP_COLOR_24" |
Ajuste para blue2. |
↳ TEAL3 |
"BLIP_MODIFIER_MP_COLOR_25" |
Ajuste para teal3. |
↳ TAN |
"BLIP_MODIFIER_MP_COLOR_26" |
Ajuste para tan. |
↳ OFF_WHITE |
"BLIP_MODIFIER_MP_COLOR_27" |
Ajuste para off white. |
↳ LIGHT_YELLOW2 |
"BLIP_MODIFIER_MP_COLOR_28" |
Ajuste para light yellow2. |
↳ LIGHT_PINK |
"BLIP_MODIFIER_MP_COLOR_29" |
Ajuste para light pink. |
↳ LIGHT_RED |
"BLIP_MODIFIER_MP_COLOR_30" |
Ajuste para light red. |
↳ LIGHT_YELLOW3 |
"BLIP_MODIFIER_MP_COLOR_31" |
Ajuste para light yellow3. |
↳ WHITE |
"BLIP_MODIFIER_MP_COLOR_32" |
Ajuste para 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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Branding |
table |
Startup console banner. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ SystemName |
"REDEMPIRE HERBS SYSTEM" |
Texto mostrado ao jogador para system name. Altere para traduzir ou renomear. |
↳ VersionName |
"REDEMPIRE HERBS" |
Texto mostrado ao jogador para version name. Altere para traduzir ou renomear. |
↳ VersionType |
"RELEASE" |
Ajuste para version type. |
config/consumables.lua - 7 opções#
General
| Setting | Default | What it does |
|---|---|---|
Food |
table |
Inventory-use timing and metabolism provider. |
↳ UseCooldownMs |
2500 |
Ajuste de tempo para use cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AutoRegisterPlantRewards |
true |
Automatically handles register plant rewards: true = sim, false = não (padrão true). |
↳ ApplyToxicDamage |
true |
Chave para apply toxic damage: true = ligado, false = desligado (padrão true). |
↳ ToxicDamage |
5 |
Número para toxic damage (padrão 5). |
Metabolism |
table |
Tabela de entradas de metabolism. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Provider |
"auto" |
auto, framework |
config/database.lua - 7 opções#
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 = sim, false = não (padrão true). |
↳ Table |
"jrs_herbs_progress" |
Ajuste para table. |
↳ QueryTimeoutMs |
10000 |
Ajuste de tempo para query timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ FallbackToKvp |
true |
Chave para fallback to kvp: true = ligado, false = desligado (padrão true). |
↳ DetectionOrder |
table |
Tabela de entradas de detection order. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/farming_exclusions.lua - 127 opções#
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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Framework |
table |
Framework detection and resource mapping. |
↳ Name |
"auto" |
Texto mostrado ao jogador para name. Altere para traduzir ou renomear. |
↳ Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
↳ AllowStandaloneInventory |
false |
Allows standalone inventory: true = sim, false = não (padrão false). |
↳ DetectionOrder |
table |
Tabela de entradas de detection order. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Resources |
table |
Tabela de entradas de resources. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
CustomFramework |
Config.CustomFramework or {} |
Custom framework hooks table (functions are handled server-side) |
config/gathering.lua - 7 opções#
General
| Setting | Default | What it does |
|---|---|---|
Gathering |
table |
Server-authoritative gathering rules and client action sequence. |
↳ DefaultCooldownMinutes |
60 |
Ajuste de tempo para default cooldown minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ 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 |
Distância em unidades do jogo para maximum server distance. |
↳ MaximumRewardAmount |
100 |
Valor em dinheiro para maximum reward amount. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ WorldCooldownCellSize |
2.0 |
Ajuste de tempo para world cooldown cell size. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ Progress |
table |
Tabela de entradas de progress. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# 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
- QRPaid (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 linhas de Lua |
Database tables
jrs_horserace_tracks
config.lua - 24 opções#
General
| Setting | Default | What it does |
|---|---|---|
Command |
"race" |
open the race panel (host / join / bet) |
TrackCommand |
"racetrack" |
admin: build tracks in game |
AdminGroups |
table |
Quem pode: empregos, grupos ou permissões para admin groups. |
LobbySeconds |
120 |
lobby auto-closes if the host never starts |
CountdownSeconds |
5 |
Número para countdown seconds (padrão 5). |
MinRacers |
2 |
Mínimo ou nível exigido para min racers. |
MaxRacers |
8 |
Limite máximo para 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 |
Valor em dinheiro para max entry fee. As recompensas passam pelo multiplicador de economia do jrs_core. |
MaxBet |
250 |
Limite máximo para 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 |
Tabela de entradas de 2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 3 |
table |
Tabela de entradas de 3. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Distância em unidades do jogo para max waypoint distance. |
TimeLimitPerKm |
150 |
seconds allowed per km before the race times out |
CheckpointBlipSprite |
-1546805641 |
Ajustes do blip ou ícone do mapa para 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 opções#
General
| Setting | Default | What it does |
|---|---|---|
AnimalDefinitions |
table |
Modelo ou entidade do jogo usado para animal definitions. |
config/core.lua - 39 opções#
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 |
Liga ou desliga enabled (padrão 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 |
Tabela de entradas de redempire. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ CoreResource |
"jrs_core" |
Ajuste para core resource. |
↳ InventoryResource |
"jrs_inventory" |
Ajuste para 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 |
Liga ou desliga enabled (padrão true). |
↳ NormalJobs |
table |
Quem pode: empregos, grupos ou permissões para normal jobs. |
↳ LegendaryJobs |
table |
Quem pode: empregos, grupos ou permissões para 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 = sim, false = não (padrão true). |
↳ RequireForProcessing |
true |
Requires for processing: true = sim, false = não (padrão true). |
↳ RequireForWorldBait |
true |
Requires for world bait: true = sim, false = não (padrão true). |
↳ RequireForMarket |
true |
Requires for market: true = sim, false = não (padrão true). |
↳ RequireForLegendaryMenu |
true |
Requires for legendary menu: true = sim, false = não (padrão 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 |
Texto mostrado ao jogador para messages. Altere para traduzir ou renomear. |
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 |
Chave para check inventory items: true = ligado, false = desligado (padrão true). |
↳ CheckRewardImages |
true |
Chave para check reward images: true = ligado, false = desligado (padrão true). |
Admin |
table |
Quem pode: empregos, grupos ou permissões para admin. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Command |
"jrshuntingadmin" |
Ajuste para 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 |
Limite máximo para max spawned animals. |
↳ SpawnDistance |
5.0 |
Distância em unidades do jogo para spawn distance. |
↳ RewardGiveLimit |
10 |
Valor em dinheiro para reward give limit. As recompensas passam pelo multiplicador de economia do jrs_core. |
WeeklyCompetition |
table |
Tabela de entradas de weekly competition. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Score |
table |
Tabela de entradas de score. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ WinnerReward |
table |
Valor em dinheiro para winner reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
config/hunting.lua - 115 opções#
General
| Setting | Default | What it does |
|---|---|---|
Locale |
"ar" |
Idioma da interface deste script (en ou ar). |
ReputationCommand |
"jrshuntingrep" |
Ajuste para reputation command. |
ButcherService |
table |
Tabela de entradas de butcher service. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão 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 |
Número para native skin settle ms (padrão 0). |
↳ NativeSkinCarryWindowMs |
90000 |
Número para native skin carry window ms (padrão 90000). |
↳ HideNativePeltWhenCarried |
true |
Hides native pelt when carried: true = sim, false = não (padrão true). |
↳ NativeCarryFadeMs |
0 |
Número para native carry fade ms (padrão 0). |
↳ NetworkRegistrationMs |
150 |
Número para network registration ms (padrão 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 = sim, false = não (padrão true). |
↳ AtButcherNpc |
true |
Chave para at butcher npc: true = ligado, false = desligado (padrão true). |
↳ AutoCollectCarriedCarcass |
false |
Automatically handles collect carried carcass: true = sim, false = não (padrão false). |
↳ PromptKey |
0xCEFD9220 |
E |
↳ UiInteractionKey |
0xCEFD9220 |
E |
↳ FieldInteractionDistance |
3.2 |
Distância em unidades do jogo para field interaction distance. |
↳ InteractionDistance |
2.8 |
Distância em unidades do jogo para interaction distance. |
↳ DurationMs |
9000 |
Ajuste de tempo para duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ InstantProcessing |
false |
Chave para instant processing: true = ligado, false = desligado (padrão false). |
↳ ServerResponseTimeoutMs |
18000 |
Ajuste de tempo para server response timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CancelIfPlayerDies |
true |
Chave para cancel if player dies: true = ligado, false = desligado (padrão true). |
↳ ProcessCancelDistance |
4.5 |
Distância em unidades do jogo para process cancel distance. |
↳ AnimationScenario |
"WORLD_HUMAN_BUTCHER_RABBIT" |
Ajustes de animação para animation scenario. |
↳ AnimationScenarios |
table |
Ajustes de animação para animation scenarios. |
↳ AnimationVerifyDelayMs |
250 |
Ajuste de tempo para animation verify delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CinematicCamera |
false |
Chave para cinematic camera: true = ligado, false = desligado (padrão false). |
↳ CameraTransitionMs |
450 |
Número para camera transition ms (padrão 450). |
↳ CameraCuts |
table |
Tabela de entradas de camera cuts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ DeleteRetries |
8 |
Número para delete retries (padrão 8). |
↳ DeleteRetryMs |
180 |
Número para delete retry ms (padrão 180). |
↳ DeleteFallbackRadius |
1.50 |
Distância em unidades do jogo para delete fallback radius. |
Security |
table |
Tabela de entradas de security. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Ajuste de tempo para harvest cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MaxQualityRewardAmount |
25 |
Valor em dinheiro para max quality reward amount. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ MaxItemsPerHarvest |
10 |
Limite máximo para max items per harvest. |
↳ MaxSaleAmount |
1000 |
Limite máximo para max sale amount. |
↳ MaxBulkSaleUnits |
5000 |
Limite máximo para max bulk sale units. |
↳ MaxBulkSaleTypes |
150 |
Limite máximo para max bulk sale types. |
↳ SaleCooldownMs |
350 |
Ajuste de tempo para sale cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ButcherValidationDistance |
12.0 |
Distância em unidades do jogo para butcher validation distance. |
↳ ProcessEntityDistance |
5.0 |
Distância em unidades do jogo para process entity distance. |
↳ RequireNetworkedCarcass |
true |
Requires networked carcass: true = sim, false = não (padrão 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 |
Número para fallback window ms (padrão 300000). |
↳ RateWindowMs |
10000 |
Taxa ou multiplicador para rate window ms. |
↳ MaxActionsPerWindow |
24 |
Limite máximo para max actions per window. |
↳ MaxBaitPurchaseAmount |
25 |
Limite máximo para max bait purchase amount. |
↳ StrikeWindowSeconds |
180 |
Número para strike window seconds (padrão 180). |
↳ KickAfterStrikes |
20 |
Número para kick after strikes (padrão 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 |
Tabela de entradas de world hunting. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ EnableBaitHunting |
true |
Liga ou desliga bait hunting (padrão true). |
↳ SpawnDistance |
32.0 |
Distância em unidades do jogo para spawn distance. |
↳ AnimalWaitMs |
12000 |
Ajuste de tempo para animal wait ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BaitLifetimeMs |
120000 |
Ajuste de tempo para bait lifetime ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SuccessXp |
8 |
Número para success xp (padrão 8). |
↳ BaitProps |
table |
Modelo ou entidade do jogo usado para bait props. |
↳ UsableItems |
table |
Itens de inventário usados por usable items. Os nomes precisam existir na tabela jrs_items. |
AnimalSettings |
table |
Modelo ou entidade do jogo usado para animal settings. |
↳ EnableRegularAnimals |
true |
Liga ou desliga regular animals (padrão true). |
↳ EnableBirds |
true |
Liga ou desliga birds (padrão true). |
↳ EnableReptiles |
true |
Liga ou desliga reptiles (padrão true). |
↳ EnableSmallAnimals |
true |
Liga ou desliga small animals (padrão true). |
↳ EnableFish |
false |
Liga ou desliga fish (padrão false). |
↳ EnableOnlineAnimalVariants |
false |
Liga ou desliga online animal variants (padrão false). |
↳ DefaultQuality |
1 |
Used only if RedM cannot return a valid carcass-quality value. 0 = poor, 1 = good, 2 = perfect. |
QualityRewards |
table |
Tabela de entradas de quality rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
BaitAnimalPools |
table |
Modelo ou entidade do jogo usado para bait animal pools. |
↳ herbivore_bait |
table |
Tabela de entradas de herbivore bait. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ potent_herbivore_bait |
table |
Tabela de entradas de potent herbivore bait. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ predator_bait |
table |
Tabela de entradas de predator bait. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ potent_predator_bait |
table |
Tabela de entradas de potent predator bait. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
PredatorModelNames |
table |
Modelo ou entidade do jogo usado para predator model names. |
LegendaryHunting |
table |
Tabela de entradas de legendary hunting. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ RequiredLevel |
10 |
Mínimo ou nível exigido para required level. |
↳ YellowBlipModifier |
"BLIP_MODIFIER_MP_COLOR_2" |
Ajustes do blip ou ícone do mapa para yellow blip modifier. |
↳ RouteColor |
"COLOR_RED" |
Ajuste para route color. |
↳ ShowSearchRadius |
true |
Shows search radius: true = sim, false = não (padrão true). |
↳ RevealSearchRadiusDistance |
220.0 |
Distância em unidades do jogo para reveal search radius distance. |
↳ MissionHud |
true |
Chave para mission hud: true = ligado, false = desligado (padrão true). |
↳ PromptKey |
0xC7B5340A |
[G] key for bait |
↳ MissionCooldownMinutes |
20 |
Ajuste de tempo para mission cooldown minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ FailureCooldownMinutes |
5 |
Ajuste de tempo para failure cooldown minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MissionTimeoutMinutes |
35 |
Ajuste de tempo para mission timeout minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ EscapeDistance |
260.0 |
Distância em unidades do jogo para escape distance. |
↳ SearchRadius |
55.0 |
Distância em unidades do jogo para search radius. |
↳ HabitatSearchDelayMinMs |
10000 |
Ajuste de tempo para habitat search delay min ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ HabitatSearchDelayMaxMs |
22000 |
Ajuste de tempo para habitat search delay max ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ PheromoneItem |
"legendary_animal_pheromone" |
Itens de inventário usados por pheromone item. Os nomes precisam existir na tabela jrs_items. |
↳ BaitSpawnDelayMs |
6500 |
Ajuste de tempo para bait spawn delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BaitApproachDistance |
95.0 |
Distância em unidades do jogo para bait approach distance. |
↳ BaitMinimumHunterDistance |
20.0 |
Distância em unidades do jogo para bait minimum hunter distance. |
↳ BaitApproachSpeed |
0.65 |
Número para bait approach speed (padrão 0.65). |
↳ BaitApproachTimeoutMs |
180000 |
Ajuste de tempo para bait approach timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MapItem |
"legendary_animal_map" |
Itens de inventário usados por map item. Os nomes precisam existir na tabela jrs_items. |
↳ MapDurationSeconds |
180 |
Ajuste de tempo para map duration seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ RequireBaitItem |
true |
Requires bait item: true = sim, false = não (padrão true). |
↳ EnforcePreferredHours |
true |
Chave para enforce preferred hours: true = ligado, false = desligado (padrão true). |
↳ AllowBaitPurchase |
true |
Allows bait purchase: true = sim, false = não (padrão true). |
↳ MenuTitle |
"HUNTING" |
Texto mostrado ao jogador para menu title. Altere para traduzir ou renomear. |
↳ BlipName |
"Legendary Animal Territory" |
Ajustes do blip ou ícone do mapa para blip name. |
↳ PlaceBaitPrompt |
"Place bait" |
Texto mostrado ao jogador para place bait prompt. Altere para traduzir ou renomear. |
↳ MissionCashReward |
0.0 |
Valor em dinheiro para mission cash reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ MissionXpReward |
6100 |
Valor em dinheiro para mission xp reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ BaitPrices |
table |
Tabela de entradas de bait prices. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ BaitItems |
table |
Itens de inventário usados por bait items. Os nomes precisam existir na tabela jrs_items. |
↳ RegionByName |
table |
Texto mostrado ao jogador para region by name. Altere para traduzir ou renomear. |
↳ PredatorSpecies |
table |
Tabela de entradas de predator species. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ UiImages |
table |
Tabela de entradas de ui images. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/legendary.lua - 1 opções#
General
| Setting | Default | What it does |
|---|---|---|
LegendaryHunting |
Config.LegendaryHunting or {... |
Ajuste para legendary hunting. |
config/market.lua - 30 opções#
General
| Setting | Default | What it does |
|---|---|---|
DynamicPricing |
table |
Tabela de entradas de dynamic pricing. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Persist |
true |
Chave para persist: true = ligado, false = desligado (padrão true). |
↳ RefreshMinutes |
20 |
Número para refresh minutes (padrão 20). |
↳ MinMultiplier |
0.62 |
Mínimo ou nível exigido para min multiplier. |
↳ MaxMultiplier |
1.58 |
Limite máximo para max multiplier. |
↳ MaxStep |
0.14 |
Limite máximo para max step. |
↳ RoundTo |
2 |
Número para round to (padrão 2). |
MarketDemand |
table |
Tabela de entradas de market demand. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ SupplyImpactPerUnit |
0.0035 |
Número para supply impact per unit (padrão 0.0035). |
↳ MaxImpactPerSale |
0.12 |
Limite máximo para max impact per sale. |
↳ RecoveryPerRefresh |
0.035 |
Número para recovery per refresh (padrão 0.035). |
↳ GlobalEventChance |
0.12 |
Taxa ou multiplicador para global event chance. |
↳ GlobalEventMultiplier |
table |
Taxa ou multiplicador para 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 |
Liga ou desliga enabled (padrão true). |
↳ Categories |
table |
meat | pelts | carcasses |
↳ MaxPerkBonus |
0.25 |
fallback cap of the jrs_core BUTCHER SELL BONUS perk |
Notifications |
table |
Tabela de entradas de notifications. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ ItemReceivedOnly |
false |
Chave para item received only: true = ligado, false = desligado (padrão false). |
↳ OnAnimalItemReceived |
true |
Chave para on animal item received: true = ligado, false = desligado (padrão true). |
↳ Duration |
4200 |
Ajuste de tempo para duration. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
AnimalTargetUI |
table |
This card appears only while aiming at a configured hunting animal. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ MaxDistance |
160.0 |
Distância em unidades do jogo para max distance. |
↳ UpdateInterval |
35 |
Ajuste de tempo para update interval. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DeadHoldMs |
3000 |
Número para dead hold ms (padrão 3000). |
↳ VerticalOffset |
0.05 |
Número para vertical offset (padrão 0.05). |
config/progression.lua - 61 opções#
General
| Setting | Default | What it does |
|---|---|---|
Progression |
table |
Tabela de entradas de progression. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ MaxLevel |
100 |
Limite máximo para max level. |
↳ Command |
"huntingrank" |
Ajuste para 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 |
Tabela de entradas de reputation. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Curve |
table |
Tabela de entradas de curve. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Titles |
table |
Tabela de entradas de titles. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Levels |
table |
generated by shared/config_runtime.lua |
↳ Unlocks |
table |
These unlocks are enforced server-side, not just displayed in the NUI. |
↳ ApplyItemMultiplier |
false |
Chave para apply item multiplier: true = ligado, false = desligado (padrão false). |
↳ ApplyPriceBonus |
true |
Chave para apply price bonus: true = ligado, false = desligado (padrão 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 |
Tabela de entradas de hunting session. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ StreakWindowSeconds |
300 |
Número para streak window seconds (padrão 300). |
↳ ShowInMenu |
true |
Shows in menu: true = sim, false = não (padrão true). |
Trust |
table |
Tabela de entradas de trust. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Max |
100 |
Limite máximo para max. |
↳ GainOnLegendarySuccess |
2 |
Número para gain on legendary success (padrão 2). |
↳ LossOnLegendaryFailure |
1 |
Número para loss on legendary failure (padrão 1). |
↳ DiscountEvery |
5 |
Número para discount every (padrão 5). |
↳ DiscountPerStep |
0.025 |
Número para discount per step (padrão 0.025). |
↳ MaxDiscount |
0.40 |
Limite máximo para max discount. |
↳ Command |
"huntertrust" |
Ajuste para command. |
↳ ExportSecurity |
table |
Tabela de entradas de export security. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
GroupHunts |
table |
Quem pode: empregos, grupos ou permissões para group hunts. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ CommandsEnabled |
false |
Chave para commands enabled: true = ligado, false = desligado (padrão false). |
↳ MenuTitle |
"HUNTING" |
Texto mostrado ao jogador para menu title. Altere para traduzir ou renomear. |
↳ NearbyPlayersLimit |
8 |
Limite máximo para nearby players limit. |
↳ MaxMembers |
4 |
Limite máximo para max members. |
↳ InviteCommand |
"huntinvite" |
Ajuste para invite command. |
↳ AcceptCommand |
"huntaccept" |
Ajuste para accept command. |
↳ LeaveCommand |
"huntleave" |
Ajuste para leave command. |
↳ StatusCommand |
"huntgroup" |
Ajuste para status command. |
↳ RequiredGroupLevel |
1 |
Mínimo ou nível exigido para required group level. |
↳ RequiredHunterLevel |
1 |
Mínimo ou nível exigido para required hunter level. |
↳ ContractRequiredHunterLevel |
10 |
Mínimo ou nível exigido para contract required hunter level. |
↳ InviteTimeoutSeconds |
30 |
Ajuste de tempo para invite timeout seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ InviteDistance |
15.0 |
Distância em unidades do jogo para invite distance. |
↳ CompletionDistance |
300.0 |
Distância em unidades do jogo para completion distance. |
↳ ActivityShareDistance |
120.0 |
Distância em unidades do jogo para activity share distance. |
↳ CancelIfLeaderLeaves |
false |
Chave para cancel if leader leaves: true = ligado, false = desligado (padrão false). |
↳ RewardScaleBySize |
table |
Valor em dinheiro para reward scale by size. As recompensas passam pelo multiplicador de economia do jrs_core. |
GroupProgression |
table |
Quem pode: empregos, grupos ou permissões para group progression. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ MaxLevel |
100 |
Limite máximo para max level. |
↳ RequiredLevel |
1 |
Mínimo ou nível exigido para required level. |
↳ Curve |
table |
Tabela de entradas de curve. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Xp |
table |
Tabela de entradas de xp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Titles |
table |
Tabela de entradas de titles. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de xp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão 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 |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# 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 linhas de Lua |
Commands
/cleanse/curse
Database tables
jrs_occult_curses
config.lua - 27 opções#
General
| Setting | Default | What it does |
|---|---|---|
AdminGroups |
table |
Quem pode: empregos, grupos ou permissões para admin groups. |
Relic |
table |
Tabela de entradas de relic. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
NightStart |
22 |
In-game night (GetClockHours). |
NightEnd |
4 |
Número para night end (padrão 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 |
Tabela de entradas de encounters. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ whispers |
table |
Tabela de entradas de whispers. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ shadow |
table |
Tabela de entradas de shadow. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ nightfolk |
table |
Tabela de entradas de nightfolk. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wolves |
table |
Tabela de entradas de wolves. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de trees. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
TreeRadius |
4.0 |
Distância em unidades do jogo para tree radius. |
TreeCooldownMinutes |
30 |
Ajuste de tempo para tree cooldown minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
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 |
Tabela de entradas de curses. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ weak |
table |
Tabela de entradas de weak. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ restless |
table |
Tabela de entradas de restless. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Valor em dinheiro para cleanse price. As recompensas passam pelo multiplicador de economia do jrs_core. |
Keys |
table |
G (hold) |
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 opções#
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" |
Texto mostrado ao jogador para script name. Altere para traduzir ou renomear. |
↳ version |
"4.17.0" |
Ajuste para version. |
↳ versionName |
"Instant Sync" |
Texto mostrado ao jogador para version name. Altere para traduzir ou renomear. |
↳ versionType |
"Stable" |
Ajuste para version type. |
↳ edition |
"Full" |
Ajuste para edition. |
↳ printOnStart |
true |
Chave para print on start: true = ligado, false = desligado (padrão true). |
DebugAndBaseOption |
table |
Tabela de entradas de debug and base option. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ debug |
false |
Debug output for debug: true = sim, false = não (padrão 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 |
Tabela de entradas de light. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ test |
table |
Tabela de entradas de test. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de breeding. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ requiredLevel |
5 |
Mínimo ou nível exigido para required level. |
↳ rewardItem |
"" |
Optional inventory item. Keep empty to disable rewards. |
↳ rewardAmount |
1 |
Valor em dinheiro para reward amount. As recompensas passam pelo multiplicador de economia do jrs_core. |
Currency |
table |
Currency settings: Story money (cash) only. Gold is disabled. |
↳ useStoreMoney |
true |
Buy pets only with Store Money / الشراء فقط بستور موني |
↳ currencyMode |
"store_money" |
Ajuste para currency mode. |
↳ symbol |
" ستور موني" |
Ajuste para symbol. |
↳ symbolPosition |
"after" |
Coordenadas do mundo (x, y, z) para symbol position. |
↳ enableGold |
false |
Disable gold purchases / تعطيل الشراء بالذهب |
↳ goldSymbol |
"G" |
Valor em dinheiro para gold symbol. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ cashType |
0 |
Legacy cash fallback |
↳ goldType |
1 |
Gold (disabled / معطل) |
GoldRol |
false |
Disable gold completely / تعطيل الذهب والقولد |
MarketFoodShop |
table |
Tabela de entradas de market food shop. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ currencyType |
0 |
Cash ($) |
↳ maxQuantity |
10 |
Limite máximo para max quantity. |
↳ items |
table |
Itens de inventário usados por items. Os nomes precisam existir na tabela jrs_items. |
PetsStoreLogic |
table |
Tabela de entradas de pets store logic. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Valor em dinheiro para heal price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ whereTheyAreKept |
table |
Tabela de entradas de where they are kept. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ mating |
table |
Tabela de entradas de mating. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ storePetAge |
table |
Tabela de entradas de store pet age. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
PetsLogic |
table |
Tabela de entradas de pets logic. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ballItem |
"Ball" |
Itens de inventário usados por ball item. Os nomes precisam existir na tabela jrs_items. |
↳ renameItem |
"HorseTag" |
Itens de inventário usados por rename item. Os nomes precisam existir na tabela jrs_items. |
↳ cooldownForWhistle |
5 |
Ajuste de tempo para cooldown for whistle. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ageingSetup |
table |
Tabela de entradas de ageing setup. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ statusSetup |
table |
Tabela de entradas de status setup. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ experienceSystem |
table |
Tabela de entradas de experience system. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ bondingSystem |
table |
Bonding system how much is horse friend with you. |
canHoldAnimals |
table |
You can use here GetHashKey("animal"), |
↳ -1910795227 |
true |
Chave para 1910795227: true = ligado, false = desligado (padrão true). |
↳ -930822792 |
true |
Chave para 930822792: true = ligado, false = desligado (padrão true). |
↳ 831859211 |
true |
Chave para 831859211: true = ligado, false = desligado (padrão true). |
↳ 1095117488 |
true |
Chave para 1095117488: true = ligado, false = desligado (padrão true). |
↳ -930822792 |
true |
Chave para 930822792: true = ligado, false = desligado (padrão true). |
↳ -541762431 |
true |
Chave para 541762431: true = ligado, false = desligado (padrão true). |
↳ 1465438313 |
true |
Chave para 1465438313: true = ligado, false = desligado (padrão true). |
↳ 1095117488 |
true |
Chave para 1095117488: true = ligado, false = desligado (padrão true). |
↳ 1458540991 |
true |
Chave para 1458540991: true = ligado, false = desligado (padrão true). |
↳ 1465438313 |
true |
Chave para 1465438313: true = ligado, false = desligado (padrão true). |
↳ -1134449699 |
true |
Chave para 1134449699: true = ligado, false = desligado (padrão true). |
↳ -575340245 |
true |
Chave para 575340245: true = ligado, false = desligado (padrão true). |
↳ 386506078 |
true |
Chave para 386506078: true = ligado, false = desligado (padrão true). |
↳ -861544272 |
true |
Chave para 861544272: true = ligado, false = desligado (padrão true). |
↳ -564099192 |
true |
Chave para 564099192: true = ligado, false = desligado (padrão true). |
↳ 1104697660 |
true |
Chave para 1104697660: true = ligado, false = desligado (padrão true). |
↳ 1459778951 |
true |
Chave para 1459778951: true = ligado, false = desligado (padrão true). |
↳ -2145890973 |
true |
Chave para 2145890973: true = ligado, false = desligado (padrão true). |
↳ -1003616053 |
true |
Chave para 1003616053: true = ligado, false = desligado (padrão true). |
↳ 723190474 |
true |
Chave para 723190474: true = ligado, false = desligado (padrão true). |
↳ 1095117488 |
true |
Chave para 1095117488: true = ligado, false = desligado (padrão true). |
↳ 1205982615 |
true |
Chave para 1205982615: true = ligado, false = desligado (padrão true). |
↳ -2063183075 |
true |
Chave para 2063183075: true = ligado, false = desligado (padrão true). |
↳ -2073130256 |
true |
Chave para 2073130256: true = ligado, false = desligado (padrão true). |
↳ 1416324601 |
true |
Chave para 1416324601: true = ligado, false = desligado (padrão true). |
↳ 1265966684 |
true |
Chave para 1265966684: true = ligado, false = desligado (padrão true). |
↳ -1797450568 |
true |
Chave para 1797450568: true = ligado, false = desligado (padrão true). |
↳ 2079703102 |
true |
Chave para 2079703102: true = ligado, false = desligado (padrão true). |
↳ -164963696 |
true |
Chave para 164963696: true = ligado, false = desligado (padrão true). |
↳ -1076508705 |
true |
Chave para 1076508705: true = ligado, false = desligado (padrão true). |
↳ 2023522846 |
true |
Chave para 2023522846: true = ligado, false = desligado (padrão true). |
↳ -466687768 |
true |
Chave para 466687768: true = ligado, false = desligado (padrão true). |
↳ -575340245 |
true |
Chave para 575340245: true = ligado, false = desligado (padrão true). |
↳ -466054788 |
true |
Chave para 466054788: true = ligado, false = desligado (padrão true). |
↳ -2011226991 |
true |
Chave para 2011226991: true = ligado, false = desligado (padrão true). |
↳ -166054593 |
true |
Chave para 166054593: true = ligado, false = desligado (padrão true). |
↳ 1104697660 |
true |
Chave para 1104697660: true = ligado, false = desligado (padrão true). |
↳ 0000000000 |
true |
Chave para 0000000000: true = ligado, false = desligado (padrão true). |
↳ -1211566332 |
true |
Chave para 1211566332: true = ligado, false = desligado (padrão true). |
↳ 2105463796 |
true |
Chave para 2105463796: true = ligado, false = desligado (padrão true). |
↳ -1414989025 |
true |
Chave para 1414989025: true = ligado, false = desligado (padrão true). |
↳ -1170118274 |
true |
Chave para 1170118274: true = ligado, false = desligado (padrão true). |
↳ 1502581273 |
true |
Chave para 1502581273: true = ligado, false = desligado (padrão true). |
↳ -125323032 |
true |
Chave para 125323032: true = ligado, false = desligado (padrão true). |
↳ 1203222291 |
true |
Chave para 1203222291: true = ligado, false = desligado (padrão true). |
↳ 740300135 |
true |
Chave para 740300135: true = ligado, false = desligado (padrão true). |
↳ -2054685425 |
true |
Chave para 2054685425: true = ligado, false = desligado (padrão true). |
↳ -1610495764 |
true |
Chave para 1610495764: true = ligado, false = desligado (padrão true). |
↳ -1028170431 |
true |
Chave para 1028170431: true = ligado, false = desligado (padrão true). |
↳ -1523680261 |
true |
Chave para 1523680261: true = ligado, false = desligado (padrão true). |
canHuntAnimals |
table |
Modelo ou entidade do jogo usado para 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 |
Liga ou desliga enabled (padrão true). |
↳ commands |
table |
Tabela de entradas de commands. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ targeting |
table |
Tabela de entradas de targeting. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ panel |
table |
Tabela de entradas de panel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ progression |
table |
Tabela de entradas de progression. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ metabolism |
table |
Tabela de entradas de metabolism. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ behavior |
table |
Tabela de entradas de behavior. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ revive |
table |
Tabela de entradas de revive. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ sounds |
table |
Tabela de entradas de sounds. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Liga ou desliga enabled (padrão true). |
↳ openOnRightClick |
false |
Mouse 2 is reserved for hold-only pet vitals. |
↳ debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
↳ distance |
4.5 |
Distância em unidades do jogo para distance. |
↳ lookDot |
0.955 |
Número para look dot (padrão 0.955). |
↳ holdDurationMs |
120 |
Ajuste de tempo para hold duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ reopenDelayMs |
700 |
Ajuste de tempo para reopen delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ inputDebounceMs |
180 |
Tecla ou controle usado para input debounce ms. Os controles são valores hash da lista de entradas do jogo. |
↳ consumeControls |
true |
Chave para consume controls: true = ligado, false = desligado (padrão true). |
↳ closeAfterAction |
true |
Chave para close after action: true = ligado, false = desligado (padrão true). |
↳ fallbackCommand |
"jrspetmenu" |
Ajuste para fallback command. |
↳ noPetText |
"Call your pet before openin... |
Texto mostrado ao jogador para no pet text. Altere para traduzir ou renomear. |
↳ tooFarText |
"Move closer to your pet." |
Texto mostrado ao jogador para too far text. Altere para traduzir ou renomear. |
↳ controls |
table |
Tabela de entradas de controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de fixitfy features. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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" |
Ajuste para a c cat 01. |
↳ a_c_raccoon_01 |
"raccoon" |
Ajuste para a c raccoon 01. |
↳ a_c_fox_01 |
"fox", ["mp_a_c_fox_01"] = "... |
Ajuste para a c fox 01. |
↳ a_c_pig_01 |
"pig" |
Ajuste para a c pig 01. |
↳ a_c_rabbit_01 |
"rabbit" |
Ajuste para a c rabbit 01. |
↳ a_c_squirrel_01 |
"squirrel", ["a_c_chipmunk_0... |
Ajuste para a c squirrel 01. |
↳ a_c_badger_01 |
"badger" |
Ajuste para a c badger 01. |
↳ a_c_deer_01 |
"deer" |
Ajuste para a c deer 01. |
↳ a_c_eagle_01 |
"eagle", ["a_c_hawk_01"] = "... |
Ajuste para a c eagle 01. |
↳ a_c_crow_01 |
"crow", ["a_c_raven_01"] = "... |
Ajuste para a c crow 01. |
↳ a_c_sparrow_01 |
"sparrow", ["a_c_songbird_01... |
Ajuste para a c sparrow 01. |
↳ a_c_cardinal_01 |
"sparrow", ["a_c_bluejay_01"... |
Ajuste para a c cardinal 01. |
↳ a_c_oriole_01 |
"sparrow", ["a_c_carolinapar... |
Ajuste para a c oriole 01. |
↳ a_c_owl_01 |
"owl" |
Ajuste para a c owl 01. |
↳ a_c_bear_01 |
"bear", ["a_c_bearblack_01"]... |
Ajuste para a c bear 01. |
↳ a_c_wolf |
"wolf", ["a_c_wolf_medium"] ... |
Ajuste para a c wolf. |
↳ a_c_moose_01 |
"moose" |
Ajuste para 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 |
Tabela de entradas de raccoon. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ fox |
table |
Tabela de entradas de fox. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ pig |
table |
Tabela de entradas de pig. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ cat |
table |
Tabela de entradas de cat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rabbit |
table |
Tabela de entradas de rabbit. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ squirrel |
table |
Tabela de entradas de squirrel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ badger |
table |
Tabela de entradas de badger. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ deer |
table |
Tabela de entradas de deer. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ eagle |
table |
Tabela de entradas de eagle. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ crow |
table |
Tabela de entradas de crow. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ sparrow |
table |
Tabela de entradas de sparrow. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ owl |
table |
Tabela de entradas de owl. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ bear |
table |
Tabela de entradas de bear. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wolf |
table |
Tabela de entradas de wolf. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moose |
table |
Tabela de entradas de moose. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/configCoords.lua - 7 opções#
General
| Setting | Default | What it does |
|---|---|---|
Shops |
table |
Tabela de entradas de shops. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 0 |
table |
U cant remove this |
↳ 1 |
table |
Tabela de entradas de 1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de player store. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/configJobs.lua - 4 opções#
General
| Setting | Default | What it does |
|---|---|---|
Jobs |
table |
Quem pode: empregos, grupos ou permissões para jobs. |
↳ PetTrainer |
table |
Tabela de entradas de pet trainer. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Petbreeder |
table |
Tabela de entradas de petbreeder. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Config.DebugAndBaseOption.defaultUnemployedJob |
table |
default setting (any job not listed above) |
config/configLang.lua - 87 opções#
General
| Setting | Default | What it does |
|---|---|---|
Language |
table |
Idioma da interface deste script (en ou ar). |
↳ notifyTitle |
"الحيوانات الأليفة" |
Texto mostrado ao jogador para notify title. Altere para traduzir ou renomear. |
↳ notifyImage |
"pets" |
Texto mostrado ao jogador para notify image. Altere para traduzir ou renomear. |
↳ notifyInHandBlock |
table |
Notifications |
↳ notifyInInteraction |
table |
Texto mostrado ao jogador para notify in interaction. Altere para traduzir ou renomear. |
↳ notifyPetsDoesHaveAnySkill |
table |
Texto mostrado ao jogador para notify pets does have any skill. Altere para traduzir ou renomear. |
↳ notifyYourPetLearnSkill |
table |
Texto mostrado ao jogador para notify your pet learn skill. Altere para traduzir ou renomear. |
↳ notifyYourPetFailedLearnNewSkill |
table |
Texto mostrado ao jogador para notify your pet failed learn new skill. Altere para traduzir ou renomear. |
↳ notifyYourPetFailedLearn |
table |
Texto mostrado ao jogador para notify your pet failed learn. Altere para traduzir ou renomear. |
↳ notifyYourPetIsNotMuchOld |
table |
Texto mostrado ao jogador para notify your pet is not much old. Altere para traduzir ou renomear. |
↳ notifyYouAreSpammingInteraction |
table |
Texto mostrado ao jogador para notify you are spamming interaction. Altere para traduzir ou renomear. |
↳ notifyPetSometingFind |
table |
Texto mostrado ao jogador para notify pet someting find. Altere para traduzir ou renomear. |
↳ notifyYouAreIgnoringYourPet |
table |
Texto mostrado ao jogador para notify you are ignoring your pet. Altere para traduzir ou renomear. |
↳ notifyYourPetDidntFindNothing |
table |
Texto mostrado ao jogador para notify your pet didnt find nothing. Altere para traduzir ou renomear. |
↳ notifyYouSpammingYourPet |
table |
Texto mostrado ao jogador para notify you spamming your pet. Altere para traduzir ou renomear. |
↳ notifyYourPetIncreaseBondingTo |
table |
Texto mostrado ao jogador para notify your pet increase bonding to. Altere para traduzir ou renomear. |
↳ notifyYourPetStarving |
table |
Texto mostrado ao jogador para notify your pet starving. Altere para traduzir ou renomear. |
↳ notifyYourPetMustBeSelected |
table |
Texto mostrado ao jogador para notify your pet must be selected. Altere para traduzir ou renomear. |
↳ notifyYouNeedSelectCity |
table |
Texto mostrado ao jogador para notify you need select city. Altere para traduzir ou renomear. |
↳ notifyYouDontHavePermissions |
table |
Quem pode: empregos, grupos ou permissões para notify you dont have permissions. |
↳ notifyYouCantBreedThisWithThis |
table |
Texto mostrado ao jogador para notify you cant breed this with this. Altere para traduzir ou renomear. |
↳ notifyYouCantBreedMorePets |
table |
Texto mostrado ao jogador para notify you cant breed more pets. Altere para traduzir ou renomear. |
↳ notifyYouCantBuyMorePets |
table |
Texto mostrado ao jogador para notify you cant buy more pets. Altere para traduzir ou renomear. |
↳ notifyYouDontHaveEnoughMoney |
table |
Valor em dinheiro para notify you dont have enough money. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ notifyYouDontHaveEnoughGold |
table |
Valor em dinheiro para notify you dont have enough gold. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ notifyYouSuccessfullyBuyPet |
table |
Texto mostrado ao jogador para notify you successfully buy pet. Altere para traduzir ou renomear. |
↳ notifyYoutSuccessHealPet |
table |
Texto mostrado ao jogador para notify yout success heal pet. Altere para traduzir ou renomear. |
↳ notifyYouSuccessSellPet |
table |
Texto mostrado ao jogador para notify you success sell pet. Altere para traduzir ou renomear. |
↳ notifyYouSuccessBreedPet |
table |
Texto mostrado ao jogador para notify you success breed pet. Altere para traduzir ou renomear. |
↳ notifyYouSuccessTakeBack |
table |
Texto mostrado ao jogador para notify you success take back. Altere para traduzir ou renomear. |
↳ notifyYouSuccessTransferPet |
table |
Texto mostrado ao jogador para notify you success transfer pet. Altere para traduzir ou renomear. |
↳ notifyYouDontHaveItemsForFixBreed |
table |
Itens de inventário usados por notify you dont have items for fix breed. Os nomes precisam existir na tabela jrs_items. |
↳ notifyYouGiveItemToPet |
table |
Itens de inventário usados por notify you give item to pet. Os nomes precisam existir na tabela jrs_items. |
↳ notifyYouDontHaveNothingToGive |
table |
Texto mostrado ao jogador para notify you dont have nothing to give. Altere para traduzir ou renomear. |
↳ notifyYourPetIsHealed |
table |
Texto mostrado ao jogador para notify your pet is healed. Altere para traduzir ou renomear. |
↳ notifyYouNeedHaveCalledPet |
table |
Texto mostrado ao jogador para notify you need have called pet. Altere para traduzir ou renomear. |
↳ notifyAfterNextCallPet |
table |
Texto mostrado ao jogador para notify after next call pet. Altere para traduzir ou renomear. |
↳ notifyBallIsLossed |
table |
Texto mostrado ao jogador para notify ball is lossed. Altere para traduzir ou renomear. |
↳ notifyYourPetCantFetchBall |
table |
Texto mostrado ao jogador para notify your pet cant fetch ball. Altere para traduzir ou renomear. |
↳ answerDoYouWantSelectPet |
table |
Questions |
↳ answerDoYouWantResetAge |
table |
Tabela de entradas de answer do you want reset age. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerYourPetFoundSometingDoUWantBringIt |
table |
Tabela de entradas de answer your pet found someting do u want bring it. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerDoYouWantTransferToPet |
table |
Tabela de entradas de answer do you want transfer to pet. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerDoYouWantAcceptBreed |
table |
Tabela de entradas de answer do you want accept breed. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerDoYouWantHealFor |
table |
Tabela de entradas de answer do you want heal for. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerDoYouWantSellFor |
table |
Tabela de entradas de answer do you want sell for. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerDoYouWantTakeMoney |
table |
Valor em dinheiro para answer do you want take money. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ answerDoYouWantTakeBack |
table |
Tabela de entradas de answer do you want take back. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerDoYouWantBuyFor |
table |
Tabela de entradas de answer do you want buy for. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ answerDoYouWantAddPetToStore |
table |
Tabela de entradas de answer do you want add pet to store. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ doYouWantTransferPetToPlayer |
table |
Tabela de entradas de do you want transfer pet to player. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ multiInputAge |
table |
Multi inputs |
↳ multiInputGender |
table |
Tecla ou controle usado para multi input gender. Os controles são valores hash da lista de entradas do jogo. |
↳ multiInputName |
table |
Tecla ou controle usado para multi input name. Os controles são valores hash da lista de entradas do jogo. |
↳ inputPetsName |
table |
Inputs |
↳ inputPetsPrice |
table |
Valor em dinheiro para input pets price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ inputPetsDesc |
table |
Tecla ou controle usado para input pets desc. Os controles são valores hash da lista de entradas do jogo. |
↳ promptOpenStore |
table |
Prompts |
↳ promptOpenPlayerStore |
table |
Texto mostrado ao jogador para prompt open player store. Altere para traduzir ou renomear. |
↳ promptPetInteraction |
table |
Texto mostrado ao jogador para prompt pet interaction. Altere para traduzir ou renomear. |
↳ promptPetSkills |
table |
Texto mostrado ao jogador para prompt pet skills. Altere para traduzir ou renomear. |
↳ promptPetFlee |
table |
Texto mostrado ao jogador para prompt pet flee. Altere para traduzir ou renomear. |
↳ promptPetHunt |
table |
Texto mostrado ao jogador para prompt pet hunt. Altere para traduzir ou renomear. |
↳ promptPetTransfer |
table |
Texto mostrado ao jogador para prompt pet transfer. Altere para traduzir ou renomear. |
↳ promptPetText |
table |
Texto mostrado ao jogador para prompt pet text. Altere para traduzir ou renomear. |
↳ oldAge |
"مسن" |
General values |
↳ male |
"ذكر" |
Ajuste para male. |
↳ female |
"أنثى" |
Ajuste para female. |
↳ yes |
"نعم" |
Ajuste para yes. |
↳ no |
"لا" |
Ajuste para no. |
↳ s |
"ثانية" |
Ajuste para s. |
↳ petsStoreTitle |
"الحيوانات الأليفة" |
Store UI |
↳ menuStore |
"المتجر" |
Ajuste para menu store. |
↳ menuBreed |
"التزاوج" |
Ajuste para menu breed. |
↳ menuTransfer |
"النقل" |
Ajuste para menu transfer. |
↳ menuPlayerStoreAddPet |
"عرض الحيوان" |
Player market / pet information |
↳ menuPlayerStoreName |
"الاسم" |
Texto mostrado ao jogador para menu player store name. Altere para traduzir ou renomear. |
↳ menuPlayerStoreGender |
"الجنس" |
Ajuste para menu player store gender. |
↳ menuPlayerStoreExp |
"الخبرة" |
Ajuste para menu player store exp. |
↳ menuPlayerStorePrice |
"السعر" |
Valor em dinheiro para menu player store price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ menuPlayerStoreAge |
"العمر" |
Ajuste para menu player store age. |
↳ menuPlayerStoreDesc |
"الوصف" |
Ajuste para menu player store desc. |
↳ menuPetsSpots |
"الفرو / اللون" |
Ajuste para menu pets spots. |
↳ menuStoreExp |
"الخبرة" |
Ajuste para menu store exp. |
↳ menuStoreGender |
"الجنس" |
Ajuste para menu store gender. |
↳ menuStoreAge |
"العمر" |
Ajuste para menu store age. |
↳ menuStoreBreed |
"التزاوج" |
Ajuste para menu store breed. |
config/configPets.lua - 20 opções#
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 |
Tabela de entradas de pets config. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogHusky_01 |
table |
Tabela de entradas de a c dog husky 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogRufus_01 |
table |
Tabela de entradas de a c dog rufus 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogLab_01 |
table |
Tabela de entradas de a c dog lab 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogBluetickCoonhound_01 |
table |
Tabela de entradas de a c dog bluetick coonhound 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogHound_01 |
table |
Tabela de entradas de a c dog hound 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogCollie_01 |
table |
Tabela de entradas de a c dog collie 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogChesBayRetriever_01 |
table |
Tabela de entradas de a c dog ches bay retriever 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_DogAmericanFoxhound_01 |
table |
Tabela de entradas de a c dog american foxhound 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_dogaustraliansheperd_01 |
table |
Tabela de entradas de a c dogaustraliansheperd 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_doghobo_01 |
table |
Tabela de entradas de a c doghobo 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_dogcatahoulacur_01 |
table |
Tabela de entradas de a c dogcatahoulacur 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_dogpoodle_01 |
table |
Tabela de entradas de a c dogpoodle 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_Cat_01 |
table |
Tabela de entradas de a c cat 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_bearblack_01 |
table |
Tabela de entradas de a c bearblack 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_squirrel_01 |
table |
Tabela de entradas de a c squirrel 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_owl_01 |
table |
Tabela de entradas de a c owl 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_parrot_01 |
table |
Tabela de entradas de a c parrot 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_rabbit_01 |
table |
Tabela de entradas de a c rabbit 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/configPetShop.lua - 19 opções#
Payment: every category is paid in Store Money (price) unless the category has
| Setting | Default | What it does |
|---|---|---|
PetShop |
table |
Tabela de entradas de pet shop. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ enabled |
true |
Liga ou desliga enabled (padrão 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 |
Mínimo ou nível exigido para name min length. |
↳ nameMaxLength |
24 |
Limite máximo para 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 |
Tabela de entradas de themes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Chave para unique pet names: true = ligado, false = desligado (padrão 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#
# 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 opções#
REDEMPIRE RANCH 3.1.3 - ADMIN CONTROL CENTER, HERD TRANSFERS AND CATTLE RUSTLING
| Setting | Default | What it does |
|---|---|---|
RanchAdmin |
table |
Quem pode: empregos, grupos ou permissões para ranch admin. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Command |
"ranchadmin" |
Ajuste para command. |
↳ PageSize |
100 |
Número para page size (padrão 100). |
↳ RecentLogLimit |
40 |
Limite máximo para recent log limit. |
↳ TeleportHeightOffset |
1.0 |
Número para teleport height offset (padrão 1.0). |
↳ AuditConsole |
true |
Chave para audit console: true = ligado, false = desligado (padrão true). |
HerdTransfer |
table |
Tabela de entradas de herd transfer. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ AllowSelectedAnimals |
true |
Allows selected animals: true = sim, false = não (padrão true). |
↳ AllowWholeHerd |
true |
Allows whole herd: true = sim, false = não (padrão true). |
↳ RespectFarmCapacity |
true |
Chave para respect farm capacity: true = ligado, false = desligado (padrão true). |
↳ BlockPregnantAnimals |
true |
Chave para block pregnant animals: true = ligado, false = desligado (padrão true). |
↳ LockBlocksAdminTransfer |
true |
Chave para lock blocks admin transfer: true = ligado, false = desligado (padrão true). |
↳ LockBlocksRustling |
true |
Chave para lock blocks rustling: true = ligado, false = desligado (padrão true). |
↳ MaxAnimalsPerRequest |
250 |
Limite máximo para max animals per request. |
CattleRustling |
table |
Tabela de entradas de cattle rustling. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ RequireFarmOwner |
true |
Requires farm owner: true = sim, false = não (padrão true). |
↳ MinimumFarmRank |
1 |
1 Owner, 2 Manager, 3 Senior, 4 Worker |
↳ InteractionDistance |
3.0 |
Distância em unidades do jogo para interaction distance. |
↳ ServerDistancePadding |
2.0 |
Distância em unidades do jogo para server distance padding. |
↳ PromptControl |
0xE30CD707 |
Tecla ou controle usado para prompt control. Os controles são valores hash da lista de entradas do jogo. |
↳ PromptHoldMs |
1200 |
Texto mostrado ao jogador para prompt hold ms. Altere para traduzir ou renomear. |
↳ ScanIntervalMs |
500 |
Ajuste de tempo para scan interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ 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 |
Ajuste de tempo para freeze control timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ FreezeRefreshMs |
90 |
Número para freeze refresh ms (padrão 90). |
↳ AttemptCooldownSeconds |
900 |
Ajuste de tempo para attempt cooldown seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SessionExpireSeconds |
75 |
Ajuste de tempo para session expire seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MinimumAttemptSeconds |
3 |
Mínimo ou nível exigido para minimum attempt seconds. |
↳ SuccessChance |
75 |
Taxa ou multiplicador para success chance. |
↳ GuardDogSuccessPenalty |
20 |
Número para guard dog success penalty (padrão 20). |
↳ BlockPregnantAnimals |
true |
Chave para block pregnant animals: true = ligado, false = desligado (padrão true). |
↳ BlockYoungAnimalsBelowGrowth |
35 |
Modelo ou entidade do jogo usado para block young animals below growth. |
↳ RequireVictimOwnerOnline |
false |
Requires victim owner online: true = sim, false = não (padrão false). |
↳ NotifyVictim |
true |
Chave para notify victim: true = ligado, false = desligado (padrão true). |
↳ NotifyTargetFarm |
true |
Chave para notify target farm: true = ligado, false = desligado (padrão true). |
↳ FailedAttemptNotifiesVictim |
true |
Chave para failed attempt notifies victim: true = ligado, false = desligado (padrão true). |
↳ MinigameProfile |
table |
Tabela de entradas de minigame profile. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ AnimationProfile |
"rustle_animal" |
Ajustes de animação para animation profile. |
↳ Dispatch |
table |
Tabela de entradas de dispatch. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 opções#
animals_care.lua : Animal interaction, previews, care, species and breeding
| Setting | Default | What it does |
|---|---|---|
AnimalInfo |
table |
Modelo ou entidade do jogo usado para animal info. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Control |
0xF84FA74F |
Right Mouse / INPUT_AIM |
↳ MaxDistance |
3.5 |
Distância em unidades do jogo para max distance. |
↳ UseModelHeight |
true |
Liga ou desliga model height (padrão true). |
↳ HeightOffset |
1.45 |
Fallback when model dimensions are unavailable |
↳ HeightPadding |
0.14 |
Número para height padding (padrão 0.14). |
↳ MinimumHeight |
0.35 |
Mínimo ou nível exigido para 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 |
Chave para health only: true = ligado, false = desligado (padrão true). |
↳ HealthDisplayDistance |
3.25 |
Distância em unidades do jogo para 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 |
Liga ou desliga enabled (padrão true). |
↳ DurationMs |
0 |
persistent until another animal/tab/camera is selected |
↳ SpawnDistance |
4.0 |
Distância em unidades do jogo para spawn distance. |
↳ CameraDistance |
4.2 |
Distância em unidades do jogo para camera distance. |
↳ CameraHeight |
1.35 |
Número para camera height (padrão 1.35). |
↳ RotationSpeed |
8.0 |
Número para rotation speed (padrão 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 |
Liga ou desliga enabled (padrão true). |
↳ MaxDistanceFromPlayer |
120.0 |
Distância em unidades do jogo para max distance from player. |
↳ CheckIntervalMs |
5000 |
Ajuste de tempo para check interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ NotifyOwner |
true |
Chave para notify owner: true = ligado, false = desligado (padrão 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 |
Liga ou desliga enabled (padrão true). |
↳ InteractionDistance |
3.5 |
Distância em unidades do jogo para interaction distance. |
↳ ActionCooldownSeconds |
3 |
Ajuste de tempo para action cooldown seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ Controls |
table |
Tabela de entradas de controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ StartStats |
table |
Tabela de entradas de start stats. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Actions |
table |
Tabela de entradas de actions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Número para menu water gain (padrão 50). |
↳ LakeDrink |
table |
Tabela de entradas de lake drink. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Decay |
table |
Tabela de entradas de decay. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ProductionRequirements |
table |
Tabela de entradas de production requirements. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Fx |
Config.FarmCareFx |
Ajuste para 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 |
Tabela de entradas de a c bull 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_cow |
table |
Tabela de entradas de a c cow. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_pig_01 |
table |
Tabela de entradas de a c pig 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_sheep_01 |
table |
Tabela de entradas de a c sheep 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_goat_01 |
table |
Tabela de entradas de a c goat 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_chicken_01 |
table |
Tabela de entradas de a c chicken 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_rooster_01 |
table |
Tabela de entradas de a c rooster 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_turkey_01 |
table |
Tabela de entradas de a c turkey 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Breeding |
table |
Tabela de entradas de breeding. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão 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 |
Mínimo ou nível exigido para minimum age minutes. |
↳ MinimumScale |
0.85 |
Mínimo ou nível exigido para minimum scale. |
↳ MinimumGrowthPercent |
75 |
Mínimo ou nível exigido para minimum growth percent. |
↳ RequirementsByGroup |
table |
Optional stricter maturity rules per species group. |
↳ MinimumStats |
table |
Mínimo ou nível exigido para minimum stats. |
↳ ChancePercent |
75 |
Taxa ou multiplicador para chance percent. |
↳ CooldownSeconds |
60 * 60 |
Ajuste de tempo para cooldown seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DefaultGestationSeconds |
45 * 60 |
Ajuste para default gestation seconds. |
↳ GestationSeconds |
table |
Tabela de entradas de gestation seconds. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ WorkerTiers |
table |
Tabela de entradas de worker tiers. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ HalfTierDailyLimit |
3 |
Limite máximo para 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 |
Liga ou desliga enabled (padrão true). |
↳ LoadTimeoutMs |
2400 |
Ajuste de tempo para load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ EnterDurationMs |
1650 |
Ajuste de tempo para enter duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ RestartCheckMs |
4500 |
Número para restart check ms (padrão 4500). |
↳ VariationEnabled |
true |
Chave para variation enabled: true = ligado, false = desligado (padrão true). |
↳ VariationMinDelayMs |
6500 |
Ajuste de tempo para variation min delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ VariationMaxDelayMs |
12000 |
Ajuste de tempo para variation max delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ VariationDurationMs |
3600 |
Ajuste de tempo para variation duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ Profiles |
table |
Tabela de entradas de profiles. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Resting |
table |
Tabela de entradas de resting. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ MaxEnemies |
4 |
Limite máximo para max enemies. |
↳ Control |
0xD27782E3 |
Tecla ou controle usado para control. Os controles são valores hash da lista de entradas do jogo. |
↳ Label |
"Rest / Leave Rest" |
Texto mostrado ao jogador para label. Altere para traduzir ou renomear. |
↳ InteractionDistance |
2.5 |
Distância em unidades do jogo para interaction distance. |
↳ DecayMultiplier |
0.25 |
Taxa ou multiplicador para decay multiplier. |
↳ HealthRecoveryPerTick |
2 |
Número para health recovery per tick (padrão 2). |
↳ HappinessRecoveryPerTick |
3 |
Número para happiness recovery per tick (padrão 3). |
Selling |
table |
Tabela de entradas de selling. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
Slaughter |
table |
Tabela de entradas de slaughter. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Control |
0x9959A6F0 |
Tecla ou controle usado para control. Os controles são valores hash da lista de entradas do jogo. |
↳ Label |
"Slaughter Animal" |
Texto mostrado ao jogador para label. Altere para traduzir ou renomear. |
↳ InteractionDistance |
2.5 |
Distância em unidades do jogo para interaction distance. |
↳ Duration |
7000 |
Ajuste de tempo para duration. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ PlayerAnimation |
table |
Ajustes de animação para player animation. |
↳ AnimalAnimation |
table |
Modelo ou entidade do jogo usado para animal animation. |
↳ MinimumGrowthPercent |
95 |
Mínimo ou nível exigido para minimum growth percent. |
↳ MinimumStats |
table |
Mínimo ou nível exigido para 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 opções#
animals_spawn_products.lua : Selling, slaughter, herding, spawn optimization, gr
| Setting | Default | What it does |
|---|---|---|
SellingRequirements |
table |
Tabela de entradas de selling requirements. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ MinimumGrowthPercent |
95 |
Mínimo ou nível exigido para minimum growth percent. |
↳ MinimumStats |
table |
Mínimo ou nível exigido para minimum stats. |
Herding |
table |
Tabela de entradas de herding. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ BellItem |
"ranch_bell" |
Itens de inventário usados por bell item. Os nomes precisam existir na tabela jrs_items. |
↳ RequireBell |
true |
Requires bell: true = sim, false = não (padrão true). |
↳ Command |
"ranchbell" |
Ajuste para command. |
↳ Radius |
50.0 |
Distância em unidades do jogo para radius. |
↳ FollowDurationSeconds |
15 * 60 |
Ajuste de tempo para follow duration seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ FollowDistance |
3.0 |
Distância em unidades do jogo para follow distance. |
AnimalBlips |
table |
Ajustes do blip ou ícone do mapa para animal blips. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Label |
"My Animal" |
Texto mostrado ao jogador para label. Altere para traduzir ou renomear. |
↳ Sprite |
(Config.RanchBlips and Confi... |
Ajustes do blip ou ícone do mapa para sprite. |
↳ Scale |
(Config.RanchBlips and Confi... |
Taxa ou multiplicador para scale. |
↳ ModColor |
(Config.RanchBlips and Confi... |
Ajuste para 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 |
Liga ou desliga enabled (padrão true). |
↳ CheckIntervalMs |
7000 |
Lightweight recovery: never recreate a whole herd on one frame. |
↳ MaxRespawnsPerPass |
1 |
Limite máximo para max respawns per pass. |
↳ RespawnStepMs |
320 |
Ajuste de tempo para respawn step ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MissingConfirmMs |
2600 |
Número para missing confirm ms (padrão 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 |
Ajuste de tempo para model load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ModelPollMs |
25 |
Modelo ou entidade do jogo usado para model poll ms. |
↳ ModelKeepAliveMs |
45000 |
Modelo ou entidade do jogo usado para model keep alive ms. |
↳ ModelCleanupIntervalMs |
20000 |
Ajuste de tempo para model cleanup interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BulkBatchSize |
1 |
Número para bulk batch size (padrão 1). |
↳ BulkBatchDelayMs |
180 |
Ajuste de tempo para bulk batch delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BulkDeleteBatchSize |
1 |
Número para bulk delete batch size (padrão 1). |
↳ BulkDeleteDelayMs |
160 |
Ajuste de tempo para bulk delete delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
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" |
Ajuste para 0. |
↳ 1 |
"Pattern 1" |
Ajuste para 1. |
↳ 2 |
"Pattern 2" |
Ajuste para 2. |
Growth |
table |
Tabela de entradas de growth. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de a c bull 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_cow |
table |
Tabela de entradas de a c cow. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_sheep_01 |
table |
Tabela de entradas de a c sheep 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_goat_01 |
table |
Tabela de entradas de a c goat 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_pig_01 |
table |
Tabela de entradas de a c pig 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_chicken_01 |
table |
Tabela de entradas de a c chicken 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_rooster_01 |
table |
Tabela de entradas de a c rooster 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_turkey_01 |
table |
Tabela de entradas de a c turkey 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
AnimalProducts |
table |
Modelo ou entidade do jogo usado para animal products. |
↳ a_c_bull_01 |
table |
Tabela de entradas de a c bull 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_cow |
table |
Tabela de entradas de a c cow. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_pig_01 |
table |
Tabela de entradas de a c pig 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_sheep_01 |
table |
Tabela de entradas de a c sheep 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_goat_01 |
table |
Tabela de entradas de a c goat 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_chicken_01 |
table |
Tabela de entradas de a c chicken 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_rooster_01 |
table |
Tabela de entradas de a c rooster 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_turkey_01 |
table |
Tabela de entradas de a c turkey 01. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de age pricing. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ young |
0.5 |
Número para young (padrão 0.5). |
↳ prime |
1.5 |
Número para prime (padrão 1.5). |
↳ adult |
1.0 |
Número para adult (padrão 1.0). |
↳ old |
0.7 |
Número para old (padrão 0.7). |
BaseSellPrices |
table |
Tabela de entradas de base sell prices. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ a_c_bull_01 |
20.00 |
Número para a c bull 01 (padrão 20.00). |
↳ a_c_cow |
15.00 |
Número para a c cow (padrão 15.00). |
↳ a_c_pig_01 |
7.00 |
Número para a c pig 01 (padrão 7.00). |
↳ a_c_sheep_01 |
5.00 |
Número para a c sheep 01 (padrão 5.00). |
↳ a_c_goat_01 |
4.50 |
Número para a c goat 01 (padrão 4.50). |
↳ a_c_chicken_01 |
0.75 |
Número para a c chicken 01 (padrão 0.75). |
↳ a_c_rooster_01 |
1.00 |
Número para a c rooster 01 (padrão 1.00). |
↳ a_c_turkey_01 |
1.25 |
Número para a c turkey 01 (padrão 1.25). |
config/blips.lua - 26 opções#
blips.lua : Duty-only ranch map blips
| Setting | Default | What it does |
|---|---|---|
RanchBlips |
table |
Ajustes do blip ou ícone do mapa para ranch blips. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ OnDutyOnly |
true |
Chave para on duty only: true = ligado, false = desligado (padrão true). |
↳ ForceWhite |
true |
Forces white: true = sim, false = não (padrão true). |
↳ WhiteColor |
WHITE |
Ajuste para 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 |
Tabela de entradas de unified. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Ranch |
table |
Tabela de entradas de ranch. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RestingZone |
table |
Tabela de entradas de resting zone. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ AnimalSale |
table |
Modelo ou entidade do jogo usado para animal sale. |
↳ BredAnimalMarket |
table |
Modelo ou entidade do jogo usado para bred animal market. |
↳ Slaughter |
table |
Tabela de entradas de slaughter. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ CattleAuction |
table |
Tabela de entradas de cattle auction. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ AuctionRoute |
table |
Tabela de entradas de auction route. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Animal |
table |
Modelo ou entidade do jogo usado para animal. |
↳ GuardDog |
table |
Tabela de entradas de guard dog. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Predator |
table |
Tabela de entradas de predator. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Staff |
table |
Tabela de entradas de staff. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ FeedWagon |
table |
Tabela de entradas de feed wagon. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ HayPickup |
table |
Tabela de entradas de hay pickup. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RestingDestination |
table |
Tabela de entradas de resting destination. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Chore |
table |
Tabela de entradas de chore. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Tasks |
table |
Tabela de entradas de tasks. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ GeneralStore |
table |
Tabela de entradas de general store. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Bank |
table |
Tabela de entradas de bank. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ PostOffice |
table |
Tabela de entradas de post office. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/core.lua - 278 opções#
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 |
Liga ou desliga enabled (padrão true). |
↳ FailClosed |
false |
false: warn and continue with safe fallbacks |
↳ RequiredFiles |
table |
Tabela de entradas de required files. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
UpdateCheck |
table |
Tabela de entradas de update check. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ VersionUrl |
"" |
private REDEMPIRE JSON manifest URL |
↳ ReleaseUrl |
"" |
private download / release page shown in console |
↳ TimeoutMs |
5000 |
Ajuste de tempo para timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
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 |
Liga ou desliga enabled (padrão true). |
↳ CallbackWindowMs |
1000 |
Global callback transport limiter. Individual sensitive actions use stricter limits and short-lived transaction locks in server/farm.lua. |
↳ CallbackMaxCalls |
12 |
Limite máximo para callback max calls. |
↳ MaxCallbackPayloadEntries |
96 |
Limite máximo para max callback payload entries. |
↳ MaxCallbackStringLength |
1024 |
Limite máximo para max callback string length. |
↳ MaxCallbackDepth |
6 |
Limite máximo para max callback depth. |
↳ CallbackTimeoutMs |
15000 |
Ajuste de tempo para callback timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ServerCallbackTimeoutMs |
14000 |
Ajuste de tempo para server callback timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MaxPendingCallbacks |
96 |
Limite máximo para max pending callbacks. |
↳ CallbackLogCleanupIntervalMs |
300000 |
Ajuste de tempo para callback log cleanup interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CallbackLogMaxAgeMs |
600000 |
Limite máximo para callback log max age ms. |
↳ DatabaseQueryTimeoutMs |
30000 |
Ajuste de tempo para database query timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SharedLockCleanupIntervalMs |
300000 |
Ajuste de tempo para shared lock cleanup interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SecurityStateCleanupIntervalMs |
300000 |
Ajuste de tempo para security state cleanup interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SecurityStateMaxAgeMs |
600000 |
Limite máximo para security state max age ms. |
↳ DefaultWindowMs |
1000 |
Número para default window ms (padrão 1000). |
↳ DefaultMaxCalls |
4 |
Limite máximo para default max calls. |
↳ RateLimitStrikeThreshold |
6 |
Limite máximo para rate limit strike threshold. |
↳ RateLimitStrikeWindowMs |
5000 |
Limite máximo para rate limit strike window ms. |
↳ CallbackNameMaxLength |
96 |
Limite máximo para callback name max length. |
↳ UnknownCallbackWindowMs |
5000 |
Número para unknown callback window ms (padrão 5000). |
↳ UnknownCallbackMaxCalls |
8 |
Limite máximo para unknown callback max calls. |
↳ ViolationResetMs |
900000 |
Número para violation reset ms (padrão 900000). |
↳ AuditCooldownMs |
2000 |
Ajuste de tempo para audit cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MaxNetworkId |
2147483647 |
Limite máximo para max network id. |
↳ PredatorDamageWindowMs |
2000 |
Número para predator damage window ms (padrão 2000). |
↳ PredatorDamageMaxPerWindow |
50 |
Limite máximo para predator damage max per window. |
↳ PredatorEntityDistancePadding |
2.0 |
Distância em unidades do jogo para 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 |
Limite máximo para max violations. |
↳ KickMessage |
'REDEMPIRE Ranch: suspicious... |
Texto mostrado ao jogador para kick message. Altere para traduzir ou renomear. |
↳ MaxCoordinateAbsolute |
10000.0 |
Input / world bounds. |
↳ MaxAnimalBuyAmount |
30 |
Limite máximo para max animal buy amount. |
↳ MaxProduceCollectAmount |
1000 |
Limite máximo para max produce collect amount. |
↳ MaxMoneyTransaction |
10000 |
Valor em dinheiro para max money transaction. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ AnimalNameMaxLength |
30 |
Limite máximo para 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 |
Distância em unidades do jogo para animal return entity distance padding. |
↳ AnimalReturnPlayerDistance |
4.5 |
player must stand beside the actual animal ped |
↳ FeedStartDistance |
120.0 |
Distância em unidades do jogo para feed start distance. |
↳ FeedFinishExtraDistance |
20.0 |
Distância em unidades do jogo para feed finish extra distance. |
↳ HireDistance |
15.0 |
Distância em unidades do jogo para 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 |
Mínimo ou nível exigido para feed minimum grazing factor. |
↳ ProduceMinimumFactor |
0.25 |
Mínimo ou nível exigido para produce minimum factor. |
↳ ChoreMinimumFactor |
0.50 |
Mínimo ou nível exigido para chore minimum factor. |
↳ ChoreSessionExpireSeconds |
300 |
Ajuste de tempo para chore session expire seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DropLegacyTablesOnStartup |
false |
Never delete old/legacy tables automatically on every resource restart. Enable this only once when intentionally migrating an old installation. |
↳ CleanupOwnerlessMembershipsOnStartup |
false |
Chave para cleanup ownerless memberships on startup: true = ligado, false = desligado (padrão 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 |
Liga ou desliga enabled (padrão true). |
↳ CheckBeforeEveryGrant |
true |
Chave para check before every grant: true = ligado, false = desligado (padrão true). |
↳ VerifyAfterGrant |
true |
Chave para verify after grant: true = ligado, false = desligado (padrão true). |
↳ RejectWhenCarryCheckFails |
true |
Chave para reject when carry check fails: true = ligado, false = desligado (padrão true). |
↳ MaxSingleGrant |
1000 |
Limite máximo para max single grant. |
↳ VerifyAttempts |
14 |
Número para verify attempts (padrão 14). |
↳ VerifyDelayMs |
75 |
Ajuste de tempo para verify delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ FullMessage |
"Your inventory is full." |
Texto mostrado ao jogador para full message. Altere para traduzir ou renomear. |
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 |
Liga ou desliga enabled (padrão true). |
↳ DisableAllGameplayControls |
true |
Turns off all gameplay controls: true = sim, false = não (padrão true). |
↳ DisableWeaponSwitching |
true |
Turns off weapon switching: true = sim, false = não (padrão true). |
↳ DisablePlayerFiring |
true |
Turns off player firing: true = sim, false = não (padrão true). |
↳ ControlGroups |
table |
Tecla ou controle usado para control groups. Os controles são valores hash da lista de entradas do jogo. |
↳ 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 |
Tabela de entradas de values. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Número para refresh minutes (padrão 60). |
↳ Categories |
table |
Tabela de entradas de categories. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
FARM MARKET - care supplies + produce sales in one NUI tab
| Setting | Default | What it does |
|---|---|---|
FarmMarket |
table |
Tabela de entradas de farm market. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ AutoRegisterDatabaseItems |
true |
INSERT IGNORE all care/product item names into the jrs_inventory items table when it exists |
↳ MaxTransactionQuantity |
100 |
Limite máximo para max transaction quantity. |
↳ ProductFarmDepositPercent |
20 |
remainder is paid directly to the player |
↳ InventoryImageBase |
'nui://jrs_inventory/html/im... |
Ajuste para inventory image base. |
↳ InventoryImageExtension |
".png" |
Ajuste para inventory image extension. |
↳ UseInventoryImagesOnly |
true |
market never loads duplicate local item artwork |
↳ CareItems |
table |
Itens de inventário usados por care items. Os nomes precisam existir na tabela jrs_items. |
↳ 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 |
Limite máximo para world ring max segments. |
↳ WorldRingFarDistance |
35.0 |
Distância em unidades do jogo para world ring far distance. |
↳ WorldRingFarSegments |
16 |
Número para world ring far segments (padrão 16). |
↳ FarmNpcIdleMs |
2200 |
Número para farm npc idle ms (padrão 2200). |
↳ FarmNpcApproachDistance |
25.0 |
Distância em unidades do jogo para farm npc approach distance. |
↳ FarmNpcApproachMs |
350 |
Número para farm npc approach ms (padrão 350). |
↳ AnimalGroundProbeMs |
400 |
Modelo ou entidade do jogo usado para animal ground probe ms. |
↳ AnimalNearScanMs |
260 |
Modelo ou entidade do jogo usado para animal near scan ms. |
↳ AnimalIdleScanMs |
1250 |
Modelo ou entidade do jogo usado para animal idle scan ms. |
↳ AnimalActiveDistanceMs |
260 |
Distância em unidades do jogo para animal active distance ms. |
↳ AnimalIdleInputMs |
650 |
Tecla ou controle usado para animal idle input ms. Os controles são valores hash da lista de entradas do jogo. |
↳ AutoReturnIdleMs |
12000 |
Número para auto return idle ms (padrão 12000). |
↳ RustlingIdleScanMs |
1800 |
Número para rustling idle scan ms (padrão 1800). |
↳ RustlingNearScanMs |
500 |
Número para rustling near scan ms (padrão 500). |
↳ FeedMarkerDrawDistance |
70.0 |
Distância em unidades do jogo para feed marker draw distance. |
↳ RestingMarkerDrawDistance |
180.0 |
Distância em unidades do jogo para resting marker draw distance. |
↳ FeedWagonDrawDistance |
45.0 |
Distância em unidades do jogo para feed wagon draw distance. |
↳ FeedMissionTravelMs |
550 |
Número para feed mission travel ms (padrão 550). |
↳ FeedGrazingLoopMs |
2200 |
Número para feed grazing loop ms (padrão 2200). |
↳ StaticNpcStreamDistance |
115.0 |
Static ranch/resting NPC streaming. All static NPCs are local and only exist near the current player. |
↳ StaticNpcDespawnDistance |
165.0 |
Distância em unidades do jogo para static npc despawn distance. |
↳ StaticNpcIdleMs |
3000 |
Número para static npc idle ms (padrão 3000). |
↳ StaticNpcNearMs |
450 |
Número para static npc near ms (padrão 450). |
↳ StaticNpcModelLoadTimeoutMs |
3500 |
Ajuste de tempo para static npc model load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ StaticNpcModelPollMs |
35 |
Modelo ou entidade do jogo usado para 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 |
Número para predator health ui ms (padrão 160). |
↳ AnimalUiCoalesceMs |
80 |
Modelo ou entidade do jogo usado para animal ui coalesce ms. |
↳ StaleEntityCleanupMs |
45000 |
Número para stale entity cleanup ms (padrão 45000). |
↳ UiLevelRefreshMs |
2500 |
Mínimo ou nível exigido para ui level refresh ms. |
↳ MarketRefreshMs |
30000 |
Heavy-server defaults: refresh only while needed and keep payload churn low. |
↳ StaffRefreshMs |
30000 |
Número para staff refresh ms (padrão 30000). |
↳ UiStateRefreshMs |
18000 |
Número para ui state refresh ms (padrão 18000). |
↳ EntityBlipRefreshMs |
2500 |
Ajustes do blip ou ícone do mapa para entity blip refresh ms. |
↳ ChorePromptIdleMs |
1500 |
Texto mostrado ao jogador para chore prompt idle ms. Altere para traduzir ou renomear. |
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 |
Liga ou desliga enabled (padrão 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 |
Texto mostrado ao jogador para prompt idle ms. Altere para traduzir ou renomear. |
↳ ServerValidationPadding |
3.0 |
Número para server validation padding (padrão 3.0). |
↳ CooldownMs |
1500 |
Ajuste de tempo para cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ PromptKey |
0xCEFD9220 |
E |
↳ PromptText |
"Rest All Animals" |
Texto mostrado ao jogador para prompt text. Altere para traduzir ou renomear. |
↳ PromptGroup |
"Resting Manager" |
Quem pode: empregos, grupos ou permissões para prompt group. |
↳ PromptHoldMs |
800 |
Texto mostrado ao jogador para prompt hold ms. Altere para traduzir ou renomear. |
↳ 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 |
Liga ou desliga enabled (padrão true). |
↳ RequiredForWork |
true |
care, call/return, resting, produce, chores, breeding, selling and building |
↳ ApplyClothes |
true |
Chave para apply clothes: true = ligado, false = desligado (padrão true). |
↳ ButtonLabelOn |
"Go On Duty" |
Tecla ou controle usado para button label on. Os controles são valores hash da lista de entradas do jogo. |
↳ ButtonLabelOff |
"Go Off Duty" |
Tecla ou controle usado para button label off. Os controles são valores hash da lista de entradas do jogo. |
↳ RestoreCommand |
"rc" |
restores the character's saved clothing when leaving duty |
↳ ApplyDelayMs |
350 |
Ajuste de tempo para apply delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ 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" |
Quem pode: empregos, grupos ou permissões para required permission. |
↳ maleUniformSourcePed |
"a_m_m_ranchertravelers_warm_01" |
Duty clothing configuration (replicated from jrs_mining) |
↳ maleUniformOutfitPreset |
0 |
Número para male uniform outfit preset (padrão 0). |
↳ Uniform |
table |
Real multiplayer clothing components (applied as native components) |
↳ PerFarm |
table |
Tabela de entradas de per farm. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Messages |
table |
Texto mostrado ao jogador para messages. Altere para traduzir ou renomear. |
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 |
Liga ou desliga enabled (padrão 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 |
Tabela de entradas de auto return. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Liga ou desliga enabled (padrão true). |
↳ SessionSeconds |
70 |
Número para session seconds (padrão 70). |
↳ Types |
table |
Tabela de entradas de types. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Liga ou desliga enabled (padrão true). |
↳ LoadTimeoutMs |
4000 |
Ajuste de tempo para load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ RequestRetryMs |
250 |
Número para request retry ms (padrão 250). |
↳ VerifyStartMs |
1000 |
Número para verify start ms (padrão 1000). |
↳ ScenarioVerifyMs |
1800 |
Ajustes de animação para 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 |
Número para face target ms (padrão 650). |
↳ FreezeAnimalDuringInteraction |
true |
Chave para freeze animal during interaction: true = ligado, false = desligado (padrão true). |
↳ ClearPlayerTasksBeforeAction |
true |
Chave para clear player tasks before action: true = ligado, false = desligado (padrão true). |
↳ FallbackScenario |
"WORLD_HUMAN_CROUCH_INSPECT" |
Ajustes de animação para fallback scenario. |
↳ MaleFallbackAnimCandidates |
table |
Ajustes de animação para male fallback anim candidates. |
↳ FemaleFallbackAnimCandidates |
table |
Ajustes de animação para female fallback anim candidates. |
↳ Profiles |
table |
Tabela de entradas de profiles. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Limite máximo para max animals per farm. |
↳ MaxCalledAnimalsPerPlayer |
30 |
Limite máximo para 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 |
Limite máximo para 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 |
Liga ou desliga enabled (padrão true). |
↳ RequiresBuilding |
false |
building removed; storage is always open |
↳ RequiredType |
"barrel" |
Ajuste para required type. |
↳ RequiredLabel |
"Treasury Barrel" |
Texto mostrado ao jogador para required label. Altere para traduzir ou renomear. |
↳ LockedMessage |
'Build the Treasury Barrel i... |
Texto mostrado ao jogador para locked message. Altere para traduzir ou renomear. |
↳ CollectionLockedMessage |
'Build the Treasury Barrel i... |
Texto mostrado ao jogador para collection locked message. Altere para traduzir ou renomear. |
↳ 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 = sim, false = não (padrão true). |
↳ DepositMetadata |
true |
Chave para deposit metadata: true = ligado, false = desligado (padrão 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 |
Liga ou desliga enabled (padrão 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 |
Tabela de entradas de 1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 2 |
table |
Tabela de entradas de 2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 3 |
table |
Tabela de entradas de 3. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 4 |
table |
Tabela de entradas de 4. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Tabela de entradas de water. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ clean |
table |
Tabela de entradas de clean. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Número para clean per tick (padrão 5). |
↳ HappyPerTick |
5 |
Número para happy per tick (padrão 5). |
↳ HealthPerTick |
2 |
Número para health per tick (padrão 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 |
Tabela de entradas de sheep. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ pig |
table |
Tabela de entradas de pig. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ goat |
table |
Tabela de entradas de goat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ chicken |
table |
Tabela de entradas de chicken. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ turkey |
table |
Tabela de entradas de turkey. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 |
Liga ou desliga enabled (padrão true). |
↳ LeftControl |
0xDE794E3E |
Q |
↳ RightControl |
0xCEFD9220 |
E |
↳ LeftLabel |
"Rotate Left" |
Texto mostrado ao jogador para left label. Altere para traduzir ou renomear. |
↳ RightLabel |
"Rotate Right" |
Texto mostrado ao jogador para right label. Altere para traduzir ou renomear. |
↳ CameraStep |
1.8 |
Número para camera step (padrão 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 opções#
grazing_feed.lua : Feed wagon, hay handling and grazing mission
| Setting | Default | What it does |
|---|---|---|
FarmFeedMission |
table |
Tabela de entradas de farm feed mission. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ WagonModel |
"cart06" |
Physical mission flow: hay pickup blip -> load wagon -> drive to resting zone -> unload -> graze. |
↳ WagonBlipSprite |
Config.RanchBlips.FeedWagon.... |
Ajustes do blip ou ícone do mapa para wagon blip sprite. |
↳ WagonBlipScale |
Config.RanchBlips.FeedWagon.... |
Ajustes do blip ou ícone do mapa para wagon blip scale. |
↳ HayBlipSprite |
Config.RanchBlips.HayPickup.... |
Ajustes do blip ou ícone do mapa para hay blip sprite. |
↳ HayBlipScale |
Config.RanchBlips.HayPickup.... |
Ajustes do blip ou ícone do mapa para hay blip scale. |
↳ HayModel |
"p_haybale03x" |
Modelo ou entidade do jogo usado para 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 = sim, false = não (padrão 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 |
Número para hay marker z offset (padrão -0.08). |
↳ HayMarkerHeight |
0.18 |
Número para hay marker height (padrão 0.18). |
↳ HayMarkerSize |
1.15 |
Número para hay marker size (padrão 1.15). |
↳ HayMarkerAlpha |
155 |
Número para hay marker alpha (padrão 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 |
Chave para resting marker use full zone: true = ligado, false = desligado (padrão true). |
↳ RestingMarkerRadius |
100.0 |
Distância em unidades do jogo para resting marker radius. |
↳ RestingMarkerZOffset |
-0.08 |
Número para resting marker z offset (padrão -0.08). |
↳ RestingMarkerHeight |
0.16 |
Número para resting marker height (padrão 0.16). |
↳ RestingMarkerAlpha |
95 |
Número para resting marker alpha (padrão 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" |
Modelo ou entidade do jogo usado para permanent hay model. |
↳ PermanentHayHeading |
0.0 |
Número para permanent hay heading (padrão 0.0). |
↳ PermanentHayZOffset |
-0.72 |
Número para permanent hay z offset (padrão -0.72). |
↳ PermanentHayCollision |
true |
Chave para permanent hay collision: true = ligado, false = desligado (padrão true). |
↳ PermanentHayRespawnMs |
12000 |
Ajuste de tempo para permanent hay respawn ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ PermanentHayCheckMs |
12000 |
Client-side streaming: decorative hay piles exist only near the player. |
↳ PermanentHayStreamDistance |
150.0 |
Distância em unidades do jogo para permanent hay stream distance. |
↳ PermanentHayDespawnDistance |
220.0 |
Distância em unidades do jogo para 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 = sim, false = não (padrão false). |
↳ MinAnimalsInRestingZone |
1 |
Mínimo ou nível exigido para min animals in resting zone. |
↳ AnimalRestingCheckRadius |
150.0 |
Distância em unidades do jogo para animal resting check radius. |
↳ SourceInteractDistance |
2.5 |
Interaction distances. |
↳ WagonInteractDistance |
3.5 |
Distância em unidades do jogo para wagon interact distance. |
↳ RestingArrivalDistance |
140.0 |
Distância em unidades do jogo para resting arrival distance. |
↳ RestingDropRadius |
100.0 |
Distância em unidades do jogo para resting drop radius. |
↳ HayPlacementSpread |
8.0 |
Número para hay placement spread (padrão 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 |
Modelo ou entidade do jogo usado para animal walk speed. |
↳ GrazingTravelTimeoutMs |
90000 |
Ajuste de tempo para grazing travel timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ NetworkControlTimeoutMs |
250 |
Ajuste de tempo para network control timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ GrazingDurationMs |
2400000 |
Ajuste de tempo para grazing duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DurationByFarmLevel |
table |
Ajuste de tempo para duration by farm level. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ GrazingArrivalDistance |
2.25 |
Distância em unidades do jogo para grazing arrival distance. |
↳ GrazingRetaskIntervalMs |
5000 |
Ajuste de tempo para grazing retask interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ GrazingThinkIntervalMs |
1500 |
Long 15-40 minute grazing sessions do not need a 5Hz AI loop. |
↳ GrazingStartThinkIntervalMs |
500 |
Ajuste de tempo para grazing start think interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ GrazingTargetSpread |
1.10 |
Número para grazing target spread (padrão 1.10). |
↳ GrazingStayRadius |
3.25 |
Distância em unidades do jogo para grazing stay radius. |
↳ GrazingFaceHayMs |
700 |
Número para grazing face hay ms (padrão 700). |
↳ ServerCompletionSafetyMs |
1500 |
Número para server completion safety ms (padrão 1500). |
↳ GrazingCleanupDelayMs |
1200 |
Ajuste de tempo para grazing cleanup delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ 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 |
Ajuste de tempo para grazing animation load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ GrazingAnimationRestartMs |
9000 |
Ajustes de animação para grazing animation restart ms. |
↳ GrazingAnimations |
table |
Tabela de entradas de grazing animations. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Liga ou desliga generic grazing scenario fallback (padrão 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" |
Texto mostrado ao jogador para carry anim name. Altere para traduzir ou renomear. |
↳ CarryAnimFlag |
31 |
Ajustes de animação para carry anim flag. |
↳ CarryAnimBlendIn |
6.0 |
Ajustes de animação para carry anim blend in. |
↳ CarryAnimBlendOut |
-6.0 |
Ajustes de animação para carry anim blend out. |
↳ CarryAnimCheckMs |
900 |
Ajustes de animação para carry anim check ms. |
↳ AttachBone |
"SKEL_R_Hand" |
Ajuste para attach bone. |
↳ AttachOffset |
table |
Tabela de entradas de attach offset. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Limite máximo para wagon hay slots. |
↳ WagonHayLayerHeight |
0.0 |
Número para wagon hay layer height (padrão 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 |
Número para water gain (padrão 30). |
↳ HappyGain |
10 |
Número para happy gain (padrão 10). |
↳ XpReward |
25 |
Valor em dinheiro para xp reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
Notes from the README#
# 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 opções#
General
| Setting | Default | What it does |
|---|---|---|
Settings |
table |
Tabela de entradas de settings. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de missions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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 |
Tabela de entradas de 2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 3 |
table |
Tabela de entradas de 3. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 4 |
table |
Tabela de entradas de 4. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 5 |
table |
Tabela de entradas de 5. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 6 |
table |
Tabela de entradas de 6. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 7 |
table |
Tabela de entradas de 7. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 8 |
table |
Tabela de entradas de 8. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 9 |
table |
Tabela de entradas de 9. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 10 |
table |
Tabela de entradas de 10. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 11 |
table |
Tabela de entradas de 11. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 12 |
table |
Tabela de entradas de 12. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 13 |
table |
Tabela de entradas de 13. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 14 |
table |
Tabela de entradas de 14. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 15 |
table |
Tabela de entradas de 15. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 16 |
table |
Tabela de entradas de 16. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 18 |
table |
Tabela de entradas de 18. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 19 |
table |
Tabela de entradas de 19. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 20 |
table |
Tabela de entradas de 20. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 21 |
table |
Tabela de entradas de 21. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 22 |
table |
Tabela de entradas de 22. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 23 |
table |
Tabela de entradas de 23. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 24 |
table |
Tabela de entradas de 24. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 25 |
table |
Tabela de entradas de 25. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 26 |
table |
Tabela de entradas de 26. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 27 |
table |
Tabela de entradas de 27. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 28 |
table |
Tabela de entradas de 28. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 29 |
table |
Tabela de entradas de 29. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 30 |
table |
Tabela de entradas de 30. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 31 |
table |
Tabela de entradas de 31. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 32 |
table |
Tabela de entradas de 32. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 33 |
table |
Tabela de entradas de 33. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 34 |
table |
Tabela de entradas de 34. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 35 |
table |
Tabela de entradas de 35. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 36 |
table |
Tabela de entradas de 36. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 37 |
table |
Tabela de entradas de 37. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 38 |
table |
Tabela de entradas de 38. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 39 |
table |
Tabela de entradas de 39. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 40 |
table |
Tabela de entradas de 40. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 41 |
table |
Tabela de entradas de 41. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
BlacklistCities |
table |
Town areas where escort ambush waves are suppressed. |
Texts |
table |
Tabela de entradas de texts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rq_rescue |
"Someone in this area needs ... |
Ajuste para rq rescue. |
↳ rq_escort |
"Someone in this area needs ... |
Ajuste para rq escort. |
↳ rq_help |
"Someone in this area needs ... |
Ajuste para rq help. |
↳ rq_rescueblip |
"Rescue" |
Ajuste para rq rescueblip. |
↳ rq_escortblip |
"Escort" |
Ajuste para rq escortblip. |
↳ rq_helpblip |
"Assistance" |
Ajuste para rq helpblip. |
↳ rq_gonetoofar |
"You moved too far away. The... |
Ajuste para rq gonetoofar. |
↳ rq_takecare |
"Careful. If you get too clo... |
Ajuste para rq takecare. |
↳ rq_rescuefailed |
"The hostage was killed. Mis... |
Ajuste para rq rescuefailed. |
↳ rq_button |
"Rescue" |
Tecla ou controle usado para rq button. Os controles são valores hash da lista de entradas do jogo. |
↳ rq_escbut1 |
"Accept Escort" |
Ajuste para rq escbut1. |
↳ rq_escbut2 |
"Decline" |
Ajuste para rq escbut2. |
↳ rq_helpbut1 |
"Give Item" |
Ajuste para rq helpbut1. |
↳ rq_helpbut2 |
"Decline" |
Ajuste para rq helpbut2. |
↳ rq_thankyou |
"Thank you for saving me. Yo... |
Ajuste para rq thankyou. |
↳ rq_finishesc |
"Thank you for getting me he... |
Ajuste para rq finishesc. |
↳ rq_finishhelp |
"Thank you. That is exactly ... |
Ajuste para rq finishhelp. |
↳ rq_needescort |
"I need an escort to another... |
Ajuste para rq needescort. |
↳ rq_deniedescort |
"Understood. I will find som... |
Ajuste para rq deniedescort. |
↳ rq_acceptescort |
"Good. Let us move. Outlaws ... |
Ajuste para rq acceptescort. |
↳ rq_escorthogtied |
"You brought me here hogtied... |
Ajuste para rq escorthogtied. |
↳ rq_escortdead |
"The person you were escorti... |
Ajuste para rq escortdead. |
↳ rq_spawnedoutlaws |
"Outlaws are closing in. Def... |
Ajuste para rq spawnedoutlaws. |
↳ rq_escort_abandoned |
"You moved too far away from... |
Ajuste para rq escort abandoned. |
↳ rq_needitem |
"I urgently need " |
Ajuste para rq needitem. |
↳ rq_needitem1 |
"Can you help me?" |
Ajuste para rq needitem1. |
↳ rq_noneeditem |
"You do not have the request... |
Ajuste para rq noneeditem. |
↳ rq_deniedhelp |
"Understood. I will ask some... |
Ajuste para rq deniedhelp. |
rq_rescue |
"شخص في هذه المنطقة يحتاج إل... |
Ajuste para rq rescue. |
rq_escort |
"شخص في هذه المنطقة يحتاج إل... |
Ajuste para rq escort. |
rq_help |
"شخص في هذه المنطقة يحتاج إل... |
Ajuste para rq help. |
rq_rescueblip |
"Rescue" |
Ajuste para rq rescueblip. |
rq_escortblip |
"Escort" |
Ajuste para rq escortblip. |
rq_helpblip |
"Help" |
Ajuste para rq helpblip. |
rq_gonetoofar |
"ابتعدت كثيراً عن الموقع. فُ... |
Ajuste para rq gonetoofar. |
rq_takecare |
"احذر. إذا اقتربت كثيراً، قد... |
Ajuste para rq takecare. |
rq_rescuefailed |
"قُتلت الرهينة. فشلت المهمة." |
Ajuste para rq rescuefailed. |
rq_button |
"إنقاذ" |
Tecla ou controle usado para rq button. Os controles são valores hash da lista de entradas do jogo. |
rq_escbut1 |
"قبول المرافقة" |
Ajuste para rq escbut1. |
rq_escbut2 |
"رفض" |
Ajuste para rq escbut2. |
rq_helpbut1 |
"إعطاء الغرض" |
Ajuste para rq helpbut1. |
rq_helpbut2 |
"رفض" |
Ajuste para rq helpbut2. |
rq_thankyou |
"شكراً لإنقاذي! مكافأتك هي " |
Ajuste para rq thankyou. |
rq_finishesc |
"شكراً لإيصالي بأمان إلى هنا... |
Ajuste para rq finishesc. |
rq_finishhelp |
"شكراً لك. هذا بالضبط ما كنت... |
Ajuste para rq finishhelp. |
rq_needescort |
"أحتاج إلى مرافقة إلى منطقة ... |
Ajuste para rq needescort. |
rq_deniedescort |
"مفهوم. سأبحث عن شخص آخر." |
Ajuste para rq deniedescort. |
rq_acceptescort |
"حسناً، دعنا نتحرك. الخارجون... |
Ajuste para rq acceptescort. |
rq_escorthogtied |
"لقد جلبتني إلى هنا مقيداً ب... |
Ajuste para rq escorthogtied. |
rq_escortdead |
"توفي الشخص الذي كنت ترافقه.... |
Ajuste para rq escortdead. |
rq_spawnedoutlaws |
"الخارجون عن القانون يقتربون... |
Ajuste para rq spawnedoutlaws. |
rq_escort_abandoned |
"ابتعدت كثيراً عن الشخص المط... |
Ajuste para rq escort abandoned. |
rq_needitem |
"أحتاج بشكل عاجل إلى " |
Ajuste para rq needitem. |
rq_needitem1 |
"هل يمكنك مساعدتي؟" |
Ajuste para rq needitem1. |
rq_noneeditem |
"ليس لديك الغرض المطلوب، أحت... |
Ajuste para rq noneeditem. |
rq_deniedhelp |
"مفهوم. سأطلب من شخص آخر." |
Ajuste para 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#
# 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 linhas de Lua |
config.lua - 13 opções#
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 |
Mínimo ou nível exigido para min buy in. |
MaxBuyIn |
100 |
Limite máximo para max buy in. |
HouseCutPercent |
5 |
Taxa ou multiplicador para house cut percent. |
MinPlayers |
2 |
Mínimo ou nível exigido para min players. |
MaxPlayers |
6 |
Limite máximo para max players. |
LiarsDice |
table |
Tabela de entradas de liars dice. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ StartingDice |
5 |
Número para starting dice (padrão 5). |
↳ TurnSeconds |
30 |
out of time: you call "liar" (or open with 1x random) |
Blip |
table |
Ajustes do blip ou ícone do mapa para 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 opções#
JRS TRASH: RECYCLING & SMELTING CONFIGURATION
| Setting | Default | What it does |
|---|---|---|
Recycling |
table |
Tabela de entradas de recycling. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ InteractionKey |
0xCEFD9220 |
[E] Key |
↳ InteractionDistance |
2.5 |
Distância em unidades do jogo para interaction distance. |
↳ SpawnProps |
true |
Spawn thematic 3D props (workbench & furnace) at stations |
↳ Blips |
table |
Ajustes do blip ou ícone do mapa para blips. |
↳ Markers |
table |
Tabela de entradas de markers. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
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 opções#
General
| Setting | Default | What it does |
|---|---|---|
General |
table |
Tabela de entradas de general. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Locale |
"ar" |
Idioma da interface deste script (en ou ar). |
↳ Dev |
false |
Chave para dev: true = ligado, false = desligado (padrão false). |
↳ ResourceLabel |
"Trash" |
Texto mostrado ao jogador para resource label. Altere para traduzir ou renomear. |
Interaction |
table |
Tabela de entradas de interaction. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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" |
Ajuste para bin mode. |
↳ BinDistance |
4.0 |
Distância em unidades do jogo para bin distance. |
↳ JobDistance |
4.5 |
Distância em unidades do jogo para job distance. |
↳ WagonDepositDistance |
6.5 |
Distância em unidades do jogo para wagon deposit distance. |
↳ WagonManageDistance |
7.5 |
Distância em unidades do jogo para 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 |
Distância em unidades do jogo para dump wagon distance. |
↳ SearchDurationMs |
7000 |
Ajuste de tempo para search duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ PickupDurationMs |
2500 |
Ajuste de tempo para pickup duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DepositDurationMs |
1500 |
Ajuste de tempo para deposit duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DumpDurationMs |
3500 |
Ajuste de tempo para dump duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ UseActionAnimations |
true |
finite RedM action animations; sprint is restored immediately after each action |
↳ SearchScenario |
"WORLD_HUMAN_CROUCH_INSPECT" |
Ajustes de animação para search scenario. |
↳ SearchAnimation |
table |
Ajustes de animação para search animation. |
↳ PickupAnimation |
table |
Ajustes de animação para pickup animation. |
↳ DepositAnimation |
table |
Valor em dinheiro para deposit animation. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ DumpAnimation |
table |
Ajustes de animação para dump animation. |
Client |
table |
Tabela de entradas de client. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ SpawnConfiguredBinProps |
true |
Chave para spawn configured bin props: true = ligado, false = desligado (padrão true). |
↳ BinBlipSprite |
1109348405 |
Ajustes do blip ou ícone do mapa para bin blip sprite. |
↳ BinBlipScale |
0.20 |
Ajustes do blip ou ícone do mapa para bin blip scale. |
↳ ShowDepotBlips |
true |
Shows depot blips: true = sim, false = não (padrão true). |
↳ RouteBlips |
true |
Chave para route blips: true = ligado, false = desligado (padrão true). |
↳ RouteBlipSprite |
-184692826 |
Ajustes do blip ou ícone do mapa para route blip sprite. |
↳ WagonBlip |
true |
Chave para wagon blip: true = ligado, false = desligado (padrão true). |
↳ WagonBlipSprite |
-1747775003 |
Ajustes do blip ou ícone do mapa para wagon blip sprite. |
↳ WagonBlipScale |
0.35 |
Ajustes do blip ou ícone do mapa para wagon blip scale. |
↳ GpsRoute |
"COLOR_RED" |
Ajuste para gps route. |
↳ MenuAlign |
"right" |
Ajuste para menu align. |
↳ ModelLoadTimeoutMs |
8000 |
Ajuste de tempo para model load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BagModelLoadTimeoutMs |
4500 |
Ajuste de tempo para bag model load timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CancelIfPlayerMoves |
true |
Chave para cancel if player moves: true = ligado, false = desligado (padrão true). |
↳ CancelDistance |
4.25 |
Distância em unidades do jogo para cancel distance. |
↳ WagonLostDistance |
1500.0 |
Distância em unidades do jogo para wagon lost distance. |
↳ WagonCheckMs |
8000 |
Número para wagon check ms (padrão 8000). |
↳ WagonBlipUpdateMs |
2500 |
Ajustes do blip ou ícone do mapa para wagon blip update ms. |
↳ SpawnClearRadius |
7.0 |
Distância em unidades do jogo para spawn clear radius. |
↳ SpawnCandidateOffset |
7.0 |
Coordenadas do mundo (x, y, z) para spawn candidate offset. |
Markers |
table |
Tabela de entradas de markers. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ CurrentRouteBin |
table |
Tabela de entradas de current route bin. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ WagonDeposit |
table |
Valor em dinheiro para wagon deposit. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ DumpArea |
table |
Tabela de entradas de dump area. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Job |
table |
Quem pode: empregos, grupos ou permissões para job. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ WagonModel |
"coal_wagon" |
Modelo ou entidade do jogo usado para wagon model. |
↳ FallbackWagonModels |
table |
Modelo ou entidade do jogo usado para fallback wagon models. |
↳ MaxTrashBags |
30 |
Limite máximo para max trash bags. |
↳ AllowedJobs |
table |
Quem pode: empregos, grupos ou permissões para allowed jobs. |
↳ FullAccessBypassesJobRequirement |
true |
Chave para full access bypasses job requirement: true = ligado, false = desligado (padrão true). |
↳ ForceDeleteWagon |
true |
Forces delete wagon: true = sim, false = não (padrão true). |
↳ RequireRouteCompleteToFinish |
false |
Requires route complete to finish: true = sim, false = não (padrão false). |
↳ BinCooldownAfterDeposit |
false |
لا تعطل الحاوية عن اللاعبين الآخرين عند إيداع الكيس |
↳ TrashBagProps |
table |
Compact loot sacks are designed as carried props and avoid oversized cargo sacks. |
↳ TrashBagAppearance |
table |
Tabela de entradas de trash bag appearance. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ TrashBagAttach |
table |
Tabela de entradas de trash bag attach. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ WagonVisuals |
table |
Tabela de entradas de wagon visuals. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RandomRoute |
table |
Tabela de entradas de random route. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ WorkUniform |
table |
Tabela de entradas de work uniform. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Leveling |
table |
Tabela de entradas de leveling. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Command |
"trashlevel" |
Ajuste para command. |
↳ MaxLevel |
100 |
Limite máximo para max level. |
↳ BaseXP |
100 |
Número para base xp (padrão 100). |
↳ Growth |
1.035 |
Número para growth (padrão 1.035). |
↳ XPOnPickup |
15 |
Número para xp on pickup (padrão 15). |
↳ DeferPickupXPToDeposit |
false |
Chave para defer pickup xp to deposit: true = ligado, false = desligado (padrão false). |
↳ XPOnDeposit |
25 |
Valor em dinheiro para xp on deposit. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ XPPerDump |
20 |
Número para xp per dump (padrão 20). |
↳ XPPerDumpedBag |
5 |
Número para xp per dumped bag (padrão 5). |
↳ XPRouteComplete |
100 |
Número para xp route complete (padrão 100). |
↳ XPFinish |
50 |
Número para xp finish (padrão 50). |
↳ PayBonusPerLevel |
0.003 |
Valor em dinheiro para pay bonus per level. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ MaxPayBonus |
0.30 |
Valor em dinheiro para max pay bonus. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ ActionSpeedBonusPerLevel |
0.002 |
Valor em dinheiro para action speed bonus per level. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ MaxActionSpeedBonus |
0.20 |
Valor em dinheiro para max action speed bonus. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Ranks |
table |
Tabela de entradas de ranks. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Bins |
table |
Tabela de entradas de bins. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RefillWindows |
table |
Tabela de entradas de refill windows. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RefillSeconds |
table |
Tabela de entradas de refill seconds. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ LootSlots |
5 |
Limite máximo para loot slots. |
Rewards |
table |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ LootEnabled |
true |
Chave para loot enabled: true = ligado, false = desligado (padrão true). |
↳ JobLootEnabled |
true |
Chave para job loot enabled: true = ligado, false = desligado (padrão true). |
↳ PayWhenCollect |
false |
Chave para pay when collect: true = ligado, false = desligado (padrão false). |
↳ PayWhenDump |
false |
Chave para pay when dump: true = ligado, false = desligado (padrão 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 |
Número para finish payment per stop (padrão 0.00). |
↳ EarlyReturnBasePayment |
0.00 |
العودة المبكرة تحتسب فقط قيمة الأكياس المجمعة بدون بونص إضافي |
↳ EarlyReturnPaymentPerStop |
0.00 |
Número para early return payment per stop (padrão 0.00). |
↳ EarlyReturnMinStops |
1 |
Mínimo ou nível exigido para early return min stops. |
↳ EarlyReturnXPPerStop |
10 |
Número para early return xp per stop (padrão 10). |
↳ EarlyReturnMaxXP |
60 |
Limite máximo para early return max xp. |
↳ JobRandomLootSlots |
5 |
Limite máximo para job random loot slots. |
↳ LootPools |
table |
Tabela de entradas de loot pools. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Security |
table |
Tabela de entradas de security. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RequireProximity |
true |
Requires proximity: true = sim, false = não (padrão true). |
↳ ProximityTolerance |
3.5 |
Número para proximity tolerance (padrão 3.5). |
↳ RequestCooldownMs |
400 |
Ajuste de tempo para request cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CompletionGraceMs |
1500 |
Número para completion grace ms (padrão 1500). |
↳ PendingTimeoutMs |
30000 |
Ajuste de tempo para pending timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ WagonRegisterTimeoutMs |
30000 |
Ajuste de tempo para wagon register timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ WagonRegisterDistance |
45.0 |
Distância em unidades do jogo para wagon register distance. |
↳ StrictWagonOwnership |
false |
Chave para strict wagon ownership: true = ligado, false = desligado (padrão false). |
↳ RequireWagonNearby |
false |
Requires wagon nearby: true = sim, false = não (padrão false). |
config/xp.lua - 6 opções#
Set Enabled = false to switch this script's XP off without touching code.
| Setting | Default | What it does |
|---|---|---|
XP |
table |
Tabela de entradas de xp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão 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 |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |