Legal jobs and gathering: police, medic, mining, hunting, fishing, crafting, railroad and more.
Esta pasta tem 31 scripts. Escolha um script nas abas abaixo.
Paid (server only) jrs_boats
jrs core Boats for jrs_core and jrs_inventory
| Resource | jrs_boats |
| Folder | [JOBS] |
| Version | 2.9.3 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 5,712 Lua lines |
Commands
/boatEnter/shipLoad/shipUnload
Exports
GetLargeShipDefinition, IsLargeShipModel
Database tables
jrs_boats
config/config.lua - 164 opções#
General
| Setting | Default | What it does |
|---|---|---|
CoreResource |
"jrs_core" |
Ajuste para core resource. |
InventoryResource |
"jrs_inventory" |
Ajuste para inventory resource. |
DatabaseTable |
"jrs_boats" |
Ajuste para database table. |
PortableItem |
"portable_canoe" |
Itens de inventário usados por portable item. Os nomes precisam existir na tabela jrs_items. |
StoragePrefix |
"jrs_boat_" |
Ajuste para storage prefix. |
Locale |
"ar" |
Idioma da interface deste script (en ou ar). |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
NameMinLength |
2 |
Mínimo ou nível exigido para name min length. |
NameMaxLength |
30 |
Limite máximo para name max length. |
RequestCooldownMs |
500 |
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. |
RemoteReturnDelay |
15000 |
Ajuste de tempo para remote return delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
ShopSessionMs |
900000 |
Número para shop session ms (padrão 900000). |
keys |
table |
Tecla ou controle usado para keys. Os controles são valores hash da lista de entradas do jogo. |
↳ shop |
0x760A9C6F |
[G] Open Boat Shop Menu |
↳ options |
0xF1301666 |
[O] Opens In-Boat Menu for Anchor, Inventory and Remote Return |
↳ ret |
0xD9D0E1C0 |
[space] Return Boat to Shop at Prompt |
maxBoats |
5 |
Default: 5 |
sellPrice |
0.60 |
Default: 0.60 |
blockNpcBoats |
false |
If true, will block the spawning of NPC boats |
blipAllowedClosed |
true |
If true, will show colored blip when shop is closed |
↳ keelboat |
table |
Tabela de entradas de keelboat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
inventory |
table |
Tabela de entradas de inventory. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ pirogue2 |
table |
Portable |
↳ canoetreetrunk |
table |
Canoes |
↳ canoe |
table |
Tabela de entradas de canoe. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ pirogue |
table |
Tabela de entradas de pirogue. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ skiff |
table |
Rowboats |
↳ rowboat |
table |
Tabela de entradas de rowboat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rowboatSwamp |
table |
Tabela de entradas de rowboat swamp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ keelboat |
table |
Tabela de entradas de keelboat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
LargeShips |
table |
Large ships / hybrid ships Native RDR2 boat models can use themselves as the physics root. Streamed object models automatically fall back to the hidden physics-root system. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ DefaultPhysicsRoot |
'boatsteam02x' |
Ajuste para default physics root. |
↳ PreviewFov |
88.0 |
Número para preview fov (padrão 88.0). |
↳ InteractionDistance |
2.5 |
Distância em unidades do jogo para interaction distance. |
↳ OptionsDistance |
45.0 |
Distância em unidades do jogo para options distance. |
↳ CargoSearchRadius |
14.0 |
Distância em unidades do jogo para cargo search radius. |
↳ MaxCargoEntityDistance |
22.0 |
Distância em unidades do jogo para max cargo entity distance. |
↳ StateSaveIntervalMs |
15000 |
Ajuste de tempo para state save interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BoardingPromptDistance |
35.0 |
Distância em unidades do jogo para boarding prompt distance. |
↳ controls |
table |
Tabela de entradas de controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ DrivingHUD |
table |
Tabela de entradas de driving hud. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ships |
table |
visualType = 'auto' detects whether the model is a native vehicle or a streamed object. useNativePhysics = 'auto' uses native boat physics when the model is a vehicle; otherwise the model is attached to DefaultPhysicsRoot as a hyb |
HorseTransport |
table |
Horse transport job (horseBoat only) Horse transport appears in the separate Jobs tab. Starting a job spawns a temporary free horseBoat at the pickup dock; no purchase or ownership is required. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ JobsMenu |
true |
Show horse transport in a separate Jobs tab inside the boat shop. |
↳ FreeJobBoat |
true |
Mission horseBoat is temporary/free and does not need ownership. |
↳ HideJobBoatFromShop |
true |
Do not sell horseBoat while it is reserved as a job boat. |
↳ RequiredBoatModel |
"horseBoat" |
Modelo ou entidade do jogo usado para required boat model. |
↳ JobBoatName |
"Horse Transport Boat" |
Quem pode: empregos, grupos ou permissões para job boat name. |
↳ InteractionDistance |
2.5 |
Distância em unidades do jogo para interaction distance. |
↳ StartDistance |
3.0 |
Distância em unidades do jogo para start distance. |
↳ DestinationDistance |
4.0 |
Distância em unidades do jogo para destination distance. |
↳ ShipDockDistance |
55.0 |
Max distance between the job boat and the livestock dock. |
↳ RequireAnchor |
true |
Requires anchor: true = sim, false = não (padrão true). |
↳ ProtectHorses |
true |
Chave para protect horses: true = ligado, false = desligado (padrão true). |
↳ MinimumTripTimeSeconds |
45 |
Mínimo ou nível exigido para minimum trip time seconds. |
↳ CooldownSeconds |
300 |
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. |
↳ DeliveredHorseLifetimeMs |
30000 |
Ajuste de tempo para delivered horse lifetime ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BlipSprite |
2005921736 |
Ajustes do blip ou ícone do mapa para blip sprite. |
↳ BlipScale |
0.25 |
Ajustes do blip ou ícone do mapa para blip scale. |
↳ ShowStartBlips |
false |
Job starts from the Jobs menu, so standalone start blips are not needed. |
↳ controls |
table |
Tabela de entradas de controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ horseModels |
table |
Modelo ou entidade do jogo usado para horse models. |
↳ horseSlots |
table |
Horse positions on horseBoat, lowered to the cargo-deck floor based on in-game testing. These sit inside the livestock bay instead of floating above the stall walls. |
↳ routes |
table |
Tabela de entradas de routes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
CargoTransport |
table |
Cargo transport job using the same native horseBoat vehicle as Horse Transport. Cargo uses its own rear-deck slot layout and does not modify HorseTransport.horseSlots. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ JobsMenu |
true |
Chave para jobs menu: true = ligado, false = desligado (padrão true). |
↳ FreeJobBoat |
true |
Chave para free job boat: true = ligado, false = desligado (padrão true). |
↳ HideJobBoatFromShop |
true |
Hides job boat from shop: true = sim, false = não (padrão true). |
↳ RequiredBoatModel |
"horseBoat" |
Modelo ou entidade do jogo usado para required boat model. |
↳ JobBoatName |
"Horse Boat Cargo Transport" |
Quem pode: empregos, grupos ou permissões para job boat name. |
↳ InteractionDistance |
2.5 |
Distância em unidades do jogo para interaction distance. |
↳ DestinationDistance |
5.0 |
Distância em unidades do jogo para destination distance. |
↳ ShipDockDistance |
60.0 |
Distância em unidades do jogo para ship dock distance. |
↳ RequireAnchor |
true |
Requires anchor: true = sim, false = não (padrão true). |
↳ MinimumTripTimeSeconds |
45 |
Mínimo ou nível exigido para minimum trip time seconds. |
↳ CooldownSeconds |
300 |
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. |
↳ CargoLifetimeMs |
20000 |
Ajuste de tempo para cargo lifetime ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CargoCount |
6 |
Número para cargo count (padrão 6). |
↳ controls |
table |
Tabela de entradas de controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ cargoModels |
table |
Physical freight spawned at the pickup dock. More models can be added later. |
↳ cargoSlots |
table |
Cargo-only positions on horseBoat. Keep them toward the rear of the cargo deck. These are intentionally separate from HorseTransport.horseSlots. |
↳ routes |
table |
Tabela de entradas de routes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
shops |
table |
Boat Shops |
↳ lagras |
table |
Tabela de entradas de lagras. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ saintdenis |
table |
Tabela de entradas de saintdenis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ annesburg |
table |
Tabela de entradas de annesburg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ blackwater |
table |
Tabela de entradas de blackwater. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wapiti |
table |
Tabela de entradas de wapiti. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ manteca |
table |
Tabela de entradas de manteca. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ sisika |
table |
Tabela de entradas de sisika. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ braithwaite |
table |
Tabela de entradas de braithwaite. 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. |
locations |
table |
Water Locations for Portable Canoe |
↳ 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. |
↳ 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. |
↳ 17 |
table |
Tabela de entradas de 17. 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. |
Notes from the README#
## 2.9.0 Shop Category Cleanup
- Removed the Large Ships category/filter button from the Shop/My Boats category bar.
- Large-ship definitions remain available internally for jobs and existing systems.
## 2.8.9 Multi-port Boarding Points
- Added `boardingPromptPoints` support for multiple static dock boarding locations.
- Added Blackwater and Saint Denis boarding points for `horseBoat`.
- The client automatically selects the nearest configured boarding point that is close to the active ship.
- Falls back to the local ship-side boarding offset at unconfigured ports.
## 2.8.8 Dedicated Boarding Point
- Added a dedicated `boardingPromptPoint` for `horseBoat`.
- `G - Board Ship` now appears only beside the configured boarding point.
- Boarding places the player on a safe deck landing point instead of taking the helm.
- `E - Take Helm` remains a separate interaction inside the wheelhouse.
## 2.8.6 Cargo Slot Adjustment
- Updated CargoTransport.cargoSlots to the user-tuned rear-deck positions.
## 2.8.5 Cargo Boat Dock Spawn
- Moved only the Cargo Transport `horseBoat` pickup spawn closer to the loading dock in Blackwater and Saint Denis.
- Horse Transport boat spawn, cargo slots, horse slots, and user-tuned Blackwater horse/cargo spawn points remain unchanged.
## 2.8.2 Cargo Crate Stack Model
- Cargo Transport crates now use `p_bat_cratestack01x` for all six cargo entities.
- Cargo boat, rear cargo slot positions, HorseTransport horse slots, and Blackwater spawn coordinates are unchanged.
## 2.8.1 Cargo Transport on Native horseBoat
- Cargo Transport now uses the same native `horseBoat` vehicle as Horse Transport.
- Cargo crates use a separate rear-deck slot layout and do not change the user-tuned horse slots.
- `horseBoat` remains a native RedM vehicle with native buoyancy, driving, engine audio, smoke and collision.
- Blackwater horse/cargo spawn coordinates remain unchanged.
## 2.8.0 Cargo Transport Back to Native tugboat3
- Cargo Transport now uses `tugboat3` again.
- `tugboat3` is explicitly treated as a native RedM vehicle, not an object/hybrid shell.
- Native buoyancy, driving, engine audio, smoke and collision remain on the actual `tugboat3` vehicle.
- Restored tugboat3-specific cargo deck slots.
- Preserved the user-approved Blackwater horse and cargo spawn coordinates.
## 2.7.9 Native ship_nbdGuama2 Vehicle
- Confirmed `ship_nbdGuama2` is a native RedM vehicle.
- Cargo Transport now spawns `ship_nbdGuama2` directly as the physics/drive vehicle.
- Disabled Hybrid/Object driving for this ship.
- Enabled native driver seat, native anchoring, and automatic anchor release on driver entry.
- Preserved the user-locked Blackwater horse/cargo spawn coordinates and HorseTransport horse slots.
# REDEMPIRE Boats v2.7.9
## 2.7.8 Cargo Ship Model
- Changed the Cargo Transport job boat from `ship_guama02` to `ship_nbdGuama2`.
- Kept the existing cargo routes, Blackwater spawn points, rewards, and cargo slot layout unchanged.
- Added `ship_nbdGuama2` as its own large-ship definition while leaving `ship_guama02` available separately.
## 2.7.7 Cargo Ship Guarma
- Changed the Cargo Transport job boat from `tugboat3` to `ship_guama02`.Free (included in JRS Core) jrs_bossmanager
JRS CORE | jrs_bossmanager | config.lua
| Resource | jrs_bossmanager |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core |
| Interface | No |
| Code size | 883 linhas de Lua |
Commands
/givelicense/revokelicense
Database tables
jobmanager
config.lua - 2 opções#
General
| Setting | Default | What it does |
|---|---|---|
Key |
0x446258B6 |
changed Key to PGUP, otherwise it collides with the default key of jrs_admin |
Locale |
"en" |
language |
Paid (server only) jrs_bounty
jrs core Bounty Board
| Resource | jrs_bounty |
| Folder | [JOBS] |
| Version | 2.1.1 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 2,799 Lua lines |
Commands
/bountycooldown
Database tables
jrs_bountty, jrs_bounty_cooldowns, jrs_sheriffbounty
config/config.lua - 114 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
ServerConsolePrints |
true |
Enable to see payout/xp debug logs in server console |
RequireJob |
true |
Access The bounty board requires a Bounty Hunter job. |
BountyJobs |
table |
Quem pode: empregos, grupos ou permissões para bounty jobs. |
↳ bounty |
true |
Chave para bounty: true = ligado, false = desligado (padrão true). |
↳ bountyhunter |
true |
Chave para bountyhunter: true = ligado, false = desligado (padrão true). |
↳ bounty_hunter |
true |
Chave para bounty hunter: true = ligado, false = desligado (padrão true). |
AllowLawJobs |
true |
Allows law jobs (police/sheriff) to access board and post sheriff notices |
MaxSheriffReward |
5000 |
Valor em dinheiro para max sheriff reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
BoardBlips |
true |
UI / interaction |
BoardblipName |
"Bounty Board" |
Texto mostrado ao jogador para boardblip name. Altere para traduzir ou renomear. |
BoardBlipSprite |
"blip_proc_bounty_poster" |
Ajustes do blip ou ícone do mapa para board blip sprite. |
BoardBlipModifier |
"BLIP_MODIFIER_MP_COLOR_23" |
Ajustes do blip ou ícone do mapa para board blip modifier. |
BoardBlipScale |
0.2 |
Ajustes do blip ou ícone do mapa para board blip scale. |
PromptGroup |
"Bounty Board" |
Quem pode: empregos, grupos ou permissões para prompt group. |
PromptName |
"Open" |
Texto mostrado ao jogador para prompt name. Altere para traduzir ou renomear. |
BoardOpenControl |
0x760A9C6F |
G |
BoardOpenDistance |
2.0 |
Distância em unidades do jogo para board open distance. |
CreateBountyTime |
10 |
minutes |
MaxBountys |
20 |
Limite máximo para max bountys. |
DistanceSpawnEnemys |
60.0 |
Distância em unidades do jogo para distance spawn enemys. |
MinimumMissionSeconds |
20 |
server-side anti-instant-complete check (45 on 2026-10-02 rejected fast legit kills; 20 on 2026-10-08) |
MissionCompletionDistance |
800.0 |
maximum distance from the assigned target area (400 rejected fights that chased away from the camp) |
Jobs |
table |
Law jobs allowed to post and delete sheriff bounties. |
Easy |
"easy" |
Stable internal difficulty keys. Existing Arabic/German rows are normalized by the server. |
Middle |
"medium" |
Ajuste para middle. |
Hard |
"hard" |
Ajuste para hard. |
DifficultyLabels |
table |
Tabela de entradas de difficulty labels. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ easy |
"سهل" |
Ajuste para easy. |
↳ medium |
"متوسط" |
Ajuste para medium. |
↳ hard |
"صعب" |
Ajuste para hard. |
BountyBoards |
table |
Tabela de entradas de bounty boards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Names |
table |
This will be the Target name in Bountyboard Name will pciked random out of this names list |
MinEasyReward |
2 |
Reward System ---------------------------------- RDO Authentic Bounty Hunter Payouts & XP Progression Easy (1-star) |
MaxEasyReward |
3 |
Valor em dinheiro para max easy reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
EasyXP |
160 |
Número para easy xp (padrão 160). |
MinMiddleReward |
3 |
Middle (2-star) |
MaxMiddleReward |
6 |
Valor em dinheiro para max middle reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
MiddleXP |
300 |
Número para middle xp (padrão 300). |
MinHardReward |
6 |
Hard (3-star) |
MaxHardReward |
10 |
Valor em dinheiro para max hard reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
HardXP |
460 |
Número para hard xp (padrão 460). |
BountyMissionCooldownSeconds |
300 |
Bounty board mission cooldown (300 seconds / 5 minutes, replaces old 1 hour wait) |
EnemyDifficulty |
table |
RDO Authentic Enemy Combat & Difficulty Settings |
↳ easy |
table |
Tabela de entradas de easy. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ medium |
table |
Tabela de entradas de medium. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ hard |
table |
Tabela de entradas de hard. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Model |
"CS_strawberryoutlaw_02" |
Modelo ou entidade do jogo usado para model. |
EasyMissions |
table |
Tabela de entradas de easy missions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
MiddleMissions |
table |
Tabela de entradas de middle missions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
HardMissions |
table |
Tabela de entradas de hard missions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
GroupMaxMembers |
4 |
Total players including the leader |
DE
| Setting | Default | What it does |
|---|---|---|
Text |
table |
UI labels / notifications |
↳ BoardTitle |
"لوحة المطلوبين" |
Texto mostrado ao jogador para board title. Altere para traduzir ou renomear. |
↳ BoardSubtitle |
'ملصقات المطلوبين وإعلانات ا... |
Ajuste para board subtitle. |
↳ Available |
"الجوائز المتاحة" |
Ajuste para available. |
↳ Sheriff |
"إعلانات الشريف" |
Ajuste para sheriff. |
↳ Post |
"نشر مطلوب" |
Ajuste para post. |
↳ Refresh |
"تحديث" |
Ajuste para refresh. |
↳ Close |
"إغلاق" |
Ajuste para close. |
↳ Start |
"بدء المهمة" |
Ajuste para start. |
↳ Abort |
"إلغاء المهمة" |
Ajuste para abort. |
↳ Delete |
"حذف" |
Ajuste para delete. |
↳ ConfirmDelete |
"هل أنت متأكد من حذف هذا المطلوب؟" |
Ajuste para confirm delete. |
↳ NoBounties |
"لا توجد مهمات متاحة حالياً." |
Ajuste para no bounties. |
↳ NoSheriffBounties |
"لا توجد إعلانات شريف منشورة." |
Ajuste para no sheriff bounties. |
↳ Firstname |
"الاسم الأول" |
Ajuste para firstname. |
↳ Lastname |
"اسم العائلة" |
Ajuste para lastname. |
↳ Reason |
"السبب" |
Ajuste para reason. |
↳ Reward |
"المكافأة" |
Valor em dinheiro para reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Submit |
"نشر ملصق مطلوب" |
Ajuste para submit. |
↳ Group |
"المجموعة" |
Quem pode: empregos, grupos ou permissões para group. |
↳ AddMember |
"إضافة عضو" |
Ajuste para add member. |
↳ LeaveGroup |
"مغادرة المجموعة" |
Quem pode: empregos, grupos ou permissões para leave group. |
↳ DisbandGroup |
"حل المجموعة" |
Quem pode: empregos, grupos ou permissões para disband group. |
MissionBlip |
"Bounty Target" |
Ajustes do blip ou ícone do mapa para mission blip. |
MissionBlipSprite |
"blip_mission_bounty" |
Skull with dollar sign (-907204276) |
MissionBlipModifier |
"BLIP_MODIFIER_MP_COLOR_10" |
Red color modifier |
MissionBlipScale |
0.2 |
Ajustes do blip ou ícone do mapa para mission blip scale. |
MissionAreaZoneRadius |
90.0 |
red zone under the skull blip |
Messages |
table |
Texto mostrado ao jogador para messages. Altere para traduzir ou renomear. |
↳ NoPermission |
"ليس لديك صلاحية للقيام بذلك." |
Quem pode: empregos, grupos ou permissões para no permission. |
↳ MissionStarted |
'بدأت المهمة. توجه إلى المنط... |
Ajuste para mission started. |
↳ MissionAlreadyActive |
"لديك مهمة نشطة بالفعل." |
Ajuste para mission already active. |
↳ MissionUnavailable |
"هذا المطلوب لم يعد متاحاً." |
Ajuste para mission unavailable. |
↳ InvalidMissionCompletion |
"تعذر التحقق من إكمال المهمة." |
Ajuste para invalid mission completion. |
↳ MissionAborted |
'تم إلغاء مهمة صيد المطلوبين... |
Ajuste para mission aborted. |
↳ NoActiveMission |
"ليس لديك مهمة صيد مطلوبين نشطة." |
Ajuste para no active mission. |
↳ MissionFailed |
"فشلت المهمة." |
Ajuste para mission failed. |
↳ MissionSuccess |
"اكتملت المهمة بنجاح." |
Ajuste para mission success. |
↳ RemainingEnemies |
"الأعداء المتبقون: " |
Ajuste para remaining enemies. |
↳ EnemiesKilled |
"الأعداء الذين تم القضاء عليهم: " |
Ajuste para enemies killed. |
↳ RewardReceived |
'تم استلام مكافأة صيد المطلو... |
Valor em dinheiro para reward received. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ SheriffBountyPosted |
"تم نشر ملصق الشريف بنجاح." |
Ajuste para sheriff bounty posted. |
↳ SheriffBountyDeleted |
"تم حذف ملصق الشريف." |
Ajuste para sheriff bounty deleted. |
↳ InvalidForm |
'يرجى إكمال جميع الحقول وإدخ... |
Ajuste para invalid form. |
↳ GroupInvalidPlayer |
"يرجى إدخال مُعرّف لاعب صالح." |
Quem pode: empregos, grupos ou permissões para group invalid player. |
↳ GroupPlayerNotFound |
"هذا اللاعب غير متصل أو غير جاهز." |
Quem pode: empregos, grupos ou permissões para group player not found. |
↳ GroupTargetBusy |
'هذا اللاعب لديه مهمة صيد مط... |
Quem pode: empregos, grupos ou permissões para group target busy. |
↳ GroupTargetAlreadyGrouped |
'هذا اللاعب موجود بالفعل في ... |
Quem pode: empregos, grupos ou permissões para group target already grouped. |
↳ GroupLeaderOnly |
'فقط قائد المجموعة يمكنه الق... |
Quem pode: empregos, grupos ou permissões para group leader only. |
↳ GroupLeaderAbortOnly |
'فقط قائد المجموعة يمكنه إلغ... |
Quem pode: empregos, grupos ou permissões para group leader abort only. |
↳ GroupLocked |
'لا يمكن تعديل المجموعة أثنا... |
Quem pode: empregos, grupos ou permissões para group locked. |
↳ GroupFull |
"مجموعة صيد المطلوبين ممتلئة." |
Quem pode: empregos, grupos ou permissões para group full. |
↳ BountyCooldownActive |
'يجب عليك الانتظار %s قبل بد... |
Ajuste de tempo para bounty cooldown active. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BountyCooldownStarted |
'بدأت فترة انتظار مهمات صيد ... |
Ajuste de tempo para bounty cooldown started. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MemberCooldownActive |
'عضو الفريق %s لديه فترة انت... |
Ajuste de tempo para member cooldown active. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ JobRequired |
'يجب أن تكون صائد جوائز لاست... |
Quem pode: empregos, grupos ou permissões para job required. |
↳ TargetJobRequired |
"هذا اللاعب ليس صائد جوائز." |
Quem pode: empregos, grupos ou permissões para target job required. |
MissionFailed |
Config.Messages.MissionFaile... |
Legacy bounty aliases kept for older integrations. |
MissionSuccess |
Config.Messages.MissionSucce... |
Ajuste para mission success. |
EnemyRemain |
Config.Messages.RemainingEne... |
Ajuste para enemy remain. |
KiledEnemys |
Config.Messages.EnemiesKille... |
Ajuste para kiled enemys. |
RewardGet |
Config.Messages.RewardReceiv... |
Valor em dinheiro para reward get. As recompensas passam pelo multiplicador de economia do jrs_core. |
Notes from the README#
REDEMPIRE Bounty Board v2.1.0
=======================
Dependencies
------------
- oxmysql
- jrs_core
Recommended start order
-----------------------
ensure oxmysql
ensure jrs_core
ensure jrs_bounty
Installation
------------
1. Replace the old jrs_bounty resource with this folder.
2. Keep the resource folder name as: jrs_bounty
3. The server creates the required tables automatically.
4. Review config.lua before starting the resource.
Bounty-only build
-----------------
- The complete heist/robbery system was removed.
- jrs_lockpick is no longer used.
- jrs_inventory is no longer required by this resource.
- Available bounty missions and sheriff bounty notices remain.
Group bounty system
-------------------
- Open the Group tab on the bounty board.
- The leader adds players directly by server ID.
- Config.GroupMaxMembers controls the total group size including the leader.
- Only the group leader can start or abort a bounty mission while grouped.
- Starting a bounty sends the same mission to every current group member.
- Only one networked enemy wave is spawned by the leader, preventing duplicate NPC waves.
- Group membership is locked while a mission is active.
- Group members cannot start another bounty while assigned to the leader's active mission.
- The poster reward is a TOTAL reward. It is split between online mission participants at completion.
- Integer remainders are distributed one dollar at a time so the full configured reward is paid.
- The normal bounty cooldown is applied to every mission participant after success.
- Groups are session-only and are not stored in the database.
Important config options
------------------------
- Config.Jobs
- Config.BountyBoards
- Config.GroupMaxMembers
- Config.MaxSheriffReward
- Config.MinimumMissionSeconds
- Config.MissionCompletionDistanceFree (included in JRS Core) jrs_crawfish
A script to catch crawfish for jrs core framework
| Resource | jrs_crawfish |
| Folder | [JOBS] |
| Version | 2.0 |
| Author | JRS TEAM |
| Interface | No |
| Code size | 693 linhas de Lua |
config.lua - 22 opções#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"en" |
Default language ("en" English, "es" Español) |
ProgressBarType |
2 |
false or less than 1 = no progress bar display, 1 = legacy progressBars, 2 = jrs_progressbar; Default: 2 |
ProgressBar |
table |
Progress Bar Variables; Only used if Config.ProgressBarType is 2 |
↳ theme |
"linear" |
Supported themes: "linear", "circle", "innercircle"; Default: "linear" |
↳ color |
"rgb(124, 45, 45)" |
CSS color name or rgb/rgba/etc format; Default: "rgb(124, 45, 45)" |
↳ width |
"20vw" |
Horizontal length of progressbar in CSS units; Only used by the "linear" theme; Default: "20vw" |
↳ focus |
false |
If true, progress bar UI will have keyboard focus; Default: false |
SearchTimeMin |
5000 |
Minimum time, in milliseconds (1000 milliseconds = 1 second), taken to search a crawfish hole. |
SearchTimeMax |
10000 |
Maximum time, in milliseconds (1000 milliseconds = 1 second), taken to search a crawfish hole. |
SearchDelay |
600 |
Time, in seconds, before a crawfish hole can be search again. |
SearchRewardCount |
1 |
How many crawfish players can find per hole; Set this to a table like so {min, max} for random reward count per search; eg {0, 3} will mean a random reward count between 0 and 3. |
CrawfishItemName |
"animal_crawfish" |
The item name of a Crawfish; given to player on successful search (MUST be registered in your items database!). |
CrawfishItemLabel |
_U("item_crawfish") |
The display name of a Crawfish. _U("item_crawfish") will pull the name from your language file, or you can just put a name here yourself. |
CanFindOtherItems |
false |
Set true to allow players to find extra items in crawfish holes; Default: false |
OtherItemsChance |
2 |
The chance of a player finding other items in crawfish holes (0 to 100); Default: 2 |
MaxOtherItems |
1 |
The maximum different items a player can find when searching a crawfish hole; Default: 1 |
OtherItems |
table |
Itens de inventário usados por other items. Os nomes precisam existir na tabela jrs_items. |
CrawfishCustomUseFunction |
false |
Set true if you already have a script which handles the usage of an item with the same name as Config.CrawfishItemName. |
CrawfishGivenItemName |
"provision_meat_crustacean" |
The item name of what is rewarded when using a Crawfish from inventory (MUST be registered in your items database!). |
CrawfishGivenItemLabel |
_U("item_harvest") |
The display name of Config.CrawfishGivenItemName. _U("item_harvest") will pull the name from your language file, or you can just put a name here yourself. |
CrawfishGivenItemAmount |
1 |
How many items (Config.CrawfishGivenItemName) players can obtain when using a Crawfish from inventory; Set this to a table like so {min, max} for random item count when used; eg {1, 3} will mean a random item count between 1 and 3 |
CrawfishHoles |
table |
vector3(x,y,z) |
Paid (server only) jrs_delivery
Multi-location and multi-cargo delivery job for jrs_core with route map NUI
| Resource | jrs_delivery |
| Folder | [JOBS] |
| Version | 4.1.4 |
| Author | jrs team |
| Depends on | jrs_core |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 3,010 Lua lines |
Database tables
jrs_delivery_locations, jrs_delivery_receivers, jrs_delivery_route_extras
config/config.lua - 77 opções#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"ar" |
Fallback only. The live language is per player and comes from jrs_core (@jrs_core/shared/jrs_lang.lua): _U resolves in the language the player picked, _UE forces English for RedM on-screen prompts. |
RequireJob |
true |
Only players who picked up the Delivery Driver job at a jrs_multijob employment office can start deliveries. Set to false to let anyone use the job. |
JobName |
"delivery" |
Quem pode: empregos, grupos ou permissões para job name. |
MinimumJobGrade |
0 |
Mínimo ou nível exigido para minimum job grade. |
CurrencyType |
0 |
jrs_core currency: 0 = cash, 1 = gold, 2 = rol. |
EnableXP |
true |
XP is awarded through jrs_core and stored in characters_level. |
XPReason |
"Delivery completed" |
Ajuste para xp reason. |
InteractControl |
0x760A9C6F |
G |
DeliverControl |
0xCEFD9220 |
E |
InteractRadius |
2.0 |
Distância em unidades do jogo para interact radius. |
ServerStartDistance |
8.0 |
Distância em unidades do jogo para server start distance. |
ServerDeliveryDistance |
15.0 |
Distância em unidades do jogo para server delivery distance. |
NpcSpawnDistance |
180.0 |
Distância em unidades do jogo para npc spawn distance. |
PromptCooldownMs |
1200 |
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. |
DeliveryZoneRadius |
9.0 |
and the player must have stepped out of it, before the receiving clerk's prompt appears. ReceiverOffset places that clerk to the side of the parked wagon (reusing the destination station's own NPC model). |
ReceiverInteractRadius |
3.25 |
Distância em unidades do jogo para receiver interact radius. |
ReceiverOffset |
3.25 |
Número para receiver offset (padrão 3.25). |
ReceiverOverrides |
table |
Per-location receiver spot overrides (loc_key -> vector4), set live from the in-game admin panel and synced from jrs_delivery_receivers. Locations with no entry here fall back to the automatic offset above. |
UI |
table |
The delivery menu uses the included NUI interface. No external menu resource is required. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ Username |
"Delivery Job" |
Ajuste para username. |
AllowAllRoutes |
false |
Each location ships one cargo to one fixed destination. |
MinimumDeliverySeconds |
10 |
Mínimo ou nível exigido para minimum delivery seconds. |
RouteExpiryGraceSeconds |
30 |
Número para route expiry grace seconds (padrão 30). |
CancelIfWagonDestroyed |
true |
Chave para cancel if wagon destroyed: true = ligado, false = desligado (padrão true). |
WarpPlayerIntoWagon |
false |
Chave para warp player into wagon: true = ligado, false = desligado (padrão false). |
EnableCargoSpeedLimit |
true |
Enforce each cargo contract's wagon speed. |
EnableLocationBlips |
true |
Map settings. |
LocationBlipHash |
-1989306548 |
Coordenadas do mundo (x, y, z) para location blip hash. |
LocationBlipColor |
"BLIP_MODIFIER_MP_COLOR_32" |
Coordenadas do mundo (x, y, z) para location blip color. |
LocationBlipScale |
0.8 |
Coordenadas do mundo (x, y, z) para location blip scale. |
DestinationBlipHash |
-570710357 |
Ajustes do blip ou ícone do mapa para destination blip hash. |
GpsRouteColor |
"COLOR_YELLOW" |
Ajuste para gps route color. |
RouteDefaults |
table |
Default values used by routes unless overridden in Config.RouteOverrides. |
↳ wagon |
"CART06" |
Ajuste para wagon. |
↳ timer |
1500 |
Número para timer (padrão 1500). |
↳ xp |
220 |
Número para xp (padrão 220). |
↳ priceMin |
2.00 |
Valor em dinheiro para price min. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ priceMax |
3.50 |
Valor em dinheiro para price max. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ maxSpeed |
8.5 |
Game units are meters per second. |
CargoPresets |
table |
Cargo presets define the default behavior of each load. Scaled onto jrs_delivery's price/xp economy (RDO Trader Delivery parity). |
↳ eggs |
table |
Tabela de entradas de eggs. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ raspberry |
table |
Tabela de entradas de raspberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ lumber |
table |
Tabela de entradas de lumber. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ nails |
table |
Tabela de entradas de nails. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ caviar |
table |
Tabela de entradas de caviar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ trader_goods_local |
table |
Tabela de entradas de trader goods local. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ trader_goods_distant |
table |
Tabela de entradas de trader goods distant. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ cigar |
table |
Tabela de entradas de cigar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ coal_shipment |
table |
Tabela de entradas de coal shipment. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ snake_poison |
table |
Tabela de entradas de snake poison. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ tobacco |
table |
Tabela de entradas de tobacco. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ fish_lure |
table |
Tabela de entradas de fish lure. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ lead_bar |
table |
Tabela de entradas de lead bar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ruby |
table |
Tabela de entradas de ruby. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
LocationOrder |
table |
wagonSpawn: wagon spawn position. deliveryPoint: route completion position. destinations: the single fixed target this location's cargo ships to (AllowAllRoutes = false). |
Locations |
table |
Coordenadas do mundo (x, y, z) para locations. |
↳ valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wallace_station |
table |
Tabela de entradas de wallace station. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ blackwater |
table |
Tabela de entradas de blackwater. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ mcfarlanes_ranch |
table |
Tabela de entradas de mcfarlanes ranch. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ armadillo |
table |
Tabela de entradas de armadillo. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wapiti_indian |
table |
Tabela de entradas de wapiti indian. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ van_horn |
table |
Tabela de entradas de van horn. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ saint_denis |
table |
Tabela de entradas de saint denis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rhodes |
table |
Tabela de entradas de rhodes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ emerald_ranch |
table |
Tabela de entradas de emerald ranch. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ annesburg |
table |
Tabela de entradas de annesburg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
RouteCargoOptions |
table |
Not needed: every location has exactly one cargo option, so no per-route override table. |
RouteOverrides |
table |
Not needed: destinations above are fixed per location. |
↳ valentine:wallace_station |
table |
Tabela de entradas de valentine:wallace station. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wallace_station:strawberry |
table |
Tabela de entradas de wallace station:strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ annesburg:valentine |
table |
Tabela de entradas de annesburg:valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rhodes:emerald_ranch |
table |
Tabela de entradas de rhodes:emerald ranch. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wapiti_indian:van_horn |
table |
Tabela de entradas de wapiti indian:van horn. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# jrs_delivery 3.3.3 — jrs_core
This resource is built for `jrs_core` and uses the core for character data, money, XP, notifications and the 3D destination waypoint.
## SS-Deliveryjob port
Locations, item names and per-mission XP were ported from the SS-Deliveryjob asset pack's `config.lua`
(SS-Deliveryjob's actual game logic is escrow-protected, so only its readable config data could be
carried over — the engine below is jrs_delivery's own). `Config.AllowAllRoutes = false` and each
location's single `destinations` entry recreate SS-Deliveryjob's one-city, one-cargo, one-fixed-destination
design as a 12-city ring: Valentine -> Wallace Station -> Strawberry -> Blackwater -> McFarlane's Ranch ->
Armadillo -> Wapiti Indian Reservation -> Van Horn -> Saint Denis -> Rhodes -> Emerald Ranch -> Annesburg -> (back to Valentine).
A Discord webhook log on delivery completion is available via `Config.Discord` (disabled by default —
set your own webhook URL, never reuse one shipped inside a downloaded pack).
## Multi-cargo contracts
A destination can offer multiple cargo contracts. The player selects:
1. Destination.
2. Cargo type.
3. The contract with its own time, payment, XP, wagon model and maximum speed.
The selected cargo is validated on the server when the delivery starts, when the wagon is registered and when the delivery is completed.
## Cargo defaults
Each cargo type has default settings in `Config.CargoPresets`:
'''lua
Config.CargoPresets.coal_shipment = {
label = 'Coal',
description = 'Heavy coal load out of Emerald Ranch. 30-50 units, slows the wagon.',
wagon = 'wagon04x',
timer = 1850,
priceMin = 650,
priceMax = 850,
xp = 58,
maxSpeed = 6.0,
props = {
-- Cargo objects...
}
}
'''
`maxSpeed` uses game speed units in meters per second. The UI displays the approximate value in km/h.
## Cargo offered by a departure city
When no exact route configuration exists, the route uses the departure city's `cargoOptions`:
'''lua
Config.Locations.valentine = {
cargoOptions = { 'raspberry' },
destinations = { 'wallace_station' },
-- ...
}
'''
This makes `raspberry` available from Valentine to Wallace Station only (`Config.AllowAllRoutes = false`).Paid (server only) jrs_doctors
jrs core Doctors - fully integrated medical, hospital, disease, employment, storage and death-screen system for RedM
| Resource | jrs_doctors |
| Folder | [JOBS] |
| Version | 4.4.20 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, jrs_metabolism, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 30,018 Lua lines |
Commands
/-/admincure/cureme/jrs_doctor_menu/jrspromptfix
Exports
AddInjury, AddOption, AdminClearDisease, ApplyDoctorOutfit, ApplyGradeOutfit, CalculateDramaticHeartRate, CallMedicalService, ChangeMetabolism, ClearActiveDisease, ClearInjuries, CloseDoctorRadial, CreateMedicalCall, CurePlayer, CurrentZone, ExternalHeal, ExternalRevive, FinishKnock, FinishKnockedPlayer, ForceStopDeathCam, GetActiveDisease, GetActiveTreatments, GetBleedingState, GetCurrentHeartRate, GetDiseaseCatalog, GetDiseaseRuntimeStatus, GetDiseaseTreatmentQuote, GetDoctorsOnDuty, GetInjuries, GetMedicONDUTY, GetPlayerDisease
Database tables
jrs_doctors_applications, jrs_doctors_archives, jrs_doctors_bleeding, jrs_doctors_cabinet_usage, jrs_doctors_calls, jrs_doctors_diseases, jrs_doctors_employees, jrs_doctors_injuries, jrs_doctors_kit_durability, jrs_doctors_patient_profiles, jrs_doctors_treatments
config/admin.lua - 12 opções#
General
| Setting | Default | What it does |
|---|---|---|
AdminMenu |
table |
Quem pode: empregos, grupos ou permissões para admin menu. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Command |
"jrsdoctorsadmin" |
Ajuste para command. |
↳ RequireFullAccess |
true |
Requires full access: true = sim, false = não (padrão true). |
↳ AllowWithoutDuty |
true |
Allows without duty: true = sim, false = não (padrão true). |
↳ MaximumGiveAmount |
5 |
Limite máximo para maximum give amount. |
↳ MaximumInjurySeverity |
100 |
Limite máximo para maximum injury severity. |
↳ AuditToDatabase |
true |
Chave para audit to database: true = ligado, false = desligado (padrão true). |
↳ Operations |
table |
Tabela de entradas de operations. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ BodyParts |
table |
Tabela de entradas de body parts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Treatments |
table |
Tabela de entradas de treatments. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ MetabolismProfiles |
table |
Tabela de entradas de metabolism profiles. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/core.lua - 106 opções#
General
| Setting | Default | What it does |
|---|---|---|
Registry |
true |
Chave para registry: true = ligado, false = desligado (padrão true). |
RepSystem |
false |
Chave para rep system: true = ligado, false = desligado (padrão false). |
RepAdded |
10.0 |
Número para rep added (padrão 10.0). |
MedicMissions |
false |
Chave para medic missions: true = ligado, false = desligado (padrão false). |
Diseases |
true |
Chave para diseases: true = ligado, false = desligado (padrão true). |
MedicArchives |
true |
Chave para medic archives: true = ligado, false = desligado (padrão true). |
ClothingScript |
true |
Chave para clothing script: true = ligado, false = desligado (padrão true). |
RagDollFalling |
false |
Chave para rag doll falling: true = ligado, false = desligado (padrão false). |
Key |
0xCEFD9220 |
Tecla ou controle usado para key. Os controles são valores hash da lista de entradas do jogo. |
Align |
"right" |
Ajuste para align. |
FireMedic |
"unemployed" |
Ajuste para fire medic. |
JobGrade |
7 |
Quem pode: empregos, grupos ou permissões para job grade. |
JobGradeBuy |
10 |
Quem pode: empregos, grupos ou permissões para job grade buy. |
UseCommand |
true |
Liga ou desliga command (padrão true). |
WagonInventory |
200 |
Número para wagon inventory (padrão 200). |
DespawnWagonDist |
200 |
Distância em unidades do jogo para despawn wagon dist. |
UsePayment |
true |
Liga ou desliga payment (padrão true). |
SynPayment |
false |
Chave para syn payment: true = ligado, false = desligado (padrão false). |
PaymentTime |
1800 |
Número para payment time (padrão 1800). |
PaymentGrade |
table |
Quem pode: empregos, grupos ou permissões para payment grade. |
PayAlertAccepted |
1.00 |
Valor em dinheiro para pay alert accepted. As recompensas passam pelo multiplicador de economia do jrs_core. |
UseNotify |
true |
Liga ou desliga notify (padrão true). |
DelayNotify |
5000 |
Ajuste de tempo para delay notify. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
AlertDistance |
2500 |
Distância em unidades do jogo para alert distance. |
UseAlertCmd |
true |
Liga ou desliga alert cmd (padrão true). |
CmdDelay |
10 |
Ajuste de tempo para cmd delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
DeadBodyBlip |
350569997 |
Ajustes do blip ou ícone do mapa para dead body blip. |
DeadPoliceBlip |
-1154452417 |
Ajustes do blip ou ícone do mapa para dead police blip. |
RemoveAlertItem |
false |
HARD RULE: birdalert is a permanent tool and is never consumed by jrs_doctors |
AlertItem |
"birdalert" |
fixed dispatch item |
BirdModel |
"a_c_pigeon" |
Modelo ou entidade do jogo usado para bird model. |
ActivateMouse |
0x760A9C6F |
Ajuste para activate mouse. |
BedTime |
10000 |
Número para bed time (padrão 10000). |
BedScenario |
"PROP_HUMAN_SLEEP_BED_PILLOW... |
Ajustes de animação para bed scenario. |
RegisterPrice |
0.35 |
Valor em dinheiro para register price. As recompensas passam pelo multiplicador de economia do jrs_core. |
MedicDistance |
500 |
Distância em unidades do jogo para medic distance. |
Distance |
1.5 |
Distância em unidades do jogo para distance. |
UseMetadata |
true |
Liga ou desliga metadata (padrão true). |
KitsDurability |
100 |
Número para kits durability (padrão 100). |
RemoveWhenUse |
20 |
Número para remove when use (padrão 20). |
MedCabItem |
"docbandage" |
Itens de inventário usados por med cab item. Os nomes precisam existir na tabela jrs_items. |
BlacklistZones |
table |
Tabela de entradas de blacklist zones. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Version |
"4.4.8-jrs-login-fix" |
Ajuste para version. |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
Framework |
"jrs" |
jrs_core + jrs_inventory |
Locale |
"ar" |
Idioma da interface deste script (en ou ar). |
CoreResource |
"jrs_core" |
Ajuste para core resource. |
InventoryResource |
"jrs_inventory" |
Ajuste para inventory resource. |
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 |
Tabela de entradas de currency. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RequireCharacterReady |
true |
Requires character ready: true = sim, false = não (padrão true). |
↳ CharacterReadyTimeoutMs |
15000 |
Ajuste de tempo para character ready timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ApiRetryMs |
1000 |
Número para api retry ms (padrão 1000). |
↳ ApiRetryCount |
20 |
Número para api retry count (padrão 20). |
↳ StorageRegisterDelayMs |
175 |
Ajuste de tempo para storage register delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
ResourceName |
"jrs_doctors" |
Texto mostrado ao jogador para resource name. Altere para traduzir ou renomear. |
LegacyMigration |
table |
Tabela de entradas de legacy migration. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ CopyJrsDoctorTables |
true |
Chave para copy jrs doctor tables: true = ligado, false = desligado (padrão true). |
ReleaseInfo |
table |
Startup identity printed in the RedM server console. Keep text concise so it stays readable in txAdmin and the live console. |
↳ ScriptName |
"DOCTORS" |
Texto mostrado ao jogador para script name. Altere para traduzir ou renomear. |
↳ VersionName |
'DOCTOR TRANSPORT & STORAGE ... |
Texto mostrado ao jogador para version name. Altere para traduzir ou renomear. |
↳ VersionType |
"SECURE UNIFIED PRODUCTION UI" |
Ajuste para version type. |
↳ ReleaseChannel |
"PRODUCTION" |
Ajuste para release channel. |
↳ FrameworkLabel |
"REDEMPIRE + INVENTORY" |
Texto mostrado ao jogador para framework label. Altere para traduzir ou renomear. |
↳ ShowStartupBanner |
true |
Shows startup banner: true = sim, false = não (padrão true). |
↳ ReadyDelayMs |
1500 |
Ajuste de tempo para ready delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Debugging |
table |
Structured diagnostics. Keep Enabled=true while testing, then switch it off in production. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ Level |
"info" |
trace | debug | info | warning | error |
↳ StartupDetails |
false |
Chave para startup details: true = ligado, false = desligado (padrão false). |
↳ PrintFramework |
true |
Chave para print framework: true = ligado, false = desligado (padrão true). |
↳ PrintDatabase |
true |
Chave para print database: true = ligado, false = desligado (padrão true). |
↳ PrintInventory |
false |
Chave para print inventory: true = ligado, false = desligado (padrão false). |
↳ PrintRequests |
false |
Chave para print requests: true = ligado, false = desligado (padrão false). |
↳ PrintResponses |
false |
Chave para print responses: true = ligado, false = desligado (padrão false). |
↳ PrintSecurity |
false |
Chave para print security: true = ligado, false = desligado (padrão false). |
↳ PrintPlayerAccess |
false |
Chave para print player access: true = ligado, false = desligado (padrão false). |
↳ PrintNui |
false |
Chave para print nui: true = ligado, false = desligado (padrão false). |
↳ PrintEntities |
false |
Chave para print entities: true = ligado, false = desligado (padrão false). |
↳ PrintHospitals |
false |
Chave para print hospitals: true = ligado, false = desligado (padrão false). |
↳ PrintShops |
false |
Chave para print shops: true = ligado, false = desligado (padrão false). |
↳ PrintJobs |
false |
Chave para print jobs: true = ligado, false = desligado (padrão false). |
↳ PrintCoordinates |
false |
Chave para print coordinates: true = ligado, false = desligado (padrão false). |
↳ RequestPayloads |
false |
enable only when you need full request payloads |
↳ Command |
"jrsdoctorsdebug" |
Ajuste para command. |
↳ StatusCommand |
"jrsdoctorsstatus" |
Ajuste para status command. |
↳ ClientCommand |
"jrsdoctorsclientdebug" |
Ajuste para client command. |
↳ Categories |
table |
Tabela de entradas de categories. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Access |
table |
Tabela de entradas de access. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ AcePermission |
"jrs_doctors.full_access" |
Quem pode: empregos, grupos ou permissões para ace permission. |
↳ FullAccessGrade |
99 |
Quem pode: empregos, grupos ou permissões para full access grade. |
↳ FullAccessIdentifiers |
table |
Tabela de entradas de full access identifiers. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ BypassJobAndGrade |
true |
Full-access identifiers are treated as doctors and managers everywhere in this resource. |
↳ BypassCityJobRestriction |
true |
Chave para bypass city job restriction: true = ligado, false = desligado (padrão true). |
↳ BypassDutyRestriction |
false |
Full access still bypasses job/grade/location checks, but medical actions require Go On Duty. |
↳ BypassManagementGrade |
true |
Chave para bypass management grade: true = ligado, false = desligado (padrão true). |
↳ BypassMenuLocation |
true |
Chave para bypass menu location: true = ligado, false = desligado (padrão true). |
↳ BypassCabinetLocation |
true |
Chave para bypass cabinet location: true = ligado, false = desligado (padrão true). |
↳ BypassPayments |
true |
The configured full-access Steam/Ace identifiers do not pay system-owned doctor charges (shops, cabinet, hospital, NPC doctor, assistant). Player-to-player medical invoices are deliberately excluded. |
↳ PaymentBypassBlockedReasons |
table |
Tabela de entradas de payment bypass blocked reasons. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ BypassRequiredItems |
true |
This bypass never applies to consumable treatment items while Config.TreatmentItemConsumption.RequireRealInventory is enabled. |
↳ BypassInventoryCapacity |
false |
item receipt still respects real inventory capacity |
config/deathscreen_tests.lua - 123 opções#
DEATH SCREEN, TEST SYSTEM AND COMPATIBILITY
| Setting | Default | What it does |
|---|---|---|
Billing |
table |
Tabela de entradas de billing. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ PayDoctorPercentage |
100 |
Valor em dinheiro para pay doctor percentage. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Currency |
"cash" |
Ajuste para currency. |
↳ InvoiceTimeoutSeconds |
30 |
Ajuste de tempo para invoice timeout seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ TargetByServerId |
true |
Billing UI accepts a typed player Server ID. |
↳ RequireNearbyTarget |
false |
Set true if invoices should only work on nearby players. |
Animations |
table |
Tabela de entradas de animations. 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. |
↳ Treat |
table |
Tabela de entradas de treat. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ SelfBandage |
table |
Tabela de entradas de self bandage. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ DoctorScenario |
"WORLD_HUMAN_WRITE_NOTEBOOK" |
Ajustes de animação para doctor scenario. |
TreatmentVisuals |
table |
Network-visible treatment presentation. Only the doctor receives the progress/UI; nearby players see the natural doctor/patient motion with no medical data exposed. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ ObserverDistance |
32.0 |
Distância em unidades do jogo para observer distance. |
↳ FreezeConsciousPatient |
true |
Chave para freeze conscious patient: true = ligado, false = desligado (padrão true). |
↳ FaceDoctorBeforeTreatment |
true |
Chave para face doctor before treatment: true = ligado, false = desligado (padrão true). |
↳ FaceDurationMs |
550 |
Ajuste de tempo para face duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SettleMs |
220 |
Número para settle ms (padrão 220). |
↳ AutoStepDoctorBesidePatient |
true |
Automatically handles step doctor beside patient: true = sim, false = não (padrão true). |
↳ DoctorSideOffset |
0.82 |
Número para doctor side offset (padrão 0.82). |
↳ DoctorForwardOffset |
0.04 |
Número para doctor forward offset (padrão 0.04). |
↳ DoctorApproachDistance |
1.55 |
Distância em unidades do jogo para doctor approach distance. |
↳ DoctorApproachTolerance |
0.42 |
Número para doctor approach tolerance (padrão 0.42). |
↳ DoctorApproachTimeoutMs |
1800 |
Ajuste de tempo para doctor approach timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DoctorApproachSpeed |
0.85 |
Número para doctor approach speed (padrão 0.85). |
↳ KeepCriticalInjuredPose |
true |
Chave para keep critical injured pose: true = ligado, false = desligado (padrão true). |
↳ HideObserverUi |
true |
Hides observer ui: true = sim, false = não (padrão true). |
↳ NetworkNpcDoctor |
true |
Chave para network npc doctor: true = ligado, false = desligado (padrão true). |
↳ NetworkHospitalDoctor |
true |
Chave para network hospital doctor: true = ligado, false = desligado (padrão true). |
↳ PatientAnimation |
table |
Ajustes de animação para patient animation. |
↳ SkipPatientAnimation |
table |
These treatments keep their own native/downed/bed pose and do not force the conscious-patient idle above. |
DeathScreen |
table |
Unified death-screen settings. This replaces the standalone second resource and uses the existing REDEMPIRE hospital, bed, treatment, dispatch, economy and security systems. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ DetectionConfirmMs |
900 |
Número para detection confirm ms (padrão 900). |
↳ DeathTimeSeconds |
500 |
Número para death time seconds (padrão 500). |
↳ HospitalButtonDelaySeconds |
60 |
Ajuste de tempo para hospital button delay seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AutoHospitalAtTimerEnd |
false |
Automatically handles hospital at timer end: true = sim, false = não (padrão false). |
↳ DisableVoice |
true |
Turns off voice: true = sim, false = não (padrão true). |
↳ DisableChat |
false |
Turns off chat: true = sim, false = não (padrão false). |
↳ Compatibility |
table |
Optional custom chat resource integration. Leave empty for framework-neutral behavior. |
↳ Hospital |
table |
Tabela de entradas de hospital. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Emergency |
table |
Tabela de entradas de emergency. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ HeartRate |
table |
Taxa ou multiplicador para heart rate. |
↳ HeartbeatTiming |
table |
Tabela de entradas de heartbeat timing. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Camera |
table |
Tabela de entradas de camera. 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. |
↳ Text |
table |
Texto mostrado ao jogador para text. Altere para traduzir ou renomear. |
↳ DeathReasons |
table |
Tabela de entradas de death reasons. 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. |
TestSystem |
table |
Integrated test center. All buttons are rendered inside the existing medical NUI theme. Access is server-authoritative and is never granted from the browser payload. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ Command |
"jrsdoctorstests" |
Ajuste para command. |
↳ RequireDuty |
false |
the Steam allowlist has direct test access without going on duty |
↳ CooldownMs |
900 |
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. |
↳ AllowStateTests |
true |
Allows state tests: true = sim, false = não (padrão true). |
↳ AllowDiseaseTests |
true |
Allows disease tests: true = sim, false = não (padrão true). |
↳ AllowHospitalSequence |
true |
Allows hospital sequence: true = sim, false = não (padrão true). |
↳ AllowDeathScreenTests |
true |
Allows death screen tests: true = sim, false = não (padrão true). |
↳ AllowEntityTests |
true |
Allows entity tests: true = sim, false = não (padrão true). |
↳ TestDurationMs |
3500 |
Ajuste de tempo para test duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AutoCleanupSeconds |
45 |
Número para auto cleanup seconds (padrão 45). |
↳ DoctorModel |
"cs_sddoctor_01" |
Modelo ou entidade do jogo usado para doctor model. |
↳ PatientModel |
"u_m_m_valdoctor_01" |
Modelo ou entidade do jogo usado para patient model. |
↳ BagModel |
"p_bag_leather_doctor" |
Modelo ou entidade do jogo usado para bag model. |
↳ WagonModel |
"wagondoc01x" |
Modelo ou entidade do jogo usado para wagon model. |
↳ MountModel |
"A_C_Horse_Arabian_White" |
Modelo ou entidade do jogo usado para mount model. |
↳ DispatchPatientEnabled |
true |
Full dispatch simulation. The bot is networked, creates a real death call, displays the G acceptance card, routes the first doctor and can be treated through the normal patient assessment UI without consuming supplies. |
↳ DispatchPatientName |
"Training Patient" |
Texto mostrado ao jogador para dispatch patient name. Altere para traduzir ou renomear. |
↳ DispatchPatientReason |
'Training patient is unconsc... |
Ajuste para dispatch patient reason. |
↳ DispatchPatientPersistentBlip |
true |
Chave para dispatch patient persistent blip: true = ligado, false = desligado (padrão true). |
↳ DispatchPatientSpawnDistance |
3.0 |
Distância em unidades do jogo para dispatch patient spawn distance. |
↳ FullSuiteStepDelayMs |
450 |
Ajuste de tempo para full suite step delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
TestPatient |
table |
Interactive local patient used by the Steam-authorized test center. It reuses the real patient assessment UI but never consumes inventory items. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ Command |
"jrstestpatient" |
Ajuste para command. |
↳ RemoveCommand |
"jrsremovetestpatient" |
Ajuste para remove command. |
↳ Name |
"Test Patient" |
Texto mostrado ao jogador para name. Altere para traduzir ou renomear. |
↳ DisplayId |
"TEST" |
Ajuste para display id. |
↳ Model |
"u_m_m_valdoctor_01" |
Modelo ou entidade do jogo usado para model. |
↳ SpawnDistance |
2.25 |
Distância em unidades do jogo para spawn distance. |
↳ InteractionDistance |
3.0 |
Distância em unidades do jogo para interaction distance. |
↳ InteractControl |
Config.Keys.Interact |
Tecla ou controle usado para interact control. Os controles são valores hash da lista de entradas do jogo. |
↳ PromptText |
"EXAMINE TEST PATIENT" |
Texto mostrado ao jogador para prompt text. Altere para traduzir ou renomear. |
↳ RequireDuty |
true |
Requires duty: true = sim, false = não (padrão true). |
↳ MaximumHealth |
200 |
Limite máximo para maximum health. |
↳ InjuredHealth |
95 |
Número para injured health (padrão 95). |
↳ UnconsciousHealth |
10 |
Número para unconscious health (padrão 10). |
↳ DurationMultiplier |
0.45 |
Ajuste de tempo para duration multiplier. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AutoCleanupSeconds |
0 |
0 keeps the patient until cleanup, resource stop, or /jrsremovetestpatient. |
Validation |
table |
Tabela de entradas de validation. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ PrintSummary |
true |
Chave para print summary: true = ligado, false = desligado (padrão true). |
↳ FailOnDuplicateIds |
true |
Chave para fail on duplicate ids: true = ligado, false = desligado (padrão true). |
↳ WarnOnZeroCoordinates |
true |
Chave para warn on zero coordinates: true = ligado, false = desligado (padrão true). |
Compatibility |
table |
Tabela de entradas de compatibility. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ JRSReviveClientEvent |
"" |
optional; generic RedM revive works without this |
↳ CustomReviveClientEvent |
"" |
Ajuste para custom revive client event. |
↳ CustomHealClientEvent |
"" |
Ajuste para custom heal client event. |
↳ CustomNotifyClientEvent |
"" |
Texto mostrado ao jogador para custom notify client event. Altere para traduzir ou renomear. |
↳ CustomSocietyDepositServerEvent |
"" |
Valor em dinheiro para custom society deposit server event. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ CustomSetJobServerEvent |
"" |
Quem pode: empregos, grupos ou permissões para custom set job server event. |
↳ UseOneSyncDistanceValidation |
true |
Liga ou desliga one sync distance validation (padrão true). |
↳ ExternalMedicalBridge |
true |
Generic bridge for other resources. Native deaths are detected automatically. External scripts that use their own downed state can call the exports/events below without adding another framework dependency. |
↳ ExternalDeathEvents |
table |
Tabela de entradas de external death events. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ExternalReviveEvents |
table |
Tabela de entradas de external revive events. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ExternalHealEvents |
table |
Tabela de entradas de external heal events. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
RadialMenu |
table |
Integrated doctor transport radial menu. This replaces the separate jrs_radialmenu resource. Horse and wagon inventories intentionally remain on their nearby native prompts. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Command |
"jrsdoctorradial" |
Ajuste para command. |
↳ Keybind |
0x3C0A40F2 |
F6 |
↳ KeybindLabel |
"F6" |
Texto mostrado ao jogador para keybind label. Altere para traduzir ou renomear. |
↳ UseWhilstWalking |
false |
NUI owns input while open; player/camera controls stay locked. |
↳ MedicalOnly |
true |
Chave para medical only: true = ligado, false = desligado (padrão true). |
↳ AllowExternalOptions |
false |
Prevent other resources from adding non-medical entries. |
↳ RequireDuty |
true |
The complete radial is restricted to on-duty doctors. |
↳ Size |
440 |
Número para size (padrão 440). |
↳ CloseDelayMs |
120 |
Ajuste de tempo para close delay ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ HospitalLookupDistance |
14.0 |
Distância em unidades do jogo para hospital lookup distance. |
↳ DisableWorldTransportActions |
true |
Turns off world transport actions: true = sim, false = não (padrão true). |
config/diseases.lua - 2 opções#
General
| Setting | Default | What it does |
|---|---|---|
DiseaseSystem |
Config.DiseaseSystem or {} |
Ajuste para disease system. |
ItemNames |
Config.ItemNames or {} |
Register the restricted test item in the shared medical item registry without exposing it through public or doctor shops. |
config/downed_crawl.lua - 9 opções#
General
| Setting | Default | What it does |
|---|---|---|
DownedCrawl |
table |
Tabela de entradas de downed crawl. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Commands |
table |
Tabela de entradas de commands. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ AutoDowned |
false |
Automatically handles downed: true = sim, false = não (padrão false). |
↳ HealthThreshold |
50 |
Número para health threshold (padrão 50). |
↳ MinimumHealth |
50 |
Mínimo ou nível exigido para minimum health. |
↳ InvincibleWhileDowned |
true |
Chave para invincible while downed: true = ligado, false = desligado (padrão true). |
↳ Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
↳ Animation |
table |
Ajustes de animação para animation. |
↳ Controls |
table |
Tabela de entradas de controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/hospitals.lua - 10 opções#
General
| Setting | Default | What it does |
|---|---|---|
Doctors |
table |
Tabela de entradas de doctors. 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. |
↳ 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. |
Notes from the README#
## REDEMPIRE Inventory legacy item migration
Older `jrs_doctors` SQL used the `items.limit` column as a stack limit (for example `birdalert = 10`). The current `jrs_inventory` uses the same column as **wei
This build automatically normalizes all REDEMPIRE Doctors item definitions. If the console prints that legacy definitions were repaired, run `restart jrs_invent
# REDEMPIRE Doctors 4.4.5-jrs
`jrs_doctors` is the REDEMPIRE-only medical/doctor system for RedM. The runtime is connected directly to `jrs_core` and `jrs_inventory`; there is no framework a
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_doctors
'''
## Installation
1. Keep the resource folder name exactly `jrs_doctors`.
2. Import `sql/jrs_doctors.sql` into the server database.
3. Copy the PNG files from `items/` into `jrs_inventory/html/img/items/` when your inventory build loads item images from that folder.
4. Configure jobs, hospitals, payments, access, diseases, storage and doctor features under `config/`.
5. Start the resource after `jrs_core` and `jrs_inventory`.
The main SQL file creates the REDEMPIRE Doctors tables and registers the medical inventory items using the REDEMPIRE inventory item schema. A copy of only the i
## REDEMPIRE Core integration
Server-side integration is implemented in `server/jrs_bridge.lua` and uses:
'''lua
local REDEMPIRE = exports.jrs_core:getCoreApi()
local character = REDEMPIRE.getCharacter(source)
'''
The script uses REDEMPIRE character data for:
- character identifier and character name
- doctor job and grade
- cash, gold and role currency
- job changes
- server-authoritative payments
- access checks and medical actions
Currency mapping is configured in `config/core.lua`:
'''lua
Config.REDEMPIRE.Currency = {
cash = 0,
gold = 1,
rol = 2
}
'''
Character-ready integration uses the REDEMPIRE character-ready exports/events. This allows the resource to recover correctly when it is restarted while players Paid (server only) jrs_farming
JRS Farming - server-authoritative, hardened, strictly separated from jrs_herbs
| Resource | jrs_farming |
| Folder | [JOBS] |
| Version | 2.8.17 |
| Author | jrs team |
| Depends on | jrs_core, jrs_housing, jrs_inventory, jrs_police, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 18,559 Lua lines |
Commands
/farmadmin/farmzone
Exports
GetFarmingPlantIdFromEntity, IsFarmingPlantEntity, IsFarmingPlantNearCoords
Database tables
jrs_farming, jrs_farming_logs, jrs_farming_stats, jrs_farming_wagons, jrs_farming_zones, statements
configs/config.lua - 109 opções#
REDEMPIRE Farming - CONFIG SECTION 1/4 : GENERAL / GAMEPLAY
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
Keys |
table |
to render. Keys deliberately NOT used here: 'E' (0xCEFD9220) is the mount control and is already taken by seven other resources, and 'L' (0x80F28E95) is INPUT_OPEN_WHEEL_MENU and is claimed by jrs_train. |
↳ R |
0xE30CD707, ['G'] = 0x760A9C... |
Ajuste para r. |
Security |
table |
Server-side anti-exploit and validation rules. Keep the two fallback options false on a normal OneSync RedM server so distance checks never trust client coordinates. |
↳ AllowMissingServerEntityCoords |
false |
Allows missing server entity coords: true = sim, false = não (padrão false). |
↳ AllowClientPlacementFallback |
false |
Allows client placement fallback: true = sim, false = não (padrão false). |
↳ PlacementDistance |
10.0 |
Distância em unidades do jogo para placement distance. |
↳ MinimumActionFraction |
0.90 |
Mínimo ou nível exigido para minimum action fraction. |
↳ CallbackRateLimitMs |
75 |
Limite máximo para callback rate limit ms. |
↳ ActionRateLimitMs |
100 |
Limite máximo para action rate limit ms. |
↳ PlacementRateLimitMs |
1200 |
Limite máximo para placement rate limit ms. |
↳ PlayerDataRateLimitMs |
1000 |
Limite máximo para player data rate limit ms. |
↳ WagonRateLimitMs |
100 |
Limite máximo para wagon rate limit ms. |
↳ PumpRateLimitMs |
500 |
Limite máximo para pump rate limit ms. |
↳ SyncRateLimitMs |
1000 |
Limite máximo para sync rate limit ms. |
↳ MaxCallbackQuantity |
100 |
Limite máximo para max callback quantity. |
RestartHours |
table |
Properly saving data before server restarts (Suggested 2-3 minutes before restart). |
SavingDurationDelay |
5 |
The time in minutes (30 as default). |
ObjectRenderDistance |
50.0 |
The rendering distance for loading placed plants & seeds. |
ActionDistance |
1.5 |
Distância em unidades do jogo para action distance. |
PlantActionsMenu |
table |
Enabled=false: all plant actions (water, fertilize, rake, collect, destroy) are done with native on-screen prompts, and the right-click panel is a pure info card. Enabled=true would instead show clickable action buttons inside the |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ MouseFocus |
true |
Chave para mouse focus: true = ligado, false = desligado (padrão true). |
↳ AllowPlayerMovement |
true |
Keep movement/game controls active while the mouse is visible. |
↳ CloseDistance |
1.85 |
Close the panel after moving away from the plant. |
↳ HideNativePrompts |
false |
Hides native prompts: true = sim, false = não (padrão false). |
DistanceBetweenPlants |
2.5 |
What is the required distance for placing a seed - plant when other plants and seeds are near to this location? |
PlantingRules |
table |
Placement rules for the owner's farming configuration. means normal world planting is allowed while the configured zones remain available. |
↳ OnlyZones |
false |
Chave para only zones: true = ligado, false = desligado (padrão false). |
↳ BlacklistPlants |
table |
Tabela de entradas de blacklist plants. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ExclusiveSeeds |
table |
Used only when Leave empty to allow every configured seed inside the zones. |
↳ Zones |
table |
Tabela de entradas de zones. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Until at least one zone exists and claims weed_seed, marijuana
| Setting | Default | What it does |
|---|---|---|
MaximumOwnedPlants |
table |
Limite máximo para maximum owned plants. |
↳ Default |
4 |
Without having any of the required jobs from below. |
↳ Jobs |
table |
Extra plants placement when having any of the required jobs below. |
LandOwnershipIntegration |
table |
Property boundaries are authoritative. Planting pauses while housing is unavailable. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ FailClosed |
true |
Chave para fail closed: true = ligado, false = desligado (padrão true). |
↳ ResourceName |
"jrs_housing" |
Texto mostrado ao jogador para resource name. Altere para traduzir ou renomear. |
↳ MaximumPlantsBonus |
20 |
Valor em dinheiro para maximum plants bonus. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ JobMaximumPlantsBonus |
table |
Valor em dinheiro para job maximum plants bonus. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ PreventPlantingOnOtherOwnedLands |
true |
Chave para prevent planting on other owned lands: true = ligado, false = desligado (padrão true). |
↳ OtherLandPlantingMessage |
'Farming: this land is priva... |
Texto mostrado ao jogador para other land planting message. Altere para traduzir ou renomear. |
↳ ShowOwnedLandStatusInMenu |
true |
Shows owned land status in menu: true = sim, false = não (padrão true). |
↳ OwnedLandStatusTitle |
"PRIVATE LAND" |
Texto mostrado ao jogador para owned land status title. Altere para traduzir ou renomear. |
↳ OwnedLandStatusLabel |
"YOU ARE INSIDE YOUR PROPERTY" |
Texto mostrado ao jogador para owned land status label. Altere para traduzir ou renomear. |
↳ HarvestMultiplier |
1.25 |
Taxa ou multiplicador para harvest multiplier. |
↳ JobHarvestMultiplier |
table |
Quem pode: empregos, grupos ou permissões para job harvest multiplier. |
↳ BoundaryPadding |
0.10 |
Número para boundary padding (padrão 0.10). |
↳ Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
OthersInteraction |
true |
Set to false if you don't want the strangers to interact on owned seeds - plants. |
CropCare |
table |
Tabela de entradas de crop care. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Weeds |
table |
Tabela de entradas de weeds. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ HealthDecay |
table |
Prevent a long offline catch-up or stacked hazards from killing a crop in one calculation. At 20/hour, complete neglect takes roughly five hours after health damage begins to kill a crop. |
↳ HarvestQuality |
table |
Tabela de entradas de harvest quality. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ DryGrowing |
table |
Tabela de entradas de dry growing. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
LockPlantsToPlanter |
true |
false preserves the current shared-care behavior; true restricts every maintenance/harvest/remove action to the character who planted the crop. |
IllegalCropDetection |
table |
Tabela de entradas de illegal crop detection. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Jobs |
table |
Quem pode: empregos, grupos ou permissões para jobs. |
↳ Plants |
table |
Tabela de entradas de plants. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Distance |
50.0 |
Distância em unidades do jogo para distance. |
↳ CheckIntervalMs |
3000 |
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. |
↳ NotificationCooldownMs |
30000 |
Ajuste de tempo para notification cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BlipDurationMs |
30000 |
Ajuste de tempo para blip duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
DeletePlantedSeedsNotComplete |
true |
Delete on @Config.RestartHours the plants (seeds) that have been placed but never actually progressed? |
DisablePlayerDroppedSaving |
false |
Save a connected character's cached plant data again on playerDropped. |
DisplayBlipOwnedPlants |
true |
Set to false if you don't want any blips to be displayed on owned plant locations. |
DisplayBlipSprite |
-675651933 |
Ajustes do blip ou ícone do mapa para display blip sprite. |
Towns |
table |
Prevent all players from planting seeds - plants on the specified towns below. |
TownCenters |
table |
Authoritative city boundaries (used on both client and server) |
SafezoneIntegration |
table |
Tabela de entradas de safezone integration. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ ResourceName |
"jrs_safezone" |
Texto mostrado ao jogador para resource name. Altere para traduzir ou renomear. |
WeatherSync |
table |
The "weathersync" resource is installed on this server ([ui]/weathersync, started before jrs_farming) and exposes exports.weathersync:getWeather(), which matches this integration exactly, so rain now tops up plant water. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ ResourceName |
"weathersync" |
Texto mostrado ao jogador para resource name. Altere para traduzir ou renomear. |
↳ UpdateTimer |
1 |
Número para update timer (padrão 1). |
↳ RefillPlantWaterSource |
true |
Chave para refill plant water source: true = ligado, false = desligado (padrão true). |
↳ RainWaterValue |
1000 |
Número para rain water value (padrão 1000). |
↳ DamagePlantFertilizerValue |
0 |
Número para damage plant fertilizer value (padrão 0). |
UpdateTimer |
5 |
Time in minutes for any plant updates (5 Minutes by default). |
NeglectDeathSeconds |
10 * 60 |
fertilizing, working the soil or removing weeds kills and removes the crop. Every successful care action resets this timer. Gradual health decay remains active too, so poor care is visible and recoverable before the final deadline |
WellCaredGrowthBonusPercent |
100 |
has satisfied its one-time fertilizer requirement (server_main.lua's AdvancePlantGrowth) - a well-cared-for plant grows noticeably faster than a neglected one, on top of any zone GrowthRate multiplier. |
FertilePlotSoil |
table |
Crops planted on a jrs_housing fertile plot count as fertilized from the start, but only get these smaller bonuses. Applying all three fertilizer types by hand upgrades the crop to the full bonuses above. |
↳ GrowthBonusPercent |
25 |
instead of WellCaredGrowthBonusPercent (2026-09-24: 50 -> 25, realistic) |
↳ HarvestBonus |
0.05 |
instead of CropCare.HarvestQuality.FertilizedBonus (2026-09-24: 0.07 -> 0.05) |
Temperature |
table |
temperature at the plant's own coords, sampled client-side every UpdateTimer minutes) - see configs/plants.lua's Temperature block on every plant and server_main.lua's AdvancePlantGrowth for the actual check. |
PlaceObjectOnGroundProperly already seats a model on the terrain; this is
| Setting | Default | What it does |
|---|---|---|
PlantMaxRootSink |
0.08 |
sink depths - subtracting them raw buried 54 of the 58 crops up to a metre and a quarter underground, which is why planted crops looked like they never appeared at all. Raise this a little if crops still look like they float. |
PlantZone |
table |
Tabela de entradas de plant zone. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ DrawDistance |
8.0 |
Distância em unidades do jogo para draw distance. |
↳ Radius |
1.15 |
Distância em unidades do jogo para radius. |
↳ Segments |
56 |
Número para segments (padrão 56). |
↳ LineWidth |
4 |
Número para line width (padrão 4). |
↳ ZOffset |
0.12 |
Número para z offset (padrão 0.12). |
↳ CenterCrossSize |
0.16 |
Número para center cross size (padrão 0.16). |
↳ Color |
table |
Tabela de entradas de color. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ShadowColor |
table |
Tabela de entradas de shadow color. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
DirectPlanting |
table |
When a seed is used, it is planted automatically in front of the player. |
↳ ForwardDistance |
1.35 |
Distância em unidades do jogo para forward distance. |
↳ GroundProbeHeight |
5.0 |
Número para ground probe height (padrão 5.0). |
↳ GroundProbeDepth |
15.0 |
Número para ground probe depth (padrão 15.0). |
Seamlessly connected to jrs_core character / job leveling.
| Setting | Default | What it does |
|---|---|---|
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). |
↳ MaxLevel |
100 |
Limite máximo para max level. |
↳ BaseHarvestXP |
40 |
Base XP granted to the character upon a successful harvest (added directly to jrs_core) |
↳ QualityXpMultiplier |
0.50 |
Extra XP bonus based on crop quality (health percentage: e.g. 100% quality = +50% XP) |
↳ Perks |
table |
Progressive Perks & High-Level Rewards across Levels 1 to 100: |
Paid (server only) jrs_fight
jrs core Fight Arena - training bouts, player duels and rankings for jrs_core
| Resource | jrs_fight |
| Folder | [JOBS] |
| Version | 2.5.0 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 2,834 Lua lines |
Commands
/fightdiag
Database tables
IF, jrs_fight_rankings
config/config.lua - 136 opções#
01. KEYS, PRICES AND DISTANCES
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
TrainingKey |
0x760A9C6F |
(G) start a training bout |
ScoreboardKey |
0x4CC0E2FE |
(B) open the scoreboard |
StartFightKey |
0xDE794E3E |
(Q) challenge another player |
TrainingPrice |
1.50 |
Price (cash) charged when a training bout starts. |
InteractDistance |
2.5 |
Distance from the organizer at which the prompts become active. |
PromptCooldownMs |
750 |
Ignore further prompt presses for this long after one fires. A completed prompt reports true on several consecutive frames, so without this a single press would trigger the action (and its notification) repeatedly. |
TooFarAway |
150.0 |
Leaving this radius aborts a training bout and despawns the arena peds. |
ResetDuel |
true |
Heal both fighters back to full once a duel ends instead of leaving the loser bleeding out. This was ResetDuel in the original config. |
LifeLose |
30 |
A fighter who drops to this health (or below) loses the duel. |
02. DUEL FLOW TIMINGS
| Setting | Default | What it does |
|---|---|---|
RequestTimeoutSeconds |
30 |
How long a challenge stays pending before it expires. |
ZoneTimeoutSeconds |
120 |
After a challenge is accepted both fighters walk to the fight zone. The duel is cancelled if they do not both arrive within this window. |
FightZoneRadius |
12.0 |
How close a fighter must be to fightzonecoords to count as "in the zone". |
DuelLeaveRadius |
35.0 |
Leaving this radius mid-duel forfeits the fight. |
CountdownSeconds |
9 |
Countdown length. The original counted down from 9. |
CountdownSwapFirst |
3 |
The countdown headline changes after this many ticks have elapsed. |
CountdownSwapSecond |
6 |
Número para countdown swap second (padrão 6). |
MinimumDuelSeconds |
3 |
A duel cannot be resolved before this many seconds of real fighting. Stops a fighter from instantly forfeiting to farm a result. |
MaxDuelSeconds |
600 |
Hard cap on a single round. If neither fighter ever reports a result (a crashed client, a dead NUI) the duel is cancelled and both are freed instead of staying marked busy forever. |
ResultScreenSeconds |
6 |
How long the win/lose result banner stays on screen. |
03. TRAINING TUTORIAL
| Setting | Default | What it does |
|---|---|---|
Tutorial |
table |
Tabela de entradas de tutorial. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Show the numbered lessons while a training bout is running. |
↳ IntervalSeconds |
14 |
Seconds between two lessons. |
↳ Count |
8 |
Lessons 1..8 play during the bout, lesson 9 plays when it is finished. |
TrainingMinimumCompletionSeconds |
20 |
A training completion is reported by the client because its sparring peds live there. Do not grant XP to a completion reported immediately after the server authorises the session (for example after a client/UI failure). |
TrainingFallbackModel |
"cs_welshfighter" |
Used when a training opponent's model is invalid or fails to stream, so a bad model name can never leave the arena empty. |
The small on-screen panel shown while training or duelling.
| Setting | Default | What it does |
|---|---|---|
HUD |
table |
Tabela de entradas de hud. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ ShowTraining |
true |
Show the opponent counter during training. |
↳ ShowDuel |
true |
Show both health bars and the fight clock during a duel. |
↳ HealthSyncMs |
400 |
How often (ms) the client pushes its own health to the server so the opponent's HUD can draw it. Lower is smoother and chattier. |
The "Start Fight" prompt opens a browser of players you can challenge
| Setting | Default | What it does |
|---|---|---|
Browser |
table |
Tabela de entradas de browser. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ListPlayers |
true |
List other players rather than only offering the manual id field. |
↳ NearbyOnly |
false |
Only list players within this many metres of the arena organizer. Set to false to list every eligible player on the server. |
↳ NearbyRadius |
150.0 |
Distância em unidades do jogo para nearby radius. |
↳ ShowRecords |
true |
Show each listed player's win/loss record next to their name. |
↳ MaxResults |
64 |
Hardest cap on how many players are sent to the NUI. |
npcmodel / blip: set to false to disable that part of the arena.
| Setting | Default | What it does |
|---|---|---|
FightArena |
table |
Tabela de entradas de fight arena. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
07. XP (jrs_core per-job leveling)
| 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 |
"fight" |
Per-job level key in jrs_core. Keep this stable: it is the primary key in the jrs_job_levels table, so renaming it orphans existing progress. |
↳ Multiplier |
1.0 |
Scales every reward below. Raise it for a boosted weekend, drop it to slow this job down relative to the others. |
↳ Default |
0 |
Used when a reward name is awarded that is not listed here. |
↳ Rewards |
table |
Small XP for winning only. Losing gives nothing (it was farmable: two friends taking turns to "lose" both earned XP). |
↳ DailyCap |
100 |
Most fight XP one character can earn per real day (all rewards above). |
07b. ANTI-EXPLOIT (server-side; nothing here is trusted from the client)
| Setting | Default | What it does |
|---|---|---|
Security |
table |
Tabela de entradas de security. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ OrganizerRadius |
8.0 |
Server-checked distance from the organizer to start training / send a challenge (a bit above InteractDistance for sync lag). |
↳ ZoneSlack |
6.0 |
Extra slack on top of FightZoneRadius when the server checks a fighter who claims to be in the fight zone. |
↳ MinRankedDuelSeconds |
20 |
A duel must last this long to be ranked or give XP. Shorter results (instant forfeits between friends) still end the duel but count nothing. |
↳ PairCooldownSeconds |
900 |
The same two characters only get ranked / rewarded once per this window. |
↳ TrainingXpCooldownSeconds |
600 |
Training XP only once per this window per character. |
↳ MaxTrainingSeconds |
900 |
A training session the client never closes is dropped after this. |
↳ RefundWindowSeconds |
30 |
Refunds are only accepted this soon after the server authorised the bout (the spawn phase); a later "refund" is ignored. |
↳ Throttle |
table |
Per-player event throttles in milliseconds. |
08. DATABASE
| Setting | Default | What it does |
|---|---|---|
AutoCreateTable |
true |
Automatically handles create table: true = sim, false = não (padrão true). |
DatabaseTable |
"jrs_fight_rankings" |
Ajuste para database table. |
ScoreboardLimit |
50 |
Limite máximo para scoreboard limit. |
09. TEXTS
| Setting | Default | What it does |
|---|---|---|
Text |
table |
Texto mostrado ao jogador para text. Altere para traduzir ou renomear. |
↳ Title |
"Fight Club" |
Texto mostrado ao jogador para title. Altere para traduzir ou renomear. |
↳ Training |
"Training" |
Ajuste para training. |
↳ FightZone |
"Fight Zone" |
Ajuste para fight zone. |
↳ Scoreboard |
"Scoreboard" |
Ajuste para scoreboard. |
↳ StartFight |
"Start Fight" |
Ajuste para start fight. |
↳ ChallengeHeader |
"Challenge a Player" |
Challenge browser |
↳ ChallengeRow |
'Pick an opponent from the l... |
Ajuste para challenge row. |
↳ ChallengeSearch |
"Search by name or id..." |
Ajuste para challenge search. |
↳ ChallengeManual |
"Player ID" |
Ajuste para challenge manual. |
↳ ChallengeSubmit |
"Send Challenge" |
Ajuste para challenge submit. |
↳ ChallengeCancel |
"Cancel" |
Ajuste para challenge cancel. |
↳ ChallengeTabList |
"Available Players" |
Ajuste para challenge tab list. |
↳ ChallengeTabManual |
"Manual Entry" |
Ajuste para challenge tab manual. |
↳ ChallengeEmpty |
'No opponents available righ... |
Ajuste para challenge empty. |
↳ ChallengeRecord |
"Record" |
Ajuste para challenge record. |
↳ WrongInputs |
"Invalid input!" |
Ajuste para wrong inputs. |
↳ ChallengeIncoming |
"FIGHT REQUEST" |
Incoming challenge card |
↳ ChallengeArenaLine |
'Someone wants to settle thi... |
Ajuste para challenge arena line. |
↳ ChallengeSuffix |
" has challenged you to a fight!" |
Ajuste para challenge suffix. |
↳ Accept |
"Accept" |
Ajuste para accept. |
↳ Decline |
"Decline" |
Ajuste para decline. |
↳ TrainingStarted |
'Training has started! Beat ... |
Training |
↳ TooFar |
'You went too far from the t... |
Ajuste para too far. |
↳ TrainingLost |
'You were knocked out! Train... |
Ajuste para training lost. |
↳ TooFarOrganizer |
'Stand next to the fight org... |
Ajuste para too far organizer. |
↳ UnrankedResult |
'Friendly fight - not ranked... |
Ajuste para unranked result. |
↳ FinishedTraining |
'You finished the training s... |
Ajuste para finished training. |
↳ AlreadySpawned |
'You already started a train... |
Ajuste para already spawned. |
↳ NoMoney |
'You do not have enough mone... |
Valor em dinheiro para no money. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ TrainingUnavailable |
'No sparring partner could b... |
Ajuste para training unavailable. |
↳ GoToFightZone |
'Head to the centre of the f... |
Duel |
↳ RequestSent |
'Challenge sent, waiting for... |
Ajuste para request sent. |
↳ RequestExpired |
"The challenge request expired." |
Ajuste para request expired. |
↳ NotOnline |
"That player is not online!" |
Ajuste para not online. |
↳ RivalInDuel |
'That player is busy with a ... |
Ajuste para rival in duel. |
↳ YouInDuel |
'You are already in a fight,... |
Ajuste para you in duel. |
↳ DuelDeclined1 |
"Your challenge was declined!" |
Ajuste para duel declined1. |
↳ DuelDeclined2 |
"You declined that fight!" |
Ajuste para duel declined2. |
↳ DuelCancelled |
"The fight was cancelled." |
Ajuste para duel cancelled. |
↳ PrepareToFight |
"Prepare to fight!" |
Ajuste para prepare to fight. |
↳ BeReady |
"Be ready" |
Ajuste para be ready. |
↳ Fight |
"FIGHT" |
Ajuste para fight. |
↳ PrepareLine |
'The best fighter wins. Are ... |
Ajuste para prepare line. |
↳ YouWin |
'You won the fight! You are ... |
Ajuste para you win. |
↳ YouLost |
'You lost this one, but do n... |
Ajuste para you lost. |
↳ VersusLabel |
"VS" |
Texto mostrado ao jogador para versus label. Altere para traduzir ou renomear. |
↳ ResultWin |
"VICTORY" |
Result banner |
↳ ResultLose |
"DEFEAT" |
Ajuste para result lose. |
↳ ResultStreak |
"Win Streak" |
Ajuste para result streak. |
↳ ResultRecord |
"Record" |
Ajuste para result record. |
↳ HudTraining |
"TRAINING" |
Live HUD |
↳ HudOpponents |
"Opponents left" |
Ajuste para hud opponents. |
↳ HudDuel |
"DUEL" |
Ajuste para hud duel. |
↳ HudYou |
"You" |
Ajuste para hud you. |
↳ ScoreSubtitle |
'Standings of every contende... |
Scoreboard |
↳ ScoreChampion |
"STRONGEST FIGHTER" |
Ajuste para score champion. |
↳ ScoreChampionNone |
'No champion yet - the title... |
Ajuste para score champion none. |
↳ ScoreContenders |
"Contenders" |
Ajuste para score contenders. |
↳ ScoreBest |
"Best streak" |
Ajuste para score best. |
↳ ScoreRank |
"#" |
Ajuste para score rank. |
↳ ScoreFighter |
"Fighter" |
Ajuste para score fighter. |
↳ ScoreWins |
"Wins" |
Ajuste para score wins. |
↳ ScoreLosses |
"Losses" |
Ajuste para score losses. |
↳ ScoreRatio |
"Ratio" |
Ajuste para score ratio. |
↳ ScoreStreak |
"Streak" |
Ajuste para score streak. |
↳ ScoreYou |
"You" |
Ajuste para score you. |
↳ ScoreSearch |
"Search for a fighter..." |
Ajuste para score search. |
↳ ScoreUnranked |
'You have not recorded a fig... |
Ajuste para score unranked. |
↳ VictoryLabel |
" - Wins: " |
Texto mostrado ao jogador para victory label. Altere para traduzir ou renomear. |
↳ DefeatLabel |
" - Losses: " |
Texto mostrado ao jogador para defeat label. Altere para traduzir ou renomear. |
↳ NoRankings |
"No results recorded yet." |
Ajuste para no rankings. |
↳ TutorialTitle |
table |
Training tutorial |
↳ Tutorial |
table |
Tabela de entradas de tutorial. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
(Historical note: the old jrs_notify export ended with Citizen.Wait(duration)
| Setting | Default | What it does |
|---|---|---|
Notifications |
table |
Tabela de entradas de notifications. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ UseNUI |
false |
Draw notifications as toasts in the fight UI instead of the unified jrs_notify toast. Leave false so fight messages match the rest of the server; jrs_notify is used whenever it is running either way. |
↳ Fallback |
"jrs_notify" |
Fallback path when jrs_notify is stopped and UseNUI is false: 'jrs_notify' or 'core' (the jrs_core right tip). |
↳ Duration |
6000 |
Default lifetimes in milliseconds. |
↳ LessonDuration |
10000 |
Ajuste de tempo para lesson duration. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Notes from the README#
# JRS Fight Arena
An open reimplementation of the SS-FightArena feature set, rebuilt on `jrs_core`
with no escrow, no jQuery/materialize and no external menu or input resource.
Every string is English and lives in `config/config.lua`.
## Features
- Multiple configurable arenas, each with an organizer NPC and a fight zone.
- Native prompts on the organizer: **Training (G)**, **Start Fight (Q)**,
**Scoreboard (B)**.
- Paid training bouts against configurable opponents (model, random health
range, combat movement) with the nine numbered fighting lessons.
- **Challenge browser**: pick an opponent from a searchable list of eligible
players showing their win/loss record, or enter a server id by hand.
- Incoming challenge card with the challenger's initials, record and a live
request-timeout bar.
- Both fighters walk to the fight zone; the countdown only starts once both are
inside it, and shows a versus header plus a draining progress ring.
- **Live HUD**: opponents remaining during training; both fighters' health bars
and a fight clock during a duel.
- **Result banner** with the fresh record and win streak.
- Duels resolve server-side on the health floor, on death, or on leaving the
arena. Quitting mid-fight counts as a loss.
- Persistent rankings with win streaks and a full scoreboard: medal ranks, win
ratio, streak column, search box and your own row pinned and highlighted.
- Unified notifications through `jrs_core`, so arena messages use the same
renderer and language styling as the rest of the server.
- Per-job XP through `jrs_core` (job key `fight`).
- Owner-only administration through the shared `jrs_scriptadmin` panel, the same
way `jrs_farming` does it.
## Dependencies
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_scriptadmin # optional; required only for the owner admin panel
ensure jrs_fight
'''
`jrs_fight` lives in `[JOBS]`, which `server.cfg` already starts with
`ensure [JOBS]` after `jrs_core`, `oxmysql` and the shared JRS resources.
## Flow
| Step | Where | What happens |
| --- | --- | --- |
| Training | organizer prompt (G) | `Config.TrainingPrice` is charged, the arena's `training` peds spawn, the HUD counts opponents, lessons 1..8 play, lesson 9
| Challenge | organizer prompt (Q) | The challenge browser lists eligible players with their records; pick one or type an id. |
| Walk in | after accept | Both fighters are told to go to the fight zone and report when they arrive. |
| Countdown | both in zone | Versus header, draining ring, 9..1, both frozen, then `FIGHT`. |
| Duel | after the countdown | Both health bars are live in the HUD; health is relayed server-side. |Free (included in JRS Core) jrs_fishing
jrs core Fishing
| Resource | jrs_fishing |
| Folder | [JOBS] |
| Version | 1.5.4 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 6,055 Lua lines |
Commands
/-jrsFishingSkillHit/fishboard/fishdebug
Exports
OpenFishingBoard
Database tables
jrs_fishing_leaderboard
config/config.lua - 151 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
Difficulty |
1250 |
If you use -1 for testing the fish is very easy to catch -- |
ReelSpeed |
0.0125 |
Número para reel speed (padrão 0.0125). |
LegendaryCooldownMinutes |
15 |
After landing a Legendary fish, that character cannot roll another Legendary for this many minutes (catches still roll Rare/Epic/Common). 0 = no cooldown. |
FishingMechanics |
table |
Fishing behavior. Percent values are from 0 to 100. |
↳ AttractionRadius |
50.0 |
How far fish can detect the bait. |
↳ HookDistance |
1.6 |
Fish must be this close to bite. |
↳ LureCooldownMs |
1000 |
Delay between attraction tasks. |
↳ BiteAttemptIntervalMs |
750 |
Delay between bite rolls while a fish is close. |
↳ BiteChance |
45 |
Chance for a nearby interested fish to bite. |
↳ AutoBiteDelayMs |
4000 |
Maximum time waiting before a fish bites automatically. |
↳ StruggleChance |
40 |
Chance that the fish enters a struggle phase. |
↳ StruggleDurationMinSec |
3 |
Ajuste de tempo para struggle duration min sec. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ StruggleDurationMaxSec |
5 |
Ajuste de tempo para struggle duration max sec. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CalmDurationMinSec |
6 |
Ajuste de tempo para calm duration min sec. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CalmDurationMaxSec |
10 |
Ajuste de tempo para calm duration max sec. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ FishPullForce |
0.8 |
Número para fish pull force (padrão 0.8). |
↳ MinimumPullForce |
0.8 |
Mínimo ou nível exigido para minimum pull force. |
↳ LineBreakForce |
1.4 |
Número para line break force (padrão 1.4). |
↳ ForceStep |
0.005 |
Número para force step (padrão 0.005). |
↳ RequireMatchingBait |
true |
Only fish listed for the selected bait can bite. |
FishingSkillGame |
table |
UI skill-check shown after a fish bites the hook. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ RequiredHits |
3 |
Correct R / Click presses needed to land the fish. |
↳ AllowedMisses |
1 |
Number of allowed misses before losing the fish. |
↳ ZoneWidth |
18 |
Gold arc size as a percentage of the ring (18 = 65 degrees). |
↳ TravelTimeMs |
1450 |
Needle speed: one lap takes 1.25x this; lower is faster. |
↳ TimeLimitMs |
15000 |
Total time allowed for the skill-check. |
↳ PullToPlayerSpeed |
3.0 |
How quickly the successful fish moves toward the player. |
↳ LandingDistance |
4.0 |
Native landing begins at this line distance. |
↳ AutoLandTimeoutMs |
3500 |
Safety fallback if the fish cannot path to the player. |
↳ DefaultKey |
"R" |
Used only when RegisterKeyMapping is supported. |
↳ ControlHash |
0xE30CD707 |
INPUT_RELOAD / keyboard R fallback for older RedM artifacts. |
↳ KeyLabel |
"R" |
Tecla ou controle usado para key label. Os controles são valores hash da lista de entradas do jogo. |
↳ Title |
"Secure the Hook" |
Texto mostrado ao jogador para title. Altere para traduzir ou renomear. |
↳ Instruction |
"Press R when the needle is ... |
Ajuste para instruction. |
FishingWaitUI |
table |
Circular indicator displayed while waiting for a fish to bite. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Label |
"Waiting for a fish..." |
Texto mostrado ao jogador para label. Altere para traduzir ou renomear. |
FishCatchUI |
table |
Tabela de entradas de fish catch ui. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Title |
"Fish Caught" |
Texto mostrado ao jogador para title. Altere para traduzir ou renomear. |
↳ PromptTitle |
"FISH CAUGHT" |
Texto mostrado ao jogador para prompt title. Altere para traduzir ou renomear. |
↳ KeepLabel |
"Keep Fish" |
Texto mostrado ao jogador para keep label. Altere para traduzir ou renomear. |
↳ ThrowLabel |
"Throw Fish" |
Texto mostrado ao jogador para throw label. Altere para traduzir ou renomear. |
↳ DefaultImage |
"assets/fish_bw.png" |
Ajuste para default image. |
↳ Images |
table |
Keys are the signed 32-bit GetHashKey() of the uppercase model name (e.g. GetHashKey("A_C_FISHBLUEGIL_01_MS")). Real per-species catch photos (from the imported fishing dataset's art) live in html/assets/fish/. |
FishingJob |
table |
Leave Enabled = false to allow everyone to fish. Set Enabled = true when fishing should require one of the jobs below. |
↳ Enabled |
true |
Enabled: requires the fishing job (fisher / fisherman) |
↳ AllowedJobs |
table |
Internal job names stored by jrs_core or jrs_multijob. Add more entries if needed. |
↳ MinimumGrade |
0 |
Minimum job grade/rank required. Set 0 to allow every grade. |
↳ DeniedMessage |
"لا يمكنك الصيد بدون وظيفة ا... |
Message shown when a player without the required job tries to fish or use bait. |
↳ ValidateOnBaitUse |
true |
Extra server-side protection when consuming bait and receiving a fish. |
↳ ValidateOnBaitConsume |
true |
Chave para validate on bait consume: true = ligado, false = desligado (padrão true). |
↳ ValidateOnFishReward |
true |
Chave para validate on fish reward: true = ligado, false = desligado (padrão true). |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ Url |
"" |
Ajuste para url. |
↳ Color |
10038562 |
Número para color (padrão 10038562). |
FishingXP |
table |
Uses jrs_core's official server API: REDEMPIRE.addxp(source, amount). XP is awarded only after a successful catch is added to inventory. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Default |
15 |
Used only when a fish model is missing from Rewards. |
↳ NotifyPlayer |
true |
Chave para notify player: true = ligado, false = desligado (padrão true). |
↳ Notification |
"+%s Fishing XP" |
Texto mostrado ao jogador para notification. Altere para traduzir ou renomear. |
↳ Rewards |
table |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
FishingCash |
table |
Valor em dinheiro para fishing cash. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Default |
2.50 |
Número para default (padrão 2.50). |
↳ Rewards |
table |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Baits |
table |
Baits are also the names of the used items when holding a fishing rod. |
ReusableBaits |
table |
Reusable baits (artificial lures & spinners). Items listed here are NOT consumed/deleted from the player's inventory on cast; the server only verifies that the player possesses at least 1 in their inventory. |
↳ p_finishedragonfly01x |
true |
Dragonfly Lure |
↳ p_FinisdFishlure01x |
true |
Fish Lure |
↳ p_finishdcrawd01x |
true |
Crawfish Lure |
↳ p_finishedragonflylegendary01x |
true |
Legendary Dragonfly Lure |
↳ p_finisdfishlurelegendary01x |
true |
Legendary Fish Lure |
↳ p_finishdcrawdlegendary01x |
true |
Legendary Crawfish Lure |
↳ p_lgoc_spinner_v4 |
true |
Special Spinner |
↳ p_lgoc_spinner_v6 |
true |
Legendary Special Spinner |
BaitsPerFish |
table |
Tabela de entradas de baits per fish. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_baitBread01x |
table |
Tabela de entradas de p bait bread01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_baitCorn01x |
table |
Tabela de entradas de p bait corn01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_baitCheese01x |
table |
Tabela de entradas de p bait cheese01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_baitCricket01x |
table |
Tabela de entradas de p bait cricket01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_baitWorm01x |
table |
Tabela de entradas de p bait worm01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_crawdad01x |
table |
Tabela de entradas de p crawdad01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_finishedragonfly01x |
table |
Tabela de entradas de p finishedragonfly01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_FinisdFishlure01x |
table |
Tabela de entradas de p finisd fishlure01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_finishdcrawd01x |
table |
Tabela de entradas de p finishdcrawd01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_finishedragonflylegendary01x |
table |
Tabela de entradas de p finishedragonflylegendary01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_finisdfishlurelegendary01x |
table |
Tabela de entradas de p finisdfishlurelegendary01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_finishdcrawdlegendary01x |
table |
Tabela de entradas de p finishdcrawdlegendary01x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_lgoc_spinner_v4 |
table |
Tabela de entradas de p lgoc spinner v4. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ p_lgoc_spinner_v6 |
table |
Tabela de entradas de p lgoc spinner v6. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
FishData |
table |
Tabela de entradas de fish data. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHBLUEGIL_01_MS |
table |
Tabela de entradas de a c fishbluegil 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHBLUEGIL_01_SM |
table |
Tabela de entradas de a c fishbluegil 01 sm. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHBULLHEADCAT_01_MS |
table |
Tabela de entradas de a c fishbullheadcat 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHBULLHEADCAT_01_SM |
table |
Tabela de entradas de a c fishbullheadcat 01 sm. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHCHAINPICKEREL_01_MS |
table |
Tabela de entradas de a c fishchainpickerel 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHCHAINPICKEREL_01_SM |
table |
Tabela de entradas de a c fishchainpickerel 01 sm. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHCHANNELCATFISH_01_LG |
table |
Tabela de entradas de a c fishchannelcatfish 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHCHANNELCATFISH_01_XL |
table |
Tabela de entradas de a c fishchannelcatfish 01 xl. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHLAKESTURGEON_01_LG |
table |
Tabela de entradas de a c fishlakesturgeon 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHLARGEMOUTHBASS_01_LG |
table |
Tabela de entradas de a c fishlargemouthbass 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHLARGEMOUTHBASS_01_MS |
table |
Tabela de entradas de a c fishlargemouthbass 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHLONGNOSEGAR_01_LG |
table |
Tabela de entradas de a c fishlongnosegar 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHMUSKIE_01_LG |
table |
Tabela de entradas de a c fishmuskie 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHNORTHERNPIKE_01_LG |
table |
Tabela de entradas de a c fishnorthernpike 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHPERCH_01_MS |
table |
Tabela de entradas de a c fishperch 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHPERCH_01_SM |
table |
Tabela de entradas de a c fishperch 01 sm. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHRAINBOWTROUT_01_LG |
table |
Tabela de entradas de a c fishrainbowtrout 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHRAINBOWTROUT_01_MS |
table |
Tabela de entradas de a c fishrainbowtrout 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHREDFINPICKEREL_01_MS |
table |
Tabela de entradas de a c fishredfinpickerel 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHREDFINPICKEREL_01_SM |
table |
Tabela de entradas de a c fishredfinpickerel 01 sm. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHROCKBASS_01_MS |
table |
Tabela de entradas de a c fishrockbass 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHROCKBASS_01_SM |
table |
Tabela de entradas de a c fishrockbass 01 sm. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHSALMONSOCKEYE_01_LG |
table |
Tabela de entradas de a c fishsalmonsockeye 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHSALMONSOCKEYE_01_ML |
table |
Tabela de entradas de a c fishsalmonsockeye 01 ml. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHSALMONSOCKEYE_01_MS |
table |
Tabela de entradas de a c fishsalmonsockeye 01 ms. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ A_C_FISHSMALLMOUTHBASS_01_LG |
table |
Tabela de entradas de a c fishsmallmouthbass 01 lg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# REDEMPIRE Fishing Modifications
This version includes a fishing skill game, a circular waiting indicator, bait consumption on cast, optional job restrictions, and configurable XP rewards per f
## Skill Game
When a fish bites, press `R` while the moving fish icon overlaps the target fish icon. The target moves after every successful hit. The default requirement is t
Configure the system in `Config.FishingSkillGame` inside `config.lua`:
- `Enabled`: Enables or disables the skill game.
- `RequiredHits`: Number of successful hits required.
- `AllowedMisses`: Number of allowed misses.
- `ZoneWidth`: Target area width.
- `TravelTimeMs`: Time for the moving icon to cross the bar.
- `TimeLimitMs`: Total attempt time.
- `PullToPlayerSpeed`: Fish pull speed after success.
- `LandingDistance`: Distance required to begin the landing animation.
- `AutoLandTimeoutMs`: Fallback timeout to prevent the fish from getting stuck.
- `DefaultKey`: Default key label.
- `ControlHash`: RedM control hash used as the fallback input.
## Waiting Indicator
Configure the circular waiting indicator in `Config.FishingWaitUI`.
## Job Restriction
Configure job access in `Config.FishingJob`. The restriction is disabled by default with `Enabled = false`.
## Fishing XP
Configure XP rewards in `Config.FishingXP`. Each fish model can have its own XP value in the `Rewards` table. XP is awarded through the REDEMPIRE Core API afterPaid (server only) jrs_freelance
JRS Freelance - Unified Chimney Sweep & Metal Detector Activities
| Resource | jrs_freelance |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 3,760 Lua lines |
Commands
/jrsmd_resetspots
config/chimneysweep.lua - 40 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
Locale |
"ar" |
Idioma da interface deste script (en ou ar). |
RequiredJob |
table |
Set enabled = false to allow every player. 'surfacecleaner' is the job-board job (jrs_multijob "Surface Cleaner"); the old 'chimneysweep' id was never offered on any board, so nobody could get it. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ job |
"surfacecleaner" |
Quem pode: empregos, grupos ou permissões para job. |
↳ jobs |
table |
Quem pode: empregos, grupos ou permissões para jobs. |
↳ label |
"Surface Cleaner" |
Texto mostrado ao jogador para label. Altere para traduzir ou renomear. |
NPCs |
table |
Tabela de entradas de np cs. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
CleaningDuration |
10000 |
Ajuste de tempo para cleaning duration. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Payment |
table |
Tabela de entradas de payment. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
JobsPerTask |
4 |
Quem pode: empregos, grupos ou permissões para jobs per task. |
Cooldown |
30000 |
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. |
DailyLimit |
table |
Limite máximo para daily limit. |
BroomModel |
"p_broom01x" |
Modelo ou entidade do jogo usado para broom model. |
BroomFallbacks |
table |
Tabela de entradas de broom fallbacks. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Animation |
table |
Ajustes de animação para animation. |
↳ male |
table |
Tabela de entradas de male. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ female |
table |
Tabela de entradas de female. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ fallback |
table |
Tabela de entradas de fallback. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ flag |
1 |
Número para flag (padrão 1). |
↳ prop |
Config.BroomModel |
Modelo ou entidade do jogo usado para prop. |
↳ bone |
7966 |
Número para bone (padrão 7966). |
↳ offset |
table |
Tabela de entradas de offset. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
NPCPromptKey |
0x760A9C6F |
Tecla ou controle usado para npc prompt key. Os controles são valores hash da lista de entradas do jogo. |
PromptKey |
0x760A9C6F |
Tecla ou controle usado para prompt key. Os controles são valores hash da lista de entradas do jogo. |
JobBlip |
table |
Ajustes do blip ou ícone do mapa para job blip. |
ChimneyObject |
table |
Disabled: all props removed as requested. Only yellow circle markers are displayed. |
↳ enabled |
false |
Liga ou desliga enabled (padrão false). |
TaskMarker |
table |
Yellow circle marker drawn at every incomplete chimney task while the job is active. zOffset kept near 0 (rooftop coords are already at surface height) since a large negative offset can sink the marker below thin roof geometry and |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ type |
1 |
Número para type (padrão 1). |
↳ scale |
vector3(1.8, 1.8, 1.2) |
Taxa ou multiplicador para scale. |
↳ color |
table |
Tabela de entradas de color. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ zOffset |
0.25 |
Número para z offset (padrão 0.25). |
↳ bobUpAndDown |
true |
Chave para bob up and down: true = ligado, false = desligado (padrão true). |
↳ drawDistance |
25.0 |
Distância em unidades do jogo para draw distance. |
InteractionDistance |
3.0 |
Distância em unidades do jogo para interaction distance. |
DrawDistance |
50.0 |
Distância em unidades do jogo para draw distance. |
ServerValidationDistance |
20.0 |
Distância em unidades do jogo para server validation distance. |
NotificationDuration |
4000 |
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. |
config/metal_detector.lua - 74 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
CoreResource |
"jrs_core" |
Ajuste para core resource. |
InventoryResource |
"jrs_inventory" |
Ajuste para inventory resource. |
DetectorWeapon |
"WEAPON_KIT_METAL_DETECTOR" |
Native Red Dead Online metal detector weapon. |
DetectorItem |
"metal_detector" |
Inventory item that owns/toggles the detector. The native held kit is not stored in the weapon loadout because RedM reports HAS_PED_GOT_WEAPON=false for this held-kit weapon even while it is visibly equipped. |
ShovelItem |
"shovel" |
Itens de inventário usados por shovel item. Os nomes precisam existir na tabela jrs_items. |
TestCommands |
table |
Temporary development commands. These give/remove the detector directly with RedM natives and do NOT require an inventory/database entry. Disable after the detector test is complete. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ GiveCommand |
"testdetector" |
Ajuste para give command. |
↳ RemoveCommand |
"removedetector" |
Ajuste para remove command. |
RandomizeSpotPlacement |
false |
If enabled, each resource start selects a random subset of the configured spots. |
RandomSpotChance |
50 |
Taxa ou multiplicador para random spot chance. |
NearbyPlayerDistance |
15.0 |
Nearby clients reproduce the shovel prop/animation for the digging player. |
MaxDistanceToNode |
5.0 |
Detection distances. |
MinDistanceToNode |
1.0 |
Distância em unidades do jogo para min distance to node. |
DigPromptDistance |
1.65 |
Dig prompt distance is intentionally a little larger than MinDistanceToNode. The detector light can already look fully green just outside exactly 1.0m, and using horizontal distance prevents small terrain/Z differences from hiding |
UseStrobeMode |
false |
Light behavior. |
UseColorMode |
true |
Liga ou desliga color mode (padrão true). |
DisableFindingNodesAfterUse |
true |
Turns off finding nodes after use: true = sim, false = não (padrão true). |
SpotCooldown |
table |
Optional cooldown after a successful dig. Enabled = true -> the spot is hidden/locked until Seconds expires. Enabled = false -> no timed reset; the spot stays consumed until the resource/server restarts. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Seconds |
30 * 60 |
30 minutes |
Blips |
table |
Optional map blips for treasure search locations. Disable globally with Enabled = false, or disable a single location with that location's blipEnabled = false value below. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ OnlyActiveSpots |
true |
Chave para only active spots: true = ligado, false = desligado (padrão true). |
↳ HideOnCooldown |
false |
Hides on cooldown: true = sim, false = não (padrão false). |
↳ Style |
1664425300 |
Número para style (padrão 1664425300). |
↳ Sprite |
0 |
0 = keep the default RedM blip sprite for this style |
↳ Scale |
0.75 |
Taxa ou multiplicador para scale. |
↳ DefaultName |
"Treasure Search Area" |
Texto mostrado ao jogador para default name. Altere para traduzir ou renomear. |
Light |
table |
Tabela de entradas de light. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Range |
1.25 |
Distância em unidades do jogo para range. |
↳ MinIntensity |
0.35 |
Mínimo ou nível exigido para min intensity. |
↳ MaxIntensity |
5.5 |
Limite máximo para max intensity. |
↳ StrobeSpeed |
0.022 |
Número para strobe speed (padrão 0.022). |
↳ Offset |
vec3(0.42, 0.72, -0.58) |
Approximate detector-head position relative to the player. |
Sound |
table |
Detector audio. Uses an internal NUI beep so it does not depend on undocumented RDR3 frontend sound names/soundsets. The beep gets faster and slightly higher-pitched as the player approaches a treasure spot. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Volume |
0.70 |
Número para volume (padrão 0.70). |
↳ MinPitch |
0.90 |
Mínimo ou nível exigido para min pitch. |
↳ MaxPitch |
1.35 |
Limite máximo para max pitch. |
↳ FarInterval |
850 |
Ajuste de tempo para far interval. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ NearInterval |
115 |
Ajuste de tempo para near interval. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ TestCommand |
"testdetectorsound" |
Local test command. Set to false to disable it. |
Keys |
table |
Tecla ou controle usado para keys. Os controles são valores hash da lista de entradas do jogo. |
↳ Dig |
"INPUT_FRONTEND_X" |
Ajuste para dig. |
Dig |
table |
Tabela de entradas de dig. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 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. |
↳ LockTimeout |
20 |
Ajuste de tempo para lock timeout. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ Prop |
"p_shovel02x" |
Modelo ou entidade do jogo usado para prop. |
↳ AnimDict |
'amb_work@world_human_graved... |
Grave-digging animation paired with the shovel position below. |
↳ AnimName |
"base" |
Texto mostrado ao jogador para anim name. Altere para traduzir ou renomear. |
↳ AnimFlag |
17 |
Ajustes de animação para anim flag. |
↳ BoneName |
"SKEL_R_Hand" |
Shovel attachment. Keep this on the right hand; the animation positions the left hand around the shaft automatically. |
↳ FallbackBone |
7966 |
Número para fallback bone (padrão 7966). |
↳ Position |
vec3(0.0, -0.09, -0.09) |
Coordenadas do mundo (x, y, z) para position. |
↳ Rotation |
vec3(250.2899, 579.19, 373.3... |
Ajuste para rotation. |
↳ DisablePropCollision |
true |
Prevent the shovel from colliding with the ped/ground while attached. |
↳ MakePropInvincible |
true |
Chave para make prop invincible: true = ligado, false = desligado (padrão true). |
Security |
table |
Tabela de entradas de security. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ RequireDetectorOwnership |
true |
Server checks for Config.DetectorItem in jrs_inventory before digging. |
↳ FailClosedOnDetectorCheckError |
true |
Fail closed if jrs_inventory cannot verify the detector item. |
↳ DigValidationDistance |
2.25 |
Distância em unidades do jogo para dig validation distance. |
↳ RequestCooldownMs |
1250 |
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. |
Locations |
table |
Chance values are weights. They do not have to total exactly 100. |
↳ Owanjila |
table |
Tabela de entradas de owanjila. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Barrow_Lagoon |
table |
Tabela de entradas de barrow lagoon. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Grizzlies_East |
table |
Tabela de entradas de grizzlies east. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ Url |
"" |
Ajuste para url. |
↳ Color |
9326801 |
Número para color (padrão 9326801). |
↳ Name |
"REDEMPIRE Metal Detector" |
Texto mostrado ao jogador para name. Altere para traduzir ou renomear. |
↳ Avatar |
"" |
Ajuste para avatar. |
Free (included in JRS Core) jrs_goldclaim
JRS Core gold claims - gold rockers, paydirt, water and licensed claims
| Resource | jrs_goldclaim |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory, jrs_progressbar, oxmysql |
| Interface | No |
| Code size | 2,604 Lua lines |
config.lua - 56 opções#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"en" |
'en' or 'ar' |
PlayerProps |
table |
populated at runtime by the server, do not edit |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
NotifyDuration |
10000 |
default notification duration (ms) |
general settings (gold rocker / claims)
| Setting | Default | What it does |
|---|---|---|
EnableVegModifier |
true |
clears vegetation around placed rockers |
GoldRocker |
p_goldcradlestand01x |
prop used for gold rocker |
MaxGoldRockers |
4 |
maximum gold rockers per character |
DegradeChance |
5 |
% chance (per rocker) of losing 1% quality each cron cycle |
DegradeEvery |
30 |
minutes between degradation rolls |
RepairWoodAmount |
5 |
amount of wood needed to repair |
LeoJobs |
table |
jobs allowed to destroy unlicensed claims |
OwnerOnlyProcessing |
true |
only the owner can start processing (and receives the output) |
distances (server-side anti-exploit checks)
| Setting | Default | What it does |
|---|---|---|
InteractDistance |
5.0 |
max distance from a rocker to interact with it |
PickupDistance |
10.0 |
max distance from a rocker to pick up its output |
PlaceMaxDistance |
6.0 |
max distance between player and placed rocker |
MinRockerSpacing |
4.0 |
min distance between two rockers |
PropDrawDistance |
60.0 |
distance at which rocker props are streamed in |
processing settings
| Setting | Default | What it does |
|---|---|---|
ProcessingTime |
60000 |
time in ms per processing cycle |
GoldChance |
50 |
% chance of gold vs paydirt return |
AddPaydirtTime |
10000 |
time in ms to add paydirt to rocker |
AddWaterTime |
10000 |
time in ms to add water to rocker |
MaxPaydirt |
5 |
max paydirt units a rocker can hold |
MaxWater |
5 |
max water units a rocker can hold |
RepairTime |
10000 |
time in ms to repair |
PackUpTime |
10000 |
time in ms to pack up |
PlaceTime |
10000 |
time in ms to set up a rocker |
DestroyTime |
10000 |
time in ms for LEO to destroy an illegal claim |
PickupTime |
3000 |
time in ms to pick up an output prop |
gold ore output (random amount per gold pickup)
| Setting | Default | What it does |
|---|---|---|
GoldOreItem |
"goldnugget" |
Valor em dinheiro para gold ore item. As recompensas passam pelo multiplicador de economia do jrs_core. |
GoldOreAmount |
table |
Valor em dinheiro para gold ore amount. As recompensas passam pelo multiplicador de economia do jrs_core. |
gathering settings (shovel / bucket)
| Setting | Default | What it does |
|---|---|---|
ShovelDigTime |
10000 |
time in ms to dig paydirt |
BucketFillTime |
8000 |
time in ms to fill bucket |
prop models
| Setting | Default | What it does |
|---|---|---|
GoldProp |
p_goldstack01x |
gold output prop |
PaydirtProp |
`mp005_p_dirtpile_sca02_buri... |
paydirt output prop |
PropSpawnOffset |
1.5 |
distance to side of rocker to spawn output prop |
shovel prop (attached to hand during dig)
| Setting | Default | What it does |
|---|---|---|
ShovelProp |
table |
Modelo ou entidade do jogo usado para shovel prop. |
↳ model |
p_shovel02x |
Modelo ou entidade do jogo usado para model. |
↳ bone |
"SKEL_R_Hand" |
Ajuste para bone. |
↳ offset |
table |
Tabela de entradas de offset. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
DigDirtPile |
table |
dirt pile spawned in front of the player after a successful dig (cosmetic, local only) |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ model |
`mp005_p_dirtpile_tall_unbur... |
Modelo ou entidade do jogo usado para model. |
↳ offset |
0.6 |
distance in front of the player |
↳ lifetime |
30000 |
ms before it is removed |
animations
| Setting | Default | What it does |
|---|---|---|
Anims |
table |
Tabela de entradas de anims. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ dig |
table |
Tabela de entradas de dig. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ crouch_inspect |
WORLD_HUMAN_CROUCH_INSPECT |
scenario |
↳ add_paydirt |
WORLD_HUMAN_FEED_PIGS |
scenario used when adding paydirt |
↳ add_water |
`WORLD_HUMAN_BUCKET_POUR_LOW... |
scenario used when adding water |
claim zone / blip settings
| Setting | Default | What it does |
|---|---|---|
ClaimZoneRadius |
20.0 |
Distância em unidades do jogo para claim zone radius. |
MaxClaimNameLength |
50 |
Limite máximo para max claim name length. |
ClaimBlip |
table |
Ajustes do blip ou ícone do mapa para claim blip. |
↳ blipSprite |
"blip_gold" |
Ajustes do blip ou ícone do mapa para blip sprite. |
↳ blipScale |
0.2 |
Ajustes do blip ou ícone do mapa para blip scale. |
↳ blipColour |
"BLIP_MODIFIER_MP_COLOR_6" |
Ajustes do blip ou ícone do mapa para blip colour. |
placement
| Setting | Default | What it does |
|---|---|---|
ForwardDistance |
2.0 |
Distância em unidades do jogo para forward distance. |
Free (included in JRS Core) jrs_goldpanning
JRS Core gold panning - pan for gold nuggets in rivers and lakes
| Resource | jrs_goldpanning |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory, jrs_minigame |
| Interface | No |
| Code size | 933 linhas de Lua |
config.lua - 13 opções#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"en" |
'en' or 'ar' |
PanItem |
"goldpan" |
Itens de inventário usados por pan item. Os nomes precisam existir na tabela jrs_items. |
Reward |
table |
Valor em dinheiro para reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
BreakChance |
3 |
% chance the pan breaks on a failed try |
Rounds |
3 |
skill checks in a row (jrs_minigame) |
Cooldown |
5 |
seconds between two pans |
MinTime |
8 |
seconds a pan really takes (server check) |
Water |
table |
fresh water only (no swamps) |
↳ -247856387 |
true, [-1504425495] = true, ... |
Ajuste para 247856387. |
↳ -1300497193 |
true, [-1276586360] = true, ... |
Ajuste para 1300497193. |
↳ 592454541 |
true, [-804804953] = true, [... |
Ajuste para 592454541. |
↳ -811730579 |
true, [-1229593481] = true, ... |
Ajuste para 811730579. |
↳ 2005774838 |
true, [-1287619521] = true, ... |
Ajuste para 2005774838. |
Paid (server only) jrs_government
JRS Government - city governors, elections, citizenship, treasury, city revenue, taxes, city wars and government messaging
| Resource | jrs_government |
| Folder | [JOBS] |
| Version | 2.4.5 |
| Author | JRS |
| Depends on | jrs_banking, jrs_character, jrs_core, jrs_doctors, jrs_idcard, jrs_police, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 6,946 Lua lines |
Commands
/distributecity/govdistribute/govgovernor/govguarma/govstatus/govsynclaw/setgov/warscore
Exports
AreCitiesAtWar, AssignCity, DepositBusinessRevenue, EnsureOwnerLawRank, GetCitizenship, GetCityGovernment, GetCityOwner, GetCityTaxRate, GetCityWar, GetFacilityStatus, GetFacilityTax, GetSalesTax, GrantGuarmaMaster, IsCityOwner, IsDeputyGovernor, IsFacilityClosed, IsGovernor, LogAudit, OpenAdminMenu, RecordCityRevenue, ResolveCity, ResolveCityAt, SetCityOwner, SetGovernor, SyncOnlineCityOwners
Database tables
jrs_government_audit, jrs_government_candidates, jrs_government_cities, jrs_government_citizen_applications, jrs_government_citizens, jrs_government_facilities, jrs_government_messages, jrs_government_revenue, jrs_government_salaries, jrs_government_salary_grades, jrs_government_store_taxes, jrs_government_taxes, jrs_government_votes, jrs_government_war_kills, jrs_government_wars
config/config.lua - 124 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
InteractDistance |
2.25 |
Distância em unidades do jogo para interact distance. |
NpcCleanupRadius |
1.75 |
Removes stale government NPCs at the configured position after a resource restart. |
ServerActionDistance |
4.0 |
Distância em unidades do jogo para server action distance. |
InteractControl |
0xCEFD9220 |
E / INPUT_CONTEXT |
DefaultNpcModel |
"U_M_M_ValSheriff_01" |
Modelo ou entidade do jogo usado para default npc model. |
Blip |
table |
Ajustes do blip ou ícone do mapa para blip. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Sprite |
1869246576 |
Official Government Seal / Senior Badge |
↳ Scale |
0.2 |
Taxa ou multiplicador para scale. |
↳ Color |
"BLIP_MODIFIER_MP_COLOR_27" |
Royal Purple |
Elections |
table |
Permanent government: elections only start when an administrator explicitly opens one. |
↳ CandidateMinimumLevel |
20 |
Mínimo ou nível exigido para candidate minimum level. |
↳ MaxCandidatesPerCity |
3 |
Maximum active candidates is PER CITY, PER ELECTION (not global across all cities). |
↳ BlockActiveCandidacyInOtherCities |
true |
Prevent a character from being an ACTIVE candidate/governor in another city at the same time. |
↳ AllowElectionWhileGoverned |
false |
Allows election while governed: true = sim, false = não (padrão false). |
↳ RequireNoPoliceRecord |
true |
Requires no police record: true = sim, false = não (padrão true). |
↳ RequireNoBankDebt |
true |
Requires no bank debt: true = sim, false = não (padrão true). |
↳ DebtEpsilon |
0.01 |
Número para debt epsilon (padrão 0.01). |
↳ CandidateStatementMaxLength |
220 |
Limite máximo para candidate statement max length. |
↳ DefaultDurationMinutes |
60 |
Elections can end automatically after this duration. Admins may override it when opening an election. |
↳ MinimumDurationMinutes |
1 |
Ajuste de tempo para minimum duration minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MaximumDurationMinutes |
10080 |
7 days |
↳ RequireCityCitizenshipToVote |
true |
Once a city has citizens, only a citizen of that city can vote. Bootstrap allows the very first election to work before a governor exists to approve citizens. |
↳ AllowBootstrapVotersWhenCityHasNoCitizens |
true |
Allows bootstrap voters when city has no citizens: true = sim, false = não (padrão true). |
CriminalRecord |
table |
Tabela de entradas de criminal record. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ BlockAnyMdtRecord |
true |
Must have a clean police MDT record |
↳ BlockActiveWanted |
true |
Must not have active police wanted/bounty entries |
↳ BlockActiveJail |
true |
Must not be serving a jail sentence |
↳ RequireCleanReputation |
true |
Must have a clean reputation / honor (jrs_integrity) |
↳ MinimumHonor |
0 |
Minimum honor / integrity score |
↳ CheckOnDeputy |
true |
Check reputation when appointing deputy |
↳ CheckOnWarDeclare |
true |
Check reputation when declaring/accepting war |
DeputyPermissions |
table |
Quem pode: empregos, grupos ou permissões para deputy permissions. |
↳ manageCitizens |
true |
Chave para manage citizens: true = ligado, false = desligado (padrão true). |
↳ viewTreasury |
true |
Chave para view treasury: true = ligado, false = desligado (padrão true). |
↳ manageEmployees |
false |
Chave para manage employees: true = ligado, false = desligado (padrão false). |
↳ editSalaries |
false |
Chave para edit salaries: true = ligado, false = desligado (padrão false). |
↳ sendCityMessages |
true |
Chave para send city messages: true = ligado, false = desligado (padrão true). |
↳ sendGovernmentMessages |
false |
Chave para send government messages: true = ligado, false = desligado (padrão false). |
↳ sendGlobalMessages |
false |
Chave para send global messages: true = ligado, false = desligado (padrão false). |
↳ appointDeputy |
false |
Chave para appoint deputy: true = ligado, false = desligado (padrão false). |
↳ manageTaxes |
false |
Chave para manage taxes: true = ligado, false = desligado (padrão false). |
↳ manageWars |
false |
Chave para manage wars: true = ligado, false = desligado (padrão false). |
↳ manageAppointments |
false |
Chave para manage appointments: true = ligado, false = desligado (padrão false). |
↳ manageStores |
false |
Chave para manage stores: true = ligado, false = desligado (padrão false). |
↳ viewCrimeStats |
true |
Chave para view crime stats: true = ligado, false = desligado (padrão true). |
Treasury |
table |
Tabela de entradas de treasury. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ AllowGovernorDeposit |
true |
Allows governor deposit: true = sim, false = não (padrão true). |
↳ AllowGovernorWithdraw |
false |
Allows governor withdraw: true = sim, false = não (padrão false). |
↳ MinimumDeposit |
1.00 |
Valor em dinheiro para minimum deposit. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ MaximumDeposit |
100000.00 |
Valor em dinheiro para maximum deposit. As recompensas passam pelo multiplicador de economia do jrs_core. |
Revenue |
table |
Tabela de entradas de revenue. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ MaximumSingleDeposit |
100000000.00 |
Valor em dinheiro para maximum single deposit. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ RecentTransactionLimit |
50 |
Limite máximo para recent transaction limit. |
↳ AllowedResources |
table |
Tabela de entradas de allowed resources. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Payroll |
table |
Tabela de entradas de payroll. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ IntervalMinutes |
30 |
Ajuste de tempo para interval minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MinimumGrade |
0 |
Mínimo ou nível exigido para minimum grade. |
↳ MaximumGrade |
10 |
Limite máximo para maximum grade. |
↳ MinimumSalary |
0.25 |
Absolute safety net. The real limits are the per-grade bands below. |
↳ MaximumSalary |
30.00 |
10-01: was 6.00 (bands below x5 for law + medicine) |
↳ GradeBands |
table |
RDO-style pay per payroll tick (every IntervalMinutes = 30 min, on duty only). The governor can only pick a value inside [min, max] of each grade. Grade 10 top = $5.00 / 30 min = $10/h passive, on top of what the job itself earns. |
↳ RoleScale |
table |
Band multiplier per employee role id. Jobs that already earn from their own work (mining, lumber, smelting, banking fees) get a smaller government salary. |
↳ DefaultBandPoint |
0.40 |
New/out-of-band salaries are reset to min + this share of the band (0.4 = a bit below the middle). |
↳ AllOrNothing |
true |
If treasury cannot cover every online employee in a city's payroll, nobody is paid. |
Messages |
table |
Texto mostrado ao jogador para messages. Altere para traduzir ou renomear. |
↳ MaxTitleLength |
80 |
Limite máximo para max title length. |
↳ MaxBodyLength |
800 |
Limite máximo para max body length. |
↳ CooldownMs |
3000 |
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. |
CityOwnership |
table |
Tabela de entradas de city ownership. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ AllowOwnerWithdraw |
true |
City Owner can withdraw funds directly from the city treasury |
↳ AllowGovernorWithdraw |
false |
Standard governor withdrawal restriction |
↳ MinimumWithdraw |
1.00 |
Mínimo ou nível exigido para minimum withdraw. |
↳ MaximumWithdraw |
100000.00 |
Limite máximo para maximum withdraw. |
↳ ConquestOnWarVictory |
true |
Winning a city war can confer ownership/conquest rights |
↳ CanPurchaseCity |
false |
Option to buy unowned city directly |
↳ PurchasePrice |
250000.00 |
Purchase price if buying is enabled |
↳ AutoGrantLawRankToOwner |
true |
City Owner automatically receives highest law rank |
↳ OwnerLawGrade |
9 |
Highest law rank grade |
CityLawJobs |
table |
Primary law jobs and highest ranks per city (used for automatic owner rank assignment) |
↳ valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ blackwater |
table |
Tabela de entradas de blackwater. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rhodes |
table |
Tabela de entradas de rhodes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ saintdenis |
table |
Tabela de entradas de saintdenis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ annesburg |
table |
Tabela de entradas de annesburg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ armadillo |
table |
Tabela de entradas de armadillo. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ tumbleweed |
table |
Tabela de entradas de tumbleweed. 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. |
Admin |
table |
Quem pode: empregos, grupos ou permissões para admin. |
↳ AcePermission |
"jrs.government.admin" |
Quem pode: empregos, grupos ou permissões para ace permission. |
↳ Groups |
table |
Quem pode: empregos, grupos ou permissões para groups. |
↳ Commands |
table |
Tabela de entradas de commands. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
RankLadders |
table |
and the payroll grid all show these names and stop at the ladder's top grade. Law ladders run 0-9 to match jrs_police (uniform/weapon kit per grade 0-9, city owner = 9). Doctors run 0-10 to match jrs_doctors Config.RankLabels. |
↳ sheriff |
table |
Tabela de entradas de sheriff. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ police |
table |
Tabela de entradas de police. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ guarma_guard |
table |
Tabela de entradas de guarma guard. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ doctor |
table |
Tabela de entradas de doctor. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ banker |
table |
Tabela de entradas de banker. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ worker |
table |
Tabela de entradas de worker. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Cities |
table |
Employee roles are intentionally city-specific. Add doctors, bankers, etc. here. Multiple ON-DUTY job names can map to one payroll role. Never add jobs beginning with "off". |
↳ valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ blackwater |
table |
Tabela de entradas de blackwater. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rhodes |
table |
Tabela de entradas de rhodes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ saintdenis |
table |
Tabela de entradas de saintdenis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ annesburg |
table |
Tabela de entradas de annesburg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ armadillo |
table |
Tabela de entradas de armadillo. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ tumbleweed |
table |
Tabela de entradas de tumbleweed. 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. |
CityMapRegions |
table |
Tabela de entradas de city map regions. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ blackwater |
table |
Tabela de entradas de blackwater. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rhodes |
table |
Tabela de entradas de rhodes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ saintdenis |
table |
Tabela de entradas de saintdenis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/economy.lua - 40 opções#
General
| Setting | Default | What it does |
|---|---|---|
Economy |
table |
Tabela de entradas de economy. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ GoldToCashRate |
1.0 |
Gold paid for a city service is converted into treasury dollars at this rate. |
↳ FallbackMaxDistance |
3000.0 |
A payment is credited to the city whose zone contains the buyer. Outside every zone (ranches, camps, small settlements) the nearest city within this distance receives it. 0 = always the nearest city. |
↳ Zones |
table |
Town centres on the 2D map. radius is the "inside the city" distance. |
↳ CityAliases |
table |
Alternative names other resources may send as a city hint. |
↳ Categories |
table |
Every revenue source shown on the Revenue page. share is the fraction of the payment that reaches the treasury (1.0 = all of it, 0.25 = a quarter). |
↳ Taxes |
table |
Taxes the governor sets from the Treasury page (percent). sales: taken from every player-owned store sale inside the city. |
↳ RecentTransactionLimit |
60 |
Recent ledger rows sent to the Revenue page. |
Wars |
table |
Tabela de entradas de wars. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ DeclarationCost |
150.0 |
Taken from the attacker's treasury when war is declared. The winner of the war receives it; a draw, peace treaty or cancellation returns it. |
↳ PreparationMinutes |
15 |
warning period before fighting counts |
↳ DurationMinutes |
60 |
fighting period |
↳ CooldownMinutes |
720 |
the same two cities cannot fight again for 12 hours |
↳ RequireDefenderGovernor |
true |
Requires defender governor: true = sim, false = não (padrão true). |
↳ MinimumCitizensPerCity |
1 |
Mínimo ou nível exigido para minimum citizens per city. |
↳ RequireAcceptance |
true |
A declared war does not start fighting until the defender's leadership explicitly accepts the challenge. If they refuse or run out of time the war is cancelled and the attacker's stake is refunded. |
↳ AcceptanceTimeoutMinutes |
3 |
Ajuste de tempo para acceptance timeout minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MinimumOnlineCitizensPerCity |
2 |
Both cities need this many citizens ONLINE right now (not just registered) before a war can even be declared, so nobody fights an empty city. |
↳ RequireDefenderLeadershipOnline |
true |
The defender's owner, governor or deputy must be online to receive and answer the challenge. |
↳ TributePercent |
20.0 |
share of the loser's treasury paid to the winner |
↳ SurrenderTributePercent |
10.0 |
Taxa ou multiplicador para surrender tribute percent. |
↳ TributeMax |
1500.0 |
0 = no cap |
↳ KillPoints |
1 |
Coordenadas do mundo (x, y, z) para kill points. |
↳ ScoreToWin |
0 |
0 = the war is decided only when the timer ends |
↳ PairKillCooldownSeconds |
300 |
one killer/victim pair scores once in this window |
↳ MaxKillDistance |
350.0 |
Distância em unidades do jogo para max kill distance. |
↳ RequireInsideCityZones |
false |
true = only kills inside either warring city count |
↳ AnnounceGlobal |
true |
false = only citizens of the two cities are told |
↳ ReasonMaxLength |
200 |
Limite máximo para reason max length. |
↳ RosterLimit |
20 |
(Config.Cities[cityId].npc) - the one coordinate every city already has proven safe, instead of guessing new landmark coordinates. Roster of participants selected by the Governor for the war (max 20 per city) |
↳ RequireRosterFighters |
true |
Requires roster fighters: true = sim, false = não (padrão true). |
↳ ArenaOutOfBoundsSeconds |
10 |
Número para arena out of bounds seconds (padrão 10). |
↳ DefaultArena |
"bolger_glade" |
Ajuste para default arena. |
↳ DefaultMode |
"siege" |
Ajuste para default mode. |
↳ Modes |
table |
Tabela de entradas de modes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
WarArenas |
table |
Predefined historic battlefield arenas for city wars. Both 20-man rosters enter the chosen arena zone with team-specific spawns and perimeter bounds. |
↳ bolger_glade |
table |
Tabela de entradas de bolger glade. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ fort_mercer |
table |
Tabela de entradas de fort mercer. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ fort_wallace |
table |
Tabela de entradas de fort wallace. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Notes from the README#
# jrs_government 1.0.0
Permanent city government system for JRS RedM.
## Included
- One permanent Governor per configured city.
- One Deputy Governor appointed/removed by the Governor.
- Elections are admin-opened only; there is no automatic term timer.
- Candidate requirements:
- minimum JRS level;
- cannot have registered as a candidate in another city (configurable);
- no police MDT criminal record, active wanted entry, or active jail sentence;
- no active/defaulted JRS bank loan debt.
- Voting requires the character's permanent 6-digit JRS ID number from `jrs_id_numbers`.
- One vote per character/identity number per city election, enforced with SQL unique keys; bootstrap voters are also blocked from voting in two simultaneously-o
- Citizenship applications and city-transfer requests.
- A character can be an active citizen of only one city.
- Governor/Deputy citizen approval and rejection.
- Governor can remove citizens; removing the deputy also removes the deputy office.
- City treasury with governor deposits and admin adjustments.
- City employee salary configuration and automatic online payroll from the treasury.
- Government messages: own city, another governor, all governors, all players.
- Persistent audit log for sensitive actions.
- NPC per city with a single responsive HD/2K/4K NUI.
- Character-bound client startup waits for `jrs_character:isPlayerReady`.
## Existing JRS integration used directly
### jrs_idcard
`jrs_id_numbers.charid -> identity_number` is used to verify the six-digit voting number.
### jrs_police
Candidate checks query:
- `jrs_police_mdt`
- `jrs_police_wanted`
- `jail_police`
### jrs_banking
Candidate debt checks query `jrs_bank_loans.remaining_debt` for active/defaulted loans.
### jrs_core
Uses `exports.jrs_core:getCoreApi()`, `exports.jrs_core:GetXP(source)` for the calculated level, and the active `character.charIdentifier`, job, money and curre
## Installation
1. Put `jrs_government` in your resources folder.
2. The resource creates its tables automatically. `sql/jrs_government.sql` is also provided for manual installation/review.
3. Start dependencies before it:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_character
ensure jrs_idcard
ensure jrs_policeFree (included in JRS Core) jrs_huntingpets
JRS Core hunting pets - hunting dogs and birds with training, tracking and scavenging
| Resource | jrs_huntingpets |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Code size | 23,821 Lua lines |
Commands
/callbird/calldog/fleebird/fleedog
Database tables
is, player_birds, player_dogs, player_selected_pets
Free (included in JRS Core) jrs_lumberjack
jrs core Lumberjack - jrs core only, organized secure lumber workflow
| Resource | jrs_lumberjack |
| Folder | [JOBS] |
| Version | 3.11.1 |
| Author | jrs team |
| Depends on | jrs_character, jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 16,949 Lua lines |
Commands
/carryoffset/lumber/lumberadmin/lumberaxeoffset/lumbercarry/lumbercart/lumberclose/lumberdiag/lumberfallenprop/lumberfulladmin/lumbermenu/lumberprocessanim/lumberprocesstool/lumberprocesstooloffset/lumberquick/lumberreground/lumbersawanim/lumbersawhorse/lumbersawtool/lumbersawtooloffset/lumbertoolgizmo/lumberwagon/lumberwagontest/lumberworkpiece/planttree/sawhorse/sawhorsedist/sawhorsemove/sawhorsereset/sawhorsesave
Database tables
jrs_lumberjack_carts, jrs_lumberjack_world, jrs_lumberjack_world_history
Free (included in JRS Core) jrs_mdt
JRS Core MDT - records, warrants, reports, charges and fines for the law
| Resource | jrs_mdt |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | de, en, es, fr, it, pl, pt, ru |
| Code size | 6,019 Lua lines |
Commands
/mdt
Exports
attemptLocalOverride, createOrUpdateFine, forceRefreshRoles, getAllPlayerRoles, getAllRoles, getChargeAttachments, getChargeTemplates, getCitizenFines, getConfigVersion, getJobInfo, getJobLabel, getLawJobs, getMyRole, getPermissions, getPlayerFines, getPlayerRole, getReportsWithCharges, getSettings, getStaffPermissions, getTotalFinesAmount, getUnpaidFines, getValidatedLawJobs, hasAccess, hasAdminPermission, hasPermission, hasRolePermission, hasUnpaidFines, isAdmin, isLawJob, isLawOfficer
Free (included in JRS Core) jrs_medic
A medical scrpt for jrs core framework
| Resource | jrs_medic |
| Folder | [JOBS] |
| Version | 0.3 |
| Author | JRS TEAM |
| Interface | No |
| Code size | 1,344 Lua lines |
Exports
getDoctorFromCall, isOnDuty
configs/config.lua - 38 opções#
General
| Setting | Default | What it does |
|---|---|---|
DevMode |
false |
Chave para dev mode: true = ligado, false = desligado (padrão false). |
Align |
"top-left" |
menu alignment |
Lang |
"English" |
language you want to use please make sure its in the translation.lua |
AllowOnlyDeadToAlert |
true |
if true only dead players can alert doctors |
AlertDoctorCommand |
"calldoctor" |
command to alert doctors |
cancelalert |
"cancelDoctorAlert" |
command to cancel alert |
finishalert |
"finishDoctorAlert" |
command to finish alert |
DoctorMenuCommand |
"doctormenu" |
Command to go on duty and teleport |
Keys |
table |
prompts |
↳ B |
0x4CC0E2FE |
Ajuste para b. |
DoctorJobs |
table |
jobs that can open hire menu |
↳ doctor |
table |
Tabela de entradas de doctor. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
ShareStorage |
true |
if true storage for every doctor station will be shared if false they will be unique |
Storage |
table |
storage locations check the server.lua for webhook url location line 21 in server.lua |
↳ Valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ SaintDenis |
table |
Tabela de entradas de saint denis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
UseTeleportsMenu |
true |
if true players can use teleport from the doctor menu if false only from locations |
Teleports |
table |
set up locations to teleport to or from |
↳ Valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ SaintDenis |
table |
Tabela de entradas de saint denis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Blips |
table |
blips for stations |
↳ Color |
"COLOR_WHITE" |
Ajuste para color. |
↳ Style |
"BLIP_STYLE_FRIENDLY_ON_RADAR" |
Ajuste para style. |
↳ Sprite |
"blip_mp_travelling_saleswoman" |
Ajustes do blip ou ícone do mapa para sprite. |
AlertBlips |
table |
Ajustes do blip ou ícone do mapa para alert blips. |
↳ Color |
"COLOR_RED" |
Ajuste para color. |
↳ Style |
"BLIP_STYLE_CHALLENGE_OBJECTIVE" |
Ajuste para style. |
↳ Sprite |
"blip_mp_travelling_saleswoman" |
Ajustes do blip ou ícone do mapa para sprite. |
Stations |
table |
doctor stations boss menu locations |
↳ Valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ SaintDenis |
table |
Tabela de entradas de saint denis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Items |
table |
usable items |
↳ bandage |
table |
item name |
↳ potion |
table |
Tabela de entradas de potion. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ syringe |
table |
Tabela de entradas de syringe. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Free (included in JRS Core) jrs_mining
jrs_mining - native jrs core mining, order-based smelting and gold panning with restart recovery
| Resource | jrs_mining |
| Folder | [JOBS] |
| Version | 7.17.1 |
| Author | jrs team |
| Depends on | jrs_character, jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 22,626 Lua lines |
Commands
/goldsmelt_offset/helmetoffset/miningback/miningbag/miningduty/miningenter/mininghand/miningstore/pickaxeoffset
Exports
GetPlayerLevel, GetPlayerXP
Database tables
IF, jrs_mining_employees, jrs_mining_gold_stations, jrs_mining_jobs, jrs_mining_mines, jrs_mining_order_batches, jrs_mining_order_events, jrs_mining_order_items, jrs_mining_orders, jrs_mining_payouts, jrs_mining_sell_prices, jrs_mining_server_task_players, jrs_mining_server_task_state, jrs_mining_server_tasks, jrs_mining_smelting, jrs_mining_xp
config/config.lua - 251 opções#
General
| Setting | Default | What it does |
|---|---|---|
REDEMPIRE |
table |
─────────────────────── REDEMPIRE framework binding ─────────────────────── This build is REDEMPIRE-only. jrs_core owns character/account data, jrs_character owns the final selector/spawn gate, and jrs_inventory owns inventory sta |
↳ CoreResource |
"jrs_core" |
Ajuste para core resource. |
↳ CharacterResource |
"jrs_character" |
exact target: uploaded jrs_character 3.4.8 |
↳ InventoryResource |
"jrs_inventory" |
exact target: uploaded jrs_inventory 1.6.33 |
↳ ClothingResource |
"Jrs_clothing" |
optional; only used to restore saved clothing after duty |
↳ RequireCharacterReady |
true |
Requires character ready: true = sim, false = não (padrão true). |
Locale |
"ar" |
Language: en, ar, fr, es, de, it, pt, nl |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
ResourceName |
"jrs_mining" |
Canonical resource identity. Keep the folder/resource name exactly jrs_mining. |
RestartRecovery |
table |
character after restart jrs_mining is automatic. In-progress economic actions are intentionally cancelled server-side; duty can be restored for the same character without trusting client data. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ preserveDuty |
true |
Chave para preserve duty: true = ligado, false = desligado (padrão true). |
↳ bootstrapIntervalMs |
250 |
Ajuste de tempo para bootstrap interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ integrationRetryMs |
750 |
Número para integration retry ms (padrão 750). |
↳ npcWatchdogMs |
1500 |
Número para npc watchdog ms (padrão 1500). |
Prompts |
table |
One physical key press = one action. The prompt layer also has a release latch + debounce so a native prompt and its direct-input fallback can never fire the same event twice. |
↳ singlePress |
true |
Chave para single press: true = ligado, false = desligado (padrão true). |
↳ debounceMs |
450 |
Número para debounce ms (padrão 450). |
ToolControls |
table |
Pickaxe visual controls. Gameplay input is read contextually from the same RedM control hashes used by the native prompts; no persisted key mapping is required. Commands remain available as F8 diagnostic fallbacks. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ handControl |
0x6319DB71 |
ARROW UP: draw/put the remembered pickaxe in hand |
↳ backControl |
0x05CA7C52 |
ARROW DOWN: place the equipped pickaxe on the back |
↳ hideControl |
0xDEB34313 |
ARROW RIGHT: hide/remove the visual completely |
↳ toggleCommand |
"pickaxe" |
F8 fallback: toggle hand/back |
↳ removeCommand |
"hidepickaxe" |
Ajuste para remove command. |
↳ initialSlot |
"hand" |
Ajuste para initial slot. |
↳ restoreLastSlot |
false |
Chave para restore last slot: true = ligado, false = desligado (padrão false). |
↳ debounceMs |
220 |
Número para debounce ms (padrão 220). |
↳ notifications |
false |
Chave para notifications: true = ligado, false = desligado (padrão false). |
↳ consumeControls |
false |
Chave para consume controls: true = ligado, false = desligado (padrão false). |
↳ showPromptLoop |
true |
native RedM prompt group while a tool stack is remembered |
↳ promptGroupLocale |
"ui_mining_tool" |
Idioma da interface deste script (en ou ar). |
↳ handPromptLocale |
"prompt_pickaxe_hand" |
Idioma da interface deste script (en ou ar). |
↳ backPromptLocale |
"prompt_pickaxe_back" |
Idioma da interface deste script (en ou ar). |
↳ hidePromptLocale |
"prompt_pickaxe_bag" |
Idioma da interface deste script (en ou ar). |
↳ keyMapping |
false |
contextual direct-control capture is authoritative (no persisted binds) |
↳ showHud |
true |
notification-style tool HUD while the tool is in HAND |
Duty |
table |
Duty lifecycle. Duty is bound to the mine area, not only the NPC. |
↳ autoOffOutsideMine |
false |
Automatically handles off outside mine: true = sim, false = não (padrão false). |
↳ areaRadius |
145.0 |
Distância em unidades do jogo para area radius. |
↳ serverCheckSeconds |
5 |
Número para server check seconds (padrão 5). |
↳ applyUniform |
true |
Chave para apply uniform: true = ligado, false = desligado (padrão true). |
↳ cleanupClothingOnRestart |
true |
restore the saved REDEMPIRE outfit on mining resource restart/stop |
↳ maleUniformSourcePed |
"loansharking_asbminer_males_01" |
runtime-cloned clothing source (male duty outfit) |
↳ hours |
table |
24/7 mining duty. Time must never block clock-in or force a player off duty. The open/close values are retained only for backwards-compatible configs. |
↳ Helmet |
table |
with /helmetoffset - a bone offset cannot be judged from outside a running game. The lamp (Light below) is drawn from the ped's head bone every frame and never depended on the prop, so it works either way. |
↳ Uniform |
table |
Real multiplayer clothing components. These are applied as clothing components, never spawned/attached as props. On clock-out the REDEMPIRE clothing reload event restores the player's saved outfit. |
Admin |
table |
Admin UI features (all server actions are still protected by FullAccess). |
↳ command |
"miningadmin" |
Ajuste para command. |
↳ maxGiveAmount |
999 |
Limite máximo para max give amount. |
↳ maxMoneyAmount |
1000000 |
Valor em dinheiro para max money amount. As recompensas passam pelo multiplicador de economia do jrs_core. |
KeyToInteract |
0xCEFD9220 |
Main world interaction key: E (same native control used by the REDEMPIRE prompt stack). |
RequireJob |
true |
true = only JobName may mine |
JobName |
"mining" |
Quem pode: empregos, grupos ou permissões para job name. |
Tool |
table |
The pickaxe is a USABLE item: use it from the inventory to equip it. Arrow controls while on duty: UP = hand, DOWN = back, RIGHT = hide visual. Hidden/back states clear the carry animation; the inventory item is never deleted. |
↳ prop |
"p_pickaxe01x" |
fallback prop if a tier has no model |
↳ useHelmet |
false |
duty clothing is a real outfit; never attach clothing props to the body |
XP |
table |
───────────────────────── XP / progression ──────────────────────── |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ xpPerLevel |
100 |
xp needed for each level |
↳ maxLevel |
100 |
Limite máximo para max level. |
↳ timeByLevel |
table |
Swing time (seconds) by level - interpolated between breakpoints. Higher level = faster mining. Lvl 0 = 15s ... Lvl 100 = 7s. |
CoreCharacterXP |
table |
Optional mirror into the character's general jrs_core XP. Mining levels and unlocks always use jrs_mining_xp regardless of these settings. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ multiplier |
1.0 |
Taxa ou multiplicador para multiplier. |
↳ reason |
"jrs_mining" |
Ajuste para reason. |
ServerTolerance |
5.0 |
extra slack (m) added to node radius server-side |
Cooldown |
1 |
seconds between actions (server enforced) |
InfiniteNodes |
true |
true = rocks never deplete or force players to change spots; mining is continuous at the same node |
MiningInteraction |
table |
Config.mineData. The player is gently aligned beside that coordinate before the immediate one-attempt skill check starts. Mining requires the pickaxe to already be HAND. |
↳ requireHand |
false |
Requires hand: true = sim, false = não (padrão false). |
↳ alignToRock |
true |
face the rock only; never changes player coordinates |
↳ alignDistance |
1.15 |
Distância em unidades do jogo para align distance. |
↳ minAlignDistance |
0.75 |
Distância em unidades do jogo para min align distance. |
↳ maxAlignDistance |
1.80 |
Distância em unidades do jogo para max align distance. |
↳ serverResultToleranceMs |
3000 |
Número para server result tolerance ms (padrão 3000). |
↳ serverAngleToleranceDegrees |
15 |
Número para server angle tolerance degrees (padrão 15). |
↳ minimumSkillTimeMs |
250 |
Mínimo ou nível exigido para minimum skill time ms. |
ActionMovement |
table |
Player locomotion is never hard-frozen by REDEMPIRE Mining. Walking away cancels the active operation instead of snapping/dragging the ped back into position. |
↳ cancelOnMove |
true |
Chave para cancel on move: true = ligado, false = desligado (padrão true). |
↳ cancelDistance |
0.90 |
Distância em unidades do jogo para cancel distance. |
↳ minigameCancelDistance |
1.10 |
Distância em unidades do jogo para minigame cancel distance. |
ServerTasks |
table |
from resources that actually exist in Config.mineData rewards. Task creation, progress, expiry and completion are silent: players discover task state only by physically visiting a mining shop and opening the Tasks tab. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ initialDelaySeconds |
60 |
Ajuste de tempo para initial delay seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ durationSeconds |
1200 |
Ajuste de tempo para duration seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ cooldownSeconds |
900 |
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. |
↳ targetMin |
45 |
Mínimo ou nível exigido para target min. |
↳ targetMax |
90 |
Limite máximo para target max. |
↳ cashRewardPool |
3.50 |
split proportionally across contributors (1899 cents scale) |
↳ xpReward |
150 |
awarded to online contributors at completion |
↳ excludeRare |
true |
Chave para exclude rare: true = ligado, false = desligado (padrão true). |
DynamicSellPrices |
table |
Resource SELL prices only. Tool purchase prices and mineral-order prices are never changed. Current values + next update time are persisted in MySQL. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ updateMinutes |
30 |
Número para update minutes (padrão 30). |
↳ minMultiplier |
0.70 |
Mínimo ou nível exigido para min multiplier. |
↳ maxMultiplier |
1.55 |
Limite máximo para max multiplier. |
↳ maxStep |
0.18 |
Limite máximo para max step. |
↳ preventBuySellArbitrage |
true |
Chave para prevent buy sell arbitrage: true = ligado, false = desligado (padrão true). |
ItemImagePath |
'nui://jrs_inventory/html/im... |
images come from the inventory; NUI falls back to bundled item_imgs/ if missing |
Minigame |
table |
═══════════════════════ SKILL-CHECK MINIGAME ══════════════════════ Mandatory circular timing check. One attempt only: stop the rotating needle inside the randomized success arc. Legacy per-node rounds are ignored. |
↳ enabled |
true |
mining uses the original circular skill-check minigame |
↳ style |
"circle" |
Ajuste para style. |
↳ rounds |
1 |
hard one-attempt skill check |
↳ arcMinDegrees |
58 |
Circular timing check. Each attempt randomises target position, rotation direction and speed. Degrees are used for the target arcs. |
↳ arcMaxDegrees |
78 |
Limite máximo para arc max degrees. |
↳ perfectDegrees |
18 |
Número para perfect degrees (padrão 18). |
↳ speedMinDegrees |
42 |
slow/smooth: ~8.6 sec per revolution |
↳ speedMaxDegrees |
58 |
~6.2 sec per revolution |
↳ startOffsetMin |
125 |
Mínimo ou nível exigido para start offset min. |
↳ startOffsetMax |
205 |
Limite máximo para start offset max. |
↳ timeoutMs |
16000 |
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. |
↳ failReward |
0.0 |
Valor em dinheiro para fail reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ precisionBonus |
table |
Valor em dinheiro para precision bonus. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ blockGameControls |
true |
NUI owns SPACE/ENTER during the single circular attempt. |
↳ blockedControls |
table |
Tabela de entradas de blocked controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Optional per-node fields:
| Setting | Default | What it does |
|---|---|---|
Nodes |
table |
NOTE: actual rock mining lives in Config.mineData (config/mining.lua). These nodes are only the stationary Processing stations. Ore-to-bar smelting is its own order-based system (config/smelting.lua). |
LevelSystemEnabled |
true |
false = disable the level system (flat XP fallback) |
ExpRewardNotif |
true |
show "gained EXP" notification |
LevelUpNotif |
true |
show "level up" notification |
MiningExpAdminCommand |
"giveminingexp" |
/giveminingexp <playerServerId> <expAmount> (admin, sets mining exp) |
MinigExpCommand |
"miningexp" |
/miningexp (player: display mining exp) |
LevelSystem |
table |
cumulative Experience threshold to REACH that level, plus the reward granted on reaching it. Higher levels unlock rarer resources inside each mine (see the per-entry level field in config/mining.lua reward tables). |
↳ 1 |
table |
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. |
↳ 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. |
↳ 17 |
table |
Tabela de entradas de 17. 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. |
↳ 42 |
table |
Tabela de entradas de 42. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 43 |
table |
Tabela de entradas de 43. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 44 |
table |
Tabela de entradas de 44. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 45 |
table |
Tabela de entradas de 45. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 46 |
table |
Tabela de entradas de 46. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 47 |
table |
Tabela de entradas de 47. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 48 |
table |
Tabela de entradas de 48. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 49 |
table |
Tabela de entradas de 49. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 50 |
table |
Tabela de entradas de 50. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 51 |
table |
Tabela de entradas de 51. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 52 |
table |
Tabela de entradas de 52. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 53 |
table |
Tabela de entradas de 53. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 54 |
table |
Tabela de entradas de 54. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 55 |
table |
Tabela de entradas de 55. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 56 |
table |
Tabela de entradas de 56. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 57 |
table |
Tabela de entradas de 57. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 58 |
table |
Tabela de entradas de 58. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 59 |
table |
Tabela de entradas de 59. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 60 |
table |
Tabela de entradas de 60. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 61 |
table |
Tabela de entradas de 61. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 62 |
table |
Tabela de entradas de 62. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 63 |
table |
Tabela de entradas de 63. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 64 |
table |
Tabela de entradas de 64. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 65 |
table |
Tabela de entradas de 65. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 66 |
table |
Tabela de entradas de 66. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 67 |
table |
Tabela de entradas de 67. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 68 |
table |
Tabela de entradas de 68. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 69 |
table |
Tabela de entradas de 69. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 70 |
table |
Tabela de entradas de 70. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 71 |
table |
Tabela de entradas de 71. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 72 |
table |
Tabela de entradas de 72. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 73 |
table |
Tabela de entradas de 73. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 74 |
table |
Tabela de entradas de 74. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 75 |
table |
Tabela de entradas de 75. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
LevelScaling |
table |
──────────────────── level-based reward scaling ──────────────────── amountPerLevel : extra base items added to every mining drop, per level. (floor(level * amountPerLevel) is added to the rolled amount) |
↳ amountPerLevel |
0.05 |
level 20 = +1 item, level 40 = +2 items, ... |
MineBusiness |
table |
═══════════════════════ MINE OWNERSHIP / ACCESS ═══════════════════ Mine state is persistent in MySQL. "free" = public mine, "owned" = only the owner + employees can mine it. Admins can change mode/owner at runtime. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ defaultMode |
"owned" |
Ajuste para default mode. |
↳ employeeLimit |
12 |
Limite máximo para employee limit. |
↳ ownerCanHire |
true |
Chave para owner can hire: true = ligado, false = desligado (padrão true). |
↳ employeeCanMine |
true |
Chave para employee can mine: true = ligado, false = desligado (padrão true). |
↳ showMineTabAtNpc |
true |
Shows mine tab at npc: true = sim, false = não (padrão true). |
↳ purchaseAtMineNpc |
false |
mine deeds are sold only through the Pause/Base Menu store |
↳ defaultSalary |
0.75 |
Valor em dinheiro para default salary. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ maxSalary |
2.50 |
Valor em dinheiro para max salary. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ maxPayrollTotal |
50.00 |
Limite máximo para max payroll total. |
↳ payrollEnabled |
true |
Chave para payroll enabled: true = ligado, false = desligado (padrão true). |
↳ treasuryEnabled |
true |
Chave para treasury enabled: true = ligado, false = desligado (padrão true). |
↳ payrollTaxPercent |
10 |
gross salary tax; employee receives the net amount |
↳ maxTreasuryTransaction |
1000000 |
Limite máximo para max treasury transaction. |
↳ freeMines |
table |
Only these mines are public. Every mine listed in Config.ServiceMineIds (free or owned) has its rewards converted to raw rock by Config.MineralProcessing and must be processed at its processing station. |
↳ sales |
table |
Every other mine is private while unowned and can be bought at its own linked mining store. Features apply to both the owner and employees. |
↳ defaults |
table |
Per-mine FIRST-RUN defaults. Database/admin changes take priority once the mine has been created in MySQL. Use the mine id from config/mining.lua. |
JobMarket |
table |
═════════════════════════ JOB MARKET ══════════════════════════════ Player-created delivery contracts. Payout is escrowed when the job is created, so workers cannot complete an unfunded contract. |
↳ enabled |
false |
v6.3 shop uses mineral batch orders instead of player job contracts |
↳ creationFee |
2 |
Valor em dinheiro para creation fee. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ maxActiveCreated |
3 |
Limite máximo para max active created. |
↳ maxActiveAccepted |
2 |
Limite máximo para max active accepted. |
↳ minAmount |
1 |
Mínimo ou nível exigido para min amount. |
↳ maxAmount |
100 |
Limite máximo para max amount. |
↳ minPayout |
1 |
Valor em dinheiro para min payout. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ maxPayout |
10000 |
Valor em dinheiro para max payout. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ minMinutes |
5 |
Mínimo ou nível exigido para min minutes. |
↳ maxMinutes |
180 |
Limite máximo para max minutes. |
↳ refreshSeconds |
20 |
Número para refresh seconds (padrão 20). |
↳ deliveryAtPostedMine |
true |
accepted jobs must be delivered at the mine where they were posted |
↳ allowedItems |
table |
Itens de inventário usados por allowed items. Os nomes precisam existir na tabela jrs_items. |
AllowMiningCancel |
true |
═══════════════════ INTEGRATION / GLOBAL SWITCHES ═══════════════════ |
AdminAce |
"jrs.mining" |
Quem pode: empregos, grupos ou permissões para admin ace. |
CoordCheckerEfficiency |
3 |
Coordenadas do mundo (x, y, z) para coord checker efficiency. |
MiniGameAsMineAccurately |
false |
Chave para mini game as mine accurately: true = ligado, false = desligado (padrão false). |
config/goldpanning.lua - 87 opções#
General
| Setting | Default | What it does |
|---|---|---|
GoldPanning |
table |
Valor em dinheiro para gold panning. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ enabled |
false |
7.12.9: standalone river panning disabled in favor of BCC-style wash station only |
↳ item |
"goldpan" |
Itens de inventário usados por item. Os nomes precisam existir na tabela jrs_items. |
↳ requireJob |
true |
Pan + wash station only for these jobs (jrs_multijob 'mingold' = Gold Prospector). No admin bypass, no mining duty: holding the job is enough. |
↳ jobs |
table |
Quem pode: empregos, grupos ou permissões para jobs. |
↳ requireDuty |
false |
Requires duty: true = sim, false = não (padrão false). |
↳ shopItems |
table |
Gold Prospectors use any mining shop WITHOUT duty, limited to these rows of Config.Shops.types (tools = buy, materials = sell). BCC tools only. |
↳ cooldownSeconds |
15 |
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. |
↳ actionDurationMs |
5000 |
Ajuste de tempo para action duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ minigameMinMs |
4000 |
Mínimo ou nível exigido para minigame min ms. |
↳ minMovementDistance |
2.0 |
Distância em unidades do jogo para min movement distance. |
↳ spotMemoryMs |
300000 |
Número para spot memory ms (padrão 300000). |
↳ goldChance |
50 |
Valor em dinheiro para gold chance. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ rewards |
table |
Tabela de entradas de rewards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ waterTypes |
table |
7.15.0: exactly BCC's Config.waterTypes - every named water zone (river, creek, lake, pond, swamp, ocean). waterHashes is built from it below. |
GoldPanningStation |
table |
BCC-style wash-station flow. The original river-pan flow remains enabled. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ model |
"p_goldcradlestand01x" |
Modelo ou entidade do jogo usado para model. |
↳ stationItem |
"goldwash_table" |
Itens de inventário usados por station item. Os nomes precisam existir na tabela jrs_items. |
↳ mudBucket |
"mud_bucket" |
Ajuste para mud bucket. |
↳ emptyMudBucket |
"empty_mud_bucket" |
Ajuste para empty mud bucket. |
↳ waterBucket |
"wateringcan" |
Ajuste para water bucket. |
↳ emptyWaterBucket |
"wateringcan_empty" |
Ajuste para empty water bucket. |
↳ panItem |
"goldpan" |
Itens de inventário usados por pan item. Os nomes precisam existir na tabela jrs_items. |
↳ requirePanItem |
true |
BCC: the wash stage needs a goldpan in the bag. It starts at durability 100 and loses panWearPerWash per wash ATTEMPT; when what is left is below one more wash it breaks (100 / 2 = 50 washes). |
↳ panWearPerWash |
2 |
Número para pan wear per wash (padrão 2). |
↳ siftPanModel |
"p_copperpan02x" |
BCC: no pan on the table; this prop is held in the right hand (PH_R_Hand) only while the panning animation plays. |
↳ siftsPerFill |
1 |
BCC flow: one mud bucket + one water can = exactly one wash. |
↳ useMinigame |
true |
BCC: a skill-check minigame decides the wash. Failing it pays nothing and keeps the mud/water in the table so the player can try again. |
↳ minigameAttempts |
2 |
BCC Config.Minigame.maxattempts = 2: two tries per wash before it fails. |
↳ ownerOnly |
true |
Only the player who built the table can load / wash / pick it up (BCC). |
↳ maxShoreDistance |
6.0 |
7.15.7: the table is built on dry ground (it blacks out water it touches); river/lake water must be within this many metres of the spot. |
↳ blip |
true |
Map blip on the player's own tables only (false = no blip). |
↳ blipSprite |
"blip_ambient_chore" |
Ajustes do blip ou ícone do mapa para blip sprite. |
↳ blipScale |
0.2 |
Ajustes do blip ou ícone do mapa para blip scale. |
↳ washReward |
table |
BCC reward: every passed wash pays washReward for sure, plus an extraRewardChance (%) roll from the river zone's pool (or Config.GoldPanning.rewards outside a zone). |
↳ extraRewardChance |
10 |
Valor em dinheiro para extra reward chance. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ fillDurationMs |
8000 |
Ajuste de tempo para fill duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ buildDurationMs |
8000 |
Ajuste de tempo para build duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ washDurationMs |
8000 |
Ajuste de tempo para wash duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ interactDistance |
2.2 |
Distância em unidades do jogo para interact distance. |
↳ placementDistance |
1.6 |
Distância em unidades do jogo para placement distance. |
↳ maxStationsPerCharacter |
2 |
Limite máximo para max stations per character. |
↳ rewardXpMultiplier |
1.25 |
Valor em dinheiro para reward xp multiplier. As recompensas passam pelo multiplicador de economia do jrs_core. |
GoldPanningRivers |
table |
Specialized Prospecting River Zones across the Frontier |
GoldSmelt |
table |
7.15.0 Gold furnace (from alfie_goldsmelt): the ONLY way to make gold bars. The NPC smelters no longer take gold nuggets. Bought at the mining shop; needs the Gold Prospector job like the wash station. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ furnaceItem |
"gold_furnace" |
Itens de inventário usados por furnace item. Os nomes precisam existir na tabela jrs_items. |
↳ model |
"p_goldsmeltburner01x" |
native; hawk's escrowed gold_smelt crashed clients when merged (7.16.13) |
↳ fallbackModel |
"p_goldsmeltburner01x" |
Modelo ou entidade do jogo usado para fallback model. |
↳ smeltKey |
0x760A9C6F |
G (original) |
↳ pickupKey |
0xCEFD9220 |
E (original) |
↳ chunkModel |
"p_goldnugget01x" |
Modelo ou entidade do jogo usado para chunk model. |
↳ barModel |
"s_pickup_goldbar01x" |
Modelo ou entidade do jogo usado para bar model. |
↳ requireJob |
true |
Requires job: true = sim, false = não (padrão true). |
↳ jobs |
table |
7.16.11: every mining job may use the furnace (ACTIVE job). |
↳ maxBatchesPerMelt |
5 |
inputAmount/outputAmount are per batch; xp is per batch. Optional per recipe: chunkModel (what lies in the crucible), barModel (what is poured on success), img (NUI picture). |
↳ recipes |
table |
Itens de inventário usados por recipes. Os nomes precisam existir na tabela jrs_items. |
↳ furnaceWearPerMelt |
5 |
Furnace durability (metadata, starts 100): -5 per poured melt = 20 melts. |
↳ interactDistance |
1.5 |
Distância em unidades do jogo para interact distance. |
↳ blip |
true |
7.16.5: map blip on your own furnace only (false = no blip). |
↳ blipSprite |
"blip_shop_blacksmith" |
Ajustes do blip ou ícone do mapa para blip sprite. |
↳ blipColor |
"BLIP_MODIFIER_MP_COLOR_4" |
yellow / gold |
↳ blipScale |
0.2 |
Ajustes do blip ou ícone do mapa para blip scale. |
↳ camSideDeg |
55.0 |
smelt camera swung to the side so the player doesn't block the crucible |
↳ camIntro |
table |
7.16.6 camera: intro looks down into the crucible, then the working view (metres from the crucible) |
↳ camSmelt |
table |
Tabela de entradas de cam smelt. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ camFov |
45.0 |
Número para cam fov (padrão 45.0). |
↳ crucibleOffset |
nil |
7.16.6 crucible: nuggets/bar sit IN the bowl. nil = auto (ray onto the furnace, sunk chunkSink). Exact spot: use /goldsmelt_offset x y z next to your furnace and paste the printed line here. |
↳ crucibleFallbackZ |
0.55 |
used when the ray finds no collision |
↳ chunkSink |
0.04 |
Número para chunk sink (padrão 0.04). |
↳ chunkDrop |
0.30 |
7.16.9: lowers the auto point into the crucible (more = lower); was 0.15, still on the handle |
↳ meltSink |
0.035 |
7.16.9: nuggets sink this much into the crucible as the melt reaches 100 % |
↳ smokeFx |
"ent_amb_smoke_cabin" |
7.16.9: heat smoke over the crucible (core ptfx) |
↳ chunkSpread |
0.05 |
Número para chunk spread (padrão 0.05). |
↳ fireBelowCrucible |
0.22 |
Número para fire below crucible (padrão 0.22). |
↳ requireShore |
true |
7.16.6 placement like the wash table: dry bank next to sea/river/creek/lake/pond/swamp (Config.GoldPanning.waterHashes, within Config.GoldPanning.maxShoreDistance m). |
↳ heatMin |
60 |
Bellows minigame: keep the heat between heatMin..heatMax until the melt hits 100 %. Above heatMax for overheatMs = the crucible blows. |
↳ heatMax |
70 |
Limite máximo para heat max. |
↳ overheatMs |
2000 |
Número para overheat ms (padrão 2000). |
↳ minSmeltMs |
8000 |
a real melt cannot finish faster than this |
↳ maxSmeltMs |
120000 |
Limite máximo para max smelt ms. |
↳ fireLow |
0.5 |
Número para fire low (padrão 0.5). |
↳ fireHigh |
0.8 |
Número para fire high (padrão 0.8). |
↳ destroyFurnaceOnFail |
true |
Blow-up: the nuggets in the crucible are lost and so is the furnace. |
↳ explosionType |
2 |
Número para explosion type (padrão 2). |
↳ explosionDamage |
0.3 |
Número para explosion damage (padrão 0.3). |
config/mineral_props.lua - 7 opções#
General
| Setting | Default | What it does |
|---|---|---|
MineralProps |
table |
Physical ore/bar appearance. These are visual models, not inventory item IDs. The twelve models and their YTYP/YTD are bundled in jrs_mining/stream. |
↳ enabled |
false |
7.17.1: off until a COMPILED .ytyp exists (XML one crashed clients) |
↳ showMineReward |
true |
Shows mine reward: true = sim, false = não (padrão true). |
↳ showOtherRewards |
true |
gold panning and NPC smelter collection |
↳ previewMs |
3500 |
Número para preview ms (padrão 3500). |
↳ maxCrucibleChunks |
3 |
rough chunks are larger than the old nugget prop |
↳ models |
table |
Modelo ou entidade do jogo usado para models. |
config/mining.lua - 86 opções#
General
| Setting | Default | What it does |
|---|---|---|
MiniGame |
true |
═════════════════════════ MINES ═════════════════════════ Toggle the skill-check minigame globally (per-mine MinigameDifficulty can be set to false to make that mine luck-only). |
MinerJobs |
table |
(Gold Prospector) are this server's job-board jobs (jrs_multijob/config/jobs.lua). 'processing' (the old Resource Processor, merged into Miner 2026-09-24) and the rest are legacy/other-server job-name variants kept for compatibili |
MineAreaRadius |
120.0 |
How close (m) to a mine's MainCoord before its rocks stream in. |
NodeInteractDistance |
2.0 |
How close (m) to a rock node before the mine prompt shows. |
mineData |
table |
Tabela de entradas de mine data. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Tumbleweed Mine |
table |
Tabela de entradas de tumbleweed mine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Annesburg Coal Mine |
table |
Tabela de entradas de annesburg coal mine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Northpoint Mine |
table |
Tabela de entradas de northpoint mine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Mount Shann Cave |
table |
Tabela de entradas de mount shann cave. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Beaver Hallow Cave |
table |
Tabela de entradas de beaver hallow cave. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Twin Rocks Gang Camp |
table |
Tabela de entradas de twin rocks gang camp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Zirkel Cave |
table |
Tabela de entradas de zirkel cave. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Dinosaur Cave |
table |
Tabela de entradas de dinosaur cave. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Heartlands Oil pit |
table |
Tabela de entradas de heartlands oil pit. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Bacchus Ridge Cave |
table |
Tabela de entradas de bacchus ridge cave. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Mount Shann collapsed mine |
table |
Tabela de entradas de mount shann collapsed mine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Guarma Cave |
table |
Tabela de entradas de guarma cave. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Bolger Glade Clay Pit |
table |
Tabela de entradas de bolger glade clay pit. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
MiningAnimations |
table |
═════════════════════ TOOLS / STATIONS / SHOPS ═════════════════════ ════════════════════════════ MINING ANIMS ══════════════════════════ |
↳ pickaxe |
table |
Tabela de entradas de pickaxe. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
PickaxeData |
table |
═══════════════════════════ TOOLS (PICKAXES) ═══════════════════════ |
↳ 1 |
table |
Tabela de entradas de 1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
MinerHatItem |
"minerhat" |
outfit (Config.Duty.Helmet) and is worn automatically on clock-in. The name is kept only so the server item allowlist stays stable for characters that still hold a legacy minerhat in their inventory. |
It is also mirrored into jrs_inventory's own durability percentage, which
| Setting | Default | What it does |
|---|---|---|
ToolDurability |
table |
draws the bar inside the inventory UI and (being one of that resource's Config.Metadata.UniqueKeys) keeps every pickaxe a separate instance rather than stacking two tools onto one shared counter. |
↳ enabled |
true |
false = pickaxes are permanent again (7.11.0 behaviour) |
↳ breakOnZero |
true |
false = the tool stops at 1 use left instead of being destroyed |
↳ showInHud |
true |
draw the remaining-uses meter on the tool card |
↳ warnBelow |
0.20 |
start warning under this fraction of the tier's Uses |
↳ warnEvery |
10 |
...and then only every Nth remaining use, to avoid spam |
↳ warnAlwaysUnder |
3 |
...but always warn for the last few uses |
ServiceMineIds |
table |
Only these mine services are exposed. Runtime filtering lives in client/functions.lua and server/functions.lua (prepareMiningRuntimeConfig). |
MineralProcessing |
table |
PROCESSING stations by server/functions.lua + client/functions.lua (prepareMiningRuntimeConfig). The player loop is: mine rock -> process rock -> receive one local mineral. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ inputItem |
"rock" |
Tecla ou controle usado para input item. Os controles são valores hash da lista de entradas do jogo. |
↳ inputAmount |
1 |
Tecla ou controle usado para input amount. Os controles são valores hash da lista de entradas do jogo. |
↳ durationMs |
6000 |
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. |
↳ xp |
2 |
Número para xp (padrão 2). |
↳ interactRadius |
1.2 |
Distância em unidades do jogo para interact radius. |
↳ prop |
nil |
Modelo ou entidade do jogo usado para prop. |
↳ blip |
table |
Ajustes do blip ou ícone do mapa para blip. |
↳ rawReward |
table |
Valor em dinheiro para raw reward. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Locations |
table |
coords is the station/prompt position; heading rotates the spawned prop. A mine may have as many stations as you like: they all share that mine's mineral table, so any of them processes that mine's rock. |
MineralCleaning |
Config.MineralProcessing |
Backwards-compatible alias: older edits/configs referring to the previous "mineral cleaning" name keep resolving to the same table. |
Shops |
table |
One trading bot stands on every mining location (mine blip). The locations list is generated at runtime from Config.mineData, in the client/shops.lua and server/shops.lua scripts (kept in sync by sorting). |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ interactDistance |
1.8 |
Tightened NPC interaction radius; player must get close to the bot |
↳ pedSpawnDistance |
180.0 |
stream the shop NPC before the player reaches the prompt |
↳ pedDespawnDistance |
260.0 |
keep enough hysteresis to prevent spawn/despawn flicker |
↳ alignBotToMineBlip |
true |
visible mine: NPC + prompt use the exact MainCoord used by its blip |
↳ scenario |
"WORLD_HUMAN_STAND_WAITING" |
Idle standing scenario for the shopkeeper NPC |
↳ keys |
table |
Two separate world prompts at the same mining NPC. |
↳ duty |
table |
Duty gates every mining/shop action. Client visibility is convenience only; server events independently reject off-duty access. |
↳ hours |
table |
24/7 mining store. Server and client both treat the store as always open. Individual mine OpenTime/CloseTime values are intentionally ignored. |
↳ pedModels |
table |
Ped models used for shop NPCs |
↳ blip |
table |
Blip shown on every shop bot. The blip uses the SAME vector4 as the ped (loc.coords), so they always stay at the exact same spot. |
↳ customLocations |
table |
"one bot per mine" behaviour. Each entry: { name = "Valentine", coords = vector4(x, y, z, heading), openTime = 6, closeTime = 23 } Add as many as you want. Keep it empty {} to use the automatic ones. |
↳ locations |
table |
Filled at runtime (see client/shops.lua + server/shops.lua) |
↳ types |
table |
Two shop types, each with its own button |
InfiniteNodes |
Config.InfiniteNodes ~= fals... |
═══════════════════ MINING RUNTIME DERIVED SETTINGS ═════════════════ Only controls that are actually consumed by the integrated mining runtime are exposed here. Station/shop prompts use Config.KeyToInteract directly. |
Controls |
Config.Controls or { |
Ajuste para controls. |
NodeInteractDistance |
math.max(0.5, tonumber(Confi... |
Canonical interaction distance used by both client and server. |
AdvancedMining |
table |
General mining behaviour mirrored from the reference resource. Every switch here is consumed by the integrated runtime or explicitly mapped to REDEMPIRE's equivalent secure implementation. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ allowMiningCancel |
Config.AllowMiningCancel ~= ... |
Ajuste para allow mining cancel. |
↳ useLookAtNodePrompt |
false |
Liga ou desliga look at node prompt (padrão false). |
↳ rayCastDistance |
4.0 |
Distância em unidades do jogo para ray cast distance. |
↳ virtualLookTolerance |
1.5 |
meters; how close a camera-ray hit must land to a virtual (propless) node's position to count as "looking at it" |
↳ highlightNodeProps |
true |
Chave para highlight node props: true = ligado, false = desligado (padrão true). |
↳ showNodeNumberInPrompt |
false |
Shows node number in prompt: true = sim, false = não (padrão false). |
↳ smartZDifference |
true |
Chave para smart z difference: true = ligado, false = desligado (padrão true). |
↳ initSoundAudio |
true |
Chave para init sound audio: true = ligado, false = desligado (padrão true). |
↳ displayToolHud |
true |
Chave para display tool hud: true = ligado, false = desligado (padrão true). |
↳ displayToolHudAlign |
"top" |
Ajuste para display tool hud align. |
↳ displayTextOffset |
table |
Texto mostrado ao jogador para display text offset. Altere para traduzir ou renomear. |
↳ cancelControl |
Config.Controls.MineCancel |
Tecla ou controle usado para cancel control. Os controles são valores hash da lista de entradas do jogo. |
↳ minerJobProbabilityIncrease |
tonumber(Config.MinerJobProb... |
Quem pode: empregos, grupos ou permissões para miner job probability increase. |
↳ coordCheckerEfficiency |
tonumber(Config.CoordChecker... |
Coordenadas do mundo (x, y, z) para coord checker efficiency. |
↳ drawDebugMarkers |
false |
Chave para draw debug markers: true = ligado, false = desligado (padrão false). |
↳ highlightMarkerType |
1 |
Mining nodes have no entity to outline (see client/mines.lua's VIRTUAL_ROCK), so an eligible node is highlighted with a marker ring at its position instead. Only used when highlightNodeProps ~= false. |
↳ highlightMarkerScale |
0.9 |
Taxa ou multiplicador para highlight marker scale. |
↳ highlightMarkerZOffset |
0.1 |
Número para highlight marker z offset (padrão 0.1). |
↳ highlightMarkerColor |
table |
Tabela de entradas de highlight marker color. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
PickaxeItem |
"pickaxe" |
A single persistent pickaxe whose power is stored in item metadata. |
LegacyForgeToolItems |
table |
Retired standalone tool items. Kept only so the security allow-list stays stable for characters still holding one. |
Uses is how many SUCCESSFUL mining deliveries it survives before it breaks
| Setting | Default | What it does |
|---|---|---|
PickaxeLevels |
table |
(Config.ToolDurability). AMS.toolMetadata clamps any legacy pickaxeLevel metadata (2/3/4) down to 1, so old pickaxes keep working as this one. |
↳ 1 |
table |
Tabela de entradas de 1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/smelting.lua - 20 opções#
This replaces the old forge/anvil/crafting systems, which were removed in
| Setting | Default | What it does |
|---|---|---|
Smelting |
table |
Tabela de entradas de smelting. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ keys |
table |
World interaction. open matches the mining store key so the two NPC prompts read the same way; duty allows toggling mining/processing duty directly. |
↳ interactDistance |
2.5 |
Distância em unidades do jogo para interact distance. |
↳ pedSpawnDistance |
160.0 |
Distância em unidades do jogo para ped spawn distance. |
↳ pedDespawnDistance |
240.0 |
Distância em unidades do jogo para ped despawn distance. |
↳ requireDuty |
false |
Duty/job gating. Setting requireDuty to false allows anyone with the job (from the job board) to use the smelter directly without needing duty clock-in. |
↳ requireJob |
true |
Requires job: true = sim, false = não (padrão true). |
↳ maxOpenOrders |
5 |
unfinished orders one character may hold, per NPC |
↳ maxAmountPerOrder |
50 |
output batches in a single order |
↳ minAmountPerOrder |
1 |
Mínimo ou nível exigido para min amount per order. |
↳ rush |
table |
Instant finish. Cost is per remaining MINUTE, rounded up, and is charged in cash at the moment the player presses RUSH. |
↳ feePerBatch |
5 |
* these NPC smelters = PAID and SLOW (order, wait, collect) feePerBatch is cash taken when the order is placed (a recipe may set its own fee); timeMultiplier stretches every recipe's minutes. |
↳ timeMultiplier |
5 |
Taxa ou multiplicador para time multiplier. |
↳ xpPerBatch |
3 |
XP awarded per collected order line (scaled by the number of batches). |
↳ scenario |
"WORLD_HUMAN_WRITE_NOTEBOOK" |
Working animation played at the NPC when placing an order. |
↳ placeDurationMs |
4000 |
Ajuste de tempo para place duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ pedModel |
"A_M_M_ASBMINER_02" |
Ambient furnace ped + blip shared by every location that does not set its own. Blip sprite matches the mining shop family. |
↳ blip |
table |
Ajustes do blip ou ícone do mapa para blip. |
↳ Locations |
table |
ONE bar. input/inputAmount is what a single batch costs, output/ outputAmount is what a single batch returns, minutes is how long a single batch takes. |
Paid (server only) jrs_moonshine
JRS Core moonshiner job (jrs_multijob): distilling, distilleries, business and delivery
| Resource | jrs_moonshine |
| Folder | [JOBS] |
| Version | 1.5.0 |
| Author | jrs team |
| Depends on | /assetpacks, jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 4,477 Lua lines |
Exports
jrs_is_player_moonshining
Database tables
jrs_moonshine_missions, jrs_moonshine_productions, jrs_moonshine_shells, jrs_moonshine_stills
config.lua - 186 opções#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"ar" |
Idioma da interface deste script (en ou ar). |
Locale |
table |
Idioma da interface deste script (en ou ar). |
↳ en |
table |
Tabela de entradas de en. 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. |
Progress |
table |
progressImg = The item name you enter here is pulled from your inventory images. |
↳ Delivery |
table |
Delivery Progress |
Indicate |
table |
A small image indicating their presence there at the center of the interiors |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ distance |
10.0 |
Distância em unidades do jogo para distance. |
CreateInteriorCommandSetting |
table |
If you do not want to use interior creation as an item, enable this command and it will only set up an interior entrance at your current location. Without an prop. |
↳ activeCommand |
false |
If the command is open, interior items cannot be used. |
↳ command |
"createinterior" |
Ajuste para command. |
↳ commandRequired |
table |
or false |
Config.PlayerXP ###
| Setting | Default | What it does |
|---|---|---|
PlayerXP |
table |
Config.JobXP.CoreShare of it into the global character level, exactly like fishing, hunting, lumberjack and every other job on this server. The still keeps its own XP as before; this is in addition to it, not instead. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Job |
"moonshiner" |
primary key in jrs_job_levels; renaming it orphans progress |
↳ Multiplier |
1.0 |
scales the recipe addXP value before it reaches the player |
AllowMoonshineInShell |
false |
If true, you can set up a moonshine still inside the interior |
DurabilityMultiplier |
1.5 |
The machine's durability decreases significantly based on the production volume. 1.0 is the normal value. |
TimeMultiplier |
true |
Time increases depending on production volume |
Config.RemoveStillSetting ###
| Setting | Default | What it does |
|---|---|---|
RemoveStillSetting |
2 |
legal job (2026-09-25): only the owner removes a still |
RemoveStillAfterSaveData |
true |
Should the level and xp of the machine be added to the item as metadata after Moonshine Still is deleted? |
Config.LawmenJobs ###
| Setting | Default | What it does |
|---|---|---|
LawmenJobs |
table |
Quem pode: empregos, grupos ou permissões para lawmen jobs. |
↳ bwsheriff |
true |
Chave para bwsheriff: true = ligado, false = desligado (padrão true). |
↳ valsheriff |
true |
Chave para valsheriff: true = ligado, false = desligado (padrão true). |
↳ armsheriff |
true |
Chave para armsheriff: true = ligado, false = desligado (padrão true). |
↳ armheriff |
true |
legacy typo kept for servers that still use it |
↳ twsheriff |
true |
Chave para twsheriff: true = ligado, false = desligado (padrão true). |
↳ stbsheriff |
true |
Chave para stbsheriff: true = ligado, false = desligado (padrão true). |
↳ rhdsheriff |
true |
Chave para rhdsheriff: true = ligado, false = desligado (padrão true). |
↳ sdsheriff |
true |
Chave para sdsheriff: true = ligado, false = desligado (padrão true). |
↳ annsheriff |
true |
Chave para annsheriff: true = ligado, false = desligado (padrão true). |
↳ marshal |
true |
Chave para marshal: true = ligado, false = desligado (padrão true). |
↳ sisika |
true |
Chave para sisika: true = ligado, false = desligado (padrão true). |
↳ police |
true |
Chave para police: true = ligado, false = desligado (padrão true). |
↳ ALFIE |
true |
Chave para alfie: true = ligado, false = desligado (padrão true). |
↳ Guamrma |
true |
Chave para guamrma: true = ligado, false = desligado (padrão true). |
To use this command, there must be 2 active lawmen in front of the interior at t
| Setting | Default | What it does |
|---|---|---|
ActiveLawmenPlayerCount |
2 |
Número para active lawmen player count (padrão 2). |
Config.ExplosionItem ###
| Setting | Default | What it does |
|---|---|---|
ExplosionItem |
false |
legal job (2026-09-25): stills can no longer be bombed. Was "dynamite". |
ExplosionDefuseItem |
"lockpick" |
Item used to defuse the moonshine still explosion (Dynamite becomes ineffective if used before the detonation time expires) |
ExplosionTime |
30 |
Sets the countdown time for the explosion after the ExplosionItem is used |
DeliverySuccesNotifyLawmen |
table |
NEW SETTING |
↳ notify |
false |
legal job (2026-09-25): deliveries no longer alert lawmen |
↳ chance |
30 |
Taxa ou multiplicador para chance. |
↳ AlertDelay |
3 |
second (How many seconds after a shot is fired) |
↳ blipname |
"Report Moonshine Sale!" |
Ajuste para blipname. |
↳ blipsprite |
1001245999 |
Número para blipsprite (padrão 1001245999). |
↳ blipscale |
0.5 |
Número para blipscale (padrão 0.5). |
↳ blipmodifier |
"BLIP_MODIFIER_MP_COLOR_32" |
Ajuste para blipmodifier. |
↳ blipradius |
10.0 |
Número para blipradius (padrão 10.0). |
↳ alerttime |
30 |
after how many seconds the blip will be deleted ? 60 = 60000 |
SetupTownPropSettings |
table |
Modelo ou entidade do jogo usado para setup town prop settings. |
↳ moonshineStill |
false |
If this setting is true, players can set up moonshine machines in cities. |
↳ moonshineInterior |
false |
If this setting is true, players can set up moonshine interior in cities. |
DropPlayerNuiCheater |
false |
## Cheaters who try to modify recipes and data through NuiDevtools. Set this to true if you want them to be kicked out of the game. |
Towns |
table |
Tabela de entradas de towns. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ AguasdulcesFarm |
1654810713 |
Número para aguasdulces farm (padrão 1654810713). |
↳ AguasdulcesRuins |
201158410 |
Número para aguasdulces ruins (padrão 201158410). |
↳ AguasdulcesVilla |
-1207133769 |
Número para aguasdulces villa (padrão -1207133769). |
↳ Annesburg |
7359335 |
Número para annesburg (padrão 7359335). |
↳ Armadillo |
-744494798 |
Número para armadillo (padrão -744494798). |
↳ BeechersHope |
-1708386982 |
Número para beechers hope (padrão -1708386982). |
↳ Blackwater |
1053078005 |
Número para blackwater (padrão 1053078005). |
↳ Braithwaite |
1778899666 |
Número para braithwaite (padrão 1778899666). |
↳ Butcher |
-1947415645 |
Número para butcher (padrão -1947415645). |
↳ Caliga |
1862420670 |
Número para caliga (padrão 1862420670). |
↳ cornwall |
-1851305682 |
Número para cornwall (padrão -1851305682). |
↳ Emerald |
-473051294 |
Número para emerald (padrão -473051294). |
↳ lagras |
406627834 |
Número para lagras (padrão 406627834). |
↳ Manicato |
1299204683 |
Número para manicato (padrão 1299204683). |
↳ Manzanita |
1463094051 |
Número para manzanita (padrão 1463094051). |
↳ Rhodes |
2046780049 |
Número para rhodes (padrão 2046780049). |
↳ Siska |
2147354003 |
Número para siska (padrão 2147354003). |
↳ StDenis |
-765540529 |
Número para st denis (padrão -765540529). |
↳ Strawberry |
427683330 |
Número para strawberry (padrão 427683330). |
↳ Tumbleweed |
-1524959147 |
Número para tumbleweed (padrão -1524959147). |
↳ valentine |
459833523 |
Número para valentine (padrão 459833523). |
↳ VANHORN |
2126321341 |
Número para vanhorn (padrão 2126321341). |
↳ Wallace |
-872622034 |
Número para wallace (padrão -872622034). |
↳ wapiti |
1663398575 |
Número para wapiti (padrão 1663398575). |
InteriorProp |
"p_outhouse05x" |
Modelo ou entidade do jogo usado para interior prop. |
ShellSpawnDistance |
100 |
Distância em unidades do jogo para shell spawn distance. |
PropSpawnDistance |
40 |
Distância em unidades do jogo para prop spawn distance. |
PropInteractionDistance |
3 |
Distância em unidades do jogo para prop interaction distance. |
MaximumCreateMoonshineTable |
2 |
Limite máximo para maximum create moonshine table. |
MaxCraftMultipler |
5 |
Limite máximo para max craft multipler. |
SmokeEffect |
table |
Tabela de entradas de smoke effect. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ dict |
"scr_net_gangbounty" |
Ajustes de animação para dict. |
↳ name |
"scr_net_gangbounty_smoke" |
Texto mostrado ao jogador para name. Altere para traduzir ou renomear. |
↳ distance |
300 |
Distância em unidades do jogo para distance. |
↳ SmokeScale |
0.8 |
Taxa ou multiplicador para smoke scale. |
FailedMissionRemoveMoney |
10 |
Penalty money to be deducted from the player if he fails to deliver the items to the recipient |
DrawSetting |
table |
Tabela de entradas de draw setting. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ DrawMarker |
table |
or DrawMarker = false, |
↳ DrawLight |
table |
or DrawLight = false, |
↳ DrawTexture |
table |
or DrawTexture = false, |
## Config.SpawnMoonshineWagonCommand ## --
| Setting | Default | What it does |
|---|---|---|
Commands |
table |
These commands require you to own a hideout, hold an accepted mission, and stand near the hideout. |
↳ 1 |
table |
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. |
Customers |
table |
Tabela de entradas de customers. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
InteriorSets |
table |
Tabela de entradas de interior sets. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ standart |
table |
Tabela de entradas de standart. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ hunter |
table |
Tabela de entradas de hunter. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ christmas |
table |
Tabela de entradas de christmas. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ floral |
table |
Tabela de entradas de floral. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ goth |
table |
Tabela de entradas de goth. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ refined |
table |
Tabela de entradas de refined. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ stonewall |
table |
Tabela de entradas de stonewall. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Shells |
table |
NOTE: the NPC walk-in/walk-out routine (gotoTable) is real movement logic, not a config value - it now lives in shared/utils.lua as JMS.moonshineGotoTable and is attached to every entry below automatically at load time. |
↳ moonshine_interior1 |
table |
Tabela de entradas de moonshine interior1. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moonshine_interior2 |
table |
Tabela de entradas de moonshine interior2. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moonshine_interior3 |
table |
Tabela de entradas de moonshine interior3. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moonshine_interior4 |
table |
Tabela de entradas de moonshine interior4. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moonshine_interior5 |
table |
Tabela de entradas de moonshine interior5. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moonshine_interior6 |
table |
Tabela de entradas de moonshine interior6. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moonshine_interior7 |
table |
Tabela de entradas de moonshine interior7. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Levels |
table |
Tabela de entradas de levels. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 0 |
0 |
Número para 0 (padrão 0). |
↳ 1 |
1000 |
Número para 1 (padrão 1000). |
↳ 2 |
2000 |
Número para 2 (padrão 2000). |
↳ 3 |
3000 |
Número para 3 (padrão 3000). |
↳ 4 |
4000 |
Número para 4 (padrão 4000). |
↳ 5 |
5000 |
Número para 5 (padrão 5000). |
↳ 6 |
6000 |
Número para 6 (padrão 6000). |
↳ 7 |
7000 |
Número para 7 (padrão 7000). |
↳ 8 |
8000 |
Número para 8 (padrão 8000). |
↳ 9 |
9000 |
Número para 9 (padrão 9000). |
↳ 10 |
10000 |
Número para 10 (padrão 10000). |
↳ 11 |
11000 |
Número para 11 (padrão 11000). |
↳ 12 |
12000 |
Número para 12 (padrão 12000). |
↳ 13 |
13000 |
Número para 13 (padrão 13000). |
↳ 14 |
14000 |
Número para 14 (padrão 14000). |
↳ 15 |
15000 |
Número para 15 (padrão 15000). |
↳ 16 |
16000 |
Número para 16 (padrão 16000). |
↳ 17 |
17000 |
Número para 17 (padrão 17000). |
↳ 18 |
18000 |
Número para 18 (padrão 18000). |
↳ 19 |
19000 |
Número para 19 (padrão 19000). |
↳ 20 |
20000 |
Número para 20 (padrão 20000). |
↳ 21 |
21000 |
Número para 21 (padrão 21000). |
↳ 22 |
22000 |
Número para 22 (padrão 22000). |
↳ 23 |
23000 |
Número para 23 (padrão 23000). |
↳ 24 |
24000 |
Número para 24 (padrão 24000). |
↳ 25 |
25000 |
Número para 25 (padrão 25000). |
↳ 26 |
26000 |
Número para 26 (padrão 26000). |
↳ 27 |
27000 |
Número para 27 (padrão 27000). |
↳ 28 |
28000 |
Número para 28 (padrão 28000). |
↳ 29 |
29000 |
Número para 29 (padrão 29000). |
↳ 30 |
30000 |
Número para 30 (padrão 30000). |
↳ 31 |
31000 |
Número para 31 (padrão 31000). |
↳ 32 |
32000 |
Número para 32 (padrão 32000). |
↳ 33 |
33000 |
Número para 33 (padrão 33000). |
↳ 34 |
34000 |
Número para 34 (padrão 34000). |
↳ 35 |
35000 |
Número para 35 (padrão 35000). |
↳ 36 |
36000 |
Número para 36 (padrão 36000). |
↳ 37 |
37000 |
Número para 37 (padrão 37000). |
↳ 38 |
38000 |
Número para 38 (padrão 38000). |
↳ 39 |
39000 |
Número para 39 (padrão 39000). |
↳ 40 |
40000 |
Número para 40 (padrão 40000). |
↳ 41 |
41000 |
Número para 41 (padrão 41000). |
↳ 42 |
42000 |
Número para 42 (padrão 42000). |
↳ 43 |
43000 |
Número para 43 (padrão 43000). |
↳ 44 |
44000 |
Número para 44 (padrão 44000). |
↳ 45 |
45000 |
Número para 45 (padrão 45000). |
↳ 46 |
46000 |
Número para 46 (padrão 46000). |
↳ 47 |
47000 |
Número para 47 (padrão 47000). |
↳ 48 |
48000 |
Número para 48 (padrão 48000). |
↳ 49 |
49000 |
Número para 49 (padrão 49000). |
↳ 50 |
50000 |
Número para 50 (padrão 50000). |
Moonshines |
table |
Tabela de entradas de moonshines. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Every fruit input below is now grown, not gathered: mulberry, blackmulberry
| Setting | Default | What it does |
|---|---|---|
↳ mp001_p_mp_still01x |
table |
and grapes are jrs_farming crops, and moonbloom is the shared crop that jrs_farming grows and jrs_herbs spawns wild at night. jrs_moonshine no longer owns any gathering of its own. |
Professional Still (Level 25)
| Setting | Default | What it does |
|---|---|---|
↳ mp006_p_moonshiner_still04x |
table |
Tabela de entradas de mp006 p moonshiner still04x. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Prompts |
table |
Tabela de entradas de prompts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ setupMoonshine |
table |
Tabela de entradas de setup moonshine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ interactMoonshine |
table |
Tabela de entradas de interact moonshine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ shell |
table |
Tabela de entradas de shell. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ exitshell |
table |
Tabela de entradas de exitshell. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ shellstash |
table |
Tabela de entradas de shellstash. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ shellsellmenu |
table |
Tabela de entradas de shellsellmenu. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ wagonrob |
table |
Tabela de entradas de wagonrob. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ delivery |
table |
Tabela de entradas de delivery. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
ProgressBar |
table |
Tabela de entradas de progress bar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ progresstype |
"innercircle" |
Ajuste para progresstype. |
↳ color |
"#c40000" |
Ajuste para color. |
JRS MOONSHINE - Open replacement settings
| Setting | Default | What it does |
|---|---|---|
JRS |
Config.JRS or { |
Ajuste para jrs. |
Notes from the README#
# jrs_moonshine - Moonshine System for JRS Core
An open, self-contained moonshine system built to work directly with
`jrs_core` and `jrs_inventory`, without VORP or RSG.
## Requirements
Start resources in this order before `jrs_moonshine`:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_theftsystem
ensure jrs_moonshine
'''
> `jrs_theftsystem` integration is optional but enabled by default, to unify
> activity locks and police alerts. The resource folder name must stay
> `jrs_moonshine`.
## Ingredients: sourced from farming, not self-gathered
`jrs_moonshine` does not run its own gathering zones. Every fruit its
recipes consume is grown by `jrs_farming`, with one ingredient also
reachable wild through `jrs_herbs`:
- **Mulberry** and **Black Mulberry** - `jrs_farming` field crops only
(`MULBERRY_SEED` / `BLACKMULBERRY_SEED`).
- **Grapes** - already existed as a `jrs_farming` crop (`GRAPES_SEED`).
- **Moonbloom** - the premium ingredient for the top two recipes, reachable
two ways: cultivated via `jrs_farming`'s `MOONBLOOM_SEED` (slow, thirsty,
reliable), or picked wild at night through `jrs_herbs`'s Moonbloom Grove
(fast, free, but only active between dusk and dawn and on a long
per-bush cooldown).
- **Alcohol** / **Alcohol Bottle** - stocked in `jrs_stores`' general store.
If any of these item names differ on your server, adjust them in
`config.lua`'s `Config.Moonshines[...].items[...].requiredItems`.
## Database
The script creates its own tables automatically on startup because:
'''lua
Config.JRS.AutoCreateDatabase = true
Config.JRS.AutoRegisterItems = true
'''
You can also import the files manually if needed:
- `sql/jrs.sql` for the system tables.
- `sql/items_jrs_inventory.sql` to define the moonshine items in JRS
Inventory's `items` table.
## Item images
Copy the contents of:
'''text
jrs_moonshine/inventoryitemimages/
'''Free (included in JRS Core) jrs_multijob
jrs core MultiJob - job board, saved professions and employee management for jrs_core
| Resource | jrs_multijob |
| Folder | [JOBS] |
| Version | 5.17.2 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 5,239 Lua lines |
Exports
AddCharacterJob, AddJob, GetAllJobDefinitions, GetCharacterJobs, JobName, JobNameServer, OpenMenu, RankName, RankNameServer, RemoveCharacterJob, RemoveJob, SyncPlayerJob
Database tables
IF, jrs_multijob_jobs, jrs_multijob_migrations
config/boards.lua - 10 opções#
General
| Setting | Default | What it does |
|---|---|---|
Boards |
table |
Tabela de entradas de boards. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ valentine |
table |
Tabela de entradas de valentine. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ saintdenis |
table |
Tabela de entradas de saintdenis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ rhodes |
table |
Tabela de entradas de rhodes. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ annesburg |
table |
Tabela de entradas de annesburg. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ blackwater |
table |
Tabela de entradas de blackwater. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ strawberry |
table |
Tabela de entradas de strawberry. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ armadillo |
table |
Tabela de entradas de armadillo. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ tumbleweed |
table |
Tabela de entradas de tumbleweed. 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. |
config/guides.lua - 8 opções#
General
| Setting | Default | What it does |
|---|---|---|
JobGuides |
table |
Coordinates are copied from each job's own resource config (start NPC, depot, shop or work area) - update them here if a job's NPC moves. A job with no points (herbalist, farmer, moonshiner) gets the text only. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ BlipSprite |
"blip_ambient_chore" |
Ajustes do blip ou ícone do mapa para blip sprite. |
↳ BlipScale |
0.7 |
same readable objective size used by delivery jobs |
↳ GpsHudColor |
6 |
fallback colour when a native waypoint is unavailable |
↳ ArriveDistance |
20.0 |
route + blip removed once this close |
↳ LifetimeMinutes |
20 |
or after this long |
↳ Jobs |
table |
Quem pode: empregos, grupos ou permissões para jobs. |
config/jobs.lua - 22 opções#
General
| Setting | Default | What it does |
|---|---|---|
Jobs |
table |
jobs in this same order so the board shows easy jobs at the top. Board ladder: 19 jobs spaced every 5 levels, 1 -> 90 (rebalanced 2026-09-25, 'weeder' / Herb Processor removed: it only duplicated Herbalist). |
↳ hunter |
table |
Tabela de entradas de hunter. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ publicjobs |
table |
Tabela de entradas de publicjobs. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ surfacecleaner |
table |
Tabela de entradas de surfacecleaner. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ trachboy |
table |
Tabela de entradas de trachboy. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ delivery |
table |
Tabela de entradas de delivery. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ radio_technician |
table |
Repairs jrs-Radio towers (Config.TowerManagement.Repair.AllowedJobs) and buys repair kits from the supply prompt at each tower pole. |
↳ undertaker |
table |
Worked by [JOBS]/jrs_undertaker: collect bodies, prepare them at a parlour, bury them at a cemetery. Swap Image for img/undertaker.jpg once that picture is added to html/img. |
↳ cotton |
table |
Worked at jrs_business's Cotton Company (Config.PublicJobs.companies.cotton). |
↳ legendary_hunter |
table |
Tabela de entradas de legendary hunter. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ farmer |
table |
Tabela de entradas de farmer. 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. |
↳ mill |
table |
Worked at jrs_business's Mill Company (Config.PublicJobs.companies.mill). |
↳ herbalist |
table |
Tabela de entradas de herbalist. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ fisher |
table |
Tabela de entradas de fisher. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ lumberjack |
table |
Tabela de entradas de lumberjack. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ mining |
table |
One job for the whole mine: 'processing' (Resource Processor) was merged into it on 2026-09-24 since both worked the same mine. jrs_mining still accepts 'processing' as a legacy alias. |
↳ bountyhunter |
table |
Tabela de entradas de bountyhunter. 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. |
↳ oiler |
table |
Tabela de entradas de oiler. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ mingold |
table |
Tabela de entradas de mingold. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ moonshiner |
table |
Tabela de entradas de moonshiner. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
config/management.lua - 16 opções#
General
| Setting | Default | What it does |
|---|---|---|
Management |
table |
Tabela de entradas de management. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ AutoSaveCurrentJob |
true |
Automatically keeps externally assigned REDEMPIRE jobs in the player's saved job list. |
↳ AutoSaveIntervalMs |
15 * 60 * 1000 |
Ajuste de tempo para auto save interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ SaveOnCharacterReady |
true |
Chave para save on character ready: true = ligado, false = desligado (padrão true). |
↳ SaveOnSwitch |
true |
Chave para save on switch: true = ligado, false = desligado (padrão true). |
↳ DeletedJobResaveBlockMs |
120000 |
prevents a stale core snapshot from re-adding a just-deleted job |
↳ QuitAllSetsFallback |
true |
Removing every job returns the character to this job. |
↳ AllowManageEqualRank |
false |
Boss rules. |
↳ HireMakesActive |
true |
Chave para hire makes active: true = ligado, false = desligado (padrão true). |
↳ DefaultHireGrade |
0 |
Quem pode: empregos, grupos ou permissões para default hire grade. |
↳ PreventSelfFire |
true |
Chave para prevent self fire: true = ligado, false = desligado (padrão true). |
↳ MaximumEmployeesShown |
100 |
Limite máximo para maximum employees shown. |
↳ IgnoreJobs |
table |
Jobs listed here are never auto-saved as professions. |
↳ Logs |
table |
Optional Discord logs. Leave a webhook empty to disable that category. |
↳ Jobs |
table |
Official jobs and rank labels. BossGrade gives access to Staff Management. |
config/settings.lua - 14 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. |
↳ Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
↳ Language |
"ar" |
Idioma da interface deste script (en ou ar). |
↳ MaxJobs |
0 |
0 = no limit, a character can hold every job |
↳ RestoreSelectedJobOnLoad |
false |
jrs_core is authoritative; set true only for legacy recovery |
↳ Core |
table |
Tabela de entradas de core. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Database |
table |
Tabela de entradas de database. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Command |
table |
Tabela de entradas de command. 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. |
↳ Security |
table |
Tabela de entradas de security. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ FallbackJob |
table |
Quem pode: empregos, grupos ou permissões para fallback job. |
↳ XP |
table |
Tabela de entradas de xp. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Interaction |
table |
Tabela de entradas de interaction. 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. |
Paid (server only) jrs_newspaper
JRS Newspaper - newspaper publishing, archives and investigations for RedM
| Resource | jrs_newspaper |
| Folder | [JOBS] |
| Version | 1.1.0 |
| Author | jrs |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 3,051 Lua lines |
Commands
/jrsnewspaper
Database tables
jrs_newspaper_ads, jrs_newspaper_articles, jrs_newspaper_books, jrs_newspaper_editions, jrs_newspaper_investigations, jrs_newspaper_publishers, jrs_newspaper_transactions
config.lua - 91 opções#
General
| Setting | Default | What it does |
|---|---|---|
JRS |
table |
Direct integration verified against jrs_core v1.0.18 / current JRS Inventory stack. Core admins are resolved through jrs_core:IsAdmin, so owner/admin/support follow the central AdminGroups policy from jrs_core instead of a duplica |
↳ CoreResource |
"jrs_core" |
Ajuste para core resource. |
↳ InventoryResource |
"jrs_inventory" |
Ajuste para inventory resource. |
↳ RequireIdentity |
true |
Requires identity: true = sim, false = não (padrão true). |
↳ UseCoreNotifications |
true |
Liga ou desliga core notifications (padrão true). |
↳ NotificationDuration |
4500 |
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. |
↳ AllowCoreAdmins |
true |
Allows core admins: true = sim, false = não (padrão true). |
↳ AdminActsAsEditor |
true |
Chave para admin acts as editor: true = ligado, false = desligado (padrão true). |
↳ VerifiedCoreVersion |
"1.0.18" |
Ajuste para verified core version. |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
Language |
"ar" |
'en' or 'ar' |
NewspaperYear |
1901 |
Número para newspaper year (padrão 1901). |
InteractionKey |
0x760A9C6F |
G |
Prompt |
table |
Texto mostrado ao jogador para prompt. Altere para traduzir ou renomear. |
↳ nativeLanguage |
"en" |
RedM native prompt fonts do not reliably render Arabic. Keep native prompt strings on the stable English locale while the full NUI follows Config.Language. |
↳ actionTextKey |
"prompts.open" |
Tecla ou controle usado para action text key. Os controles são valores hash da lista de entradas do jogo. |
BlipModifier |
"BLIP_MODIFIER_MP_COLOR_2" |
Cyan / Teal |
BlipScale |
0.7 |
Ajustes do blip ou ícone do mapa para blip scale. |
InteractionDistance |
2.5 |
Distância em unidades do jogo para interaction distance. |
EnforceOpeningHours |
false |
false = newspaper stands stay available 24/7. Set true to enforce each stand's openTime/closeTime. |
SpawnDistance |
55.0 |
Distância em unidades do jogo para spawn distance. |
ServerDistanceTolerance |
4.5 |
Distância em unidades do jogo para server distance tolerance. |
ServerDistanceCheck |
true |
Chave para server distance check: true = ligado, false = desligado (padrão true). |
NewspaperItem |
"jrs_newspaper" |
Itens de inventário usados por newspaper item. Os nomes precisam existir na tabela jrs_items. |
PhysicalCopies |
table |
Physical copies are permanent saved editions. The inventory item itself stays the same JRS item, while every individual copy carries its own edition metadata. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ KeepExactEdition |
true |
Chave para keep exact edition: true = ligado, false = desligado (padrão true). |
↳ StoreDisplayMetadata |
true |
Chave para store display metadata: true = ligado, false = desligado (padrão true). |
Currency |
0 |
0 = Money in jrs_core |
DefaultPrice |
0.25 |
jrs_core supports decimal cash values |
ArchiveCopyUsesPublisherPrice |
true |
Chave para archive copy uses publisher price: true = ligado, false = desligado (padrão true). |
RequestTimeoutMs |
8000 |
Ajuste de tempo para request timeout ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
SingleJobMode |
table |
Quem pode: empregos, grupos ou permissões para single job mode. |
↳ enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ jobs |
table |
Quem pode: empregos, grupos ou permissões para jobs. |
GeneralJournalistJobs |
table |
General journalist jobs that have writing/publishing access across all newspaper stands and offices |
↳ journalist |
true |
Chave para journalist: true = ligado, false = desligado (padrão true). |
↳ reporter |
true |
Chave para reporter: true = ligado, false = desligado (padrão true). |
↳ newspaper |
true |
Chave para newspaper: true = ligado, false = desligado (padrão true). |
↳ press |
true |
Chave para press: true = ligado, false = desligado (padrão true). |
↳ editor |
true |
Chave para editor: true = ligado, false = desligado (padrão true). |
↳ news |
true |
Chave para news: true = ligado, false = desligado (padrão true). |
JournalistCanPublish |
true |
If true, journalists (or any journalist job grade >= journalistGrade) can create drafts and publish editions. |
AdminGroups |
table |
Admin groups recognized from jrs_core or vorp_core |
↳ owner |
true |
Chave para owner: true = ligado, false = desligado (padrão true). |
↳ admin |
true |
Chave para admin: true = ligado, false = desligado (padrão true). |
↳ superadmin |
true |
Chave para superadmin: true = ligado, false = desligado (padrão true). |
↳ mod |
true |
Chave para mod: true = ligado, false = desligado (padrão true). |
↳ moderator |
true |
Chave para moderator: true = ligado, false = desligado (padrão true). |
↳ support |
true |
Chave para support: true = ligado, false = desligado (padrão true). |
↳ god |
true |
Chave para god: true = ligado, false = desligado (padrão true). |
AutoCreateFirstEdition |
false |
Never automatically create placeholder dummy editions. Keep newspapers empty until published by staff. |
Jobs |
table |
Used only if SingleJobMode.enabled = false. |
↳ stdenis_journalist |
"stdenisjournalist" |
Ajuste para stdenis journalist. |
↳ stdenis_editor |
"stdeniseditor" |
Ajuste para stdenis editor. |
↳ valentine_journalist |
"valentinejournalist" |
Ajuste para valentine journalist. |
↳ valentine_editor |
"valentineeditor" |
Ajuste para valentine editor. |
↳ blackwater_journalist |
"blackwaterjournalist" |
Ajuste para blackwater journalist. |
↳ blackwater_editor |
"blackwatereditor" |
Ajuste para blackwater editor. |
JobPublisherMap |
table |
Quem pode: empregos, grupos ou permissões para job publisher map. |
↳ Config.Jobs.stdenis_journalist |
1 |
Número para config.jobs.stdenis journalist (padrão 1). |
↳ Config.Jobs.stdenis_editor |
1 |
Número para config.jobs.stdenis editor (padrão 1). |
↳ Config.Jobs.valentine_journalist |
2 |
Número para config.jobs.valentine journalist (padrão 2). |
↳ Config.Jobs.valentine_editor |
2 |
Número para config.jobs.valentine editor (padrão 2). |
↳ Config.Jobs.blackwater_journalist |
3 |
Número para config.jobs.blackwater journalist (padrão 3). |
↳ Config.Jobs.blackwater_editor |
3 |
Número para config.jobs.blackwater editor (padrão 3). |
EditorJobs |
table |
Quem pode: empregos, grupos ou permissões para editor jobs. |
↳ Config.Jobs.stdenis_editor |
true |
Chave para config.jobs.stdenis editor: true = ligado, false = desligado (padrão true). |
↳ Config.Jobs.valentine_editor |
true |
Chave para config.jobs.valentine editor: true = ligado, false = desligado (padrão true). |
↳ Config.Jobs.blackwater_editor |
true |
Chave para config.jobs.blackwater editor: true = ligado, false = desligado (padrão true). |
PublisherSocieties |
table |
Revenue is always recorded in jrs_newspaper_publishers.funds. If you later connect a society resource, listen to: jrs_newspaper:server:onRevenue(publisherId, societyName, amount, source, transactionId) |
↳ 1 |
"stdenisnews" |
Ajuste para 1. |
↳ 2 |
"valentinenews" |
Ajuste para 2. |
↳ 3 |
"blackwaternews" |
Ajuste para 3. |
NewspaperStands |
table |
Tabela de entradas de newspaper stands. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
EditorDesks |
table |
Separate desk/archive/investigation points are disabled so all features are consolidated directly into the newspaper stands (Config.NewspaperStands). |
ArchiveLocations |
table |
Coordenadas do mundo (x, y, z) para archive locations. |
InvestigationLocations |
table |
Coordenadas do mundo (x, y, z) para investigation locations. |
OfficeNPCGroups |
table |
Optional immersive office NPCs based on the supported newspaper office locations. |
↳ saintdenis |
table |
Tabela de entradas de saintdenis. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ blackwater |
table |
Tabela de entradas de blackwater. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
DefaultPublishers |
table |
Tabela de entradas de default publishers. 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. |
↳ 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. |
DefaultEditionArticles |
3 |
Número para default edition articles (padrão 3). |
MaxArticleLength |
12000 |
Limite máximo para max article length. |
MaxTitleLength |
255 |
Limite máximo para max title length. |
MaxArchiveResults |
50 |
Limite máximo para max archive results. |
MaxInvestigations |
100 |
Limite máximo para max investigations. |
ActionCooldownMs |
350 |
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. |
Notes from the README#
# JRS Newspaper
A standalone newspaper system written for `jrs_core` + `jrs_inventory`, verified against `jrs_core v1.0.18`.
## Included systems
- Newspaper stands with NPCs, opening hours, blips and current-edition preview.
- Server-authoritative newspaper purchasing.
- Physical newspaper item with per-copy metadata, so old copies always open the exact edition they belong to.
- Three independent publishers: Saint Denis, Valentine and Blackwater.
- Journalist / Editor permissions from the live `jrs_core` job + grade, with optional core-admin editor access.
- Editorial Desk with draft creation, article editing, advertisements, page expansion and publication.
- Publishing archives the previous current issue automatically.
- Publisher name and cover price configuration by editors.
- Searchable archive with read and physical-copy actions.
- Investigation Board with assignments, status, priority, clues, notes, deadlines and resource requests.
- Editor approval / denial of investigation resource requests.
- Publisher revenue balance and transaction log.
- Revenue integration event for an optional society resource.
- Identity-gated player actions using `jrs_core:IsIdentityReady`.
- Core money/balance/job/grade/group/admin APIs are used directly and refreshed safely after a `jrs_core` restart.
- Character identity is checked through the core before every player-bound server action.
- Open newspaper UIs are force-closed on character unload, core job changes, and core restart so stale permissions cannot remain active.
- Restart-safe usable-item re-registration when `jrs_inventory` restarts.
## Requirements
- RedM
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
Start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_newspaper
'''
## Installation
1. Put the folder in your resources as `jrs_newspaper`.
2. The resource auto-creates/updates its own tables from `sql/jrs_newspaper.sql` on start. You can also import it manually.
3. Copy your item image to the inventory image folder as `jrs_newspaper.png` if you want a custom icon.
4. Check the coordinates and jobs in `config.lua`.
5. Restart `jrs_inventory` once after importing the item row, then start `jrs_newspaper`.
## Default jobs
'''lua
[1] = { jobName = 'stdenisnews', editorGrade = 3, journalistGrade = 0 }
[2] = { jobName = 'valentinenews', editorGrade = 3, journalistGrade = 0 }
[3] = { jobName = 'blackwaternews', editorGrade = 3, journalistGrade = 0 }
'''Free (included in JRS Core) jrs_police
jrs_police - RedM police system with recruitment NPCs, rank kits, roster management, Steam admin, NUI and stable lifecycle
| Resource | jrs_police |
| Folder | [JOBS] |
| Version | 2.11.7 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 19,673 Lua lines |
Commands
/badge/badgehand/checkreputation/jail/policehorsestats/policemenu/showbadge
Exports
AddExecutionRecord, AddHonor, AddOption, ExtendCharacterSentence, GetCharacterHonor, GetHonor, GetHonorTier, GetJailedPlayers, GetPoliceRosterEntry, GrantPoliceWeaponLicense, HireOfficer, IsClothingBusy, IsOnDutyOfficer, JailPlayer, ReleaseCharacter, ReleasePlayer, RemoveFromPoliceRoster, RemoveHonor, RemoveOfficer, RemoveOption, RevokePoliceWeaponLicense, SetHonor, jrs_policejail
Database tables
jrs_communityservice, jrs_integrity, jrs_jail_police, jrs_police_journal, jrs_police_mdt, jrs_police_recruitment, jrs_police_roster, jrs_police_wanted
config/integrity.lua - 103 opções#
Police recruitment/hiring itself is NOT duplicated here - jrs_police already
| Setting | Default | What it does |
|---|---|---|
Honor |
table |
Tabela de entradas de honor. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Default |
50 |
Número para default (padrão 50). |
↳ Minimum |
0 |
Mínimo ou nível exigido para minimum. |
↳ Maximum |
100 |
Limite máximo para maximum. |
↳ LowThreshold |
30 |
Número para low threshold (padrão 30). |
↳ ShowDuration |
5000 |
Ajuste de tempo para show duration. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ShowOnChange |
true |
Shows on change: true = sim, false = não (padrão true). |
HonorEvents |
table |
How everyday play moves honor. Values are signed amounts; 0 disables an entry. Honor is stored per character in jrs_integrity and survives relogs/restarts. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ PlayerKilled |
-10 |
murdered another player in PvP |
↳ Jailed |
-10 |
sent to jail (officer, admin or auto-jail after a kill) |
↳ SentenceServed |
3 |
sat out the full sentence instead of being released |
↳ WantedPublished |
-5 |
a wanted notice was posted on you while online |
↳ WantedPaidOff |
3 |
cleared your own wanted notice at the kiosk |
↳ Fined |
-3 |
received a police fine / ticket |
↳ QuestCompleted |
1 |
finished a jrs_randomquests mission |
↳ BountyCompleted |
2 |
completed a bounty mission and caught an outlaw |
↳ AnimalHunted |
1 |
base proportional gain for hunting an animal |
↳ AnimalSkinned |
2 |
base proportional gain for skinning/slaughtering an animal |
↳ FarmAnimalSlaughtered |
2 |
base proportional gain for farm animal slaughter |
↳ Passive |
table |
Slow recovery for staying out of trouble: +Amount every IntervalMinutes online while not jailed/wanted, only up to Cap (higher needs donations, cleaning duty or quests). Any honor loss restarts the timer. |
IntegrityCommands |
table |
Tabela de entradas de integrity commands. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Player |
"integrity" |
Ajuste para player. |
↳ OfficerCheck |
"checkhonor" |
Ajuste para officer check. |
↳ EnableAdminCommands |
true |
Liga ou desliga admin commands (padrão true). |
↳ AdminAce |
"jrs.integrity.admin" |
Quem pode: empregos, grupos ou permissões para admin ace. |
↳ AdminIdentifiers |
table |
Quem pode: empregos, grupos ou permissões para admin identifiers. |
↳ Add |
"addH" |
Ajuste para add. |
↳ Remove |
"delH" |
Ajuste para remove. |
↳ Set |
"setH" |
Ajuste para set. |
IntegritySecurity |
table |
Tabela de entradas de integrity security. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ MaximumExternalChange |
100 |
Limite máximo para maximum external change. |
↳ RequestCooldownMs |
500 |
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. |
↳ CrimeServerCooldownMs |
1500 |
Ajuste de tempo para crime server cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Crime |
table |
Tabela de entradas de crime. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
↳ RestrictToZones |
false |
If false, killing an innocent human NPC anywhere on the map removes integrity (not just in town centers). |
↳ UseLegacyDetection |
true |
Per-frame detection is retained, but integrity is removed only after a confirmed NPC kill. |
↳ KillAimGraceMs |
350 |
Número para kill aim grace ms (padrão 350). |
↳ KillConfirmationWindowMs |
15000 |
Número para kill confirmation window ms (padrão 15000). |
↳ ShootingNpcPenalty |
2 |
Número para shooting npc penalty (padrão 2). |
↳ ClientCooldownMs |
1500 |
Ajuste de tempo para client cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ ScanIntervalMs |
75 |
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. |
↳ UseDamageEvent |
true |
Liga ou desliga damage event (padrão true). |
↳ AimGraceMs |
2500 |
Número para aim grace ms (padrão 2500). |
↳ RecentShotWindowMs |
2500 |
Número para recent shot window ms (padrão 2500). |
↳ DamageScanRadius |
120.0 |
Distância em unidades do jogo para damage scan radius. |
↳ HumanCacheRadius |
140.0 |
Distância em unidades do jogo para human cache radius. |
↳ HumanCacheIntervalMs |
200 |
Ajuste de tempo para human cache interval ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AllowAllHumanNpcs |
true |
Allows all human npcs: true = sim, false = não (padrão true). |
↳ PenalizeAnimals |
false |
true: killing/shooting any non-player ped (humans or animals) removes integrity. false: only human NPCs remove integrity. |
↳ WitnessEnabled |
true |
Chave para witness enabled: true = ligado, false = desligado (padrão true). |
↳ WitnessRadius |
20.0 |
Distância em unidades do jogo para witness radius. |
↳ WitnessBlipDurationMs |
5000 |
Ajuste de tempo para witness blip duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AllowedPedTypes |
table |
Modelo ou entidade do jogo usado para allowed ped types. |
LowHonorNpcAggression |
table |
Tabela de entradas de low honor npc aggression. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ CheckIntervalMs |
1000 |
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. |
↳ AttackRadius |
10.0 |
Distância em unidades do jogo para attack radius. |
↳ RetargetCooldownMs |
3000 |
Ajuste de tempo para retarget cooldown ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
IntegrityServices |
table |
Tabela de entradas de integrity services. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ PromptKey |
0x8CC9CD42 |
X / INPUT_CONTEXT_X |
↳ PromptHold |
true |
Chave para prompt hold: true = ligado, false = desligado (padrão true). |
↳ RequireServerDistanceValidation |
true |
Requires server distance validation: true = sim, false = não (padrão true). |
↳ ServerNpcValidationDistance |
7.0 |
Distância em unidades do jogo para server npc validation distance. |
↳ InteractDistance |
2.2 |
Distância em unidades do jogo para interact distance. |
↳ RequirePoliceJob |
false |
Requires police job: true = sim, false = não (padrão false). |
↳ PoliceJobs |
table |
Left empty on purpose: isPoliceJob() falls back to the live, already normalized OnDutyJobs global (shared/police_bridge.lua) instead of a snapshot taken before that normalization runs. |
↳ Donation |
table |
Tabela de entradas de donation. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Cleaning |
table |
Tabela de entradas de cleaning. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Stations |
table |
eight sheriff towns) a wanted board - see config/online.lua and config/wanted.lua. Coordinates are resolved below from the recruiter office list so the three features can never drift apart again. |
IntegrityCrimeZones |
table |
Town zones where shooting an ambient NPC removes integrity. |
IntegrityCheckAreas |
table |
Areas where low-integrity NPC aggression is active. |
IntegrityTexts |
table |
Tabela de entradas de integrity texts. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Title |
"السمعة والسلامة" |
Texto mostrado ao jogador para title. Altere para traduzir ou renomear. |
↳ Current |
"مستوى السمعة الحالي: %s" |
Ajuste para current. |
↳ Increased |
"ارتفعت السمعة إلى %s" |
Ajuste para increased. |
↳ Decreased |
"انخفضت السمعة إلى %s" |
Ajuste para decreased. |
↳ CharacterNotReady |
"بيانات شخصيتك غير جاهزة بعد." |
Ajuste para character not ready. |
↳ NoPermission |
'ليس لديك صلاحية لاستخدام هذ... |
Quem pode: empregos, grupos ou permissões para no permission. |
↳ InvalidCommand |
'الاستخدام: /%s [معرف اللاعب... |
Ajuste para invalid command. |
↳ InvalidSetCommand |
'الاستخدام: /%s [معرف اللاعب... |
Ajuste para invalid set command. |
↳ PlayerNotFound |
"اللاعب غير موجود." |
Ajuste para player not found. |
↳ DonationSuccess |
'تم قبول التبرع: $%s. ارتفعت... |
Ajuste para donation success. |
↳ NotEnoughMoney |
"ليس لديك مبلغ كافٍ للتبرع." |
Valor em dinheiro para not enough money. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ DonationProcessingFailed |
'فشل معالجة التبرع، يرجى الم... |
Ajuste para donation processing failed. |
↳ IntegrityFull |
'مستوى سمعتك في الحد الأقصى ... |
Ajuste para integrity full. |
↳ DonationTooLarge |
'اختر مبلغ تبرع أصغر لتجنب ه... |
Ajuste para donation too large. |
↳ ServiceCooldown |
'يرجى الانتظار %s ثانية قبل ... |
Ajuste de tempo para service cooldown. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CleaningStarted |
'بدأت مهمة تنظيف المدينة. تو... |
Ajuste para cleaning started. |
↳ CleaningInProgress |
"جاري التنظيف..." |
Ajuste para cleaning in progress. |
↳ CleaningProgress |
"تم تنظيف المنطقة: %s/%s." |
Ajuste para cleaning progress. |
↳ CleaningCompleted |
'اكتملت مهمة التنظيف. ارتفعت... |
Ajuste para cleaning completed. |
↳ CleaningCancelled |
"تم إلغاء مهمة التنظيف." |
Ajuste para cleaning cancelled. |
↳ CleaningAlreadyActive |
"لديك مهمة تنظيف نشطة بالفعل." |
Ajuste para cleaning already active. |
↳ CleaningNotActive |
"ليس لديك مهمة تنظيف نشطة." |
Ajuste para cleaning not active. |
↳ CleaningCooldown |
'ستكون مهمة التنظيف متاحة مج... |
Ajuste de tempo para cleaning cooldown. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ CleaningInvalidLocation |
"أنت لست في موقع التنظيف الصحيح." |
Coordenadas do mundo (x, y, z) para cleaning invalid location. |
↳ MustBeOnFoot |
'يجب أن تكون مترجلاً لتنظيف ... |
Ajuste para must be on foot. |
↳ TooFarFromStation |
"اقترب أكثر من موظف المركز." |
Ajuste para too far from station. |
↳ PoliceOnly |
'هذه الخدمة مخصصة لرجال الشر... |
Ajuste para police only. |
config/main.lua - 32 opções#
General
| Setting | Default | What it does |
|---|---|---|
Lang |
"Arabic" |
Live core settings only. Dead legacy UI/shop options were removed so every exposed value below has a runtime consumer. |
nameMenu |
"Police Menu" |
Texto mostrado ao jogador para name menu. Altere para traduzir ou renomear. |
Menu_command |
"police" |
Ajuste para menu command. |
onduty_command |
"onduty" |
Ajuste para onduty command. |
offduty_command |
"offduty" |
Ajuste para offduty command. |
jailCommand |
"policejail" |
Ajuste para jail command. |
unjailCommand |
"policeunjail" |
Ajuste para unjail command. |
Start_outfit |
true |
Police uniforms are bundled. Restoring the civilian outfit can optionally use an external command; if the command is unavailable the script will fail safely and show a NUI warning instead of silently breaking. |
RestoreOutfitCommand |
"" |
Ajuste para restore outfit command. |
STATION BLIPS & STATUS SYSTEM
| Setting | Default | What it does |
|---|---|---|
StationBlips |
table |
Ajustes do blip ou ícone do mapa para station blips. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Key |
0x760A9C6F |
[G] key to toggle station status |
↳ RequireOnDuty |
false |
If false, officers of this department can toggle even if off-duty |
↳ ShowStatusInName |
true |
Appends [مفتوح] / [مغلق] to the blip label on the map |
↳ Scale |
0.8 |
Taxa ou multiplicador para scale. |
↳ Locations |
table |
Coordenadas do mundo (x, y, z) para locations. |
Blips |
Config.StationBlips.Location... |
Ajustes do blip ou ícone do mapa para blips. |
blip |
Config.StationBlips.Location... |
Ajustes do blip ou ícone do mapa para blip. |
Key |
Config.StationBlips.Key |
Tecla ou controle usado para key. Os controles são valores hash da lista de entradas do jogo. |
jrs_idcard |
true |
If you have this jrs_idcard script, you can activate the option. This option allows you to send information and images of the player you are looking for in the archive. |
IdCardDefaultImage |
'nui://jrs_police/html/img/p... |
Ajuste para id card default image. |
bank |
table |
Deposits collected fines into the jrs_banking personal account of the charidentifier configured below for the officer's city (Config.BankFine). Requires jrs_banking to be started. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
BankFine |
table |
Valor em dinheiro para bank fine. As recompensas passam pelo multiplicador de economia do jrs_core. |
MenuKeybind |
"U" |
ConfigPoliceRadial.KeybindJS in config/police.lua. It never opens the MDT menu directly; the MDT is reached from inside the radial ("Records") or via the /police chat command. |
EnableMenuKey |
false |
Legacy PAGE UP raw-control hijack, kept disabled in favor of Config.MenuKeybind above. |
kyemenu |
0x446258B6 |
pgUP (only used when Config.EnableMenuKey is true) |
Limit |
table |
Limite máximo para limit. |
↳ Money |
1000 |
Max amount of money that can be stolen (set to false for no limit) |
↳ Weapons |
1000 |
Max number of weapons that can be stolen (set to false for no limit) |
↳ Items |
1000 |
Max number of items that can be stolen (set to false for no limit) |
ItemsBlackList |
table |
Blacklist of items and weapons that cannot be stolen |
Paid (server only) jrs_polls
Polls and referendums: server polls by admins, city polls by governors (citizens vote), one vote per character
| Resource | jrs_polls |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 335 linhas de Lua |
Database tables
jrs_poll_votes, jrs_polls
config.lua - 15 opções#
General
| Setting | Default | What it does |
|---|---|---|
Command |
"polls" |
Ajuste para command. |
AdminGroups |
table |
Quem pode: empregos, grupos ou permissões para admin groups. |
Cities |
table |
City ids exactly as in jrs_government's Config.Cities. A governor, deputy or owner of a city may open polls for that city; only its citizens vote. |
↳ valentine |
'Valentine', strawberry = 'S... |
Ajuste para valentine. |
↳ saintdenis |
'Saint Denis', annesburg = '... |
Ajuste para saintdenis. |
DeputiesCanCreate |
true |
Let deputies open city polls too. |
MaxQuestionLength |
150 |
Limite máximo para max question length. |
MaxOptionLength |
60 |
Limite máximo para max option length. |
MinOptions |
2 |
Mínimo ou nível exigido para min options. |
MaxOptions |
6 |
Limite máximo para max options. |
MinHours |
1 |
Mínimo ou nível exigido para min hours. |
MaxHours |
168 |
Limite máximo para max hours. |
MaxActivePerCity |
3 |
Limite máximo para max active per city. |
ShowResultsBeforeVoting |
false |
false: you see the numbers after you vote (or when it closes) |
KeepClosedDays |
7 |
closed polls stay visible this long |
Paid (server only) jrs_publicjobs
JRS Public Jobs - Daily Labor & Work Activities
| Resource | jrs_publicjobs |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS Team |
| Depends on | jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 2,210 Lua lines |
config.lua - 30 opções#
General
| Setting | Default | What it does |
|---|---|---|
Align |
"top-left" |
align to menu |
Lang |
"ar" |
'en', 'ar' |
MaxSpeed |
1.5 |
number (Maximum walking speed while characters are carrying) |
InteractKey |
0x760A9C6F |
[G] key (standard non-conflicting interaction key) |
HoldDuration |
800 |
ms to hold prompt (avoids conflicts with other scripts) |
MULTIJOB SETTINGS
| Setting | Default | What it does |
|---|---|---|
JobName |
"publicjobs" |
Multijob internal identifier |
RequireJob |
true |
STRICT: Player MUST have 'publicjobs' active in multijob to start tasks! |
BonusForJobHolders |
1.25 |
25% bonus cash and XP |
LOCATIONS
| Setting | Default | What it does |
|---|---|---|
Locations |
table |
Coordenadas do mundo (x, y, z) para locations. |
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. |
↳ InteractJob |
"INPUT_INTERACT_OPTION1" |
Quem pode: empregos, grupos ou permissões para interact job. |
NAVIGATION COLORS
| Setting | Default | What it does |
|---|---|---|
NavigationColors |
table |
Tabela de entradas de navigation colors. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Blip |
"BLIP_MODIFIER_MP_COLOR_11" |
Ajustes do blip ou ícone do mapa para blip. |
↳ Route |
"COLOR_PLATFORM_GREEN" |
Ajuste para route. |
JOB SPECIFIC BLIPS & NAVIGATION
| Setting | Default | What it does |
|---|---|---|
JobBlips |
table |
Ajustes do blip ou ícone do mapa para job blips. |
↳ Labour |
table |
Tabela de entradas de labour. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Distribute |
table |
Tabela de entradas de distribute. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Sweep |
table |
Tabela de entradas de sweep. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Sharpen |
table |
Tabela de entradas de sharpen. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ChopWood |
table |
Tabela de entradas de chop wood. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ WaterCarrying |
table |
Tabela de entradas de water carrying. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
PROGRESBAR
| Setting | Default | What it does |
|---|---|---|
ProgressBar |
table |
Tabela de entradas de progress bar. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ type |
"innercircle" |
Ajuste para type. |
↳ color |
"#0A4F05" |
Ajuste para color. |
PUBLIC JOBS
| Setting | Default | What it does |
|---|---|---|
Labour |
table |
Tabela de entradas de labour. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Distribute |
table |
Tabela de entradas de distribute. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Sweep |
table |
Tabela de entradas de sweep. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Sharpen |
table |
Tabela de entradas de sharpen. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
ChopWood |
table |
Tabela de entradas de chop wood. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
WaterCarrying |
table |
Tabela de entradas de water carrying. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
Free (included in JRS Core) jrs_railroad
JRS Core railroad - buy and run trains, companies, cargo, passengers and tickets
| Resource | jrs_railroad |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | en |
| Code size | 8,394 Lua lines |
Commands
/setjunction/trainpos/trainrobbery
Database tables
IF, railroad_companies, railroad_companies_owned, railroad_company_supplies, railroad_company_upgrades, railroad_employees, railroad_rewards, railroad_trains
Free (included in JRS Core) jrs_samples
JRS Core animal samples - sedate animals, collect samples, leaderboard and milestones
| Resource | jrs_samples |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | /onesync, jrs_core, oxmysql |
| Interface | No |
| Code size | 1,631 Lua lines |
Commands
/samplesmenu/setfeatured
Database tables
jrs_samples
config.lua - 24 opções#
JRS SAMPLES — Configuration
| Setting | Default | What it does |
|---|---|---|
Language |
"en" |
'en' or 'ar' |
Debug
| Setting | Default | What it does |
|---|---|---|
DebugClient |
false |
Print client-side debug logs to F8 console |
DebugServer |
false |
Print server-side debug logs to server console |
Database
| Setting | Default | What it does |
|---|---|---|
AutoInstallDB |
true |
create the jrs_samples table automatically on resource start |
Sample Collection
| Setting | Default | What it does |
|---|---|---|
StoreSampleData |
true |
false = no DB writes; collections kept in memory until restart (testing only) |
SampleHoldTime |
4000 |
ms — how long to hold the prompt to collect |
AnimalCleanupTime |
90000 |
ms — how long before a sedated animal recovers (90s) |
SampleCooldown |
3000 |
ms — server-side minimum gap between a player's sample submissions (anti-spam/exploit) |
Leaderboard location (prompt)
| Setting | Default | What it does |
|---|---|---|
LeaderboardLocation |
table |
Place this sphere at a naturalist camp, doctor's office, or any RP-fitting location. Adjust coords and heading to match your map layout. |
↳ coords |
vector3(-280.45, 758.23, 118... |
Example: Valentine area — change to fit your server |
↳ heading |
180.0 |
Número para heading (padrão 180.0). |
↳ radius |
1.5 |
Distância em unidades do jogo para radius. |
Map Blip (shown at the leaderboard target location)
| Setting | Default | What it does |
|---|---|---|
ShowBlip |
true |
Set Config.ShowBlip = false to hide it entirely. BlipSprite / BlipColor accept RDR3 blip names (joaat'd automatically). |
BlipSprite |
"blip_shop_trapper" |
blip sprite name (or hash) |
BlipColor |
"BLIP_MODIFIER_MP_COLOR_8" |
blip colour modifier ('' = default) |
BlipScale |
0.2 |
Ajustes do blip ou ícone do mapa para blip scale. |
Milestone Rewards
| Setting | Default | What it does |
|---|---|---|
MilestoneRewards |
table |
When a player's personal total sample count hits a key, they receive bonus cash + notify. Keys must be integers (sample counts). Set to {} to disable milestones entirely. |
↳ 5 |
table |
Tabela de entradas de 5. 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. |
↳ 25 |
table |
Tabela de entradas de 25. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ 50 |
table |
Tabela de entradas de 50. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
First Discovery Bonus
| Setting | Default | What it does |
|---|---|---|
FirstDiscoveryBonus |
500 |
Extra cash awarded to the FIRST player EVER to collect a particular animal sample. Set to 0 to disable. |
Featured Animal
| Setting | Default | What it does |
|---|---|---|
FeaturedAnimal |
"" |
e.g. 'bear', 'moose', 'bison' — must match a name in hashToAnimalMap (server/main.lua) |
FeaturedMultiplier |
2 |
reward is multiplied by this when sampling the featured animal |
Free (included in JRS Core) jrs_smelting
JRS Core smelting - turn ore from jrs_mining into bars at smelters
| Resource | jrs_smelting |
| Folder | [JOBS] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory, jrs_progressbar |
| Interface | No |
| Code size | 1,023 Lua lines |
config.lua - 8 opções#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"en" |
'en' or 'ar' |
SpawnDistance |
50.0 |
smelter NPC appears inside this radius |
UseDistance |
2.5 |
prompt radius |
MaxBatch |
20 |
bars per smelt |
Job |
nil |
e.g. 'blacksmith' to lock smelting to one job (nil = everyone) |
Smelters |
table |
add more: { label, model, coords = vector4(x, y, z, heading), scenario, blip } |
BlipSprite |
"blip_shop_blacksmith" |
Ajustes do blip ou ícone do mapa para blip sprite. |
Recipes |
table |
Uses the items jrs_mining gives. time = ms per bar. |
Paid (server only) jrs_stashes
jrs core Stashes - purchasable and placeable shared stashes for jrs_core / jrs_inventory
| Resource | jrs_stashes |
| Folder | [JOBS] |
| Version | 1.4.1 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 2,652 Lua lines |
Exports
AdminRemovePropertyStash, BeginPropertyPlacement, CountPropertyStashes, CreatePropertyStashDirect, GetPropertyStashes, GetPropertyStashesDetailed, RefreshAccess, ReloadStashes, RemoveAllPropertyStashes, RemovePropertyStash, SetPropertyStashSingleSize, SetPropertyStashSize
Database tables
jrs_stashes
config/config.lua - 76 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
Commands |
table |
Tabela de entradas de commands. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Create |
"createstash" |
Ajuste para create. |
↳ Remove |
"removestash" |
Ajuste para remove. |
OpenKey |
0x0522B243 |
RedM controls used while standing near a stash. |
ManageKey |
0x5415BE48 |
Deprecated: stash management now opens from the same world prompt. |
Prompt |
table |
Native RedM prompt shown while standing near an accessible stash. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Text |
"Open Stash Menu" |
Texto mostrado ao jogador para text. Altere para traduzir ou renomear. |
↳ GroupText |
"Stash" |
Quem pode: empregos, grupos ou permissões para group text. |
↳ Hold |
false |
Chave para hold: true = ligado, false = desligado (padrão false). |
Object |
table |
Physical object spawned at every stash location. Model can be changed without touching client/server code. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Model |
"p_chest01x" |
Modelo ou entidade do jogo usado para model. |
↳ FallbackModels |
table |
Modelo ou entidade do jogo usado para fallback models. |
↳ SpawnDistance |
70.0 |
Distância em unidades do jogo para spawn distance. |
↳ DespawnDistance |
85.0 |
Distância em unidades do jogo para despawn distance. |
↳ ZOffset |
0.0 |
Número para z offset (padrão 0.0). |
↳ Freeze |
true |
Chave para freeze: true = ligado, false = desligado (padrão true). |
↳ Collision |
true |
Chave para collision: true = ligado, false = desligado (padrão true). |
PropertyStash |
table |
House stashes placed from the jrs_housing property menu. Count and capacity per house come from jrs_housing (Config.PropertyStashes); this is the prop. |
↳ Model |
"p_storagebox01x" |
Modelo ou entidade do jogo usado para model. |
↳ FallbackModels |
table |
Modelo ou entidade do jogo usado para fallback models. |
↳ Models |
table |
Available storage furniture models player can cycle through with [R]: |
↳ MinDistance |
1.5 |
House boxes may stand this close to another stash (several fit in one room). |
Move |
table |
Owner-only stash relocation & placement: matches housing furniture theme exactly. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ PreviewDistance |
1.3 |
Distância em unidades do jogo para preview distance. |
↳ PreviewAlpha |
170 |
Número para preview alpha (padrão 170). |
↳ RotateSpeed |
90.0 |
Número para rotate speed (padrão 90.0). |
↳ Keys |
table |
Tecla ou controle usado para keys. Os controles são valores hash da lista de entradas do jogo. |
↳ ConfirmKey |
0x760A9C6F |
Tecla ou controle usado para confirm key. Os controles são valores hash da lista de entradas do jogo. |
↳ CancelKey |
0x156F7119 |
Tecla ou controle usado para cancel key. Os controles são valores hash da lista de entradas do jogo. |
↳ GroupText |
"House Stash" |
Quem pode: empregos, grupos ou permissões para group text. |
↳ ConfirmText |
"Place Stash" |
Texto mostrado ao jogador para confirm text. Altere para traduzir ou renomear. |
↳ CancelText |
"Cancel" |
Texto mostrado ao jogador para cancel text. Altere para traduzir ou renomear. |
↳ NextText |
"Change Furniture" |
Texto mostrado ao jogador para next text. Altere para traduzir ou renomear. |
↳ RotateText |
"Rotate" |
Texto mostrado ao jogador para rotate text. Altere para traduzir ou renomear. |
↳ ServerConfirmDistance |
4.0 |
Distância em unidades do jogo para server confirm distance. |
InteractionDistance |
2.0 |
Distância em unidades do jogo para interaction distance. |
ServerInteractionDistance |
4.0 |
Distância em unidades do jogo para server interaction distance. |
RemoveDistance |
5.0 |
Distância em unidades do jogo para remove distance. |
MinimumStashDistance |
3.0 |
Distância em unidades do jogo para minimum stash distance. |
SyncDistance |
150.0 |
reserved for future scoped sync; current sync remains authoritative for all stashes. |
MaxStashUsers |
999 |
Limite máximo para max stash users. |
MaxStorageSize |
1000000 |
Limite máximo para max storage size. |
MaxPriceMoney |
100000000 |
Valor em dinheiro para max price money. As recompensas passam pelo multiplicador de economia do jrs_core. |
MaxPriceGold |
1000000 |
Valor em dinheiro para max price gold. As recompensas passam pelo multiplicador de economia do jrs_core. |
DepositRules |
table |
Controls what can be deposited into REDEMPIRE stashes. These rules apply to the owner and all authorized users and are enforced server-side. Normal items are always allowed; use per-user permissions to control who may deposit them |
↳ Money |
true |
cash |
↳ Gold |
true |
gold |
↳ DirtyMoney |
true |
dirty money |
↳ Weapons |
true |
weapons |
Blips |
table |
Ajustes do blip ou ícone do mapa para blips. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Sprite |
1151744703 |
Ajustes do blip ou ícone do mapa para sprite. |
↳ ForSaleLabel |
"Stash For Sale" |
Texto mostrado ao jogador para for sale label. Altere para traduzir ou renomear. |
↳ OwnedLabel |
"Your Stash" |
Texto mostrado ao jogador para owned label. Altere para traduzir ou renomear. |
↳ HouseStashes |
true |
House stashes (jrs_housing): shown to the owner and key holders. |
↳ HouseLabel |
"House Stash" |
Texto mostrado ao jogador para house label. Altere para traduzir ou renomear. |
AdminGroups |
table |
jrs_core groups allowed to use /createstash and /removestash. |
↳ owner |
true |
Chave para owner: true = ligado, false = desligado (padrão true). |
↳ admin |
true |
Chave para admin: true = ligado, false = desligado (padrão true). |
AllowedIdentifiers |
table |
Optional explicit identifiers. Supports steam:, license:, fivem:, etc. |
Items |
table |
Usable items that create an already-owned stash at the player's position. |
↳ Create |
"" |
Ajuste para create. |
↳ Remove |
"" |
Ajuste para remove. |
↳ Ownership |
"" |
Ajuste para ownership. |
↳ Move |
"" |
Ajuste para move. |
↳ Deposit |
"" |
Valor em dinheiro para deposit. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ Withdraw |
"" |
Ajuste para withdraw. |
↳ AllowCustom |
true |
Owners can add a per-stash Discord webhook from the management UI. |
Text |
table |
Texto mostrado ao jogador para text. Altere para traduzir ou renomear. |
↳ Open |
"Open Stash" |
Ajuste para open. |
↳ Buy |
"Buy Stash" |
Ajuste para buy. |
↳ Manage |
"Manage Stash" |
Ajuste para manage. |
Notes from the README#
# jrs_stashes
REDEMPIRE-native stash system rebuilt for `jrs_core` + `jrs_inventory`.
## Features
- Admin `/createstash` UI: size, cash price, gold price.
- `/removestash <id>` with permission + distance validation.
- For-sale stash purchase using cash, gold, or free ownership.
- Owner management menu: add/remove authorized players and set a custom Discord webhook.
- `Stash1` / `Stash2` usable items create personal stashes using the configured capacity, optional cash/gold placement fee, and `DeleteOnUse` behavior.
- Opens the native `jrs_inventory` storage UI, so items, weapons, cash, gold and dirty money follow inventory config and security rules.
- Server-authoritative access, ownership, distance and purchase validation.
- Low-idle client loop with dynamic sleep.
- Optional blips for for-sale and owned stashes.
- Global and per-stash logs. Per-stash item movement logs require the included patched `jrs_inventory` build.
## Install
1. Import `sql/jrs_stashes.sql`.
2. Put `jrs_stashes` in resources.
3. Ensure start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_stashes
'''
4. Configure admin groups / allowed identifiers and webhooks in `config.lua`.
## Inventory integration
Every stash maps to a storage key like `jrs_stash:12` and uses:
- `jrs_inventoryApi().createstorage`
- `jrs_inventoryApi().openstorage`
- `jrs_inventoryApi().updatestorage`
The included updated `jrs_inventory` emits a server-local `jrs_inventory:server:storageTransaction` event after successful storage transactions so custom stash
## v1.0.2
- Removed dependency on the table returned by `jrs_inventoryApi()`.
- Usable stash items now register through `jrsCore:registerUsableItem`, which is the server event implemented by `jrs_inventory`.
- Storage/item operations now call the direct `jrs_inventory` exports.
- Fixes startup error: `jrs_inventory usable-item API is unavailable`.
## v1.0.3 - Per-user stash permissions
- Every authorized stash user now has an individual access level:
- `deposit`: can put items/weapons/currencies into the stash but cannot take anything out.
- `withdraw`: can take items/weapons/currencies out but cannot put anything in.
- `full`: can deposit and withdraw.
- The stash owner always has `full` access and cannot be downgraded.
- Owners can choose the access level when adding a player and can change it later from the same management UI.
- Permission checks are server-authoritative and apply to items, weapons, cash, gold, and dirty money.
- Existing authorized users created before v1.0.3 automatically keep `full` access; no SQL migration is required.
- Requires the included `jrs_inventory` v1.6.7 permission-hook build for transfer enforcement.Paid (server only) jrs_train
| Resource | jrs_train |
| Folder | [JOBS] |
| Version | 2.5.3-jrs |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 8,062 Lua lines |
Commands
/-jrs_train_track_left/-jrs_train_track_right/jrs_train_menu/ticketgps
Exports
BacchusBridgeDestroyed, CheckIfTrainIsSpawned, FindNearestTicketBooth, ForceExitSitting, GetTrainEntity, PlayTrainWhistleSafe
Database tables
train
config/config.lua - 139 opções#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"ar" |
Ajuste para defaultlang. |
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
ConductorJob |
"conductor" |
job title of who can spawn a train |
CruiseControl |
false |
set true if you want to allow cruise control |
TrainControls |
table |
Tabela de entradas de train controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ OpenMenuKey |
"L" |
Labels shown in the NUI |
↳ TrackLeftKey |
"A" |
Tecla ou controle usado para track left key. Os controles são valores hash da lista de entradas do jogo. |
↳ TrackRightKey |
"D" |
Tecla ou controle usado para track right key. Os controles são valores hash da lista de entradas do jogo. |
↳ AccelerateKey |
"W" |
Tecla ou controle usado para accelerate key. Os controles são valores hash da lista de entradas do jogo. |
↳ BrakeReverseKey |
"S" |
Tecla ou controle usado para brake reverse key. Os controles são valores hash da lista de entradas do jogo. |
↳ RemapMovement |
true |
Remap the locomotive's native Left Shift / Left Ctrl controls to W / S. |
↳ OpenMenuControl |
0x80F28E95 |
Native RedM input hashes read from the keyboard. |
↳ TrackLeftControl |
0x7065027D |
Tecla ou controle usado para track left control. Os controles são valores hash da lista de entradas do jogo. |
↳ TrackRightControl |
0xB4E465B4 |
Tecla ou controle usado para track right control. Os controles são valores hash da lista de entradas do jogo. |
↳ AccelerateControl |
0x8FD015D8 |
W / INPUT_MOVE_UP_ONLY |
↳ BrakeReverseControl |
0xD27782E3 |
S / INPUT_MOVE_DOWN_ONLY |
↳ NativeAccelerateControl |
0x8FFC75D6 |
Left Shift / INPUT_SPRINT |
↳ NativeBrakeReverseControl |
0xDB096B85 |
Left Ctrl / INPUT_DUCK |
TrainPreview |
table |
Tabela de entradas de train preview. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ UseCurrentStation |
true |
preview the train on the current station track |
↳ Direction |
false |
Chave para direction: true = ligado, false = desligado (padrão false). |
↳ CameraDistance |
26.0 |
Distância em unidades do jogo para camera distance. |
↳ MinCameraDistance |
12.0 |
Distância em unidades do jogo para min camera distance. |
↳ MaxCameraDistance |
42.0 |
Distância em unidades do jogo para max camera distance. |
↳ CameraHeight |
5.4 |
Número para camera height (padrão 5.4). |
↳ LookAtHeight |
1.8 |
Número para look at height (padrão 1.8). |
↳ CameraFov |
38.0 |
Número para camera fov (padrão 38.0). |
↳ StartAngle |
90.0 |
Número para start angle (padrão 90.0). |
↳ RotateStep |
12.0 |
Número para rotate step (padrão 12.0). |
↳ ZoomStep |
2.5 |
Número para zoom step (padrão 2.5). |
↳ LoadTimeout |
15000 |
Ajuste de tempo para load timeout. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ Coords |
table |
Used only when UseCurrentStation is false. |
FuelSettings |
table |
Tabela de entradas de fuel settings. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ TrainFuelItem |
"coal" |
db name of the item needed to fuel the train |
↳ TrainFuelItemDisplayName |
"Coal" |
display name of the item |
↳ TrainFuelItemAmount |
1 |
How many of the item it will take to fuel the train |
↳ FuelDecreaseTime |
30000 |
time in ms of how often the trains fuel goes down |
↳ FuelDecreaseAmount |
1 |
amount of fuel to decrease |
ConditionSettings |
table |
Tabela de entradas de condition settings. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ TrainCondItem |
"trainoil" |
db name of the item needed to repair the train |
↳ TrainCondItemDisplayName |
"Train Oil" |
display name of the item |
↳ TrainCondItemAmount |
1 |
How many of the item it will take to repair the train |
↳ CondDecreaseTime |
30000 |
time in ms of how often the trains condition goes down |
↳ CondDecreaseAmount |
1 |
amount of cond to decrease |
PassengerJob |
table |
Quem pode: empregos, grupos ou permissões para passenger job. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ KeepRoutesInRegion |
true |
keeps western and eastern rail networks separate |
↳ MinPassengers |
3 |
Mínimo ou nível exigido para min passengers. |
↳ MaxPassengers |
6 |
Limite máximo para max passengers. |
↳ StartRadius |
55.0 |
Distância em unidades do jogo para start radius. |
↳ ArrivalRadius |
45.0 |
Distância em unidades do jogo para arrival radius. |
↳ RequiredStopSpeed |
0.8 |
Número para required stop speed (padrão 0.8). |
↳ BoardingWalkTime |
3500 |
Número para boarding walk time (padrão 3500). |
↳ TurnaroundDelay |
8000 |
Ajuste de tempo para turnaround delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ PedCleanupDelay |
12000 |
Ajuste de tempo para ped cleanup delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ BasePay |
0.42 |
Server-side fare calculation |
↳ PayPerPassenger |
0.10 |
Valor em dinheiro para pay per passenger. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ PayPerKilometer |
0.14 |
Valor em dinheiro para pay per kilometer. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ MinimumTripTime |
20 |
Mínimo ou nível exigido para minimum trip time. |
↳ PedModels |
table |
Modelo ou entidade do jogo usado para ped models. |
BacchusBridgeDestroying |
table |
Tabela de entradas de bacchus bridge destroying. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ enabled |
true |
if true you will be able to blow up bacchus bridge! |
↳ coords |
table |
coords of where you have to place the dynamite |
↳ dynamiteItem |
"dynamite" |
db name of the dynamite item |
↳ dynamiteItemAmount |
2 |
amount needed to explode the bridge |
↳ explosionTimer |
30000 |
time before the explosion happens |
Trains |
table |
Tabela de entradas de trains. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
TrainDespawnDist |
200 |
the maximum dist the conductor can be before the train despawns |
StationBlipHash |
-1505442625 |
set the blip hash |
StationBlipColor |
"BLIP_MODIFIER_MP_COLOR_32" |
White (RDO standard) |
Stations |
table |
Tabela de entradas de stations. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
TicketBooth |
table |
Tabela de entradas de ticket booth. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Item |
"train_ticket" |
Itens de inventário usados por item. Os nomes precisam existir na tabela jrs_items. |
↳ GeneralTicketPrice |
2.50 |
Valor em dinheiro para general ticket price. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ ConsumeOnTrip |
true |
Chave para consume on trip: true = ligado, false = desligado (padrão true). |
↳ Blip |
table |
Ajustes do blip ou ícone do mapa para blip. |
↳ Destinations |
table |
Tabela de entradas de destinations. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
LargeTrain |
table |
Tabela de entradas de large train. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ RouteName |
"big_loop" |
Texto mostrado ao jogador para route name. Altere para traduzir ou renomear. |
↳ AllowConductorTakeover |
true |
Allows conductor takeover: true = sim, false = não (padrão true). |
↳ WhistleOnArrival |
true |
Chave para whistle on arrival: true = ligado, false = desligado (padrão true). |
↳ WhistleOnDeparture |
true |
Chave para whistle on departure: true = ligado, false = desligado (padrão true). |
↳ StopDuration |
60 |
1 minute stop at every station |
↳ TicketCheckDistance |
15.0 |
Distância em unidades do jogo para ticket check distance. |
↳ Blip |
table |
Ajustes do blip ou ícone do mapa para blip. |
OnDemandTravel |
table |
Tabela de entradas de on demand travel. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ RequireTicketItem |
true |
If true, player MUST have a ticket item in inventory; if false, player can travel using ticket OR pay cash directly |
↳ RequireAtTicketBooth |
true |
Player MUST be standing at the station ticket booth window |
↳ MaxDistanceToTicketBooth |
3.5 |
Maximum meters from ticket window to initiate travel |
↳ AllowSkip |
false |
Disabled: [E] does not skip train journeys |
↳ RelocateHorse |
true |
Automatically move player's active horse to destination station |
↳ NotifyConductors |
true |
Send dispatch alert to online conductors |
↳ ConductorWaitTimeout |
10 |
Seconds before auto train departs if no conductor takes the dispatch |
↳ TrainApproachEnabled |
true |
Train approaches smoothly along tracks to the platform instead of spawning on player's face |
↳ TrainApproachSpeed |
10.0 |
Speed (m/s) when approaching platform |
↳ DepartureWaitSeconds |
6 |
Seconds train waits at destination platform after disembarkation before departing |
↳ DepartureDespawnDistance |
160.0 |
Distance (meters) train moves away before despawning cleanly |
↳ StationMasterNPC |
table |
Tabela de entradas de station master npc. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
TrainRobbery |
table |
Idea 1: Train Robbery / Safe Heist (Without AI bots) |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ MinimumPolice |
1 |
Minimum online lawmen required (police, sheriff, marshal) |
↳ CooldownMinutes |
30 |
Cooldown between robberies in minutes |
↳ ExplosionTimerSeconds |
25 |
Seconds after planting dynamite before the safe blows |
↳ RequiredItem |
"dynamite" |
Item required to breach the safe |
↳ MinCash |
150.0 |
Valor em dinheiro para min cash. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ MaxCash |
400.0 |
Valor em dinheiro para max cash. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ RewardItems |
table |
Valor em dinheiro para reward items. As recompensas passam pelo multiplicador de economia do jrs_core. |
↳ CarriageIndex |
1 |
Baggage / freight car |
↳ LawJobs |
table |
Quem pode: empregos, grupos ou permissões para law jobs. |
↳ BlipDuration |
60 |
Seconds the emergency police blip flashes on the map |
TrainFreightStash |
table |
Idea 2: Freight & Mail Cargo Stash |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ CarriageIndex |
1 |
Baggage car |
↳ Capacity |
500 |
Maximum storage limit in kg |
↳ StashId |
"train_freight_bigloop" |
Ajuste para stash id. |
DiningCar |
table |
Idea 4: Dining Car / Saloon Refreshments |
Paid (server only) jrs_truck
Network-safe custom truck shell for RedM using jrs_core and jrs_inventory
| Resource | jrs_truck |
| Folder | [JOBS] |
| Version | 2.9.1 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory |
| Interface | No |
| Languages | ar, en |
| Code size | 2,645 Lua lines |
config/config.lua - 130 opções#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = sim, false = não (padrão false). |
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. |
↳ ItemName |
"truckr" |
Itens de inventário usados por item name. Os nomes precisam existir na tabela jrs_items. |
↳ CloseInventoryOnUse |
true |
Chave para close inventory on use: true = ligado, false = desligado (padrão true). |
↳ RegistrationDelay |
1500 |
Ajuste de tempo para registration delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ RegistrationAttempts |
20 |
Número para registration attempts (padrão 20). |
↳ RegistrationRetryDelay |
1000 |
Ajuste de tempo para registration retry delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ NotificationDuration |
4000 |
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. |
Network |
table |
Tabela de entradas de network. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ EntityRegistrationTimeout |
1500 |
Time allowed for a created entity to receive a network object. |
↳ EntityRegistrationRetryDelay |
25 |
Ajuste de tempo para entity registration retry delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Spawn |
table |
Coordenadas do mundo (x, y, z) para spawn. |
↳ BaseVehicleModel |
"coach4" |
Modelo ou entidade do jogo usado para base vehicle model. |
↳ BodyModel |
"f15078" |
Modelo ou entidade do jogo usado para body model. |
↳ WheelModel |
"f15078wheel" |
Modelo ou entidade do jogo usado para wheel model. |
↳ DistanceInFront |
4.0 |
Distância em unidades do jogo para distance in front. |
↳ HeightOffset |
0.15 |
Número para height offset (padrão 0.15). |
↳ ClearRadius |
3.0 |
Distância em unidades do jogo para clear radius. |
↳ WarpIntoDriverSeat |
false |
Chave para warp into driver seat: true = ligado, false = desligado (padrão false). |
↳ ModelLoadTimeout |
10000 |
Ajuste de tempo para model load timeout. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ RegistrationDelay |
300 |
Ajuste de tempo para registration delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DefaultEngineState |
false |
Chave para default engine state: true = ligado, false = desligado (padrão false). |
↳ OneTruckPerPlayer |
true |
Chave para one truck per player: true = ligado, false = desligado (padrão true). |
BaseVehicleGuard |
table |
Tabela de entradas de base vehicle guard. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ DontAutoCreateDraftAnimals |
false |
Must remain false. RedM wagons need a draft animal for normal entry and driving. The horse is kept attached and made transparent instead of being deleted. |
↳ ForceDraftAnimalAutoCreation |
true |
Forces draft animal auto creation: true = sim, false = não (padrão true). |
↳ RequireDraftAnimal |
true |
Requires draft animal: true = sim, false = não (padrão true). |
↳ MinimumDraftAnimals |
1 |
Mínimo ou nível exigido para minimum draft animals. |
↳ DraftHarnessSlots |
6 |
Limite máximo para draft harness slots. |
↳ DraftAnimalSpawnTimeout |
3500 |
Ajuste de tempo para draft animal spawn timeout. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ DraftAnimalSpawnRetryDelay |
50 |
Ajuste de tempo para draft animal spawn retry delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ HideBaseVehicle |
true |
Keep coach4 rendered but fully transparent. Do not use SetEntityVisible(false), because RedM may hide attached truck objects together with the parent. |
↳ BaseVehicleAlpha |
0 |
Número para base vehicle alpha (padrão 0). |
↳ HideDraftAnimals |
true |
Keep harness animals alive and attached for vehicle functionality. Using the visibility flag (not only alpha 0) also hides most reins/harness geometry. |
↳ UseDraftAnimalVisibilityFlag |
true |
Liga ou desliga draft animal visibility flag (padrão true). |
↳ DraftAnimalAlpha |
0 |
Modelo ou entidade do jogo usado para draft animal alpha. |
↳ HideDraftAnimalReins |
true |
Hides draft animal reins: true = sim, false = não (padrão true). |
↳ HarnessRopeGuard |
table |
Wagon harness traces are PHYSICS rope objects and are separate from the horse rein geometry handled by _HIDE_PED_REINS. Detect only ropes whose endpoints connect this coach/front area to its hidden draft animal. |
↳ DisableDraftAnimalCollision |
true |
The harness horse remains logically attached so native wagon controls work, but it must not create an invisible collision area in front of the truck. |
↳ CompletelyDisableDraftAnimalCollision |
true |
Chave para completely disable draft animal collision: true = ligado, false = desligado (padrão true). |
↳ KeepDraftAnimalPhysics |
true |
Chave para keep draft animal physics: true = ligado, false = desligado (padrão true). |
↳ PreventDraftAnimalRagdoll |
true |
Chave para prevent draft animal ragdoll: true = ligado, false = desligado (padrão true). |
↳ ProtectDraftAnimals |
true |
Chave para protect draft animals: true = ligado, false = desligado (padrão true). |
↳ RemoteScanInterval |
1000 |
Nearby network trucks are rescanned, then hidden at a faster interval. |
↳ VisibilityGuardInterval |
100 |
Ajuste de tempo para visibility guard interval. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ LocalVisualGuardInterval |
50 |
Ajuste de tempo para local visual guard interval. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Attachments |
table |
Tabela de entradas de attachments. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Body |
table |
Tabela de entradas de body. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Wheels |
table |
Tabela de entradas de wheels. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Lights |
table |
Tabela de entradas de lights. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Exhaust |
table |
Tabela de entradas de exhaust. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ AudioAnchor |
table |
Tabela de entradas de audio anchor. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
DriverVisual |
table |
Tabela de entradas de driver visual. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ HideRealDriver |
true |
The real player must remain in coach4's driver seat so RedM keeps native wagon control. It is hidden locally and a visual clone is placed inside the truck cabin. |
↳ NetworkedClone |
false |
Chave para networked clone: true = ligado, false = desligado (padrão false). |
↳ EntryDelay |
650 |
Ajuste de tempo para entry delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ RevealDelay |
100 |
Ajuste de tempo para reveal delay. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ GuardInterval |
50 |
Ajuste de tempo para guard interval. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AnimationLoadTimeout |
5000 |
Ajuste de tempo para animation load timeout. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ AnimationDictionary |
"script_re@check_point@small_cart" |
Ajustes de animação para animation dictionary. |
↳ AnimationName |
"int_loop_driver" |
Texto mostrado ao jogador para animation name. Altere para traduzir ou renomear. |
↳ AnimationBlendIn |
8.0 |
Ajustes de animação para animation blend in. |
↳ AnimationBlendOut |
1.0 |
Ajustes de animação para animation blend out. |
↳ AnimationFlag |
1 |
Ajustes de animação para animation flag. |
↳ AnimationPlaybackRate |
0.1 |
Ajustes de animação para animation playback rate. |
↳ Offset |
vector3(-0.48, 0.17, 0.43) |
Driver position inside f15078. X is left/right, Y is front/back, Z is height. |
↳ Rotation |
vector3(20.0, 20.0, 0.0) |
Ajuste para rotation. |
Controls |
table |
Tabela de entradas de controls. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ ToggleEngine |
0x8AAA0AD4 |
Left Alt |
↳ SteerLeft |
0x7065027D |
A |
↳ SteerRight |
0xB4E465B4 |
D |
↳ Brake |
0xD27782E3 |
S |
WheelAnimation |
table |
Ajustes de animação para wheel animation. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ UpdateInterval |
20 |
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. |
↳ MaximumSteerAngle |
30.0 |
Limite máximo para maximum steer angle. |
↳ SteeringSmoothing |
7.0 |
Número para steering smoothing (padrão 7.0). |
↳ RotationMultiplier |
3.0 |
Taxa ou multiplicador para rotation multiplier. |
Lock |
table |
Tabela de entradas de lock. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ DefaultLocked |
true |
Chave para default locked: true = ligado, false = desligado (padrão true). |
↳ InteractionDistance |
8.0 |
Distância em unidades do jogo para interaction distance. |
↳ BlockNotificationCooldown |
2500 |
Ajuste de tempo para block notification cooldown. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
Reset |
table |
Tabela de entradas de reset. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ MaximumDistance |
8.0 |
Distância em unidades do jogo para maximum distance. |
↳ MaximumSpeed |
1.5 |
Limite máximo para maximum speed. |
Speedometer |
table |
Tabela de entradas de speedometer. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Enabled |
true |
Liga ou desliga enabled (padrão true). |
↳ Unit |
"MPH" |
MPH or KMH |
↳ Position |
vector2(0.50, 0.91) |
Coordenadas do mundo (x, y, z) para position. |
↳ TextScale |
0.35 |
Texto mostrado ao jogador para text scale. Altere para traduzir ou renomear. |
Commands |
table |
Tabela de entradas de commands. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Spawn |
table |
Coordenadas do mundo (x, y, z) para spawn. |
↳ Delete |
"deletetruck" |
Ajuste para delete. |
↳ Reset |
"resettruck" |
Ajuste para reset. |
↳ Lock |
"trucklock" |
Ajuste para lock. |
Audio |
table |
PMMS is optional. The truck works normally when this is disabled. Put reachable HTTP/HTTPS URLs below before enabling it. |
↳ Enabled |
false |
Liga ou desliga enabled (padrão false). |
↳ Resource |
"pmms" |
Ajuste para resource. |
↳ Volume |
0.25 |
Número para volume (padrão 0.25). |
↳ StartUrl |
"" |
Ajuste para start url. |
↳ IdleUrl |
"" |
Ajuste para idle url. |
↳ StopUrl |
"" |
Ajuste para stop url. |
↳ StartDurationMs |
3800 |
Ajuste de tempo para start duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ IdleDurationSeconds |
30.0 |
Ajuste de tempo para idle duration seconds. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ StopDurationMs |
2200 |
Ajuste de tempo para stop duration ms. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ MaximumDistance |
35.0 |
Distância em unidades do jogo para maximum distance. |
Messages |
table |
Texto mostrado ao jogador para messages. Altere para traduzir ou renomear. |
↳ Spawned |
"Truck spawned." |
Ajuste para spawned. |
↳ Deleted |
"Truck removed." |
Ajuste para deleted. |
↳ AlreadySpawning |
'Your truck is already being... |
Ajuste para already spawning. |
↳ SpawnFailed |
"The truck could not be spawned." |
Coordenadas do mundo (x, y, z) para spawn failed. |
↳ SpawnBlocked |
"The spawn area is blocked." |
Coordenadas do mundo (x, y, z) para spawn blocked. |
↳ MustBeOnFoot |
'You must be on foot to spaw... |
Ajuste para must be on foot. |
↳ MustBeAlive |
'You cannot spawn the truck ... |
Ajuste para must be alive. |
↳ NoTruck |
"You do not have an active truck." |
Ajuste para no truck. |
↳ TooFar |
"You are too far from your truck." |
Ajuste para too far. |
Notes from the README#
# jrs_truck 2.9.0
A rebuilt RedM truck resource for `jrs_core` and `jrs_inventory`.
## Main changes
- Removed teleport-based desync fixes.
- Removed explosions and unsafe anti-theft code.
- One active truck per player.
- Server-owned spawn registration and cleanup.
- Automatic cleanup when the player disconnects or the resource stops.
- Safe engine toggle, front lights, brake light, exhaust smoke, wheel animation and speedometer.
- Optional PMMS start/idle/stop audio with server-side ownership checks.
- Truck lock state uses OneSync state bags.
- Keeps the required draft horse attached so RedM allows normal wagon entry and driving.
- Makes the draft horse and its reins invisible instead of deleting or detaching it.
- Keeps the hidden base wagon and hidden horse transparent for all clients, including after entering water.
- Completely disables the hidden horse collision so the truck no longer has an invisible extension in front.
## Installation
1. Rename the folder to `jrs_truck`.
2. Run `install.sql`.
3. Copy `truckr.png` to the item image directory used by `jrs_inventory`.
4. Add this order to `server.cfg`:
'''cfg
ensure jrs_core
ensure jrs_inventory
ensure jrs_truck
'''
5. Give yourself the `truckr` item and use it.
## Commands
- `/deletetruck` removes your active truck.
- `/resettruck` places a nearby stopped truck upright.
- `/trucklock` locks or unlocks your active truck.
- `/spawntruck` is disabled by default and can be enabled in `config.lua` for testing.
## Controls
- `Left Alt`: start or stop the engine while sitting in the driver seat.
- Standard movement controls drive the base vehicle.
## Audio
PMMS audio is disabled by default because the original archive did not include the MP3 files.
Set reachable HTTP/HTTPS URLs in `Config.Audio` and set `Enabled = true` to use it.
## Notes
- OneSync must be enabled for network entity ownership and lock state bags.
- The driving control still comes from `coach4` and its hidden draft horse, while the horse collision is disabled.
- `Config.BaseVehicleGuard` controls water visibility protection and hidden draft-animal behavior.
- Body, wheel and light positions can be adjusted in `Config.Attachments`.
## 2.3 networking fix
- Checks `NETWORK_GET_ENTITY_IS_NETWORKED` before requesting a network ID.
- Registers entities through the RedM native hash when the Lua global is unavailable.Paid (server only) jrs_undertaker
Undertaker job (jrs_multijob
| Resource | jrs_undertaker |
| Folder | [JOBS] |
| Version | 1.0.1 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | No |
| Languages | ar, en |
| Code size | 571 linhas de Lua |
config.lua - 26 opções#
General
| Setting | Default | What it does |
|---|---|---|
Job |
"undertaker" |
must be the character's ACTIVE job (jrs_multijob) |
Items |
table |
Itens de inventário usados por items. Os nomes precisam existir na tabela jrs_items. |
↳ Body |
table |
Tabela de entradas de body. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
↳ Coffin |
table |
Tabela de entradas de coffin. Adicione, remova ou edite entradas seguindo os exemplos do arquivo. |
ShovelItem |
"shovel" |
Itens de inventário usados por shovel item. Os nomes precisam existir na tabela jrs_items. |
ShovelPrice |
3.0 |
undertakers can buy one at any parlour (no NPC store sells shovels) |
WrapPay |
2.0 |
per body collected |
ContractBonus |
4.0 |
extra for a body from a parlour contract |
BurialPay |
12.0 |
per burial |
JobXP |
table |
Quem pode: empregos, grupos ou permissões para job xp. |
Offerings |
table |
Optional offerings placed in the coffin while preparing: the first one the player carries is used automatically and raises the burial pay, so keep this list to cheap consumables. Missing items are ignored at start. |
PrepareSeconds |
10 |
Número para prepare seconds (padrão 10). |
BurySeconds |
14 |
Número para bury seconds (padrão 14). |
WrapSeconds |
5 |
Número para wrap seconds (padrão 5). |
MaxBurialsPerHour |
10 |
Limite máximo para max burials per hour. |
MaxWrapsPerHour |
12 |
Limite máximo para max wraps per hour. |
Contract |
table |
Contract: a body is waiting somewhere around the parlour. |
↳ MinDistance |
250.0, MaxDistance = 600.0 |
Distância em unidades do jogo para min distance. |
↳ SpawnWhenWithin |
80.0 |
Coordenadas do mundo (x, y, z) para spawn when within. |
↳ ExpireMinutes |
20 |
Ajuste de tempo para expire minutes. A unidade (segundos, minutos ou milissegundos) costuma estar no nome da opção ou no comentário das opções vizinhas. |
↳ Models |
table |
Modelo ou entidade do jogo usado para models. |
Parlours |
table |
Parlours: prep table (and contract desk). From the RDR2 undertaker shops. |
Graves |
table |
Cemeteries where a prepared coffin can be buried. |
GraveRadius |
8.0 |
Distância em unidades do jogo para grave radius. |
Blips |
table |
Ajustes do blip ou ícone do mapa para blips. |
Keys |
table |
G / E / B |