Legal jobs and gathering: police, medic, mining, hunting, fishing, crafting, railroad and more.
Folder ini berisi 31 skrip. Pilih skrip di tab di bawah.
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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
CoreResource |
"jrs_core" |
Pengaturan untuk core resource. |
InventoryResource |
"jrs_inventory" |
Pengaturan untuk inventory resource. |
DatabaseTable |
"jrs_boats" |
Pengaturan untuk database table. |
PortableItem |
"portable_canoe" |
Item inventaris yang dipakai portable item. Nama harus ada di tabel jrs_items. |
StoragePrefix |
"jrs_boat_" |
Pengaturan untuk storage prefix. |
Locale |
"ar" |
Bahasa antarmuka skrip ini (en atau ar). |
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
NameMinLength |
2 |
Minimum atau level yang dibutuhkan untuk name min length. |
NameMaxLength |
30 |
Batas atas untuk name max length. |
RequestCooldownMs |
500 |
Pengaturan waktu untuk request cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
RemoteReturnDelay |
15000 |
Pengaturan waktu untuk remote return delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
ShopSessionMs |
900000 |
Angka untuk shop session ms (bawaan 900000). |
keys |
table |
Tombol atau kontrol untuk keys. Kontrol adalah nilai hash dari daftar input game. |
↳ 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 |
Tabel entri keelboat. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
inventory |
table |
Tabel entri inventory. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ pirogue2 |
table |
Portable |
↳ canoetreetrunk |
table |
Canoes |
↳ canoe |
table |
Tabel entri canoe. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ pirogue |
table |
Tabel entri pirogue. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ skiff |
table |
Rowboats |
↳ rowboat |
table |
Tabel entri rowboat. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ rowboatSwamp |
table |
Tabel entri rowboat swamp. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ keelboat |
table |
Tabel entri keelboat. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ DefaultPhysicsRoot |
'boatsteam02x' |
Pengaturan untuk default physics root. |
↳ PreviewFov |
88.0 |
Angka untuk preview fov (bawaan 88.0). |
↳ InteractionDistance |
2.5 |
Jarak dalam satuan game untuk interaction distance. |
↳ OptionsDistance |
45.0 |
Jarak dalam satuan game untuk options distance. |
↳ CargoSearchRadius |
14.0 |
Jarak dalam satuan game untuk cargo search radius. |
↳ MaxCargoEntityDistance |
22.0 |
Jarak dalam satuan game untuk max cargo entity distance. |
↳ StateSaveIntervalMs |
15000 |
Pengaturan waktu untuk state save interval ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ BoardingPromptDistance |
35.0 |
Jarak dalam satuan game untuk boarding prompt distance. |
↳ controls |
table |
Tabel entri controls. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ DrivingHUD |
table |
Tabel entri driving hud. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Menyalakan atau mematikan enabled (bawaan 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" |
Model atau entitas game untuk required boat model. |
↳ JobBoatName |
"Horse Transport Boat" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job boat name. |
↳ InteractionDistance |
2.5 |
Jarak dalam satuan game untuk interaction distance. |
↳ StartDistance |
3.0 |
Jarak dalam satuan game untuk start distance. |
↳ DestinationDistance |
4.0 |
Jarak dalam satuan game untuk destination distance. |
↳ ShipDockDistance |
55.0 |
Max distance between the job boat and the livestock dock. |
↳ RequireAnchor |
true |
Requires anchor: true = ya, false = tidak (bawaan true). |
↳ ProtectHorses |
true |
Sakelar untuk protect horses: true = nyala, false = mati (bawaan true). |
↳ MinimumTripTimeSeconds |
45 |
Minimum atau level yang dibutuhkan untuk minimum trip time seconds. |
↳ CooldownSeconds |
300 |
Pengaturan waktu untuk cooldown seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ DeliveredHorseLifetimeMs |
30000 |
Pengaturan waktu untuk delivered horse lifetime ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ BlipSprite |
2005921736 |
Pengaturan blip peta atau ikon untuk blip sprite. |
↳ BlipScale |
0.25 |
Pengaturan blip peta atau ikon untuk blip scale. |
↳ ShowStartBlips |
false |
Job starts from the Jobs menu, so standalone start blips are not needed. |
↳ controls |
table |
Tabel entri controls. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ horseModels |
table |
Model atau entitas game untuk 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 |
Tabel entri routes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ JobsMenu |
true |
Sakelar untuk jobs menu: true = nyala, false = mati (bawaan true). |
↳ FreeJobBoat |
true |
Sakelar untuk free job boat: true = nyala, false = mati (bawaan true). |
↳ HideJobBoatFromShop |
true |
Hides job boat from shop: true = ya, false = tidak (bawaan true). |
↳ RequiredBoatModel |
"horseBoat" |
Model atau entitas game untuk required boat model. |
↳ JobBoatName |
"Horse Boat Cargo Transport" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job boat name. |
↳ InteractionDistance |
2.5 |
Jarak dalam satuan game untuk interaction distance. |
↳ DestinationDistance |
5.0 |
Jarak dalam satuan game untuk destination distance. |
↳ ShipDockDistance |
60.0 |
Jarak dalam satuan game untuk ship dock distance. |
↳ RequireAnchor |
true |
Requires anchor: true = ya, false = tidak (bawaan true). |
↳ MinimumTripTimeSeconds |
45 |
Minimum atau level yang dibutuhkan untuk minimum trip time seconds. |
↳ CooldownSeconds |
300 |
Pengaturan waktu untuk cooldown seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ CargoLifetimeMs |
20000 |
Pengaturan waktu untuk cargo lifetime ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ CargoCount |
6 |
Angka untuk cargo count (bawaan 6). |
↳ controls |
table |
Tabel entri controls. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri routes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
shops |
table |
Boat Shops |
↳ lagras |
table |
Tabel entri lagras. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ saintdenis |
table |
Tabel entri saintdenis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ annesburg |
table |
Tabel entri annesburg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ blackwater |
table |
Tabel entri blackwater. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ wapiti |
table |
Tabel entri wapiti. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ manteca |
table |
Tabel entri manteca. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ sisika |
table |
Tabel entri sisika. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ braithwaite |
table |
Tabel entri braithwaite. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ guarma |
table |
Tabel entri guarma. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
locations |
table |
Water Locations for Portable Canoe |
↳ 1 |
table |
Tabel entri 1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 2 |
table |
Tabel entri 2. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 3 |
table |
Tabel entri 3. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 4 |
table |
Tabel entri 4. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 5 |
table |
Tabel entri 5. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 6 |
table |
Tabel entri 6. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 7 |
table |
Tabel entri 7. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 8 |
table |
Tabel entri 8. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 9 |
table |
Tabel entri 9. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 10 |
table |
Tabel entri 10. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 11 |
table |
Tabel entri 11. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 12 |
table |
Tabel entri 12. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 13 |
table |
Tabel entri 13. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 14 |
table |
Tabel entri 14. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 15 |
table |
Tabel entri 15. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 16 |
table |
Tabel entri 16. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 17 |
table |
Tabel entri 17. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 18 |
table |
Tabel entri 18. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 19 |
table |
Tabel entri 19. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 20 |
table |
Tabel entri 20. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 21 |
table |
Tabel entri 21. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 22 |
table |
Tabel entri 22. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 23 |
table |
Tabel entri 23. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 24 |
table |
Tabel entri 24. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 baris Lua |
Commands
/givelicense/revokelicense
Database tables
jobmanager
config.lua - 2 opsi#
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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan 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 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk bounty jobs. |
↳ bounty |
true |
Sakelar untuk bounty: true = nyala, false = mati (bawaan true). |
↳ bountyhunter |
true |
Sakelar untuk bountyhunter: true = nyala, false = mati (bawaan true). |
↳ bounty_hunter |
true |
Sakelar untuk bounty hunter: true = nyala, false = mati (bawaan true). |
AllowLawJobs |
true |
Allows law jobs (police/sheriff) to access board and post sheriff notices |
MaxSheriffReward |
5000 |
Nilai uang untuk max sheriff reward. Hadiah melewati pengali ekonomi jrs_core. |
BoardBlips |
true |
UI / interaction |
BoardblipName |
"Bounty Board" |
Teks yang dilihat pemain untuk boardblip name. Ubah untuk menerjemahkan atau mengganti nama. |
BoardBlipSprite |
"blip_proc_bounty_poster" |
Pengaturan blip peta atau ikon untuk board blip sprite. |
BoardBlipModifier |
"BLIP_MODIFIER_MP_COLOR_23" |
Pengaturan blip peta atau ikon untuk board blip modifier. |
BoardBlipScale |
0.2 |
Pengaturan blip peta atau ikon untuk board blip scale. |
PromptGroup |
"Bounty Board" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk prompt group. |
PromptName |
"Open" |
Teks yang dilihat pemain untuk prompt name. Ubah untuk menerjemahkan atau mengganti nama. |
BoardOpenControl |
0x760A9C6F |
G |
BoardOpenDistance |
2.0 |
Jarak dalam satuan game untuk board open distance. |
CreateBountyTime |
10 |
minutes |
MaxBountys |
20 |
Batas atas untuk max bountys. |
DistanceSpawnEnemys |
60.0 |
Jarak dalam satuan game untuk 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" |
Pengaturan untuk middle. |
Hard |
"hard" |
Pengaturan untuk hard. |
DifficultyLabels |
table |
Tabel entri difficulty labels. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ easy |
"سهل" |
Pengaturan untuk easy. |
↳ medium |
"متوسط" |
Pengaturan untuk medium. |
↳ hard |
"صعب" |
Pengaturan untuk hard. |
BountyBoards |
table |
Tabel entri bounty boards. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Nilai uang untuk max easy reward. Hadiah melewati pengali ekonomi jrs_core. |
EasyXP |
160 |
Angka untuk easy xp (bawaan 160). |
MinMiddleReward |
3 |
Middle (2-star) |
MaxMiddleReward |
6 |
Nilai uang untuk max middle reward. Hadiah melewati pengali ekonomi jrs_core. |
MiddleXP |
300 |
Angka untuk middle xp (bawaan 300). |
MinHardReward |
6 |
Hard (3-star) |
MaxHardReward |
10 |
Nilai uang untuk max hard reward. Hadiah melewati pengali ekonomi jrs_core. |
HardXP |
460 |
Angka untuk hard xp (bawaan 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 |
Tabel entri easy. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ medium |
table |
Tabel entri medium. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ hard |
table |
Tabel entri hard. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Model |
"CS_strawberryoutlaw_02" |
Model atau entitas game untuk model. |
EasyMissions |
table |
Tabel entri easy missions. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
MiddleMissions |
table |
Tabel entri middle missions. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
HardMissions |
table |
Tabel entri hard missions. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
GroupMaxMembers |
4 |
Total players including the leader |
DE
| Setting | Default | What it does |
|---|---|---|
Text |
table |
UI labels / notifications |
↳ BoardTitle |
"لوحة المطلوبين" |
Teks yang dilihat pemain untuk board title. Ubah untuk menerjemahkan atau mengganti nama. |
↳ BoardSubtitle |
'ملصقات المطلوبين وإعلانات ا... |
Pengaturan untuk board subtitle. |
↳ Available |
"الجوائز المتاحة" |
Pengaturan untuk available. |
↳ Sheriff |
"إعلانات الشريف" |
Pengaturan untuk sheriff. |
↳ Post |
"نشر مطلوب" |
Pengaturan untuk post. |
↳ Refresh |
"تحديث" |
Pengaturan untuk refresh. |
↳ Close |
"إغلاق" |
Pengaturan untuk close. |
↳ Start |
"بدء المهمة" |
Pengaturan untuk start. |
↳ Abort |
"إلغاء المهمة" |
Pengaturan untuk abort. |
↳ Delete |
"حذف" |
Pengaturan untuk delete. |
↳ ConfirmDelete |
"هل أنت متأكد من حذف هذا المطلوب؟" |
Pengaturan untuk confirm delete. |
↳ NoBounties |
"لا توجد مهمات متاحة حالياً." |
Pengaturan untuk no bounties. |
↳ NoSheriffBounties |
"لا توجد إعلانات شريف منشورة." |
Pengaturan untuk no sheriff bounties. |
↳ Firstname |
"الاسم الأول" |
Pengaturan untuk firstname. |
↳ Lastname |
"اسم العائلة" |
Pengaturan untuk lastname. |
↳ Reason |
"السبب" |
Pengaturan untuk reason. |
↳ Reward |
"المكافأة" |
Nilai uang untuk reward. Hadiah melewati pengali ekonomi jrs_core. |
↳ Submit |
"نشر ملصق مطلوب" |
Pengaturan untuk submit. |
↳ Group |
"المجموعة" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group. |
↳ AddMember |
"إضافة عضو" |
Pengaturan untuk add member. |
↳ LeaveGroup |
"مغادرة المجموعة" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk leave group. |
↳ DisbandGroup |
"حل المجموعة" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk disband group. |
MissionBlip |
"Bounty Target" |
Pengaturan blip peta atau ikon untuk mission blip. |
MissionBlipSprite |
"blip_mission_bounty" |
Skull with dollar sign (-907204276) |
MissionBlipModifier |
"BLIP_MODIFIER_MP_COLOR_10" |
Red color modifier |
MissionBlipScale |
0.2 |
Pengaturan blip peta atau ikon untuk mission blip scale. |
MissionAreaZoneRadius |
90.0 |
red zone under the skull blip |
Messages |
table |
Teks yang dilihat pemain untuk messages. Ubah untuk menerjemahkan atau mengganti nama. |
↳ NoPermission |
"ليس لديك صلاحية للقيام بذلك." |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk no permission. |
↳ MissionStarted |
'بدأت المهمة. توجه إلى المنط... |
Pengaturan untuk mission started. |
↳ MissionAlreadyActive |
"لديك مهمة نشطة بالفعل." |
Pengaturan untuk mission already active. |
↳ MissionUnavailable |
"هذا المطلوب لم يعد متاحاً." |
Pengaturan untuk mission unavailable. |
↳ InvalidMissionCompletion |
"تعذر التحقق من إكمال المهمة." |
Pengaturan untuk invalid mission completion. |
↳ MissionAborted |
'تم إلغاء مهمة صيد المطلوبين... |
Pengaturan untuk mission aborted. |
↳ NoActiveMission |
"ليس لديك مهمة صيد مطلوبين نشطة." |
Pengaturan untuk no active mission. |
↳ MissionFailed |
"فشلت المهمة." |
Pengaturan untuk mission failed. |
↳ MissionSuccess |
"اكتملت المهمة بنجاح." |
Pengaturan untuk mission success. |
↳ RemainingEnemies |
"الأعداء المتبقون: " |
Pengaturan untuk remaining enemies. |
↳ EnemiesKilled |
"الأعداء الذين تم القضاء عليهم: " |
Pengaturan untuk enemies killed. |
↳ RewardReceived |
'تم استلام مكافأة صيد المطلو... |
Nilai uang untuk reward received. Hadiah melewati pengali ekonomi jrs_core. |
↳ SheriffBountyPosted |
"تم نشر ملصق الشريف بنجاح." |
Pengaturan untuk sheriff bounty posted. |
↳ SheriffBountyDeleted |
"تم حذف ملصق الشريف." |
Pengaturan untuk sheriff bounty deleted. |
↳ InvalidForm |
'يرجى إكمال جميع الحقول وإدخ... |
Pengaturan untuk invalid form. |
↳ GroupInvalidPlayer |
"يرجى إدخال مُعرّف لاعب صالح." |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group invalid player. |
↳ GroupPlayerNotFound |
"هذا اللاعب غير متصل أو غير جاهز." |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group player not found. |
↳ GroupTargetBusy |
'هذا اللاعب لديه مهمة صيد مط... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group target busy. |
↳ GroupTargetAlreadyGrouped |
'هذا اللاعب موجود بالفعل في ... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group target already grouped. |
↳ GroupLeaderOnly |
'فقط قائد المجموعة يمكنه الق... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group leader only. |
↳ GroupLeaderAbortOnly |
'فقط قائد المجموعة يمكنه إلغ... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group leader abort only. |
↳ GroupLocked |
'لا يمكن تعديل المجموعة أثنا... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group locked. |
↳ GroupFull |
"مجموعة صيد المطلوبين ممتلئة." |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group full. |
↳ BountyCooldownActive |
'يجب عليك الانتظار %s قبل بد... |
Pengaturan waktu untuk bounty cooldown active. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ BountyCooldownStarted |
'بدأت فترة انتظار مهمات صيد ... |
Pengaturan waktu untuk bounty cooldown started. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ MemberCooldownActive |
'عضو الفريق %s لديه فترة انت... |
Pengaturan waktu untuk member cooldown active. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ JobRequired |
'يجب أن تكون صائد جوائز لاست... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job required. |
↳ TargetJobRequired |
"هذا اللاعب ليس صائد جوائز." |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk target job required. |
MissionFailed |
Config.Messages.MissionFaile... |
Legacy bounty aliases kept for older integrations. |
MissionSuccess |
Config.Messages.MissionSucce... |
Pengaturan untuk mission success. |
EnemyRemain |
Config.Messages.RemainingEne... |
Pengaturan untuk enemy remain. |
KiledEnemys |
Config.Messages.EnemiesKille... |
Pengaturan untuk kiled enemys. |
RewardGet |
Config.Messages.RewardReceiv... |
Nilai uang untuk reward get. Hadiah melewati pengali ekonomi 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 baris Lua |
config.lua - 22 opsi#
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 |
Item inventaris yang dipakai other items. Nama harus ada di tabel 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 opsi#
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" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job name. |
MinimumJobGrade |
0 |
Minimum atau level yang dibutuhkan untuk 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" |
Pengaturan untuk xp reason. |
InteractControl |
0x760A9C6F |
G |
DeliverControl |
0xCEFD9220 |
E |
InteractRadius |
2.0 |
Jarak dalam satuan game untuk interact radius. |
ServerStartDistance |
8.0 |
Jarak dalam satuan game untuk server start distance. |
ServerDeliveryDistance |
15.0 |
Jarak dalam satuan game untuk server delivery distance. |
NpcSpawnDistance |
180.0 |
Jarak dalam satuan game untuk npc spawn distance. |
PromptCooldownMs |
1200 |
Pengaturan waktu untuk prompt cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
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 |
Jarak dalam satuan game untuk receiver interact radius. |
ReceiverOffset |
3.25 |
Angka untuk receiver offset (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Enabled |
false |
Menyalakan atau mematikan enabled (bawaan false). |
↳ Username |
"Delivery Job" |
Pengaturan untuk username. |
AllowAllRoutes |
false |
Each location ships one cargo to one fixed destination. |
MinimumDeliverySeconds |
10 |
Minimum atau level yang dibutuhkan untuk minimum delivery seconds. |
RouteExpiryGraceSeconds |
30 |
Angka untuk route expiry grace seconds (bawaan 30). |
CancelIfWagonDestroyed |
true |
Sakelar untuk cancel if wagon destroyed: true = nyala, false = mati (bawaan true). |
WarpPlayerIntoWagon |
false |
Sakelar untuk warp player into wagon: true = nyala, false = mati (bawaan false). |
EnableCargoSpeedLimit |
true |
Enforce each cargo contract's wagon speed. |
EnableLocationBlips |
true |
Map settings. |
LocationBlipHash |
-1989306548 |
Koordinat dunia (x, y, z) untuk location blip hash. |
LocationBlipColor |
"BLIP_MODIFIER_MP_COLOR_32" |
Koordinat dunia (x, y, z) untuk location blip color. |
LocationBlipScale |
0.8 |
Koordinat dunia (x, y, z) untuk location blip scale. |
DestinationBlipHash |
-570710357 |
Pengaturan blip peta atau ikon untuk destination blip hash. |
GpsRouteColor |
"COLOR_YELLOW" |
Pengaturan untuk gps route color. |
RouteDefaults |
table |
Default values used by routes unless overridden in Config.RouteOverrides. |
↳ wagon |
"CART06" |
Pengaturan untuk wagon. |
↳ timer |
1500 |
Angka untuk timer (bawaan 1500). |
↳ xp |
220 |
Angka untuk xp (bawaan 220). |
↳ priceMin |
2.00 |
Nilai uang untuk price min. Hadiah melewati pengali ekonomi jrs_core. |
↳ priceMax |
3.50 |
Nilai uang untuk price max. Hadiah melewati pengali ekonomi 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 |
Tabel entri eggs. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ raspberry |
table |
Tabel entri raspberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ lumber |
table |
Tabel entri lumber. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ nails |
table |
Tabel entri nails. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ caviar |
table |
Tabel entri caviar. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ trader_goods_local |
table |
Tabel entri trader goods local. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ trader_goods_distant |
table |
Tabel entri trader goods distant. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ cigar |
table |
Tabel entri cigar. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ coal_shipment |
table |
Tabel entri coal shipment. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ snake_poison |
table |
Tabel entri snake poison. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ tobacco |
table |
Tabel entri tobacco. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ fish_lure |
table |
Tabel entri fish lure. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ lead_bar |
table |
Tabel entri lead bar. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ruby |
table |
Tabel entri ruby. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Koordinat dunia (x, y, z) untuk locations. |
↳ valentine |
table |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ wallace_station |
table |
Tabel entri wallace station. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ blackwater |
table |
Tabel entri blackwater. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ mcfarlanes_ranch |
table |
Tabel entri mcfarlanes ranch. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ armadillo |
table |
Tabel entri armadillo. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ wapiti_indian |
table |
Tabel entri wapiti indian. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ van_horn |
table |
Tabel entri van horn. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ saint_denis |
table |
Tabel entri saint denis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ rhodes |
table |
Tabel entri rhodes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ emerald_ranch |
table |
Tabel entri emerald ranch. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ annesburg |
table |
Tabel entri annesburg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri valentine:wallace station. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ wallace_station:strawberry |
table |
Tabel entri wallace station:strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ annesburg:valentine |
table |
Tabel entri annesburg:valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ rhodes:emerald_ranch |
table |
Tabel entri rhodes:emerald ranch. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ wapiti_indian:van_horn |
table |
Tabel entri wapiti indian:van horn. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
AdminMenu |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk admin menu. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Command |
"jrsdoctorsadmin" |
Pengaturan untuk command. |
↳ RequireFullAccess |
true |
Requires full access: true = ya, false = tidak (bawaan true). |
↳ AllowWithoutDuty |
true |
Allows without duty: true = ya, false = tidak (bawaan true). |
↳ MaximumGiveAmount |
5 |
Batas atas untuk maximum give amount. |
↳ MaximumInjurySeverity |
100 |
Batas atas untuk maximum injury severity. |
↳ AuditToDatabase |
true |
Sakelar untuk audit to database: true = nyala, false = mati (bawaan true). |
↳ Operations |
table |
Tabel entri operations. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ BodyParts |
table |
Tabel entri body parts. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Treatments |
table |
Tabel entri treatments. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ MetabolismProfiles |
table |
Tabel entri metabolism profiles. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
config/core.lua - 106 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Registry |
true |
Sakelar untuk registry: true = nyala, false = mati (bawaan true). |
RepSystem |
false |
Sakelar untuk rep system: true = nyala, false = mati (bawaan false). |
RepAdded |
10.0 |
Angka untuk rep added (bawaan 10.0). |
MedicMissions |
false |
Sakelar untuk medic missions: true = nyala, false = mati (bawaan false). |
Diseases |
true |
Sakelar untuk diseases: true = nyala, false = mati (bawaan true). |
MedicArchives |
true |
Sakelar untuk medic archives: true = nyala, false = mati (bawaan true). |
ClothingScript |
true |
Sakelar untuk clothing script: true = nyala, false = mati (bawaan true). |
RagDollFalling |
false |
Sakelar untuk rag doll falling: true = nyala, false = mati (bawaan false). |
Key |
0xCEFD9220 |
Tombol atau kontrol untuk key. Kontrol adalah nilai hash dari daftar input game. |
Align |
"right" |
Pengaturan untuk align. |
FireMedic |
"unemployed" |
Pengaturan untuk fire medic. |
JobGrade |
7 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job grade. |
JobGradeBuy |
10 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job grade buy. |
UseCommand |
true |
Menyalakan atau mematikan command (bawaan true). |
WagonInventory |
200 |
Angka untuk wagon inventory (bawaan 200). |
DespawnWagonDist |
200 |
Jarak dalam satuan game untuk despawn wagon dist. |
UsePayment |
true |
Menyalakan atau mematikan payment (bawaan true). |
SynPayment |
false |
Sakelar untuk syn payment: true = nyala, false = mati (bawaan false). |
PaymentTime |
1800 |
Angka untuk payment time (bawaan 1800). |
PaymentGrade |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk payment grade. |
PayAlertAccepted |
1.00 |
Nilai uang untuk pay alert accepted. Hadiah melewati pengali ekonomi jrs_core. |
UseNotify |
true |
Menyalakan atau mematikan notify (bawaan true). |
DelayNotify |
5000 |
Pengaturan waktu untuk delay notify. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
AlertDistance |
2500 |
Jarak dalam satuan game untuk alert distance. |
UseAlertCmd |
true |
Menyalakan atau mematikan alert cmd (bawaan true). |
CmdDelay |
10 |
Pengaturan waktu untuk cmd delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
DeadBodyBlip |
350569997 |
Pengaturan blip peta atau ikon untuk dead body blip. |
DeadPoliceBlip |
-1154452417 |
Pengaturan blip peta atau ikon untuk 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" |
Model atau entitas game untuk bird model. |
ActivateMouse |
0x760A9C6F |
Pengaturan untuk activate mouse. |
BedTime |
10000 |
Angka untuk bed time (bawaan 10000). |
BedScenario |
"PROP_HUMAN_SLEEP_BED_PILLOW... |
Pengaturan animasi untuk bed scenario. |
RegisterPrice |
0.35 |
Nilai uang untuk register price. Hadiah melewati pengali ekonomi jrs_core. |
MedicDistance |
500 |
Jarak dalam satuan game untuk medic distance. |
Distance |
1.5 |
Jarak dalam satuan game untuk distance. |
UseMetadata |
true |
Menyalakan atau mematikan metadata (bawaan true). |
KitsDurability |
100 |
Angka untuk kits durability (bawaan 100). |
RemoveWhenUse |
20 |
Angka untuk remove when use (bawaan 20). |
MedCabItem |
"docbandage" |
Item inventaris yang dipakai med cab item. Nama harus ada di tabel jrs_items. |
BlacklistZones |
table |
Tabel entri blacklist zones. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Version |
"4.4.8-jrs-login-fix" |
Pengaturan untuk version. |
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
Framework |
"jrs" |
jrs_core + jrs_inventory |
Locale |
"ar" |
Bahasa antarmuka skrip ini (en atau ar). |
CoreResource |
"jrs_core" |
Pengaturan untuk core resource. |
InventoryResource |
"jrs_inventory" |
Pengaturan untuk inventory resource. |
REDEMPIRE |
table |
Tabel entri redempire. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ CoreResource |
"jrs_core" |
Pengaturan untuk core resource. |
↳ InventoryResource |
"jrs_inventory" |
Pengaturan untuk inventory resource. |
↳ Currency |
table |
Tabel entri currency. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ RequireCharacterReady |
true |
Requires character ready: true = ya, false = tidak (bawaan true). |
↳ CharacterReadyTimeoutMs |
15000 |
Pengaturan waktu untuk character ready timeout ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ ApiRetryMs |
1000 |
Angka untuk api retry ms (bawaan 1000). |
↳ ApiRetryCount |
20 |
Angka untuk api retry count (bawaan 20). |
↳ StorageRegisterDelayMs |
175 |
Pengaturan waktu untuk storage register delay ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
ResourceName |
"jrs_doctors" |
Teks yang dilihat pemain untuk resource name. Ubah untuk menerjemahkan atau mengganti nama. |
LegacyMigration |
table |
Tabel entri legacy migration. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ CopyJrsDoctorTables |
true |
Sakelar untuk copy jrs doctor tables: true = nyala, false = mati (bawaan 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" |
Teks yang dilihat pemain untuk script name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ VersionName |
'DOCTOR TRANSPORT & STORAGE ... |
Teks yang dilihat pemain untuk version name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ VersionType |
"SECURE UNIFIED PRODUCTION UI" |
Pengaturan untuk version type. |
↳ ReleaseChannel |
"PRODUCTION" |
Pengaturan untuk release channel. |
↳ FrameworkLabel |
"REDEMPIRE + INVENTORY" |
Teks yang dilihat pemain untuk framework label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ ShowStartupBanner |
true |
Shows startup banner: true = ya, false = tidak (bawaan true). |
↳ ReadyDelayMs |
1500 |
Pengaturan waktu untuk ready delay ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Debugging |
table |
Structured diagnostics. Keep Enabled=true while testing, then switch it off in production. |
↳ Enabled |
false |
Menyalakan atau mematikan enabled (bawaan false). |
↳ Level |
"info" |
trace | debug | info | warning | error |
↳ StartupDetails |
false |
Sakelar untuk startup details: true = nyala, false = mati (bawaan false). |
↳ PrintFramework |
true |
Sakelar untuk print framework: true = nyala, false = mati (bawaan true). |
↳ PrintDatabase |
true |
Sakelar untuk print database: true = nyala, false = mati (bawaan true). |
↳ PrintInventory |
false |
Sakelar untuk print inventory: true = nyala, false = mati (bawaan false). |
↳ PrintRequests |
false |
Sakelar untuk print requests: true = nyala, false = mati (bawaan false). |
↳ PrintResponses |
false |
Sakelar untuk print responses: true = nyala, false = mati (bawaan false). |
↳ PrintSecurity |
false |
Sakelar untuk print security: true = nyala, false = mati (bawaan false). |
↳ PrintPlayerAccess |
false |
Sakelar untuk print player access: true = nyala, false = mati (bawaan false). |
↳ PrintNui |
false |
Sakelar untuk print nui: true = nyala, false = mati (bawaan false). |
↳ PrintEntities |
false |
Sakelar untuk print entities: true = nyala, false = mati (bawaan false). |
↳ PrintHospitals |
false |
Sakelar untuk print hospitals: true = nyala, false = mati (bawaan false). |
↳ PrintShops |
false |
Sakelar untuk print shops: true = nyala, false = mati (bawaan false). |
↳ PrintJobs |
false |
Sakelar untuk print jobs: true = nyala, false = mati (bawaan false). |
↳ PrintCoordinates |
false |
Sakelar untuk print coordinates: true = nyala, false = mati (bawaan false). |
↳ RequestPayloads |
false |
enable only when you need full request payloads |
↳ Command |
"jrsdoctorsdebug" |
Pengaturan untuk command. |
↳ StatusCommand |
"jrsdoctorsstatus" |
Pengaturan untuk status command. |
↳ ClientCommand |
"jrsdoctorsclientdebug" |
Pengaturan untuk client command. |
↳ Categories |
table |
Tabel entri categories. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Access |
table |
Tabel entri access. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ AcePermission |
"jrs_doctors.full_access" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk ace permission. |
↳ FullAccessGrade |
99 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk full access grade. |
↳ FullAccessIdentifiers |
table |
Tabel entri full access identifiers. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ BypassJobAndGrade |
true |
Full-access identifiers are treated as doctors and managers everywhere in this resource. |
↳ BypassCityJobRestriction |
true |
Sakelar untuk bypass city job restriction: true = nyala, false = mati (bawaan true). |
↳ BypassDutyRestriction |
false |
Full access still bypasses job/grade/location checks, but medical actions require Go On Duty. |
↳ BypassManagementGrade |
true |
Sakelar untuk bypass management grade: true = nyala, false = mati (bawaan true). |
↳ BypassMenuLocation |
true |
Sakelar untuk bypass menu location: true = nyala, false = mati (bawaan true). |
↳ BypassCabinetLocation |
true |
Sakelar untuk bypass cabinet location: true = nyala, false = mati (bawaan 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 |
Tabel entri payment bypass blocked reasons. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 opsi#
DEATH SCREEN, TEST SYSTEM AND COMPATIBILITY
| Setting | Default | What it does |
|---|---|---|
Billing |
table |
Tabel entri billing. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ PayDoctorPercentage |
100 |
Nilai uang untuk pay doctor percentage. Hadiah melewati pengali ekonomi jrs_core. |
↳ Currency |
"cash" |
Pengaturan untuk currency. |
↳ InvoiceTimeoutSeconds |
30 |
Pengaturan waktu untuk invoice timeout seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ TargetByServerId |
true |
Billing UI accepts a typed player Server ID. |
↳ RequireNearbyTarget |
false |
Set true if invoices should only work on nearby players. |
Animations |
table |
Tabel entri animations. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Revive |
table |
Tabel entri revive. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Treat |
table |
Tabel entri treat. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ SelfBandage |
table |
Tabel entri self bandage. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ DoctorScenario |
"WORLD_HUMAN_WRITE_NOTEBOOK" |
Pengaturan animasi untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ ObserverDistance |
32.0 |
Jarak dalam satuan game untuk observer distance. |
↳ FreezeConsciousPatient |
true |
Sakelar untuk freeze conscious patient: true = nyala, false = mati (bawaan true). |
↳ FaceDoctorBeforeTreatment |
true |
Sakelar untuk face doctor before treatment: true = nyala, false = mati (bawaan true). |
↳ FaceDurationMs |
550 |
Pengaturan waktu untuk face duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ SettleMs |
220 |
Angka untuk settle ms (bawaan 220). |
↳ AutoStepDoctorBesidePatient |
true |
Automatically handles step doctor beside patient: true = ya, false = tidak (bawaan true). |
↳ DoctorSideOffset |
0.82 |
Angka untuk doctor side offset (bawaan 0.82). |
↳ DoctorForwardOffset |
0.04 |
Angka untuk doctor forward offset (bawaan 0.04). |
↳ DoctorApproachDistance |
1.55 |
Jarak dalam satuan game untuk doctor approach distance. |
↳ DoctorApproachTolerance |
0.42 |
Angka untuk doctor approach tolerance (bawaan 0.42). |
↳ DoctorApproachTimeoutMs |
1800 |
Pengaturan waktu untuk doctor approach timeout ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ DoctorApproachSpeed |
0.85 |
Angka untuk doctor approach speed (bawaan 0.85). |
↳ KeepCriticalInjuredPose |
true |
Sakelar untuk keep critical injured pose: true = nyala, false = mati (bawaan true). |
↳ HideObserverUi |
true |
Hides observer ui: true = ya, false = tidak (bawaan true). |
↳ NetworkNpcDoctor |
true |
Sakelar untuk network npc doctor: true = nyala, false = mati (bawaan true). |
↳ NetworkHospitalDoctor |
true |
Sakelar untuk network hospital doctor: true = nyala, false = mati (bawaan true). |
↳ PatientAnimation |
table |
Pengaturan animasi untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ DetectionConfirmMs |
900 |
Angka untuk detection confirm ms (bawaan 900). |
↳ DeathTimeSeconds |
500 |
Angka untuk death time seconds (bawaan 500). |
↳ HospitalButtonDelaySeconds |
60 |
Pengaturan waktu untuk hospital button delay seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AutoHospitalAtTimerEnd |
false |
Automatically handles hospital at timer end: true = ya, false = tidak (bawaan false). |
↳ DisableVoice |
true |
Turns off voice: true = ya, false = tidak (bawaan true). |
↳ DisableChat |
false |
Turns off chat: true = ya, false = tidak (bawaan false). |
↳ Compatibility |
table |
Optional custom chat resource integration. Leave empty for framework-neutral behavior. |
↳ Hospital |
table |
Tabel entri hospital. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Emergency |
table |
Tabel entri emergency. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ HeartRate |
table |
Tingkat atau pengali untuk heart rate. |
↳ HeartbeatTiming |
table |
Tabel entri heartbeat timing. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Camera |
table |
Tabel entri camera. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ UI |
table |
Tabel entri ui. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Text |
table |
Teks yang dilihat pemain untuk text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ DeathReasons |
table |
Tabel entri death reasons. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Security |
table |
Tabel entri security. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Menyalakan atau mematikan enabled (bawaan false). |
↳ Command |
"jrsdoctorstests" |
Pengaturan untuk command. |
↳ RequireDuty |
false |
the Steam allowlist has direct test access without going on duty |
↳ CooldownMs |
900 |
Pengaturan waktu untuk cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AllowStateTests |
true |
Allows state tests: true = ya, false = tidak (bawaan true). |
↳ AllowDiseaseTests |
true |
Allows disease tests: true = ya, false = tidak (bawaan true). |
↳ AllowHospitalSequence |
true |
Allows hospital sequence: true = ya, false = tidak (bawaan true). |
↳ AllowDeathScreenTests |
true |
Allows death screen tests: true = ya, false = tidak (bawaan true). |
↳ AllowEntityTests |
true |
Allows entity tests: true = ya, false = tidak (bawaan true). |
↳ TestDurationMs |
3500 |
Pengaturan waktu untuk test duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AutoCleanupSeconds |
45 |
Angka untuk auto cleanup seconds (bawaan 45). |
↳ DoctorModel |
"cs_sddoctor_01" |
Model atau entitas game untuk doctor model. |
↳ PatientModel |
"u_m_m_valdoctor_01" |
Model atau entitas game untuk patient model. |
↳ BagModel |
"p_bag_leather_doctor" |
Model atau entitas game untuk bag model. |
↳ WagonModel |
"wagondoc01x" |
Model atau entitas game untuk wagon model. |
↳ MountModel |
"A_C_Horse_Arabian_White" |
Model atau entitas game untuk 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" |
Teks yang dilihat pemain untuk dispatch patient name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ DispatchPatientReason |
'Training patient is unconsc... |
Pengaturan untuk dispatch patient reason. |
↳ DispatchPatientPersistentBlip |
true |
Sakelar untuk dispatch patient persistent blip: true = nyala, false = mati (bawaan true). |
↳ DispatchPatientSpawnDistance |
3.0 |
Jarak dalam satuan game untuk dispatch patient spawn distance. |
↳ FullSuiteStepDelayMs |
450 |
Pengaturan waktu untuk full suite step delay ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
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 |
Menyalakan atau mematikan enabled (bawaan false). |
↳ Command |
"jrstestpatient" |
Pengaturan untuk command. |
↳ RemoveCommand |
"jrsremovetestpatient" |
Pengaturan untuk remove command. |
↳ Name |
"Test Patient" |
Teks yang dilihat pemain untuk name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ DisplayId |
"TEST" |
Pengaturan untuk display id. |
↳ Model |
"u_m_m_valdoctor_01" |
Model atau entitas game untuk model. |
↳ SpawnDistance |
2.25 |
Jarak dalam satuan game untuk spawn distance. |
↳ InteractionDistance |
3.0 |
Jarak dalam satuan game untuk interaction distance. |
↳ InteractControl |
Config.Keys.Interact |
Tombol atau kontrol untuk interact control. Kontrol adalah nilai hash dari daftar input game. |
↳ PromptText |
"EXAMINE TEST PATIENT" |
Teks yang dilihat pemain untuk prompt text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ RequireDuty |
true |
Requires duty: true = ya, false = tidak (bawaan true). |
↳ MaximumHealth |
200 |
Batas atas untuk maximum health. |
↳ InjuredHealth |
95 |
Angka untuk injured health (bawaan 95). |
↳ UnconsciousHealth |
10 |
Angka untuk unconscious health (bawaan 10). |
↳ DurationMultiplier |
0.45 |
Pengaturan waktu untuk duration multiplier. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AutoCleanupSeconds |
0 |
0 keeps the patient until cleanup, resource stop, or /jrsremovetestpatient. |
Validation |
table |
Tabel entri validation. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ PrintSummary |
true |
Sakelar untuk print summary: true = nyala, false = mati (bawaan true). |
↳ FailOnDuplicateIds |
true |
Sakelar untuk fail on duplicate ids: true = nyala, false = mati (bawaan true). |
↳ WarnOnZeroCoordinates |
true |
Sakelar untuk warn on zero coordinates: true = nyala, false = mati (bawaan true). |
Compatibility |
table |
Tabel entri compatibility. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ JRSReviveClientEvent |
"" |
optional; generic RedM revive works without this |
↳ CustomReviveClientEvent |
"" |
Pengaturan untuk custom revive client event. |
↳ CustomHealClientEvent |
"" |
Pengaturan untuk custom heal client event. |
↳ CustomNotifyClientEvent |
"" |
Teks yang dilihat pemain untuk custom notify client event. Ubah untuk menerjemahkan atau mengganti nama. |
↳ CustomSocietyDepositServerEvent |
"" |
Nilai uang untuk custom society deposit server event. Hadiah melewati pengali ekonomi jrs_core. |
↳ CustomSetJobServerEvent |
"" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk custom set job server event. |
↳ UseOneSyncDistanceValidation |
true |
Menyalakan atau mematikan one sync distance validation (bawaan 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 |
Tabel entri external death events. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ExternalReviveEvents |
table |
Tabel entri external revive events. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ExternalHealEvents |
table |
Tabel entri external heal events. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Command |
"jrsdoctorradial" |
Pengaturan untuk command. |
↳ Keybind |
0x3C0A40F2 |
F6 |
↳ KeybindLabel |
"F6" |
Teks yang dilihat pemain untuk keybind label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ UseWhilstWalking |
false |
NUI owns input while open; player/camera controls stay locked. |
↳ MedicalOnly |
true |
Sakelar untuk medical only: true = nyala, false = mati (bawaan true). |
↳ AllowExternalOptions |
false |
Prevent other resources from adding non-medical entries. |
↳ RequireDuty |
true |
The complete radial is restricted to on-duty doctors. |
↳ Size |
440 |
Angka untuk size (bawaan 440). |
↳ CloseDelayMs |
120 |
Pengaturan waktu untuk close delay ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ HospitalLookupDistance |
14.0 |
Jarak dalam satuan game untuk hospital lookup distance. |
↳ DisableWorldTransportActions |
true |
Turns off world transport actions: true = ya, false = tidak (bawaan true). |
config/diseases.lua - 2 opsi#
General
| Setting | Default | What it does |
|---|---|---|
DiseaseSystem |
Config.DiseaseSystem or {} |
Pengaturan untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
DownedCrawl |
table |
Tabel entri downed crawl. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Commands |
table |
Tabel entri commands. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ AutoDowned |
false |
Automatically handles downed: true = ya, false = tidak (bawaan false). |
↳ HealthThreshold |
50 |
Angka untuk health threshold (bawaan 50). |
↳ MinimumHealth |
50 |
Minimum atau level yang dibutuhkan untuk minimum health. |
↳ InvincibleWhileDowned |
true |
Sakelar untuk invincible while downed: true = nyala, false = mati (bawaan true). |
↳ Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
↳ Animation |
table |
Pengaturan animasi untuk animation. |
↳ Controls |
table |
Tabel entri controls. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
config/hospitals.lua - 10 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Doctors |
table |
Tabel entri doctors. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 1 |
table |
Tabel entri 1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 2 |
table |
Tabel entri 2. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 3 |
table |
Tabel entri 3. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 4 |
table |
Tabel entri 4. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 5 |
table |
Tabel entri 5. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 6 |
table |
Tabel entri 6. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 7 |
table |
Tabel entri 7. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 8 |
table |
Tabel entri 8. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 9 |
table |
Tabel entri 9. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
REDEMPIRE Farming - CONFIG SECTION 1/4 : GENERAL / GAMEPLAY
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan 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... |
Pengaturan untuk 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 = ya, false = tidak (bawaan false). |
↳ AllowClientPlacementFallback |
false |
Allows client placement fallback: true = ya, false = tidak (bawaan false). |
↳ PlacementDistance |
10.0 |
Jarak dalam satuan game untuk placement distance. |
↳ MinimumActionFraction |
0.90 |
Minimum atau level yang dibutuhkan untuk minimum action fraction. |
↳ CallbackRateLimitMs |
75 |
Batas atas untuk callback rate limit ms. |
↳ ActionRateLimitMs |
100 |
Batas atas untuk action rate limit ms. |
↳ PlacementRateLimitMs |
1200 |
Batas atas untuk placement rate limit ms. |
↳ PlayerDataRateLimitMs |
1000 |
Batas atas untuk player data rate limit ms. |
↳ WagonRateLimitMs |
100 |
Batas atas untuk wagon rate limit ms. |
↳ PumpRateLimitMs |
500 |
Batas atas untuk pump rate limit ms. |
↳ SyncRateLimitMs |
1000 |
Batas atas untuk sync rate limit ms. |
↳ MaxCallbackQuantity |
100 |
Batas atas untuk 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 |
Jarak dalam satuan game untuk 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 |
Menyalakan atau mematikan enabled (bawaan false). |
↳ MouseFocus |
true |
Sakelar untuk mouse focus: true = nyala, false = mati (bawaan 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 = ya, false = tidak (bawaan 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 |
Sakelar untuk only zones: true = nyala, false = mati (bawaan false). |
↳ BlacklistPlants |
table |
Tabel entri blacklist plants. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ExclusiveSeeds |
table |
Used only when Leave empty to allow every configured seed inside the zones. |
↳ Zones |
table |
Tabel entri zones. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Until at least one zone exists and claims weed_seed, marijuana
| Setting | Default | What it does |
|---|---|---|
MaximumOwnedPlants |
table |
Batas atas untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ FailClosed |
true |
Sakelar untuk fail closed: true = nyala, false = mati (bawaan true). |
↳ ResourceName |
"jrs_housing" |
Teks yang dilihat pemain untuk resource name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ MaximumPlantsBonus |
20 |
Nilai uang untuk maximum plants bonus. Hadiah melewati pengali ekonomi jrs_core. |
↳ JobMaximumPlantsBonus |
table |
Nilai uang untuk job maximum plants bonus. Hadiah melewati pengali ekonomi jrs_core. |
↳ PreventPlantingOnOtherOwnedLands |
true |
Sakelar untuk prevent planting on other owned lands: true = nyala, false = mati (bawaan true). |
↳ OtherLandPlantingMessage |
'Farming: this land is priva... |
Teks yang dilihat pemain untuk other land planting message. Ubah untuk menerjemahkan atau mengganti nama. |
↳ ShowOwnedLandStatusInMenu |
true |
Shows owned land status in menu: true = ya, false = tidak (bawaan true). |
↳ OwnedLandStatusTitle |
"PRIVATE LAND" |
Teks yang dilihat pemain untuk owned land status title. Ubah untuk menerjemahkan atau mengganti nama. |
↳ OwnedLandStatusLabel |
"YOU ARE INSIDE YOUR PROPERTY" |
Teks yang dilihat pemain untuk owned land status label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ HarvestMultiplier |
1.25 |
Tingkat atau pengali untuk harvest multiplier. |
↳ JobHarvestMultiplier |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job harvest multiplier. |
↳ BoundaryPadding |
0.10 |
Angka untuk boundary padding (bawaan 0.10). |
↳ Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
OthersInteraction |
true |
Set to false if you don't want the strangers to interact on owned seeds - plants. |
CropCare |
table |
Tabel entri crop care. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Weeds |
table |
Tabel entri weeds. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri harvest quality. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ DryGrowing |
table |
Tabel entri dry growing. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri illegal crop detection. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Jobs |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk jobs. |
↳ Plants |
table |
Tabel entri plants. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Distance |
50.0 |
Jarak dalam satuan game untuk distance. |
↳ CheckIntervalMs |
3000 |
Pengaturan waktu untuk check interval ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ NotificationCooldownMs |
30000 |
Pengaturan waktu untuk notification cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ BlipDurationMs |
30000 |
Pengaturan waktu untuk blip duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
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 |
Pengaturan blip peta atau ikon untuk 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 |
Tabel entri safezone integration. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ ResourceName |
"jrs_safezone" |
Teks yang dilihat pemain untuk resource name. Ubah untuk menerjemahkan atau mengganti nama. |
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ ResourceName |
"weathersync" |
Teks yang dilihat pemain untuk resource name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ UpdateTimer |
1 |
Angka untuk update timer (bawaan 1). |
↳ RefillPlantWaterSource |
true |
Sakelar untuk refill plant water source: true = nyala, false = mati (bawaan true). |
↳ RainWaterValue |
1000 |
Angka untuk rain water value (bawaan 1000). |
↳ DamagePlantFertilizerValue |
0 |
Angka untuk damage plant fertilizer value (bawaan 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 |
Tabel entri plant zone. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
false |
Menyalakan atau mematikan enabled (bawaan false). |
↳ DrawDistance |
8.0 |
Jarak dalam satuan game untuk draw distance. |
↳ Radius |
1.15 |
Jarak dalam satuan game untuk radius. |
↳ Segments |
56 |
Angka untuk segments (bawaan 56). |
↳ LineWidth |
4 |
Angka untuk line width (bawaan 4). |
↳ ZOffset |
0.12 |
Angka untuk z offset (bawaan 0.12). |
↳ CenterCrossSize |
0.16 |
Angka untuk center cross size (bawaan 0.16). |
↳ Color |
table |
Tabel entri color. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ShadowColor |
table |
Tabel entri shadow color. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
DirectPlanting |
table |
When a seed is used, it is planted automatically in front of the player. |
↳ ForwardDistance |
1.35 |
Jarak dalam satuan game untuk forward distance. |
↳ GroundProbeHeight |
5.0 |
Angka untuk ground probe height (bawaan 5.0). |
↳ GroundProbeDepth |
15.0 |
Angka untuk ground probe depth (bawaan 15.0). |
Seamlessly connected to jrs_core character / job leveling.
| Setting | Default | What it does |
|---|---|---|
Leveling |
table |
Tabel entri leveling. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ MaxLevel |
100 |
Batas atas untuk 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 opsi#
01. KEYS, PRICES AND DISTANCES
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan 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 |
Angka untuk countdown swap second (bawaan 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 |
Tabel entri tutorial. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri hud. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 |
Tabel entri browser. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Jarak dalam satuan game untuk 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 |
Tabel entri fight arena. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
07. XP (jrs_core per-job leveling)
| Setting | Default | What it does |
|---|---|---|
XP |
table |
Tabel entri xp. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 |
Tabel entri security. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 = ya, false = tidak (bawaan true). |
DatabaseTable |
"jrs_fight_rankings" |
Pengaturan untuk database table. |
ScoreboardLimit |
50 |
Batas atas untuk scoreboard limit. |
09. TEXTS
| Setting | Default | What it does |
|---|---|---|
Text |
table |
Teks yang dilihat pemain untuk text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Title |
"Fight Club" |
Teks yang dilihat pemain untuk title. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Training |
"Training" |
Pengaturan untuk training. |
↳ FightZone |
"Fight Zone" |
Pengaturan untuk fight zone. |
↳ Scoreboard |
"Scoreboard" |
Pengaturan untuk scoreboard. |
↳ StartFight |
"Start Fight" |
Pengaturan untuk start fight. |
↳ ChallengeHeader |
"Challenge a Player" |
Challenge browser |
↳ ChallengeRow |
'Pick an opponent from the l... |
Pengaturan untuk challenge row. |
↳ ChallengeSearch |
"Search by name or id..." |
Pengaturan untuk challenge search. |
↳ ChallengeManual |
"Player ID" |
Pengaturan untuk challenge manual. |
↳ ChallengeSubmit |
"Send Challenge" |
Pengaturan untuk challenge submit. |
↳ ChallengeCancel |
"Cancel" |
Pengaturan untuk challenge cancel. |
↳ ChallengeTabList |
"Available Players" |
Pengaturan untuk challenge tab list. |
↳ ChallengeTabManual |
"Manual Entry" |
Pengaturan untuk challenge tab manual. |
↳ ChallengeEmpty |
'No opponents available righ... |
Pengaturan untuk challenge empty. |
↳ ChallengeRecord |
"Record" |
Pengaturan untuk challenge record. |
↳ WrongInputs |
"Invalid input!" |
Pengaturan untuk wrong inputs. |
↳ ChallengeIncoming |
"FIGHT REQUEST" |
Incoming challenge card |
↳ ChallengeArenaLine |
'Someone wants to settle thi... |
Pengaturan untuk challenge arena line. |
↳ ChallengeSuffix |
" has challenged you to a fight!" |
Pengaturan untuk challenge suffix. |
↳ Accept |
"Accept" |
Pengaturan untuk accept. |
↳ Decline |
"Decline" |
Pengaturan untuk decline. |
↳ TrainingStarted |
'Training has started! Beat ... |
Training |
↳ TooFar |
'You went too far from the t... |
Pengaturan untuk too far. |
↳ TrainingLost |
'You were knocked out! Train... |
Pengaturan untuk training lost. |
↳ TooFarOrganizer |
'Stand next to the fight org... |
Pengaturan untuk too far organizer. |
↳ UnrankedResult |
'Friendly fight - not ranked... |
Pengaturan untuk unranked result. |
↳ FinishedTraining |
'You finished the training s... |
Pengaturan untuk finished training. |
↳ AlreadySpawned |
'You already started a train... |
Pengaturan untuk already spawned. |
↳ NoMoney |
'You do not have enough mone... |
Nilai uang untuk no money. Hadiah melewati pengali ekonomi jrs_core. |
↳ TrainingUnavailable |
'No sparring partner could b... |
Pengaturan untuk training unavailable. |
↳ GoToFightZone |
'Head to the centre of the f... |
Duel |
↳ RequestSent |
'Challenge sent, waiting for... |
Pengaturan untuk request sent. |
↳ RequestExpired |
"The challenge request expired." |
Pengaturan untuk request expired. |
↳ NotOnline |
"That player is not online!" |
Pengaturan untuk not online. |
↳ RivalInDuel |
'That player is busy with a ... |
Pengaturan untuk rival in duel. |
↳ YouInDuel |
'You are already in a fight,... |
Pengaturan untuk you in duel. |
↳ DuelDeclined1 |
"Your challenge was declined!" |
Pengaturan untuk duel declined1. |
↳ DuelDeclined2 |
"You declined that fight!" |
Pengaturan untuk duel declined2. |
↳ DuelCancelled |
"The fight was cancelled." |
Pengaturan untuk duel cancelled. |
↳ PrepareToFight |
"Prepare to fight!" |
Pengaturan untuk prepare to fight. |
↳ BeReady |
"Be ready" |
Pengaturan untuk be ready. |
↳ Fight |
"FIGHT" |
Pengaturan untuk fight. |
↳ PrepareLine |
'The best fighter wins. Are ... |
Pengaturan untuk prepare line. |
↳ YouWin |
'You won the fight! You are ... |
Pengaturan untuk you win. |
↳ YouLost |
'You lost this one, but do n... |
Pengaturan untuk you lost. |
↳ VersusLabel |
"VS" |
Teks yang dilihat pemain untuk versus label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ ResultWin |
"VICTORY" |
Result banner |
↳ ResultLose |
"DEFEAT" |
Pengaturan untuk result lose. |
↳ ResultStreak |
"Win Streak" |
Pengaturan untuk result streak. |
↳ ResultRecord |
"Record" |
Pengaturan untuk result record. |
↳ HudTraining |
"TRAINING" |
Live HUD |
↳ HudOpponents |
"Opponents left" |
Pengaturan untuk hud opponents. |
↳ HudDuel |
"DUEL" |
Pengaturan untuk hud duel. |
↳ HudYou |
"You" |
Pengaturan untuk hud you. |
↳ ScoreSubtitle |
'Standings of every contende... |
Scoreboard |
↳ ScoreChampion |
"STRONGEST FIGHTER" |
Pengaturan untuk score champion. |
↳ ScoreChampionNone |
'No champion yet - the title... |
Pengaturan untuk score champion none. |
↳ ScoreContenders |
"Contenders" |
Pengaturan untuk score contenders. |
↳ ScoreBest |
"Best streak" |
Pengaturan untuk score best. |
↳ ScoreRank |
"#" |
Pengaturan untuk score rank. |
↳ ScoreFighter |
"Fighter" |
Pengaturan untuk score fighter. |
↳ ScoreWins |
"Wins" |
Pengaturan untuk score wins. |
↳ ScoreLosses |
"Losses" |
Pengaturan untuk score losses. |
↳ ScoreRatio |
"Ratio" |
Pengaturan untuk score ratio. |
↳ ScoreStreak |
"Streak" |
Pengaturan untuk score streak. |
↳ ScoreYou |
"You" |
Pengaturan untuk score you. |
↳ ScoreSearch |
"Search for a fighter..." |
Pengaturan untuk score search. |
↳ ScoreUnranked |
'You have not recorded a fig... |
Pengaturan untuk score unranked. |
↳ VictoryLabel |
" - Wins: " |
Teks yang dilihat pemain untuk victory label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ DefeatLabel |
" - Losses: " |
Teks yang dilihat pemain untuk defeat label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ NoRankings |
"No results recorded yet." |
Pengaturan untuk no rankings. |
↳ TutorialTitle |
table |
Training tutorial |
↳ Tutorial |
table |
Tabel entri tutorial. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
(Historical note: the old jrs_notify export ended with Citizen.Wait(duration)
| Setting | Default | What it does |
|---|---|---|
Notifications |
table |
Tabel entri notifications. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Pengaturan waktu untuk lesson duration. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
Difficulty |
1250 |
If you use -1 for testing the fish is very easy to catch -- |
ReelSpeed |
0.0125 |
Angka untuk reel speed (bawaan 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 |
Pengaturan waktu untuk struggle duration min sec. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ StruggleDurationMaxSec |
5 |
Pengaturan waktu untuk struggle duration max sec. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ CalmDurationMinSec |
6 |
Pengaturan waktu untuk calm duration min sec. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ CalmDurationMaxSec |
10 |
Pengaturan waktu untuk calm duration max sec. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ FishPullForce |
0.8 |
Angka untuk fish pull force (bawaan 0.8). |
↳ MinimumPullForce |
0.8 |
Minimum atau level yang dibutuhkan untuk minimum pull force. |
↳ LineBreakForce |
1.4 |
Angka untuk line break force (bawaan 1.4). |
↳ ForceStep |
0.005 |
Angka untuk force step (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan 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" |
Tombol atau kontrol untuk key label. Kontrol adalah nilai hash dari daftar input game. |
↳ Title |
"Secure the Hook" |
Teks yang dilihat pemain untuk title. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Instruction |
"Press R when the needle is ... |
Pengaturan untuk instruction. |
FishingWaitUI |
table |
Circular indicator displayed while waiting for a fish to bite. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Label |
"Waiting for a fish..." |
Teks yang dilihat pemain untuk label. Ubah untuk menerjemahkan atau mengganti nama. |
FishCatchUI |
table |
Tabel entri fish catch ui. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Title |
"Fish Caught" |
Teks yang dilihat pemain untuk title. Ubah untuk menerjemahkan atau mengganti nama. |
↳ PromptTitle |
"FISH CAUGHT" |
Teks yang dilihat pemain untuk prompt title. Ubah untuk menerjemahkan atau mengganti nama. |
↳ KeepLabel |
"Keep Fish" |
Teks yang dilihat pemain untuk keep label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ ThrowLabel |
"Throw Fish" |
Teks yang dilihat pemain untuk throw label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ DefaultImage |
"assets/fish_bw.png" |
Pengaturan untuk 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 |
Sakelar untuk validate on bait consume: true = nyala, false = mati (bawaan true). |
↳ ValidateOnFishReward |
true |
Sakelar untuk validate on fish reward: true = nyala, false = mati (bawaan true). |
↳ Enabled |
false |
Menyalakan atau mematikan enabled (bawaan false). |
↳ Url |
"" |
Pengaturan untuk url. |
↳ Color |
10038562 |
Angka untuk color (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Default |
15 |
Used only when a fish model is missing from Rewards. |
↳ NotifyPlayer |
true |
Sakelar untuk notify player: true = nyala, false = mati (bawaan true). |
↳ Notification |
"+%s Fishing XP" |
Teks yang dilihat pemain untuk notification. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Rewards |
table |
Tabel entri rewards. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
FishingCash |
table |
Nilai uang untuk fishing cash. Hadiah melewati pengali ekonomi jrs_core. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Default |
2.50 |
Angka untuk default (bawaan 2.50). |
↳ Rewards |
table |
Tabel entri rewards. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri baits per fish. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_baitBread01x |
table |
Tabel entri p bait bread01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_baitCorn01x |
table |
Tabel entri p bait corn01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_baitCheese01x |
table |
Tabel entri p bait cheese01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_baitCricket01x |
table |
Tabel entri p bait cricket01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_baitWorm01x |
table |
Tabel entri p bait worm01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_crawdad01x |
table |
Tabel entri p crawdad01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_finishedragonfly01x |
table |
Tabel entri p finishedragonfly01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_FinisdFishlure01x |
table |
Tabel entri p finisd fishlure01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_finishdcrawd01x |
table |
Tabel entri p finishdcrawd01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_finishedragonflylegendary01x |
table |
Tabel entri p finishedragonflylegendary01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_finisdfishlurelegendary01x |
table |
Tabel entri p finisdfishlurelegendary01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_finishdcrawdlegendary01x |
table |
Tabel entri p finishdcrawdlegendary01x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_lgoc_spinner_v4 |
table |
Tabel entri p lgoc spinner v4. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ p_lgoc_spinner_v6 |
table |
Tabel entri p lgoc spinner v6. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
FishData |
table |
Tabel entri fish data. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHBLUEGIL_01_MS |
table |
Tabel entri a c fishbluegil 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHBLUEGIL_01_SM |
table |
Tabel entri a c fishbluegil 01 sm. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHBULLHEADCAT_01_MS |
table |
Tabel entri a c fishbullheadcat 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHBULLHEADCAT_01_SM |
table |
Tabel entri a c fishbullheadcat 01 sm. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHCHAINPICKEREL_01_MS |
table |
Tabel entri a c fishchainpickerel 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHCHAINPICKEREL_01_SM |
table |
Tabel entri a c fishchainpickerel 01 sm. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHCHANNELCATFISH_01_LG |
table |
Tabel entri a c fishchannelcatfish 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHCHANNELCATFISH_01_XL |
table |
Tabel entri a c fishchannelcatfish 01 xl. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHLAKESTURGEON_01_LG |
table |
Tabel entri a c fishlakesturgeon 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHLARGEMOUTHBASS_01_LG |
table |
Tabel entri a c fishlargemouthbass 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHLARGEMOUTHBASS_01_MS |
table |
Tabel entri a c fishlargemouthbass 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHLONGNOSEGAR_01_LG |
table |
Tabel entri a c fishlongnosegar 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHMUSKIE_01_LG |
table |
Tabel entri a c fishmuskie 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHNORTHERNPIKE_01_LG |
table |
Tabel entri a c fishnorthernpike 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHPERCH_01_MS |
table |
Tabel entri a c fishperch 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHPERCH_01_SM |
table |
Tabel entri a c fishperch 01 sm. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHRAINBOWTROUT_01_LG |
table |
Tabel entri a c fishrainbowtrout 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHRAINBOWTROUT_01_MS |
table |
Tabel entri a c fishrainbowtrout 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHREDFINPICKEREL_01_MS |
table |
Tabel entri a c fishredfinpickerel 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHREDFINPICKEREL_01_SM |
table |
Tabel entri a c fishredfinpickerel 01 sm. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHROCKBASS_01_MS |
table |
Tabel entri a c fishrockbass 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHROCKBASS_01_SM |
table |
Tabel entri a c fishrockbass 01 sm. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHSALMONSOCKEYE_01_LG |
table |
Tabel entri a c fishsalmonsockeye 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHSALMONSOCKEYE_01_ML |
table |
Tabel entri a c fishsalmonsockeye 01 ml. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHSALMONSOCKEYE_01_MS |
table |
Tabel entri a c fishsalmonsockeye 01 ms. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ A_C_FISHSMALLMOUTHBASS_01_LG |
table |
Tabel entri a c fishsmallmouthbass 01 lg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
Locale |
"ar" |
Bahasa antarmuka skrip ini (en atau 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ job |
"surfacecleaner" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job. |
↳ jobs |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk jobs. |
↳ label |
"Surface Cleaner" |
Teks yang dilihat pemain untuk label. Ubah untuk menerjemahkan atau mengganti nama. |
NPCs |
table |
Tabel entri np cs. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
CleaningDuration |
10000 |
Pengaturan waktu untuk cleaning duration. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Payment |
table |
Tabel entri payment. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
JobsPerTask |
4 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk jobs per task. |
Cooldown |
30000 |
Pengaturan waktu untuk cooldown. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
DailyLimit |
table |
Batas atas untuk daily limit. |
BroomModel |
"p_broom01x" |
Model atau entitas game untuk broom model. |
BroomFallbacks |
table |
Tabel entri broom fallbacks. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Animation |
table |
Pengaturan animasi untuk animation. |
↳ male |
table |
Tabel entri male. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ female |
table |
Tabel entri female. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ fallback |
table |
Tabel entri fallback. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ flag |
1 |
Angka untuk flag (bawaan 1). |
↳ prop |
Config.BroomModel |
Model atau entitas game untuk prop. |
↳ bone |
7966 |
Angka untuk bone (bawaan 7966). |
↳ offset |
table |
Tabel entri offset. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
NPCPromptKey |
0x760A9C6F |
Tombol atau kontrol untuk npc prompt key. Kontrol adalah nilai hash dari daftar input game. |
PromptKey |
0x760A9C6F |
Tombol atau kontrol untuk prompt key. Kontrol adalah nilai hash dari daftar input game. |
JobBlip |
table |
Pengaturan blip peta atau ikon untuk job blip. |
ChimneyObject |
table |
Disabled: all props removed as requested. Only yellow circle markers are displayed. |
↳ enabled |
false |
Menyalakan atau mematikan enabled (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ type |
1 |
Angka untuk type (bawaan 1). |
↳ scale |
vector3(1.8, 1.8, 1.2) |
Tingkat atau pengali untuk scale. |
↳ color |
table |
Tabel entri color. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ zOffset |
0.25 |
Angka untuk z offset (bawaan 0.25). |
↳ bobUpAndDown |
true |
Sakelar untuk bob up and down: true = nyala, false = mati (bawaan true). |
↳ drawDistance |
25.0 |
Jarak dalam satuan game untuk draw distance. |
InteractionDistance |
3.0 |
Jarak dalam satuan game untuk interaction distance. |
DrawDistance |
50.0 |
Jarak dalam satuan game untuk draw distance. |
ServerValidationDistance |
20.0 |
Jarak dalam satuan game untuk server validation distance. |
NotificationDuration |
4000 |
Pengaturan waktu untuk notification duration. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
config/metal_detector.lua - 74 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
CoreResource |
"jrs_core" |
Pengaturan untuk core resource. |
InventoryResource |
"jrs_inventory" |
Pengaturan untuk 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" |
Item inventaris yang dipakai shovel item. Nama harus ada di tabel 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 |
Menyalakan atau mematikan enabled (bawaan false). |
↳ GiveCommand |
"testdetector" |
Pengaturan untuk give command. |
↳ RemoveCommand |
"removedetector" |
Pengaturan untuk remove command. |
RandomizeSpotPlacement |
false |
If enabled, each resource start selects a random subset of the configured spots. |
RandomSpotChance |
50 |
Tingkat atau pengali untuk 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 |
Jarak dalam satuan game untuk 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 |
Menyalakan atau mematikan color mode (bawaan true). |
DisableFindingNodesAfterUse |
true |
Turns off finding nodes after use: true = ya, false = tidak (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ OnlyActiveSpots |
true |
Sakelar untuk only active spots: true = nyala, false = mati (bawaan true). |
↳ HideOnCooldown |
false |
Hides on cooldown: true = ya, false = tidak (bawaan false). |
↳ Style |
1664425300 |
Angka untuk style (bawaan 1664425300). |
↳ Sprite |
0 |
0 = keep the default RedM blip sprite for this style |
↳ Scale |
0.75 |
Tingkat atau pengali untuk scale. |
↳ DefaultName |
"Treasure Search Area" |
Teks yang dilihat pemain untuk default name. Ubah untuk menerjemahkan atau mengganti nama. |
Light |
table |
Tabel entri light. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Range |
1.25 |
Jarak dalam satuan game untuk range. |
↳ MinIntensity |
0.35 |
Minimum atau level yang dibutuhkan untuk min intensity. |
↳ MaxIntensity |
5.5 |
Batas atas untuk max intensity. |
↳ StrobeSpeed |
0.022 |
Angka untuk strobe speed (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Volume |
0.70 |
Angka untuk volume (bawaan 0.70). |
↳ MinPitch |
0.90 |
Minimum atau level yang dibutuhkan untuk min pitch. |
↳ MaxPitch |
1.35 |
Batas atas untuk max pitch. |
↳ FarInterval |
850 |
Pengaturan waktu untuk far interval. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ NearInterval |
115 |
Pengaturan waktu untuk near interval. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ TestCommand |
"testdetectorsound" |
Local test command. Set to false to disable it. |
Keys |
table |
Tombol atau kontrol untuk keys. Kontrol adalah nilai hash dari daftar input game. |
↳ Dig |
"INPUT_FRONTEND_X" |
Pengaturan untuk dig. |
Dig |
table |
Tabel entri dig. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Duration |
7000 |
Pengaturan waktu untuk duration. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ LockTimeout |
20 |
Pengaturan waktu untuk lock timeout. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ Prop |
"p_shovel02x" |
Model atau entitas game untuk prop. |
↳ AnimDict |
'amb_work@world_human_graved... |
Grave-digging animation paired with the shovel position below. |
↳ AnimName |
"base" |
Teks yang dilihat pemain untuk anim name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ AnimFlag |
17 |
Pengaturan animasi untuk 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 |
Angka untuk fallback bone (bawaan 7966). |
↳ Position |
vec3(0.0, -0.09, -0.09) |
Koordinat dunia (x, y, z) untuk position. |
↳ Rotation |
vec3(250.2899, 579.19, 373.3... |
Pengaturan untuk rotation. |
↳ DisablePropCollision |
true |
Prevent the shovel from colliding with the ped/ground while attached. |
↳ MakePropInvincible |
true |
Sakelar untuk make prop invincible: true = nyala, false = mati (bawaan true). |
Security |
table |
Tabel entri security. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Jarak dalam satuan game untuk dig validation distance. |
↳ RequestCooldownMs |
1250 |
Pengaturan waktu untuk request cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Locations |
table |
Chance values are weights. They do not have to total exactly 100. |
↳ Owanjila |
table |
Tabel entri owanjila. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Barrow_Lagoon |
table |
Tabel entri barrow lagoon. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Grizzlies_East |
table |
Tabel entri grizzlies east. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
false |
Menyalakan atau mematikan enabled (bawaan false). |
↳ Url |
"" |
Pengaturan untuk url. |
↳ Color |
9326801 |
Angka untuk color (bawaan 9326801). |
↳ Name |
"REDEMPIRE Metal Detector" |
Teks yang dilihat pemain untuk name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Avatar |
"" |
Pengaturan untuk 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 opsi#
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 = ya, false = tidak (bawaan 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" |
Nilai uang untuk gold ore item. Hadiah melewati pengali ekonomi jrs_core. |
GoldOreAmount |
table |
Nilai uang untuk gold ore amount. Hadiah melewati pengali ekonomi 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 |
Model atau entitas game untuk shovel prop. |
↳ model |
p_shovel02x |
Model atau entitas game untuk model. |
↳ bone |
"SKEL_R_Hand" |
Pengaturan untuk bone. |
↳ offset |
table |
Tabel entri offset. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
DigDirtPile |
table |
dirt pile spawned in front of the player after a successful dig (cosmetic, local only) |
↳ enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ model |
`mp005_p_dirtpile_tall_unbur... |
Model atau entitas game untuk 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 |
Tabel entri anims. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ dig |
table |
Tabel entri dig. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Jarak dalam satuan game untuk claim zone radius. |
MaxClaimNameLength |
50 |
Batas atas untuk max claim name length. |
ClaimBlip |
table |
Pengaturan blip peta atau ikon untuk claim blip. |
↳ blipSprite |
"blip_gold" |
Pengaturan blip peta atau ikon untuk blip sprite. |
↳ blipScale |
0.2 |
Pengaturan blip peta atau ikon untuk blip scale. |
↳ blipColour |
"BLIP_MODIFIER_MP_COLOR_6" |
Pengaturan blip peta atau ikon untuk blip colour. |
placement
| Setting | Default | What it does |
|---|---|---|
ForwardDistance |
2.0 |
Jarak dalam satuan game untuk 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 baris Lua |
config.lua - 13 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"en" |
'en' or 'ar' |
PanItem |
"goldpan" |
Item inventaris yang dipakai pan item. Nama harus ada di tabel jrs_items. |
Reward |
table |
Nilai uang untuk reward. Hadiah melewati pengali ekonomi 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, ... |
Pengaturan untuk 247856387. |
↳ -1300497193 |
true, [-1276586360] = true, ... |
Pengaturan untuk 1300497193. |
↳ 592454541 |
true, [-804804953] = true, [... |
Pengaturan untuk 592454541. |
↳ -811730579 |
true, [-1229593481] = true, ... |
Pengaturan untuk 811730579. |
↳ 2005774838 |
true, [-1287619521] = true, ... |
Pengaturan untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
InteractDistance |
2.25 |
Jarak dalam satuan game untuk interact distance. |
NpcCleanupRadius |
1.75 |
Removes stale government NPCs at the configured position after a resource restart. |
ServerActionDistance |
4.0 |
Jarak dalam satuan game untuk server action distance. |
InteractControl |
0xCEFD9220 |
E / INPUT_CONTEXT |
DefaultNpcModel |
"U_M_M_ValSheriff_01" |
Model atau entitas game untuk default npc model. |
Blip |
table |
Pengaturan blip peta atau ikon untuk blip. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Sprite |
1869246576 |
Official Government Seal / Senior Badge |
↳ Scale |
0.2 |
Tingkat atau pengali untuk scale. |
↳ Color |
"BLIP_MODIFIER_MP_COLOR_27" |
Royal Purple |
Elections |
table |
Permanent government: elections only start when an administrator explicitly opens one. |
↳ CandidateMinimumLevel |
20 |
Minimum atau level yang dibutuhkan untuk 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 = ya, false = tidak (bawaan false). |
↳ RequireNoPoliceRecord |
true |
Requires no police record: true = ya, false = tidak (bawaan true). |
↳ RequireNoBankDebt |
true |
Requires no bank debt: true = ya, false = tidak (bawaan true). |
↳ DebtEpsilon |
0.01 |
Angka untuk debt epsilon (bawaan 0.01). |
↳ CandidateStatementMaxLength |
220 |
Batas atas untuk candidate statement max length. |
↳ DefaultDurationMinutes |
60 |
Elections can end automatically after this duration. Admins may override it when opening an election. |
↳ MinimumDurationMinutes |
1 |
Pengaturan waktu untuk minimum duration minutes. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ 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 = ya, false = tidak (bawaan true). |
CriminalRecord |
table |
Tabel entri criminal record. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk deputy permissions. |
↳ manageCitizens |
true |
Sakelar untuk manage citizens: true = nyala, false = mati (bawaan true). |
↳ viewTreasury |
true |
Sakelar untuk view treasury: true = nyala, false = mati (bawaan true). |
↳ manageEmployees |
false |
Sakelar untuk manage employees: true = nyala, false = mati (bawaan false). |
↳ editSalaries |
false |
Sakelar untuk edit salaries: true = nyala, false = mati (bawaan false). |
↳ sendCityMessages |
true |
Sakelar untuk send city messages: true = nyala, false = mati (bawaan true). |
↳ sendGovernmentMessages |
false |
Sakelar untuk send government messages: true = nyala, false = mati (bawaan false). |
↳ sendGlobalMessages |
false |
Sakelar untuk send global messages: true = nyala, false = mati (bawaan false). |
↳ appointDeputy |
false |
Sakelar untuk appoint deputy: true = nyala, false = mati (bawaan false). |
↳ manageTaxes |
false |
Sakelar untuk manage taxes: true = nyala, false = mati (bawaan false). |
↳ manageWars |
false |
Sakelar untuk manage wars: true = nyala, false = mati (bawaan false). |
↳ manageAppointments |
false |
Sakelar untuk manage appointments: true = nyala, false = mati (bawaan false). |
↳ manageStores |
false |
Sakelar untuk manage stores: true = nyala, false = mati (bawaan false). |
↳ viewCrimeStats |
true |
Sakelar untuk view crime stats: true = nyala, false = mati (bawaan true). |
Treasury |
table |
Tabel entri treasury. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ AllowGovernorDeposit |
true |
Allows governor deposit: true = ya, false = tidak (bawaan true). |
↳ AllowGovernorWithdraw |
false |
Allows governor withdraw: true = ya, false = tidak (bawaan false). |
↳ MinimumDeposit |
1.00 |
Nilai uang untuk minimum deposit. Hadiah melewati pengali ekonomi jrs_core. |
↳ MaximumDeposit |
100000.00 |
Nilai uang untuk maximum deposit. Hadiah melewati pengali ekonomi jrs_core. |
Revenue |
table |
Tabel entri revenue. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ MaximumSingleDeposit |
100000000.00 |
Nilai uang untuk maximum single deposit. Hadiah melewati pengali ekonomi jrs_core. |
↳ RecentTransactionLimit |
50 |
Batas atas untuk recent transaction limit. |
↳ AllowedResources |
table |
Tabel entri allowed resources. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Payroll |
table |
Tabel entri payroll. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ IntervalMinutes |
30 |
Pengaturan waktu untuk interval minutes. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ MinimumGrade |
0 |
Minimum atau level yang dibutuhkan untuk minimum grade. |
↳ MaximumGrade |
10 |
Batas atas untuk 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 |
Teks yang dilihat pemain untuk messages. Ubah untuk menerjemahkan atau mengganti nama. |
↳ MaxTitleLength |
80 |
Batas atas untuk max title length. |
↳ MaxBodyLength |
800 |
Batas atas untuk max body length. |
↳ CooldownMs |
3000 |
Pengaturan waktu untuk cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
CityOwnership |
table |
Tabel entri city ownership. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ AllowOwnerWithdraw |
true |
City Owner can withdraw funds directly from the city treasury |
↳ AllowGovernorWithdraw |
false |
Standard governor withdrawal restriction |
↳ MinimumWithdraw |
1.00 |
Minimum atau level yang dibutuhkan untuk minimum withdraw. |
↳ MaximumWithdraw |
100000.00 |
Batas atas untuk 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 |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ blackwater |
table |
Tabel entri blackwater. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ rhodes |
table |
Tabel entri rhodes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ saintdenis |
table |
Tabel entri saintdenis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ annesburg |
table |
Tabel entri annesburg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ armadillo |
table |
Tabel entri armadillo. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ tumbleweed |
table |
Tabel entri tumbleweed. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ guarma |
table |
Tabel entri guarma. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Admin |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk admin. |
↳ AcePermission |
"jrs.government.admin" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk ace permission. |
↳ Groups |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk groups. |
↳ Commands |
table |
Tabel entri commands. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri sheriff. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ police |
table |
Tabel entri police. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ guarma_guard |
table |
Tabel entri guarma guard. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ doctor |
table |
Tabel entri doctor. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ banker |
table |
Tabel entri banker. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ worker |
table |
Tabel entri worker. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ blackwater |
table |
Tabel entri blackwater. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ rhodes |
table |
Tabel entri rhodes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ saintdenis |
table |
Tabel entri saintdenis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ annesburg |
table |
Tabel entri annesburg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ armadillo |
table |
Tabel entri armadillo. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ tumbleweed |
table |
Tabel entri tumbleweed. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ guarma |
table |
Tabel entri guarma. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
CityMapRegions |
table |
Tabel entri city map regions. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ valentine |
table |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ blackwater |
table |
Tabel entri blackwater. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ rhodes |
table |
Tabel entri rhodes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ saintdenis |
table |
Tabel entri saintdenis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
config/economy.lua - 40 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Economy |
table |
Tabel entri economy. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri wars. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 = ya, false = tidak (bawaan true). |
↳ MinimumCitizensPerCity |
1 |
Minimum atau level yang dibutuhkan untuk 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 |
Pengaturan waktu untuk acceptance timeout minutes. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ 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 |
Tingkat atau pengali untuk surrender tribute percent. |
↳ TributeMax |
1500.0 |
0 = no cap |
↳ KillPoints |
1 |
Koordinat dunia (x, y, z) untuk 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 |
Jarak dalam satuan game untuk 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 |
Batas atas untuk 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 = ya, false = tidak (bawaan true). |
↳ ArenaOutOfBoundsSeconds |
10 |
Angka untuk arena out of bounds seconds (bawaan 10). |
↳ DefaultArena |
"bolger_glade" |
Pengaturan untuk default arena. |
↳ DefaultMode |
"siege" |
Pengaturan untuk default mode. |
↳ Modes |
table |
Tabel entri modes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri bolger glade. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ fort_mercer |
table |
Tabel entri fort mercer. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ fort_wallace |
table |
Tabel entri fort wallace. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
DevMode |
false |
Sakelar untuk dev mode: true = nyala, false = mati (bawaan 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 |
Pengaturan untuk b. |
DoctorJobs |
table |
jobs that can open hire menu |
↳ doctor |
table |
Tabel entri doctor. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ SaintDenis |
table |
Tabel entri saint denis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ SaintDenis |
table |
Tabel entri saint denis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Blips |
table |
blips for stations |
↳ Color |
"COLOR_WHITE" |
Pengaturan untuk color. |
↳ Style |
"BLIP_STYLE_FRIENDLY_ON_RADAR" |
Pengaturan untuk style. |
↳ Sprite |
"blip_mp_travelling_saleswoman" |
Pengaturan blip peta atau ikon untuk sprite. |
AlertBlips |
table |
Pengaturan blip peta atau ikon untuk alert blips. |
↳ Color |
"COLOR_RED" |
Pengaturan untuk color. |
↳ Style |
"BLIP_STYLE_CHALLENGE_OBJECTIVE" |
Pengaturan untuk style. |
↳ Sprite |
"blip_mp_travelling_saleswoman" |
Pengaturan blip peta atau ikon untuk sprite. |
Stations |
table |
doctor stations boss menu locations |
↳ Valentine |
table |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ SaintDenis |
table |
Tabel entri saint denis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Items |
table |
usable items |
↳ bandage |
table |
item name |
↳ potion |
table |
Tabel entri potion. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ syringe |
table |
Tabel entri syringe. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
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" |
Pengaturan untuk 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 = ya, false = tidak (bawaan true). |
Locale |
"ar" |
Language: en, ar, fr, es, de, it, pt, nl |
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ preserveDuty |
true |
Sakelar untuk preserve duty: true = nyala, false = mati (bawaan true). |
↳ bootstrapIntervalMs |
250 |
Pengaturan waktu untuk bootstrap interval ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ integrationRetryMs |
750 |
Angka untuk integration retry ms (bawaan 750). |
↳ npcWatchdogMs |
1500 |
Angka untuk npc watchdog ms (bawaan 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 |
Sakelar untuk single press: true = nyala, false = mati (bawaan true). |
↳ debounceMs |
450 |
Angka untuk debounce ms (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan 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" |
Pengaturan untuk remove command. |
↳ initialSlot |
"hand" |
Pengaturan untuk initial slot. |
↳ restoreLastSlot |
false |
Sakelar untuk restore last slot: true = nyala, false = mati (bawaan false). |
↳ debounceMs |
220 |
Angka untuk debounce ms (bawaan 220). |
↳ notifications |
false |
Sakelar untuk notifications: true = nyala, false = mati (bawaan false). |
↳ consumeControls |
false |
Sakelar untuk consume controls: true = nyala, false = mati (bawaan false). |
↳ showPromptLoop |
true |
native RedM prompt group while a tool stack is remembered |
↳ promptGroupLocale |
"ui_mining_tool" |
Bahasa antarmuka skrip ini (en atau ar). |
↳ handPromptLocale |
"prompt_pickaxe_hand" |
Bahasa antarmuka skrip ini (en atau ar). |
↳ backPromptLocale |
"prompt_pickaxe_back" |
Bahasa antarmuka skrip ini (en atau ar). |
↳ hidePromptLocale |
"prompt_pickaxe_bag" |
Bahasa antarmuka skrip ini (en atau 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 = ya, false = tidak (bawaan false). |
↳ areaRadius |
145.0 |
Jarak dalam satuan game untuk area radius. |
↳ serverCheckSeconds |
5 |
Angka untuk server check seconds (bawaan 5). |
↳ applyUniform |
true |
Sakelar untuk apply uniform: true = nyala, false = mati (bawaan 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" |
Pengaturan untuk command. |
↳ maxGiveAmount |
999 |
Batas atas untuk max give amount. |
↳ maxMoneyAmount |
1000000 |
Nilai uang untuk max money amount. Hadiah melewati pengali ekonomi 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" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ xpPerLevel |
100 |
xp needed for each level |
↳ maxLevel |
100 |
Batas atas untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ multiplier |
1.0 |
Tingkat atau pengali untuk multiplier. |
↳ reason |
"jrs_mining" |
Pengaturan untuk 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 = ya, false = tidak (bawaan false). |
↳ alignToRock |
true |
face the rock only; never changes player coordinates |
↳ alignDistance |
1.15 |
Jarak dalam satuan game untuk align distance. |
↳ minAlignDistance |
0.75 |
Jarak dalam satuan game untuk min align distance. |
↳ maxAlignDistance |
1.80 |
Jarak dalam satuan game untuk max align distance. |
↳ serverResultToleranceMs |
3000 |
Angka untuk server result tolerance ms (bawaan 3000). |
↳ serverAngleToleranceDegrees |
15 |
Angka untuk server angle tolerance degrees (bawaan 15). |
↳ minimumSkillTimeMs |
250 |
Minimum atau level yang dibutuhkan untuk 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 |
Sakelar untuk cancel on move: true = nyala, false = mati (bawaan true). |
↳ cancelDistance |
0.90 |
Jarak dalam satuan game untuk cancel distance. |
↳ minigameCancelDistance |
1.10 |
Jarak dalam satuan game untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ initialDelaySeconds |
60 |
Pengaturan waktu untuk initial delay seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ durationSeconds |
1200 |
Pengaturan waktu untuk duration seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ cooldownSeconds |
900 |
Pengaturan waktu untuk cooldown seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ targetMin |
45 |
Minimum atau level yang dibutuhkan untuk target min. |
↳ targetMax |
90 |
Batas atas untuk target max. |
↳ cashRewardPool |
3.50 |
split proportionally across contributors (1899 cents scale) |
↳ xpReward |
150 |
awarded to online contributors at completion |
↳ excludeRare |
true |
Sakelar untuk exclude rare: true = nyala, false = mati (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ updateMinutes |
30 |
Angka untuk update minutes (bawaan 30). |
↳ minMultiplier |
0.70 |
Minimum atau level yang dibutuhkan untuk min multiplier. |
↳ maxMultiplier |
1.55 |
Batas atas untuk max multiplier. |
↳ maxStep |
0.18 |
Batas atas untuk max step. |
↳ preventBuySellArbitrage |
true |
Sakelar untuk prevent buy sell arbitrage: true = nyala, false = mati (bawaan 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" |
Pengaturan untuk 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 |
Batas atas untuk arc max degrees. |
↳ perfectDegrees |
18 |
Angka untuk perfect degrees (bawaan 18). |
↳ speedMinDegrees |
42 |
slow/smooth: ~8.6 sec per revolution |
↳ speedMaxDegrees |
58 |
~6.2 sec per revolution |
↳ startOffsetMin |
125 |
Minimum atau level yang dibutuhkan untuk start offset min. |
↳ startOffsetMax |
205 |
Batas atas untuk start offset max. |
↳ timeoutMs |
16000 |
Pengaturan waktu untuk timeout ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ failReward |
0.0 |
Nilai uang untuk fail reward. Hadiah melewati pengali ekonomi jrs_core. |
↳ precisionBonus |
table |
Nilai uang untuk precision bonus. Hadiah melewati pengali ekonomi jrs_core. |
↳ blockGameControls |
true |
NUI owns SPACE/ENTER during the single circular attempt. |
↳ blockedControls |
table |
Tabel entri blocked controls. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri 1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 2 |
table |
Tabel entri 2. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 3 |
table |
Tabel entri 3. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 4 |
table |
Tabel entri 4. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 5 |
table |
Tabel entri 5. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 6 |
table |
Tabel entri 6. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 7 |
table |
Tabel entri 7. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 8 |
table |
Tabel entri 8. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 9 |
table |
Tabel entri 9. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 10 |
table |
Tabel entri 10. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 11 |
table |
Tabel entri 11. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 12 |
table |
Tabel entri 12. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 13 |
table |
Tabel entri 13. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 14 |
table |
Tabel entri 14. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 15 |
table |
Tabel entri 15. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 16 |
table |
Tabel entri 16. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 17 |
table |
Tabel entri 17. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 18 |
table |
Tabel entri 18. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 19 |
table |
Tabel entri 19. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 20 |
table |
Tabel entri 20. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 21 |
table |
Tabel entri 21. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 22 |
table |
Tabel entri 22. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 23 |
table |
Tabel entri 23. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 24 |
table |
Tabel entri 24. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 25 |
table |
Tabel entri 25. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 26 |
table |
Tabel entri 26. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 27 |
table |
Tabel entri 27. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 28 |
table |
Tabel entri 28. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 29 |
table |
Tabel entri 29. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 30 |
table |
Tabel entri 30. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 31 |
table |
Tabel entri 31. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 32 |
table |
Tabel entri 32. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 33 |
table |
Tabel entri 33. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 34 |
table |
Tabel entri 34. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 35 |
table |
Tabel entri 35. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 36 |
table |
Tabel entri 36. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 37 |
table |
Tabel entri 37. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 38 |
table |
Tabel entri 38. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 39 |
table |
Tabel entri 39. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 40 |
table |
Tabel entri 40. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 41 |
table |
Tabel entri 41. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 42 |
table |
Tabel entri 42. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 43 |
table |
Tabel entri 43. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 44 |
table |
Tabel entri 44. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 45 |
table |
Tabel entri 45. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 46 |
table |
Tabel entri 46. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 47 |
table |
Tabel entri 47. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 48 |
table |
Tabel entri 48. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 49 |
table |
Tabel entri 49. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 50 |
table |
Tabel entri 50. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 51 |
table |
Tabel entri 51. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 52 |
table |
Tabel entri 52. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 53 |
table |
Tabel entri 53. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 54 |
table |
Tabel entri 54. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 55 |
table |
Tabel entri 55. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 56 |
table |
Tabel entri 56. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 57 |
table |
Tabel entri 57. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 58 |
table |
Tabel entri 58. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 59 |
table |
Tabel entri 59. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 60 |
table |
Tabel entri 60. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 61 |
table |
Tabel entri 61. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 62 |
table |
Tabel entri 62. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 63 |
table |
Tabel entri 63. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 64 |
table |
Tabel entri 64. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 65 |
table |
Tabel entri 65. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 66 |
table |
Tabel entri 66. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 67 |
table |
Tabel entri 67. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 68 |
table |
Tabel entri 68. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 69 |
table |
Tabel entri 69. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 70 |
table |
Tabel entri 70. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 71 |
table |
Tabel entri 71. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 72 |
table |
Tabel entri 72. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 73 |
table |
Tabel entri 73. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 74 |
table |
Tabel entri 74. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 75 |
table |
Tabel entri 75. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ defaultMode |
"owned" |
Pengaturan untuk default mode. |
↳ employeeLimit |
12 |
Batas atas untuk employee limit. |
↳ ownerCanHire |
true |
Sakelar untuk owner can hire: true = nyala, false = mati (bawaan true). |
↳ employeeCanMine |
true |
Sakelar untuk employee can mine: true = nyala, false = mati (bawaan true). |
↳ showMineTabAtNpc |
true |
Shows mine tab at npc: true = ya, false = tidak (bawaan true). |
↳ purchaseAtMineNpc |
false |
mine deeds are sold only through the Pause/Base Menu store |
↳ defaultSalary |
0.75 |
Nilai uang untuk default salary. Hadiah melewati pengali ekonomi jrs_core. |
↳ maxSalary |
2.50 |
Nilai uang untuk max salary. Hadiah melewati pengali ekonomi jrs_core. |
↳ maxPayrollTotal |
50.00 |
Batas atas untuk max payroll total. |
↳ payrollEnabled |
true |
Sakelar untuk payroll enabled: true = nyala, false = mati (bawaan true). |
↳ treasuryEnabled |
true |
Sakelar untuk treasury enabled: true = nyala, false = mati (bawaan true). |
↳ payrollTaxPercent |
10 |
gross salary tax; employee receives the net amount |
↳ maxTreasuryTransaction |
1000000 |
Batas atas untuk 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 |
Nilai uang untuk creation fee. Hadiah melewati pengali ekonomi jrs_core. |
↳ maxActiveCreated |
3 |
Batas atas untuk max active created. |
↳ maxActiveAccepted |
2 |
Batas atas untuk max active accepted. |
↳ minAmount |
1 |
Minimum atau level yang dibutuhkan untuk min amount. |
↳ maxAmount |
100 |
Batas atas untuk max amount. |
↳ minPayout |
1 |
Nilai uang untuk min payout. Hadiah melewati pengali ekonomi jrs_core. |
↳ maxPayout |
10000 |
Nilai uang untuk max payout. Hadiah melewati pengali ekonomi jrs_core. |
↳ minMinutes |
5 |
Minimum atau level yang dibutuhkan untuk min minutes. |
↳ maxMinutes |
180 |
Batas atas untuk max minutes. |
↳ refreshSeconds |
20 |
Angka untuk refresh seconds (bawaan 20). |
↳ deliveryAtPostedMine |
true |
accepted jobs must be delivered at the mine where they were posted |
↳ allowedItems |
table |
Item inventaris yang dipakai allowed items. Nama harus ada di tabel jrs_items. |
AllowMiningCancel |
true |
═══════════════════ INTEGRATION / GLOBAL SWITCHES ═══════════════════ |
AdminAce |
"jrs.mining" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk admin ace. |
CoordCheckerEfficiency |
3 |
Koordinat dunia (x, y, z) untuk coord checker efficiency. |
MiniGameAsMineAccurately |
false |
Sakelar untuk mini game as mine accurately: true = nyala, false = mati (bawaan false). |
config/goldpanning.lua - 87 opsi#
General
| Setting | Default | What it does |
|---|---|---|
GoldPanning |
table |
Nilai uang untuk gold panning. Hadiah melewati pengali ekonomi jrs_core. |
↳ enabled |
false |
7.12.9: standalone river panning disabled in favor of BCC-style wash station only |
↳ item |
"goldpan" |
Item inventaris yang dipakai item. Nama harus ada di tabel 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 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk jobs. |
↳ requireDuty |
false |
Requires duty: true = ya, false = tidak (bawaan 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 |
Pengaturan waktu untuk cooldown seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ actionDurationMs |
5000 |
Pengaturan waktu untuk action duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ minigameMinMs |
4000 |
Minimum atau level yang dibutuhkan untuk minigame min ms. |
↳ minMovementDistance |
2.0 |
Jarak dalam satuan game untuk min movement distance. |
↳ spotMemoryMs |
300000 |
Angka untuk spot memory ms (bawaan 300000). |
↳ goldChance |
50 |
Nilai uang untuk gold chance. Hadiah melewati pengali ekonomi jrs_core. |
↳ rewards |
table |
Tabel entri rewards. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ model |
"p_goldcradlestand01x" |
Model atau entitas game untuk model. |
↳ stationItem |
"goldwash_table" |
Item inventaris yang dipakai station item. Nama harus ada di tabel jrs_items. |
↳ mudBucket |
"mud_bucket" |
Pengaturan untuk mud bucket. |
↳ emptyMudBucket |
"empty_mud_bucket" |
Pengaturan untuk empty mud bucket. |
↳ waterBucket |
"wateringcan" |
Pengaturan untuk water bucket. |
↳ emptyWaterBucket |
"wateringcan_empty" |
Pengaturan untuk empty water bucket. |
↳ panItem |
"goldpan" |
Item inventaris yang dipakai pan item. Nama harus ada di tabel 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 |
Angka untuk pan wear per wash (bawaan 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" |
Pengaturan blip peta atau ikon untuk blip sprite. |
↳ blipScale |
0.2 |
Pengaturan blip peta atau ikon untuk 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 |
Nilai uang untuk extra reward chance. Hadiah melewati pengali ekonomi jrs_core. |
↳ fillDurationMs |
8000 |
Pengaturan waktu untuk fill duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ buildDurationMs |
8000 |
Pengaturan waktu untuk build duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ washDurationMs |
8000 |
Pengaturan waktu untuk wash duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ interactDistance |
2.2 |
Jarak dalam satuan game untuk interact distance. |
↳ placementDistance |
1.6 |
Jarak dalam satuan game untuk placement distance. |
↳ maxStationsPerCharacter |
2 |
Batas atas untuk max stations per character. |
↳ rewardXpMultiplier |
1.25 |
Nilai uang untuk reward xp multiplier. Hadiah melewati pengali ekonomi 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ furnaceItem |
"gold_furnace" |
Item inventaris yang dipakai furnace item. Nama harus ada di tabel jrs_items. |
↳ model |
"p_goldsmeltburner01x" |
native; hawk's escrowed gold_smelt crashed clients when merged (7.16.13) |
↳ fallbackModel |
"p_goldsmeltburner01x" |
Model atau entitas game untuk fallback model. |
↳ smeltKey |
0x760A9C6F |
G (original) |
↳ pickupKey |
0xCEFD9220 |
E (original) |
↳ chunkModel |
"p_goldnugget01x" |
Model atau entitas game untuk chunk model. |
↳ barModel |
"s_pickup_goldbar01x" |
Model atau entitas game untuk bar model. |
↳ requireJob |
true |
Requires job: true = ya, false = tidak (bawaan 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 |
Item inventaris yang dipakai recipes. Nama harus ada di tabel jrs_items. |
↳ furnaceWearPerMelt |
5 |
Furnace durability (metadata, starts 100): -5 per poured melt = 20 melts. |
↳ interactDistance |
1.5 |
Jarak dalam satuan game untuk interact distance. |
↳ blip |
true |
7.16.5: map blip on your own furnace only (false = no blip). |
↳ blipSprite |
"blip_shop_blacksmith" |
Pengaturan blip peta atau ikon untuk blip sprite. |
↳ blipColor |
"BLIP_MODIFIER_MP_COLOR_4" |
yellow / gold |
↳ blipScale |
0.2 |
Pengaturan blip peta atau ikon untuk 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 |
Tabel entri cam smelt. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ camFov |
45.0 |
Angka untuk cam fov (bawaan 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 |
Angka untuk chunk sink (bawaan 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 |
Angka untuk chunk spread (bawaan 0.05). |
↳ fireBelowCrucible |
0.22 |
Angka untuk fire below crucible (bawaan 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 |
Batas atas untuk heat max. |
↳ overheatMs |
2000 |
Angka untuk overheat ms (bawaan 2000). |
↳ minSmeltMs |
8000 |
a real melt cannot finish faster than this |
↳ maxSmeltMs |
120000 |
Batas atas untuk max smelt ms. |
↳ fireLow |
0.5 |
Angka untuk fire low (bawaan 0.5). |
↳ fireHigh |
0.8 |
Angka untuk fire high (bawaan 0.8). |
↳ destroyFurnaceOnFail |
true |
Blow-up: the nuggets in the crucible are lost and so is the furnace. |
↳ explosionType |
2 |
Angka untuk explosion type (bawaan 2). |
↳ explosionDamage |
0.3 |
Angka untuk explosion damage (bawaan 0.3). |
config/mineral_props.lua - 7 opsi#
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 = ya, false = tidak (bawaan true). |
↳ showOtherRewards |
true |
gold panning and NPC smelter collection |
↳ previewMs |
3500 |
Angka untuk preview ms (bawaan 3500). |
↳ maxCrucibleChunks |
3 |
rough chunks are larger than the old nugget prop |
↳ models |
table |
Model atau entitas game untuk models. |
config/mining.lua - 86 opsi#
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 |
Tabel entri mine data. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Tumbleweed Mine |
table |
Tabel entri tumbleweed mine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Annesburg Coal Mine |
table |
Tabel entri annesburg coal mine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Northpoint Mine |
table |
Tabel entri northpoint mine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Mount Shann Cave |
table |
Tabel entri mount shann cave. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Beaver Hallow Cave |
table |
Tabel entri beaver hallow cave. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Twin Rocks Gang Camp |
table |
Tabel entri twin rocks gang camp. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Zirkel Cave |
table |
Tabel entri zirkel cave. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Dinosaur Cave |
table |
Tabel entri dinosaur cave. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Heartlands Oil pit |
table |
Tabel entri heartlands oil pit. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Bacchus Ridge Cave |
table |
Tabel entri bacchus ridge cave. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Mount Shann collapsed mine |
table |
Tabel entri mount shann collapsed mine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Guarma Cave |
table |
Tabel entri guarma cave. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Bolger Glade Clay Pit |
table |
Tabel entri bolger glade clay pit. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
MiningAnimations |
table |
═════════════════════ TOOLS / STATIONS / SHOPS ═════════════════════ ════════════════════════════ MINING ANIMS ══════════════════════════ |
↳ pickaxe |
table |
Tabel entri pickaxe. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
PickaxeData |
table |
═══════════════════════════ TOOLS (PICKAXES) ═══════════════════════ |
↳ 1 |
table |
Tabel entri 1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ inputItem |
"rock" |
Tombol atau kontrol untuk input item. Kontrol adalah nilai hash dari daftar input game. |
↳ inputAmount |
1 |
Tombol atau kontrol untuk input amount. Kontrol adalah nilai hash dari daftar input game. |
↳ durationMs |
6000 |
Pengaturan waktu untuk duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ xp |
2 |
Angka untuk xp (bawaan 2). |
↳ interactRadius |
1.2 |
Jarak dalam satuan game untuk interact radius. |
↳ prop |
nil |
Model atau entitas game untuk prop. |
↳ blip |
table |
Pengaturan blip peta atau ikon untuk blip. |
↳ rawReward |
table |
Nilai uang untuk raw reward. Hadiah melewati pengali ekonomi 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 |
Menyalakan atau mematikan enabled (bawaan 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 { |
Pengaturan untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ allowMiningCancel |
Config.AllowMiningCancel ~= ... |
Pengaturan untuk allow mining cancel. |
↳ useLookAtNodePrompt |
false |
Menyalakan atau mematikan look at node prompt (bawaan false). |
↳ rayCastDistance |
4.0 |
Jarak dalam satuan game untuk 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 |
Sakelar untuk highlight node props: true = nyala, false = mati (bawaan true). |
↳ showNodeNumberInPrompt |
false |
Shows node number in prompt: true = ya, false = tidak (bawaan false). |
↳ smartZDifference |
true |
Sakelar untuk smart z difference: true = nyala, false = mati (bawaan true). |
↳ initSoundAudio |
true |
Sakelar untuk init sound audio: true = nyala, false = mati (bawaan true). |
↳ displayToolHud |
true |
Sakelar untuk display tool hud: true = nyala, false = mati (bawaan true). |
↳ displayToolHudAlign |
"top" |
Pengaturan untuk display tool hud align. |
↳ displayTextOffset |
table |
Teks yang dilihat pemain untuk display text offset. Ubah untuk menerjemahkan atau mengganti nama. |
↳ cancelControl |
Config.Controls.MineCancel |
Tombol atau kontrol untuk cancel control. Kontrol adalah nilai hash dari daftar input game. |
↳ minerJobProbabilityIncrease |
tonumber(Config.MinerJobProb... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk miner job probability increase. |
↳ coordCheckerEfficiency |
tonumber(Config.CoordChecker... |
Koordinat dunia (x, y, z) untuk coord checker efficiency. |
↳ drawDebugMarkers |
false |
Sakelar untuk draw debug markers: true = nyala, false = mati (bawaan 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 |
Tingkat atau pengali untuk highlight marker scale. |
↳ highlightMarkerZOffset |
0.1 |
Angka untuk highlight marker z offset (bawaan 0.1). |
↳ highlightMarkerColor |
table |
Tabel entri highlight marker color. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri 1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
config/smelting.lua - 20 opsi#
This replaces the old forge/anvil/crafting systems, which were removed in
| Setting | Default | What it does |
|---|---|---|
Smelting |
table |
Tabel entri smelting. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 |
Jarak dalam satuan game untuk interact distance. |
↳ pedSpawnDistance |
160.0 |
Jarak dalam satuan game untuk ped spawn distance. |
↳ pedDespawnDistance |
240.0 |
Jarak dalam satuan game untuk 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 = ya, false = tidak (bawaan true). |
↳ maxOpenOrders |
5 |
unfinished orders one character may hold, per NPC |
↳ maxAmountPerOrder |
50 |
output batches in a single order |
↳ minAmountPerOrder |
1 |
Minimum atau level yang dibutuhkan untuk 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 |
Tingkat atau pengali untuk 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 |
Pengaturan waktu untuk place duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ 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 |
Pengaturan blip peta atau ikon untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"ar" |
Bahasa antarmuka skrip ini (en atau ar). |
Locale |
table |
Bahasa antarmuka skrip ini (en atau ar). |
↳ en |
table |
Tabel entri en. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ar |
table |
Tabel entri ar. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ distance |
10.0 |
Jarak dalam satuan game untuk 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" |
Pengaturan untuk 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 |
Menyalakan atau mematikan enabled (bawaan 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 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk lawmen jobs. |
↳ bwsheriff |
true |
Sakelar untuk bwsheriff: true = nyala, false = mati (bawaan true). |
↳ valsheriff |
true |
Sakelar untuk valsheriff: true = nyala, false = mati (bawaan true). |
↳ armsheriff |
true |
Sakelar untuk armsheriff: true = nyala, false = mati (bawaan true). |
↳ armheriff |
true |
legacy typo kept for servers that still use it |
↳ twsheriff |
true |
Sakelar untuk twsheriff: true = nyala, false = mati (bawaan true). |
↳ stbsheriff |
true |
Sakelar untuk stbsheriff: true = nyala, false = mati (bawaan true). |
↳ rhdsheriff |
true |
Sakelar untuk rhdsheriff: true = nyala, false = mati (bawaan true). |
↳ sdsheriff |
true |
Sakelar untuk sdsheriff: true = nyala, false = mati (bawaan true). |
↳ annsheriff |
true |
Sakelar untuk annsheriff: true = nyala, false = mati (bawaan true). |
↳ marshal |
true |
Sakelar untuk marshal: true = nyala, false = mati (bawaan true). |
↳ sisika |
true |
Sakelar untuk sisika: true = nyala, false = mati (bawaan true). |
↳ police |
true |
Sakelar untuk police: true = nyala, false = mati (bawaan true). |
↳ ALFIE |
true |
Sakelar untuk alfie: true = nyala, false = mati (bawaan true). |
↳ Guamrma |
true |
Sakelar untuk guamrma: true = nyala, false = mati (bawaan 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 |
Angka untuk active lawmen player count (bawaan 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 |
Tingkat atau pengali untuk chance. |
↳ AlertDelay |
3 |
second (How many seconds after a shot is fired) |
↳ blipname |
"Report Moonshine Sale!" |
Pengaturan untuk blipname. |
↳ blipsprite |
1001245999 |
Angka untuk blipsprite (bawaan 1001245999). |
↳ blipscale |
0.5 |
Angka untuk blipscale (bawaan 0.5). |
↳ blipmodifier |
"BLIP_MODIFIER_MP_COLOR_32" |
Pengaturan untuk blipmodifier. |
↳ blipradius |
10.0 |
Angka untuk blipradius (bawaan 10.0). |
↳ alerttime |
30 |
after how many seconds the blip will be deleted ? 60 = 60000 |
SetupTownPropSettings |
table |
Model atau entitas game untuk 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 |
Tabel entri towns. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ AguasdulcesFarm |
1654810713 |
Angka untuk aguasdulces farm (bawaan 1654810713). |
↳ AguasdulcesRuins |
201158410 |
Angka untuk aguasdulces ruins (bawaan 201158410). |
↳ AguasdulcesVilla |
-1207133769 |
Angka untuk aguasdulces villa (bawaan -1207133769). |
↳ Annesburg |
7359335 |
Angka untuk annesburg (bawaan 7359335). |
↳ Armadillo |
-744494798 |
Angka untuk armadillo (bawaan -744494798). |
↳ BeechersHope |
-1708386982 |
Angka untuk beechers hope (bawaan -1708386982). |
↳ Blackwater |
1053078005 |
Angka untuk blackwater (bawaan 1053078005). |
↳ Braithwaite |
1778899666 |
Angka untuk braithwaite (bawaan 1778899666). |
↳ Butcher |
-1947415645 |
Angka untuk butcher (bawaan -1947415645). |
↳ Caliga |
1862420670 |
Angka untuk caliga (bawaan 1862420670). |
↳ cornwall |
-1851305682 |
Angka untuk cornwall (bawaan -1851305682). |
↳ Emerald |
-473051294 |
Angka untuk emerald (bawaan -473051294). |
↳ lagras |
406627834 |
Angka untuk lagras (bawaan 406627834). |
↳ Manicato |
1299204683 |
Angka untuk manicato (bawaan 1299204683). |
↳ Manzanita |
1463094051 |
Angka untuk manzanita (bawaan 1463094051). |
↳ Rhodes |
2046780049 |
Angka untuk rhodes (bawaan 2046780049). |
↳ Siska |
2147354003 |
Angka untuk siska (bawaan 2147354003). |
↳ StDenis |
-765540529 |
Angka untuk st denis (bawaan -765540529). |
↳ Strawberry |
427683330 |
Angka untuk strawberry (bawaan 427683330). |
↳ Tumbleweed |
-1524959147 |
Angka untuk tumbleweed (bawaan -1524959147). |
↳ valentine |
459833523 |
Angka untuk valentine (bawaan 459833523). |
↳ VANHORN |
2126321341 |
Angka untuk vanhorn (bawaan 2126321341). |
↳ Wallace |
-872622034 |
Angka untuk wallace (bawaan -872622034). |
↳ wapiti |
1663398575 |
Angka untuk wapiti (bawaan 1663398575). |
InteriorProp |
"p_outhouse05x" |
Model atau entitas game untuk interior prop. |
ShellSpawnDistance |
100 |
Jarak dalam satuan game untuk shell spawn distance. |
PropSpawnDistance |
40 |
Jarak dalam satuan game untuk prop spawn distance. |
PropInteractionDistance |
3 |
Jarak dalam satuan game untuk prop interaction distance. |
MaximumCreateMoonshineTable |
2 |
Batas atas untuk maximum create moonshine table. |
MaxCraftMultipler |
5 |
Batas atas untuk max craft multipler. |
SmokeEffect |
table |
Tabel entri smoke effect. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ dict |
"scr_net_gangbounty" |
Pengaturan animasi untuk dict. |
↳ name |
"scr_net_gangbounty_smoke" |
Teks yang dilihat pemain untuk name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ distance |
300 |
Jarak dalam satuan game untuk distance. |
↳ SmokeScale |
0.8 |
Tingkat atau pengali untuk smoke scale. |
FailedMissionRemoveMoney |
10 |
Penalty money to be deducted from the player if he fails to deliver the items to the recipient |
DrawSetting |
table |
Tabel entri draw setting. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri 1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 2 |
table |
Tabel entri 2. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 3 |
table |
Tabel entri 3. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 4 |
table |
Tabel entri 4. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Customers |
table |
Tabel entri customers. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
InteriorSets |
table |
Tabel entri interior sets. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ standart |
table |
Tabel entri standart. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ hunter |
table |
Tabel entri hunter. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ christmas |
table |
Tabel entri christmas. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ floral |
table |
Tabel entri floral. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ goth |
table |
Tabel entri goth. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ refined |
table |
Tabel entri refined. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ stonewall |
table |
Tabel entri stonewall. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri moonshine interior1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ moonshine_interior2 |
table |
Tabel entri moonshine interior2. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ moonshine_interior3 |
table |
Tabel entri moonshine interior3. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ moonshine_interior4 |
table |
Tabel entri moonshine interior4. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ moonshine_interior5 |
table |
Tabel entri moonshine interior5. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ moonshine_interior6 |
table |
Tabel entri moonshine interior6. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ moonshine_interior7 |
table |
Tabel entri moonshine interior7. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Levels |
table |
Tabel entri levels. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 0 |
0 |
Angka untuk 0 (bawaan 0). |
↳ 1 |
1000 |
Angka untuk 1 (bawaan 1000). |
↳ 2 |
2000 |
Angka untuk 2 (bawaan 2000). |
↳ 3 |
3000 |
Angka untuk 3 (bawaan 3000). |
↳ 4 |
4000 |
Angka untuk 4 (bawaan 4000). |
↳ 5 |
5000 |
Angka untuk 5 (bawaan 5000). |
↳ 6 |
6000 |
Angka untuk 6 (bawaan 6000). |
↳ 7 |
7000 |
Angka untuk 7 (bawaan 7000). |
↳ 8 |
8000 |
Angka untuk 8 (bawaan 8000). |
↳ 9 |
9000 |
Angka untuk 9 (bawaan 9000). |
↳ 10 |
10000 |
Angka untuk 10 (bawaan 10000). |
↳ 11 |
11000 |
Angka untuk 11 (bawaan 11000). |
↳ 12 |
12000 |
Angka untuk 12 (bawaan 12000). |
↳ 13 |
13000 |
Angka untuk 13 (bawaan 13000). |
↳ 14 |
14000 |
Angka untuk 14 (bawaan 14000). |
↳ 15 |
15000 |
Angka untuk 15 (bawaan 15000). |
↳ 16 |
16000 |
Angka untuk 16 (bawaan 16000). |
↳ 17 |
17000 |
Angka untuk 17 (bawaan 17000). |
↳ 18 |
18000 |
Angka untuk 18 (bawaan 18000). |
↳ 19 |
19000 |
Angka untuk 19 (bawaan 19000). |
↳ 20 |
20000 |
Angka untuk 20 (bawaan 20000). |
↳ 21 |
21000 |
Angka untuk 21 (bawaan 21000). |
↳ 22 |
22000 |
Angka untuk 22 (bawaan 22000). |
↳ 23 |
23000 |
Angka untuk 23 (bawaan 23000). |
↳ 24 |
24000 |
Angka untuk 24 (bawaan 24000). |
↳ 25 |
25000 |
Angka untuk 25 (bawaan 25000). |
↳ 26 |
26000 |
Angka untuk 26 (bawaan 26000). |
↳ 27 |
27000 |
Angka untuk 27 (bawaan 27000). |
↳ 28 |
28000 |
Angka untuk 28 (bawaan 28000). |
↳ 29 |
29000 |
Angka untuk 29 (bawaan 29000). |
↳ 30 |
30000 |
Angka untuk 30 (bawaan 30000). |
↳ 31 |
31000 |
Angka untuk 31 (bawaan 31000). |
↳ 32 |
32000 |
Angka untuk 32 (bawaan 32000). |
↳ 33 |
33000 |
Angka untuk 33 (bawaan 33000). |
↳ 34 |
34000 |
Angka untuk 34 (bawaan 34000). |
↳ 35 |
35000 |
Angka untuk 35 (bawaan 35000). |
↳ 36 |
36000 |
Angka untuk 36 (bawaan 36000). |
↳ 37 |
37000 |
Angka untuk 37 (bawaan 37000). |
↳ 38 |
38000 |
Angka untuk 38 (bawaan 38000). |
↳ 39 |
39000 |
Angka untuk 39 (bawaan 39000). |
↳ 40 |
40000 |
Angka untuk 40 (bawaan 40000). |
↳ 41 |
41000 |
Angka untuk 41 (bawaan 41000). |
↳ 42 |
42000 |
Angka untuk 42 (bawaan 42000). |
↳ 43 |
43000 |
Angka untuk 43 (bawaan 43000). |
↳ 44 |
44000 |
Angka untuk 44 (bawaan 44000). |
↳ 45 |
45000 |
Angka untuk 45 (bawaan 45000). |
↳ 46 |
46000 |
Angka untuk 46 (bawaan 46000). |
↳ 47 |
47000 |
Angka untuk 47 (bawaan 47000). |
↳ 48 |
48000 |
Angka untuk 48 (bawaan 48000). |
↳ 49 |
49000 |
Angka untuk 49 (bawaan 49000). |
↳ 50 |
50000 |
Angka untuk 50 (bawaan 50000). |
Moonshines |
table |
Tabel entri moonshines. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri mp006 p moonshiner still04x. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Prompts |
table |
Tabel entri prompts. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ setupMoonshine |
table |
Tabel entri setup moonshine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ interactMoonshine |
table |
Tabel entri interact moonshine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ shell |
table |
Tabel entri shell. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ exitshell |
table |
Tabel entri exitshell. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ shellstash |
table |
Tabel entri shellstash. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ shellsellmenu |
table |
Tabel entri shellsellmenu. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ wagonrob |
table |
Tabel entri wagonrob. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ delivery |
table |
Tabel entri delivery. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
ProgressBar |
table |
Tabel entri progress bar. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ progresstype |
"innercircle" |
Pengaturan untuk progresstype. |
↳ color |
"#c40000" |
Pengaturan untuk color. |
JRS MOONSHINE - Open replacement settings
| Setting | Default | What it does |
|---|---|---|
JRS |
Config.JRS or { |
Pengaturan untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Boards |
table |
Tabel entri boards. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ valentine |
table |
Tabel entri valentine. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ saintdenis |
table |
Tabel entri saintdenis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ rhodes |
table |
Tabel entri rhodes. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ annesburg |
table |
Tabel entri annesburg. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ blackwater |
table |
Tabel entri blackwater. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ strawberry |
table |
Tabel entri strawberry. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ armadillo |
table |
Tabel entri armadillo. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ tumbleweed |
table |
Tabel entri tumbleweed. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ guarma |
table |
Tabel entri guarma. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
config/guides.lua - 8 opsi#
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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ BlipSprite |
"blip_ambient_chore" |
Pengaturan blip peta atau ikon untuk 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 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk jobs. |
config/jobs.lua - 22 opsi#
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 |
Tabel entri hunter. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ publicjobs |
table |
Tabel entri publicjobs. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ surfacecleaner |
table |
Tabel entri surfacecleaner. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ trachboy |
table |
Tabel entri trachboy. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ delivery |
table |
Tabel entri delivery. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri legendary hunter. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ farmer |
table |
Tabel entri farmer. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ chicken |
table |
Tabel entri chicken. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ mill |
table |
Worked at jrs_business's Mill Company (Config.PublicJobs.companies.mill). |
↳ herbalist |
table |
Tabel entri herbalist. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ fisher |
table |
Tabel entri fisher. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ lumberjack |
table |
Tabel entri lumberjack. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri bountyhunter. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ beer |
table |
Tabel entri beer. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ oiler |
table |
Tabel entri oiler. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ mingold |
table |
Tabel entri mingold. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ moonshiner |
table |
Tabel entri moonshiner. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
config/management.lua - 16 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Management |
table |
Tabel entri management. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ AutoSaveCurrentJob |
true |
Automatically keeps externally assigned REDEMPIRE jobs in the player's saved job list. |
↳ AutoSaveIntervalMs |
15 * 60 * 1000 |
Pengaturan waktu untuk auto save interval ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ SaveOnCharacterReady |
true |
Sakelar untuk save on character ready: true = nyala, false = mati (bawaan true). |
↳ SaveOnSwitch |
true |
Sakelar untuk save on switch: true = nyala, false = mati (bawaan 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 |
Sakelar untuk hire makes active: true = nyala, false = mati (bawaan true). |
↳ DefaultHireGrade |
0 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk default hire grade. |
↳ PreventSelfFire |
true |
Sakelar untuk prevent self fire: true = nyala, false = mati (bawaan true). |
↳ MaximumEmployeesShown |
100 |
Batas atas untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Settings |
table |
Tabel entri settings. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
↳ Language |
"ar" |
Bahasa antarmuka skrip ini (en atau 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 |
Tabel entri core. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Database |
table |
Tabel entri database. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Command |
table |
Tabel entri command. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Notifications |
table |
Tabel entri notifications. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Security |
table |
Tabel entri security. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ FallbackJob |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk fallback job. |
↳ XP |
table |
Tabel entri xp. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Interaction |
table |
Tabel entri interaction. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ UI |
table |
Tabel entri ui. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
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" |
Pengaturan untuk core resource. |
↳ InventoryResource |
"jrs_inventory" |
Pengaturan untuk inventory resource. |
↳ RequireIdentity |
true |
Requires identity: true = ya, false = tidak (bawaan true). |
↳ UseCoreNotifications |
true |
Menyalakan atau mematikan core notifications (bawaan true). |
↳ NotificationDuration |
4500 |
Pengaturan waktu untuk notification duration. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AllowCoreAdmins |
true |
Allows core admins: true = ya, false = tidak (bawaan true). |
↳ AdminActsAsEditor |
true |
Sakelar untuk admin acts as editor: true = nyala, false = mati (bawaan true). |
↳ VerifiedCoreVersion |
"1.0.18" |
Pengaturan untuk verified core version. |
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
Language |
"ar" |
'en' or 'ar' |
NewspaperYear |
1901 |
Angka untuk newspaper year (bawaan 1901). |
InteractionKey |
0x760A9C6F |
G |
Prompt |
table |
Teks yang dilihat pemain untuk prompt. Ubah untuk menerjemahkan atau mengganti nama. |
↳ 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" |
Tombol atau kontrol untuk action text key. Kontrol adalah nilai hash dari daftar input game. |
BlipModifier |
"BLIP_MODIFIER_MP_COLOR_2" |
Cyan / Teal |
BlipScale |
0.7 |
Pengaturan blip peta atau ikon untuk blip scale. |
InteractionDistance |
2.5 |
Jarak dalam satuan game untuk interaction distance. |
EnforceOpeningHours |
false |
false = newspaper stands stay available 24/7. Set true to enforce each stand's openTime/closeTime. |
SpawnDistance |
55.0 |
Jarak dalam satuan game untuk spawn distance. |
ServerDistanceTolerance |
4.5 |
Jarak dalam satuan game untuk server distance tolerance. |
ServerDistanceCheck |
true |
Sakelar untuk server distance check: true = nyala, false = mati (bawaan true). |
NewspaperItem |
"jrs_newspaper" |
Item inventaris yang dipakai newspaper item. Nama harus ada di tabel 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ KeepExactEdition |
true |
Sakelar untuk keep exact edition: true = nyala, false = mati (bawaan true). |
↳ StoreDisplayMetadata |
true |
Sakelar untuk store display metadata: true = nyala, false = mati (bawaan true). |
Currency |
0 |
0 = Money in jrs_core |
DefaultPrice |
0.25 |
jrs_core supports decimal cash values |
ArchiveCopyUsesPublisherPrice |
true |
Sakelar untuk archive copy uses publisher price: true = nyala, false = mati (bawaan true). |
RequestTimeoutMs |
8000 |
Pengaturan waktu untuk request timeout ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
SingleJobMode |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk single job mode. |
↳ enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ jobs |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk jobs. |
GeneralJournalistJobs |
table |
General journalist jobs that have writing/publishing access across all newspaper stands and offices |
↳ journalist |
true |
Sakelar untuk journalist: true = nyala, false = mati (bawaan true). |
↳ reporter |
true |
Sakelar untuk reporter: true = nyala, false = mati (bawaan true). |
↳ newspaper |
true |
Sakelar untuk newspaper: true = nyala, false = mati (bawaan true). |
↳ press |
true |
Sakelar untuk press: true = nyala, false = mati (bawaan true). |
↳ editor |
true |
Sakelar untuk editor: true = nyala, false = mati (bawaan true). |
↳ news |
true |
Sakelar untuk news: true = nyala, false = mati (bawaan 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 |
Sakelar untuk owner: true = nyala, false = mati (bawaan true). |
↳ admin |
true |
Sakelar untuk admin: true = nyala, false = mati (bawaan true). |
↳ superadmin |
true |
Sakelar untuk superadmin: true = nyala, false = mati (bawaan true). |
↳ mod |
true |
Sakelar untuk mod: true = nyala, false = mati (bawaan true). |
↳ moderator |
true |
Sakelar untuk moderator: true = nyala, false = mati (bawaan true). |
↳ support |
true |
Sakelar untuk support: true = nyala, false = mati (bawaan true). |
↳ god |
true |
Sakelar untuk god: true = nyala, false = mati (bawaan 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" |
Pengaturan untuk stdenis journalist. |
↳ stdenis_editor |
"stdeniseditor" |
Pengaturan untuk stdenis editor. |
↳ valentine_journalist |
"valentinejournalist" |
Pengaturan untuk valentine journalist. |
↳ valentine_editor |
"valentineeditor" |
Pengaturan untuk valentine editor. |
↳ blackwater_journalist |
"blackwaterjournalist" |
Pengaturan untuk blackwater journalist. |
↳ blackwater_editor |
"blackwatereditor" |
Pengaturan untuk blackwater editor. |
JobPublisherMap |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk job publisher map. |
↳ Config.Jobs.stdenis_journalist |
1 |
Angka untuk config.jobs.stdenis journalist (bawaan 1). |
↳ Config.Jobs.stdenis_editor |
1 |
Angka untuk config.jobs.stdenis editor (bawaan 1). |
↳ Config.Jobs.valentine_journalist |
2 |
Angka untuk config.jobs.valentine journalist (bawaan 2). |
↳ Config.Jobs.valentine_editor |
2 |
Angka untuk config.jobs.valentine editor (bawaan 2). |
↳ Config.Jobs.blackwater_journalist |
3 |
Angka untuk config.jobs.blackwater journalist (bawaan 3). |
↳ Config.Jobs.blackwater_editor |
3 |
Angka untuk config.jobs.blackwater editor (bawaan 3). |
EditorJobs |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk editor jobs. |
↳ Config.Jobs.stdenis_editor |
true |
Sakelar untuk config.jobs.stdenis editor: true = nyala, false = mati (bawaan true). |
↳ Config.Jobs.valentine_editor |
true |
Sakelar untuk config.jobs.valentine editor: true = nyala, false = mati (bawaan true). |
↳ Config.Jobs.blackwater_editor |
true |
Sakelar untuk config.jobs.blackwater editor: true = nyala, false = mati (bawaan 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" |
Pengaturan untuk 1. |
↳ 2 |
"valentinenews" |
Pengaturan untuk 2. |
↳ 3 |
"blackwaternews" |
Pengaturan untuk 3. |
NewspaperStands |
table |
Tabel entri newspaper stands. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
EditorDesks |
table |
Separate desk/archive/investigation points are disabled so all features are consolidated directly into the newspaper stands (Config.NewspaperStands). |
ArchiveLocations |
table |
Koordinat dunia (x, y, z) untuk archive locations. |
InvestigationLocations |
table |
Koordinat dunia (x, y, z) untuk investigation locations. |
OfficeNPCGroups |
table |
Optional immersive office NPCs based on the supported newspaper office locations. |
↳ saintdenis |
table |
Tabel entri saintdenis. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ blackwater |
table |
Tabel entri blackwater. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
DefaultPublishers |
table |
Tabel entri default publishers. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 1 |
table |
Tabel entri 1. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 2 |
table |
Tabel entri 2. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 3 |
table |
Tabel entri 3. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
DefaultEditionArticles |
3 |
Angka untuk default edition articles (bawaan 3). |
MaxArticleLength |
12000 |
Batas atas untuk max article length. |
MaxTitleLength |
255 |
Batas atas untuk max title length. |
MaxArchiveResults |
50 |
Batas atas untuk max archive results. |
MaxInvestigations |
100 |
Batas atas untuk max investigations. |
ActionCooldownMs |
350 |
Pengaturan waktu untuk action cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
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 opsi#
Police recruitment/hiring itself is NOT duplicated here - jrs_police already
| Setting | Default | What it does |
|---|---|---|
Honor |
table |
Tabel entri honor. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Default |
50 |
Angka untuk default (bawaan 50). |
↳ Minimum |
0 |
Minimum atau level yang dibutuhkan untuk minimum. |
↳ Maximum |
100 |
Batas atas untuk maximum. |
↳ LowThreshold |
30 |
Angka untuk low threshold (bawaan 30). |
↳ ShowDuration |
5000 |
Pengaturan waktu untuk show duration. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ ShowOnChange |
true |
Shows on change: true = ya, false = tidak (bawaan 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 |
Menyalakan atau mematikan enabled (bawaan 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 |
Tabel entri integrity commands. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Player |
"integrity" |
Pengaturan untuk player. |
↳ OfficerCheck |
"checkhonor" |
Pengaturan untuk officer check. |
↳ EnableAdminCommands |
true |
Menyalakan atau mematikan admin commands (bawaan true). |
↳ AdminAce |
"jrs.integrity.admin" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk admin ace. |
↳ AdminIdentifiers |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk admin identifiers. |
↳ Add |
"addH" |
Pengaturan untuk add. |
↳ Remove |
"delH" |
Pengaturan untuk remove. |
↳ Set |
"setH" |
Pengaturan untuk set. |
IntegritySecurity |
table |
Tabel entri integrity security. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ MaximumExternalChange |
100 |
Batas atas untuk maximum external change. |
↳ RequestCooldownMs |
500 |
Pengaturan waktu untuk request cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ CrimeServerCooldownMs |
1500 |
Pengaturan waktu untuk crime server cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Crime |
table |
Tabel entri crime. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan 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 |
Angka untuk kill aim grace ms (bawaan 350). |
↳ KillConfirmationWindowMs |
15000 |
Angka untuk kill confirmation window ms (bawaan 15000). |
↳ ShootingNpcPenalty |
2 |
Angka untuk shooting npc penalty (bawaan 2). |
↳ ClientCooldownMs |
1500 |
Pengaturan waktu untuk client cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ ScanIntervalMs |
75 |
Pengaturan waktu untuk scan interval ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ UseDamageEvent |
true |
Menyalakan atau mematikan damage event (bawaan true). |
↳ AimGraceMs |
2500 |
Angka untuk aim grace ms (bawaan 2500). |
↳ RecentShotWindowMs |
2500 |
Angka untuk recent shot window ms (bawaan 2500). |
↳ DamageScanRadius |
120.0 |
Jarak dalam satuan game untuk damage scan radius. |
↳ HumanCacheRadius |
140.0 |
Jarak dalam satuan game untuk human cache radius. |
↳ HumanCacheIntervalMs |
200 |
Pengaturan waktu untuk human cache interval ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AllowAllHumanNpcs |
true |
Allows all human npcs: true = ya, false = tidak (bawaan true). |
↳ PenalizeAnimals |
false |
true: killing/shooting any non-player ped (humans or animals) removes integrity. false: only human NPCs remove integrity. |
↳ WitnessEnabled |
true |
Sakelar untuk witness enabled: true = nyala, false = mati (bawaan true). |
↳ WitnessRadius |
20.0 |
Jarak dalam satuan game untuk witness radius. |
↳ WitnessBlipDurationMs |
5000 |
Pengaturan waktu untuk witness blip duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AllowedPedTypes |
table |
Model atau entitas game untuk allowed ped types. |
LowHonorNpcAggression |
table |
Tabel entri low honor npc aggression. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ CheckIntervalMs |
1000 |
Pengaturan waktu untuk check interval ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AttackRadius |
10.0 |
Jarak dalam satuan game untuk attack radius. |
↳ RetargetCooldownMs |
3000 |
Pengaturan waktu untuk retarget cooldown ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
IntegrityServices |
table |
Tabel entri integrity services. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ PromptKey |
0x8CC9CD42 |
X / INPUT_CONTEXT_X |
↳ PromptHold |
true |
Sakelar untuk prompt hold: true = nyala, false = mati (bawaan true). |
↳ RequireServerDistanceValidation |
true |
Requires server distance validation: true = ya, false = tidak (bawaan true). |
↳ ServerNpcValidationDistance |
7.0 |
Jarak dalam satuan game untuk server npc validation distance. |
↳ InteractDistance |
2.2 |
Jarak dalam satuan game untuk interact distance. |
↳ RequirePoliceJob |
false |
Requires police job: true = ya, false = tidak (bawaan 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 |
Tabel entri donation. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Cleaning |
table |
Tabel entri cleaning. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri integrity texts. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Title |
"السمعة والسلامة" |
Teks yang dilihat pemain untuk title. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Current |
"مستوى السمعة الحالي: %s" |
Pengaturan untuk current. |
↳ Increased |
"ارتفعت السمعة إلى %s" |
Pengaturan untuk increased. |
↳ Decreased |
"انخفضت السمعة إلى %s" |
Pengaturan untuk decreased. |
↳ CharacterNotReady |
"بيانات شخصيتك غير جاهزة بعد." |
Pengaturan untuk character not ready. |
↳ NoPermission |
'ليس لديك صلاحية لاستخدام هذ... |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk no permission. |
↳ InvalidCommand |
'الاستخدام: /%s [معرف اللاعب... |
Pengaturan untuk invalid command. |
↳ InvalidSetCommand |
'الاستخدام: /%s [معرف اللاعب... |
Pengaturan untuk invalid set command. |
↳ PlayerNotFound |
"اللاعب غير موجود." |
Pengaturan untuk player not found. |
↳ DonationSuccess |
'تم قبول التبرع: $%s. ارتفعت... |
Pengaturan untuk donation success. |
↳ NotEnoughMoney |
"ليس لديك مبلغ كافٍ للتبرع." |
Nilai uang untuk not enough money. Hadiah melewati pengali ekonomi jrs_core. |
↳ DonationProcessingFailed |
'فشل معالجة التبرع، يرجى الم... |
Pengaturan untuk donation processing failed. |
↳ IntegrityFull |
'مستوى سمعتك في الحد الأقصى ... |
Pengaturan untuk integrity full. |
↳ DonationTooLarge |
'اختر مبلغ تبرع أصغر لتجنب ه... |
Pengaturan untuk donation too large. |
↳ ServiceCooldown |
'يرجى الانتظار %s ثانية قبل ... |
Pengaturan waktu untuk service cooldown. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ CleaningStarted |
'بدأت مهمة تنظيف المدينة. تو... |
Pengaturan untuk cleaning started. |
↳ CleaningInProgress |
"جاري التنظيف..." |
Pengaturan untuk cleaning in progress. |
↳ CleaningProgress |
"تم تنظيف المنطقة: %s/%s." |
Pengaturan untuk cleaning progress. |
↳ CleaningCompleted |
'اكتملت مهمة التنظيف. ارتفعت... |
Pengaturan untuk cleaning completed. |
↳ CleaningCancelled |
"تم إلغاء مهمة التنظيف." |
Pengaturan untuk cleaning cancelled. |
↳ CleaningAlreadyActive |
"لديك مهمة تنظيف نشطة بالفعل." |
Pengaturan untuk cleaning already active. |
↳ CleaningNotActive |
"ليس لديك مهمة تنظيف نشطة." |
Pengaturan untuk cleaning not active. |
↳ CleaningCooldown |
'ستكون مهمة التنظيف متاحة مج... |
Pengaturan waktu untuk cleaning cooldown. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ CleaningInvalidLocation |
"أنت لست في موقع التنظيف الصحيح." |
Koordinat dunia (x, y, z) untuk cleaning invalid location. |
↳ MustBeOnFoot |
'يجب أن تكون مترجلاً لتنظيف ... |
Pengaturan untuk must be on foot. |
↳ TooFarFromStation |
"اقترب أكثر من موظف المركز." |
Pengaturan untuk too far from station. |
↳ PoliceOnly |
'هذه الخدمة مخصصة لرجال الشر... |
Pengaturan untuk police only. |
config/main.lua - 32 opsi#
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" |
Teks yang dilihat pemain untuk name menu. Ubah untuk menerjemahkan atau mengganti nama. |
Menu_command |
"police" |
Pengaturan untuk menu command. |
onduty_command |
"onduty" |
Pengaturan untuk onduty command. |
offduty_command |
"offduty" |
Pengaturan untuk offduty command. |
jailCommand |
"policejail" |
Pengaturan untuk jail command. |
unjailCommand |
"policeunjail" |
Pengaturan untuk 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 |
"" |
Pengaturan untuk restore outfit command. |
STATION BLIPS & STATUS SYSTEM
| Setting | Default | What it does |
|---|---|---|
StationBlips |
table |
Pengaturan blip peta atau ikon untuk station blips. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 |
Tingkat atau pengali untuk scale. |
↳ Locations |
table |
Koordinat dunia (x, y, z) untuk locations. |
Blips |
Config.StationBlips.Location... |
Pengaturan blip peta atau ikon untuk blips. |
blip |
Config.StationBlips.Location... |
Pengaturan blip peta atau ikon untuk blip. |
Key |
Config.StationBlips.Key |
Tombol atau kontrol untuk key. Kontrol adalah nilai hash dari daftar input game. |
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... |
Pengaturan untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
BankFine |
table |
Nilai uang untuk bank fine. Hadiah melewati pengali ekonomi 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 |
Batas atas untuk 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 baris Lua |
Database tables
jrs_poll_votes, jrs_polls
config.lua - 15 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Command |
"polls" |
Pengaturan untuk command. |
AdminGroups |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk 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... |
Pengaturan untuk valentine. |
↳ saintdenis |
'Saint Denis', annesburg = '... |
Pengaturan untuk saintdenis. |
DeputiesCanCreate |
true |
Let deputies open city polls too. |
MaxQuestionLength |
150 |
Batas atas untuk max question length. |
MaxOptionLength |
60 |
Batas atas untuk max option length. |
MinOptions |
2 |
Minimum atau level yang dibutuhkan untuk min options. |
MaxOptions |
6 |
Batas atas untuk max options. |
MinHours |
1 |
Minimum atau level yang dibutuhkan untuk min hours. |
MaxHours |
168 |
Batas atas untuk max hours. |
MaxActivePerCity |
3 |
Batas atas untuk 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 opsi#
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 |
Koordinat dunia (x, y, z) untuk locations. |
KEYS
| Setting | Default | What it does |
|---|---|---|
Keys |
table |
Tombol atau kontrol untuk keys. Kontrol adalah nilai hash dari daftar input game. |
↳ InteractJob |
"INPUT_INTERACT_OPTION1" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk interact job. |
NAVIGATION COLORS
| Setting | Default | What it does |
|---|---|---|
NavigationColors |
table |
Tabel entri navigation colors. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Blip |
"BLIP_MODIFIER_MP_COLOR_11" |
Pengaturan blip peta atau ikon untuk blip. |
↳ Route |
"COLOR_PLATFORM_GREEN" |
Pengaturan untuk route. |
JOB SPECIFIC BLIPS & NAVIGATION
| Setting | Default | What it does |
|---|---|---|
JobBlips |
table |
Pengaturan blip peta atau ikon untuk job blips. |
↳ Labour |
table |
Tabel entri labour. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Distribute |
table |
Tabel entri distribute. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Sweep |
table |
Tabel entri sweep. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Sharpen |
table |
Tabel entri sharpen. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ChopWood |
table |
Tabel entri chop wood. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ WaterCarrying |
table |
Tabel entri water carrying. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
PROGRESBAR
| Setting | Default | What it does |
|---|---|---|
ProgressBar |
table |
Tabel entri progress bar. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ type |
"innercircle" |
Pengaturan untuk type. |
↳ color |
"#0A4F05" |
Pengaturan untuk color. |
PUBLIC JOBS
| Setting | Default | What it does |
|---|---|---|
Labour |
table |
Tabel entri labour. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Distribute |
table |
Tabel entri distribute. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Sweep |
table |
Tabel entri sweep. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
Sharpen |
table |
Tabel entri sharpen. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
ChopWood |
table |
Tabel entri chop wood. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
WaterCarrying |
table |
Tabel entri water carrying. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
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 |
Angka untuk heading (bawaan 180.0). |
↳ radius |
1.5 |
Jarak dalam satuan game untuk 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 |
Pengaturan blip peta atau ikon untuk 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 |
Tabel entri 5. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 10 |
table |
Tabel entri 10. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 25 |
table |
Tabel entri 25. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 50 |
table |
Tabel entri 50. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 opsi#
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" |
Pengaturan blip peta atau ikon untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
Commands |
table |
Tabel entri commands. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Create |
"createstash" |
Pengaturan untuk create. |
↳ Remove |
"removestash" |
Pengaturan untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Text |
"Open Stash Menu" |
Teks yang dilihat pemain untuk text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ GroupText |
"Stash" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group text. |
↳ Hold |
false |
Sakelar untuk hold: true = nyala, false = mati (bawaan false). |
Object |
table |
Physical object spawned at every stash location. Model can be changed without touching client/server code. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Model |
"p_chest01x" |
Model atau entitas game untuk model. |
↳ FallbackModels |
table |
Model atau entitas game untuk fallback models. |
↳ SpawnDistance |
70.0 |
Jarak dalam satuan game untuk spawn distance. |
↳ DespawnDistance |
85.0 |
Jarak dalam satuan game untuk despawn distance. |
↳ ZOffset |
0.0 |
Angka untuk z offset (bawaan 0.0). |
↳ Freeze |
true |
Sakelar untuk freeze: true = nyala, false = mati (bawaan true). |
↳ Collision |
true |
Sakelar untuk collision: true = nyala, false = mati (bawaan true). |
PropertyStash |
table |
House stashes placed from the jrs_housing property menu. Count and capacity per house come from jrs_housing (Config.PropertyStashes); this is the prop. |
↳ Model |
"p_storagebox01x" |
Model atau entitas game untuk model. |
↳ FallbackModels |
table |
Model atau entitas game untuk 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 |
Menyalakan atau mematikan enabled (bawaan true). |
↳ PreviewDistance |
1.3 |
Jarak dalam satuan game untuk preview distance. |
↳ PreviewAlpha |
170 |
Angka untuk preview alpha (bawaan 170). |
↳ RotateSpeed |
90.0 |
Angka untuk rotate speed (bawaan 90.0). |
↳ Keys |
table |
Tombol atau kontrol untuk keys. Kontrol adalah nilai hash dari daftar input game. |
↳ ConfirmKey |
0x760A9C6F |
Tombol atau kontrol untuk confirm key. Kontrol adalah nilai hash dari daftar input game. |
↳ CancelKey |
0x156F7119 |
Tombol atau kontrol untuk cancel key. Kontrol adalah nilai hash dari daftar input game. |
↳ GroupText |
"House Stash" |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk group text. |
↳ ConfirmText |
"Place Stash" |
Teks yang dilihat pemain untuk confirm text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ CancelText |
"Cancel" |
Teks yang dilihat pemain untuk cancel text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ NextText |
"Change Furniture" |
Teks yang dilihat pemain untuk next text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ RotateText |
"Rotate" |
Teks yang dilihat pemain untuk rotate text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ ServerConfirmDistance |
4.0 |
Jarak dalam satuan game untuk server confirm distance. |
InteractionDistance |
2.0 |
Jarak dalam satuan game untuk interaction distance. |
ServerInteractionDistance |
4.0 |
Jarak dalam satuan game untuk server interaction distance. |
RemoveDistance |
5.0 |
Jarak dalam satuan game untuk remove distance. |
MinimumStashDistance |
3.0 |
Jarak dalam satuan game untuk minimum stash distance. |
SyncDistance |
150.0 |
reserved for future scoped sync; current sync remains authoritative for all stashes. |
MaxStashUsers |
999 |
Batas atas untuk max stash users. |
MaxStorageSize |
1000000 |
Batas atas untuk max storage size. |
MaxPriceMoney |
100000000 |
Nilai uang untuk max price money. Hadiah melewati pengali ekonomi jrs_core. |
MaxPriceGold |
1000000 |
Nilai uang untuk max price gold. Hadiah melewati pengali ekonomi 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 |
Pengaturan blip peta atau ikon untuk blips. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Sprite |
1151744703 |
Pengaturan blip peta atau ikon untuk sprite. |
↳ ForSaleLabel |
"Stash For Sale" |
Teks yang dilihat pemain untuk for sale label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ OwnedLabel |
"Your Stash" |
Teks yang dilihat pemain untuk owned label. Ubah untuk menerjemahkan atau mengganti nama. |
↳ HouseStashes |
true |
House stashes (jrs_housing): shown to the owner and key holders. |
↳ HouseLabel |
"House Stash" |
Teks yang dilihat pemain untuk house label. Ubah untuk menerjemahkan atau mengganti nama. |
AdminGroups |
table |
jrs_core groups allowed to use /createstash and /removestash. |
↳ owner |
true |
Sakelar untuk owner: true = nyala, false = mati (bawaan true). |
↳ admin |
true |
Sakelar untuk admin: true = nyala, false = mati (bawaan 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 |
"" |
Pengaturan untuk create. |
↳ Remove |
"" |
Pengaturan untuk remove. |
↳ Ownership |
"" |
Pengaturan untuk ownership. |
↳ Move |
"" |
Pengaturan untuk move. |
↳ Deposit |
"" |
Nilai uang untuk deposit. Hadiah melewati pengali ekonomi jrs_core. |
↳ Withdraw |
"" |
Pengaturan untuk withdraw. |
↳ AllowCustom |
true |
Owners can add a per-stash Discord webhook from the management UI. |
Text |
table |
Teks yang dilihat pemain untuk text. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Open |
"Open Stash" |
Pengaturan untuk open. |
↳ Buy |
"Buy Stash" |
Pengaturan untuk buy. |
↳ Manage |
"Manage Stash" |
Pengaturan untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"ar" |
Pengaturan untuk defaultlang. |
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
ConductorJob |
"conductor" |
job title of who can spawn a train |
CruiseControl |
false |
set true if you want to allow cruise control |
TrainControls |
table |
Tabel entri train controls. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ OpenMenuKey |
"L" |
Labels shown in the NUI |
↳ TrackLeftKey |
"A" |
Tombol atau kontrol untuk track left key. Kontrol adalah nilai hash dari daftar input game. |
↳ TrackRightKey |
"D" |
Tombol atau kontrol untuk track right key. Kontrol adalah nilai hash dari daftar input game. |
↳ AccelerateKey |
"W" |
Tombol atau kontrol untuk accelerate key. Kontrol adalah nilai hash dari daftar input game. |
↳ BrakeReverseKey |
"S" |
Tombol atau kontrol untuk brake reverse key. Kontrol adalah nilai hash dari daftar input game. |
↳ 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 |
Tombol atau kontrol untuk track left control. Kontrol adalah nilai hash dari daftar input game. |
↳ TrackRightControl |
0xB4E465B4 |
Tombol atau kontrol untuk track right control. Kontrol adalah nilai hash dari daftar input game. |
↳ 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 |
Tabel entri train preview. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ UseCurrentStation |
true |
preview the train on the current station track |
↳ Direction |
false |
Sakelar untuk direction: true = nyala, false = mati (bawaan false). |
↳ CameraDistance |
26.0 |
Jarak dalam satuan game untuk camera distance. |
↳ MinCameraDistance |
12.0 |
Jarak dalam satuan game untuk min camera distance. |
↳ MaxCameraDistance |
42.0 |
Jarak dalam satuan game untuk max camera distance. |
↳ CameraHeight |
5.4 |
Angka untuk camera height (bawaan 5.4). |
↳ LookAtHeight |
1.8 |
Angka untuk look at height (bawaan 1.8). |
↳ CameraFov |
38.0 |
Angka untuk camera fov (bawaan 38.0). |
↳ StartAngle |
90.0 |
Angka untuk start angle (bawaan 90.0). |
↳ RotateStep |
12.0 |
Angka untuk rotate step (bawaan 12.0). |
↳ ZoomStep |
2.5 |
Angka untuk zoom step (bawaan 2.5). |
↳ LoadTimeout |
15000 |
Pengaturan waktu untuk load timeout. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ Coords |
table |
Used only when UseCurrentStation is false. |
FuelSettings |
table |
Tabel entri fuel settings. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri condition settings. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk passenger job. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ KeepRoutesInRegion |
true |
keeps western and eastern rail networks separate |
↳ MinPassengers |
3 |
Minimum atau level yang dibutuhkan untuk min passengers. |
↳ MaxPassengers |
6 |
Batas atas untuk max passengers. |
↳ StartRadius |
55.0 |
Jarak dalam satuan game untuk start radius. |
↳ ArrivalRadius |
45.0 |
Jarak dalam satuan game untuk arrival radius. |
↳ RequiredStopSpeed |
0.8 |
Angka untuk required stop speed (bawaan 0.8). |
↳ BoardingWalkTime |
3500 |
Angka untuk boarding walk time (bawaan 3500). |
↳ TurnaroundDelay |
8000 |
Pengaturan waktu untuk turnaround delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ PedCleanupDelay |
12000 |
Pengaturan waktu untuk ped cleanup delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ BasePay |
0.42 |
Server-side fare calculation |
↳ PayPerPassenger |
0.10 |
Nilai uang untuk pay per passenger. Hadiah melewati pengali ekonomi jrs_core. |
↳ PayPerKilometer |
0.14 |
Nilai uang untuk pay per kilometer. Hadiah melewati pengali ekonomi jrs_core. |
↳ MinimumTripTime |
20 |
Minimum atau level yang dibutuhkan untuk minimum trip time. |
↳ PedModels |
table |
Model atau entitas game untuk ped models. |
BacchusBridgeDestroying |
table |
Tabel entri bacchus bridge destroying. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ 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 |
Tabel entri trains. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
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 |
Tabel entri stations. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
TicketBooth |
table |
Tabel entri ticket booth. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Item |
"train_ticket" |
Item inventaris yang dipakai item. Nama harus ada di tabel jrs_items. |
↳ GeneralTicketPrice |
2.50 |
Nilai uang untuk general ticket price. Hadiah melewati pengali ekonomi jrs_core. |
↳ ConsumeOnTrip |
true |
Sakelar untuk consume on trip: true = nyala, false = mati (bawaan true). |
↳ Blip |
table |
Pengaturan blip peta atau ikon untuk blip. |
↳ Destinations |
table |
Tabel entri destinations. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
LargeTrain |
table |
Tabel entri large train. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ RouteName |
"big_loop" |
Teks yang dilihat pemain untuk route name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ AllowConductorTakeover |
true |
Allows conductor takeover: true = ya, false = tidak (bawaan true). |
↳ WhistleOnArrival |
true |
Sakelar untuk whistle on arrival: true = nyala, false = mati (bawaan true). |
↳ WhistleOnDeparture |
true |
Sakelar untuk whistle on departure: true = nyala, false = mati (bawaan true). |
↳ StopDuration |
60 |
1 minute stop at every station |
↳ TicketCheckDistance |
15.0 |
Jarak dalam satuan game untuk ticket check distance. |
↳ Blip |
table |
Pengaturan blip peta atau ikon untuk blip. |
OnDemandTravel |
table |
Tabel entri on demand travel. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 |
Tabel entri station master npc. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
TrainRobbery |
table |
Idea 1: Train Robbery / Safe Heist (Without AI bots) |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 |
Nilai uang untuk min cash. Hadiah melewati pengali ekonomi jrs_core. |
↳ MaxCash |
400.0 |
Nilai uang untuk max cash. Hadiah melewati pengali ekonomi jrs_core. |
↳ RewardItems |
table |
Nilai uang untuk reward items. Hadiah melewati pengali ekonomi jrs_core. |
↳ CarriageIndex |
1 |
Baggage / freight car |
↳ LawJobs |
table |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk law jobs. |
↳ BlipDuration |
60 |
Seconds the emergency police blip flashes on the map |
TrainFreightStash |
table |
Idea 2: Freight & Mail Cargo Stash |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ CarriageIndex |
1 |
Baggage car |
↳ Capacity |
500 |
Maximum storage limit in kg |
↳ StashId |
"train_freight_bigloop" |
Pengaturan untuk 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 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug: true = ya, false = tidak (bawaan false). |
REDEMPIRE |
table |
Tabel entri redempire. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ CoreResource |
"jrs_core" |
Pengaturan untuk core resource. |
↳ InventoryResource |
"jrs_inventory" |
Pengaturan untuk inventory resource. |
↳ ItemName |
"truckr" |
Item inventaris yang dipakai item name. Nama harus ada di tabel jrs_items. |
↳ CloseInventoryOnUse |
true |
Sakelar untuk close inventory on use: true = nyala, false = mati (bawaan true). |
↳ RegistrationDelay |
1500 |
Pengaturan waktu untuk registration delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ RegistrationAttempts |
20 |
Angka untuk registration attempts (bawaan 20). |
↳ RegistrationRetryDelay |
1000 |
Pengaturan waktu untuk registration retry delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ NotificationDuration |
4000 |
Pengaturan waktu untuk notification duration. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Network |
table |
Tabel entri network. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ EntityRegistrationTimeout |
1500 |
Time allowed for a created entity to receive a network object. |
↳ EntityRegistrationRetryDelay |
25 |
Pengaturan waktu untuk entity registration retry delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Spawn |
table |
Koordinat dunia (x, y, z) untuk spawn. |
↳ BaseVehicleModel |
"coach4" |
Model atau entitas game untuk base vehicle model. |
↳ BodyModel |
"f15078" |
Model atau entitas game untuk body model. |
↳ WheelModel |
"f15078wheel" |
Model atau entitas game untuk wheel model. |
↳ DistanceInFront |
4.0 |
Jarak dalam satuan game untuk distance in front. |
↳ HeightOffset |
0.15 |
Angka untuk height offset (bawaan 0.15). |
↳ ClearRadius |
3.0 |
Jarak dalam satuan game untuk clear radius. |
↳ WarpIntoDriverSeat |
false |
Sakelar untuk warp into driver seat: true = nyala, false = mati (bawaan false). |
↳ ModelLoadTimeout |
10000 |
Pengaturan waktu untuk model load timeout. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ RegistrationDelay |
300 |
Pengaturan waktu untuk registration delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ DefaultEngineState |
false |
Sakelar untuk default engine state: true = nyala, false = mati (bawaan false). |
↳ OneTruckPerPlayer |
true |
Sakelar untuk one truck per player: true = nyala, false = mati (bawaan true). |
BaseVehicleGuard |
table |
Tabel entri base vehicle guard. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 = ya, false = tidak (bawaan true). |
↳ RequireDraftAnimal |
true |
Requires draft animal: true = ya, false = tidak (bawaan true). |
↳ MinimumDraftAnimals |
1 |
Minimum atau level yang dibutuhkan untuk minimum draft animals. |
↳ DraftHarnessSlots |
6 |
Batas atas untuk draft harness slots. |
↳ DraftAnimalSpawnTimeout |
3500 |
Pengaturan waktu untuk draft animal spawn timeout. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ DraftAnimalSpawnRetryDelay |
50 |
Pengaturan waktu untuk draft animal spawn retry delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ 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 |
Angka untuk base vehicle alpha (bawaan 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 |
Menyalakan atau mematikan draft animal visibility flag (bawaan true). |
↳ DraftAnimalAlpha |
0 |
Model atau entitas game untuk draft animal alpha. |
↳ HideDraftAnimalReins |
true |
Hides draft animal reins: true = ya, false = tidak (bawaan 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 |
Sakelar untuk completely disable draft animal collision: true = nyala, false = mati (bawaan true). |
↳ KeepDraftAnimalPhysics |
true |
Sakelar untuk keep draft animal physics: true = nyala, false = mati (bawaan true). |
↳ PreventDraftAnimalRagdoll |
true |
Sakelar untuk prevent draft animal ragdoll: true = nyala, false = mati (bawaan true). |
↳ ProtectDraftAnimals |
true |
Sakelar untuk protect draft animals: true = nyala, false = mati (bawaan true). |
↳ RemoteScanInterval |
1000 |
Nearby network trucks are rescanned, then hidden at a faster interval. |
↳ VisibilityGuardInterval |
100 |
Pengaturan waktu untuk visibility guard interval. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ LocalVisualGuardInterval |
50 |
Pengaturan waktu untuk local visual guard interval. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Attachments |
table |
Tabel entri attachments. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Body |
table |
Tabel entri body. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Wheels |
table |
Tabel entri wheels. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Lights |
table |
Tabel entri lights. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Exhaust |
table |
Tabel entri exhaust. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ AudioAnchor |
table |
Tabel entri audio anchor. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
DriverVisual |
table |
Tabel entri driver visual. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan 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 |
Sakelar untuk networked clone: true = nyala, false = mati (bawaan false). |
↳ EntryDelay |
650 |
Pengaturan waktu untuk entry delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ RevealDelay |
100 |
Pengaturan waktu untuk reveal delay. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ GuardInterval |
50 |
Pengaturan waktu untuk guard interval. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AnimationLoadTimeout |
5000 |
Pengaturan waktu untuk animation load timeout. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ AnimationDictionary |
"script_re@check_point@small_cart" |
Pengaturan animasi untuk animation dictionary. |
↳ AnimationName |
"int_loop_driver" |
Teks yang dilihat pemain untuk animation name. Ubah untuk menerjemahkan atau mengganti nama. |
↳ AnimationBlendIn |
8.0 |
Pengaturan animasi untuk animation blend in. |
↳ AnimationBlendOut |
1.0 |
Pengaturan animasi untuk animation blend out. |
↳ AnimationFlag |
1 |
Pengaturan animasi untuk animation flag. |
↳ AnimationPlaybackRate |
0.1 |
Pengaturan animasi untuk 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) |
Pengaturan untuk rotation. |
Controls |
table |
Tabel entri controls. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ ToggleEngine |
0x8AAA0AD4 |
Left Alt |
↳ SteerLeft |
0x7065027D |
A |
↳ SteerRight |
0xB4E465B4 |
D |
↳ Brake |
0xD27782E3 |
S |
WheelAnimation |
table |
Pengaturan animasi untuk wheel animation. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ UpdateInterval |
20 |
Pengaturan waktu untuk update interval. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ MaximumSteerAngle |
30.0 |
Batas atas untuk maximum steer angle. |
↳ SteeringSmoothing |
7.0 |
Angka untuk steering smoothing (bawaan 7.0). |
↳ RotationMultiplier |
3.0 |
Tingkat atau pengali untuk rotation multiplier. |
Lock |
table |
Tabel entri lock. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ DefaultLocked |
true |
Sakelar untuk default locked: true = nyala, false = mati (bawaan true). |
↳ InteractionDistance |
8.0 |
Jarak dalam satuan game untuk interaction distance. |
↳ BlockNotificationCooldown |
2500 |
Pengaturan waktu untuk block notification cooldown. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
Reset |
table |
Tabel entri reset. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ MaximumDistance |
8.0 |
Jarak dalam satuan game untuk maximum distance. |
↳ MaximumSpeed |
1.5 |
Batas atas untuk maximum speed. |
Speedometer |
table |
Tabel entri speedometer. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Enabled |
true |
Menyalakan atau mematikan enabled (bawaan true). |
↳ Unit |
"MPH" |
MPH or KMH |
↳ Position |
vector2(0.50, 0.91) |
Koordinat dunia (x, y, z) untuk position. |
↳ TextScale |
0.35 |
Teks yang dilihat pemain untuk text scale. Ubah untuk menerjemahkan atau mengganti nama. |
Commands |
table |
Tabel entri commands. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Spawn |
table |
Koordinat dunia (x, y, z) untuk spawn. |
↳ Delete |
"deletetruck" |
Pengaturan untuk delete. |
↳ Reset |
"resettruck" |
Pengaturan untuk reset. |
↳ Lock |
"trucklock" |
Pengaturan untuk 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 |
Menyalakan atau mematikan enabled (bawaan false). |
↳ Resource |
"pmms" |
Pengaturan untuk resource. |
↳ Volume |
0.25 |
Angka untuk volume (bawaan 0.25). |
↳ StartUrl |
"" |
Pengaturan untuk start url. |
↳ IdleUrl |
"" |
Pengaturan untuk idle url. |
↳ StopUrl |
"" |
Pengaturan untuk stop url. |
↳ StartDurationMs |
3800 |
Pengaturan waktu untuk start duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ IdleDurationSeconds |
30.0 |
Pengaturan waktu untuk idle duration seconds. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ StopDurationMs |
2200 |
Pengaturan waktu untuk stop duration ms. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ MaximumDistance |
35.0 |
Jarak dalam satuan game untuk maximum distance. |
Messages |
table |
Teks yang dilihat pemain untuk messages. Ubah untuk menerjemahkan atau mengganti nama. |
↳ Spawned |
"Truck spawned." |
Pengaturan untuk spawned. |
↳ Deleted |
"Truck removed." |
Pengaturan untuk deleted. |
↳ AlreadySpawning |
'Your truck is already being... |
Pengaturan untuk already spawning. |
↳ SpawnFailed |
"The truck could not be spawned." |
Koordinat dunia (x, y, z) untuk spawn failed. |
↳ SpawnBlocked |
"The spawn area is blocked." |
Koordinat dunia (x, y, z) untuk spawn blocked. |
↳ MustBeOnFoot |
'You must be on foot to spaw... |
Pengaturan untuk must be on foot. |
↳ MustBeAlive |
'You cannot spawn the truck ... |
Pengaturan untuk must be alive. |
↳ NoTruck |
"You do not have an active truck." |
Pengaturan untuk no truck. |
↳ TooFar |
"You are too far from your truck." |
Pengaturan untuk 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 baris Lua |
config.lua - 26 opsi#
General
| Setting | Default | What it does |
|---|---|---|
Job |
"undertaker" |
must be the character's ACTIVE job (jrs_multijob) |
Items |
table |
Item inventaris yang dipakai items. Nama harus ada di tabel jrs_items. |
↳ Body |
table |
Tabel entri body. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
↳ Coffin |
table |
Tabel entri coffin. Tambah, hapus, atau ubah entri mengikuti contoh di file. |
ShovelItem |
"shovel" |
Item inventaris yang dipakai shovel item. Nama harus ada di tabel 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 |
Siapa yang diizinkan: pekerjaan, grup, atau izin untuk 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 |
Angka untuk prepare seconds (bawaan 10). |
BurySeconds |
14 |
Angka untuk bury seconds (bawaan 14). |
WrapSeconds |
5 |
Angka untuk wrap seconds (bawaan 5). |
MaxBurialsPerHour |
10 |
Batas atas untuk max burials per hour. |
MaxWrapsPerHour |
12 |
Batas atas untuk max wraps per hour. |
Contract |
table |
Contract: a body is waiting somewhere around the parlour. |
↳ MinDistance |
250.0, MaxDistance = 600.0 |
Jarak dalam satuan game untuk min distance. |
↳ SpawnWhenWithin |
80.0 |
Koordinat dunia (x, y, z) untuk spawn when within. |
↳ ExpireMinutes |
20 |
Pengaturan waktu untuk expire minutes. Satuannya (detik, menit, atau milidetik) biasanya ada di nama opsi atau komentar opsi di dekatnya. |
↳ Models |
table |
Model atau entitas game untuk 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 |
Jarak dalam satuan game untuk grave radius. |
Blips |
table |
Pengaturan blip peta atau ikon untuk blips. |
Keys |
table |
G / E / B |