JRS COREदस्तावेज़
स्क्रिप्ट

Economy

[ECONOMY] फ़ोल्डर में 10 स्क्रिप्ट

Money flows: banking, stores, billing, mailbox, saloons and weapons.

इस फ़ोल्डर में 10 स्क्रिप्ट हैं। नीचे के टैब में से एक चुनें।

Paid (server only)   jrs_auction_house

jrs core Auction House - native jrs_core / jrs_inventory auction house system

Resource jrs_auction_house
Folder [ECONOMY]
Version 2.0.1
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 1,922 Lua lines

Database tables

jrs_auction_bids, jrs_auction_houses, jrs_auction_listings, jrs_auction_transactions, jrs_auction_treasury, jrs_auction_wallets

config/config.lua - 54 विकल्प#

General

Setting Default What it does
Debug false Debug output for debug: true = हाँ, false = नहीं (डिफ़ॉल्ट false)।
ActionDistance 1.8 Interaction / world
ServerDistanceTolerance 4.0 server distance tolerance के लिए गेम यूनिट में दूरी।
Prompt table prompt के लिए खिलाड़ी को दिखने वाला टेक्स्ट। अनुवाद या नाम बदलने के लिए इसे बदलें।
  ↳ label "Open Auction House" label के लिए खिलाड़ी को दिखने वाला टेक्स्ट। अनुवाद या नाम बदलने के लिए इसे बदलें।
  ↳ key 0xCEFD9220 E / INPUT_CONTEXT_X
  ↳ hold 0 hold के लिए संख्या (डिफ़ॉल्ट 0)।
Blip table blip के लिए मैप ब्लिप या आइकन सेटिंग।
  ↳ enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ sprite 819673798 sprite के लिए मैप ब्लिप या आइकन सेटिंग।
  ↳ scale 0.85 scale के लिए दर या गुणक।
ItemImageBase 'https://cfx-nui-jrs_invento... UI item/weapon images from the current REDEMPIRE Inventory.
ItemImageExtension ".png" item image extension द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
FallbackImage "" fallback image के लिए सेटिंग।
AdminGroups table Permissions use jrs_core groups only; there are no external framework bridges.
  ↳ admin true admin के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ superadmin true superadmin के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
ManagerMinimumJobGrade 0 manager minimum job grade के लिए न्यूनतम या ज़रूरी लेवल।
Commands table commands प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ create "createauction" create के लिए सेटिंग।
  ↳ delete "deleteauction" delete के लिए सेटिंग।
MaximumPlacedAuctionItems 10 Auction rules
MinimumItemCost 0.50 minimum item cost के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
MinimumBidIncrement 0.25 minimum bid increment के लिए न्यूनतम या ज़रूरी लेवल।
MinimumDurationHours 1 minimum duration hours के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
MaximumDurationHours 72 maximum duration hours के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
DefaultDurationHours 12 default duration hours के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
AllowCancelWithBids false Allows cancel with bids: true = हाँ, false = नहीं (डिफ़ॉल्ट false)।
ExpiryCheckSeconds 20 expiry check seconds के लिए संख्या (डिफ़ॉल्ट 20)।
RecentHistoryLimit 80 recent history limit की ऊपरी सीमा।
DefaultTaxRate 0.0 Tax is configured per auction house.
MaximumTaxRate 35.0 maximum tax rate के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
TaxRemoveDecimalsForCash false tax remove decimals for cash के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट false)।
AllowTreasuryWithdrawal true Allows treasury withdrawal: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
Currencies table Currencies are backed directly by jrs_core.
  ↳ cash table cash के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ gold table gold के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ dirtymoney table dirtymoney प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
MarketTypes table A house has one market type. ALL allows everything except BlacklistedItems. BLACK_MARKET only allows its explicit list and overrides the blacklist.
  ↳ ALL table all प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ BLACK_MARKET table black market प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
DefaultMarketType "ALL" default market type के लिए सेटिंग।
BlacklistedItems table blacklisted items द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
  ↳ weed true weed के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ weed_seed true weed seed के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ drug_joint true drug joint के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ drug_mushroom true drug mushroom के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ heroin true heroin के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ opium true opium के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ opium_seed true opium seed के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
Categories table These are display/filter categories. Item DB categories are also accepted.
  ↳ enabled false enabled को चालू या बंद करता है (डिफ़ॉल्ट false)।
  ↳ url "" url के लिए सेटिंग।
  ↳ color 10038562 color के लिए संख्या (डिफ़ॉल्ट 10038562)।
Notes from the README#
text
# jrs_auction_house 2.0
A rebuilt RedM player auction system designed directly for `jrs_core` and `jrs_inventory`.
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_auction_house
'''
## Database
The resource creates/updates its own auction tables from `sql/jrs_auction_house.sql` when it starts. The schema is normalized into separate house, listing, bid,
Tables:
- `jrs_auction_houses`
- `jrs_auction_listings`
- `jrs_auction_bids`
- `jrs_auction_wallets`
- `jrs_auction_treasury`
- `jrs_auction_transactions`
## Admin commands
'''text
/createauction Auction_Name
/deleteauction ID
'''
`/createauction` creates a house at the administrator's current coordinates. More settings can then be edited from the **Manage** tab in the auction UI.
## Auction flow
1. Player opens a nearby Auction House with the configured prompt.
2. **Sell** lists an exact inventory stack/metadata variant or an unequipped owned weapon.
3. The asset moves into server escrow before the listing is inserted.
4. Bids reserve funds through `jrs_core`.
5. When outbid, the previous reserved bid is credited to the player's auction wallet even when that player is offline.
6. On expiry, the seller receives the net proceeds in the auction wallet and house tax goes to the treasury.
7. The winner claims the exact escrow asset. Weapons preserve their existing `weaponloadout` row, serial number, components, ammo and condition.
8. Cancelled or unsold listings are reclaimed by the seller.
## Currency support
Controlled in `config.lua`:
- Cash
- Gold
- Dirty Money
Each auction listing uses one currency. Auction wallet balances and treasury balances are stored independently for every currency.
## Market types
- `ALL`: all items except the configured blacklist.

Free (included in JRS Core)   jrs_banking

jrs core Banking - jrs core banking suite with identity-verified account registration

Resource jrs_banking
Folder [ECONOMY]
Version 5.7.3
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 8,880 Lua lines

Commands

  • /bankadmin

Exports

ChargePersonalAccountDebt, CreateTaxRecord, CreditBusinessAccount, CreditPersonalAccount, DebitPersonalAccount, GetActiveWantedList, GetBusinessAccountBalance, GetJobStock, GetJobStockBonus, GetStockPrice, PayoutBusinessAccount, RecordJobActivity

Database tables

IF, jrs_bank_account_meta, jrs_bank_account_notes, jrs_bank_admin_audit, jrs_bank_business_accounts, jrs_bank_business_transactions, jrs_bank_checks, jrs_bank_fee_settings, jrs_bank_investments, jrs_bank_invoices, jrs_bank_item_deliveries, jrs_bank_loan_payments, jrs_bank_loans, jrs_bank_market_state, jrs_bank_operation_requests, jrs_bank_pending_transfers, jrs_bank_player_transfers, jrs_bank_security_events, jrs_bank_stock_trades, jrs_bank_taxes

config/config.lua - 198 विकल्प#

General

Setting Default What it does
IdentityVerification table Identity verification required before a new bank account can be opened.
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ NumberLength 6 number length के लिए संख्या (डिफ़ॉल्ट 6)।
  ↳ TimeoutSeconds 120 timeout seconds के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
OpenKey 0x760A9C6F [G]
Wanted table wanted प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ RewardCurrency 0 0 = cash, 1 = gold
  ↳ MaxCaptureDistance 8.0 max capture distance के लिए गेम यूनिट में दूरी।
  ↳ LawJobSuffixes table किसे अनुमति है: law job suffixes के लिए जॉब, ग्रुप या परमिशन।
VaultUpgrades table vault upgrades प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ 1 table 1 प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ 2 table 2 प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ 3 table 3 प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ 4 table 4 प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
checkbook "checkbook" item
StocksMarket table stocks market प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ UpdateSeconds 45 Server-authoritative market tick. The NUI animates between snapshots.
  ↳ HistoryPoints 40 history points के लिए दुनिया के निर्देशांक (x, y, z)।
  ↳ RecentTrades 8 recent trades के लिए संख्या (डिफ़ॉल्ट 8)।
  ↳ TradeCooldownMs 350 trade cooldown ms के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ Momentum 0.42 Market model: momentum creates trends while mean reversion pulls prices back toward basePrice. Noise is symmetric: with nobody working a sector, its stock drifts back down toward base instead of rising forever.
  ↳ MeanReversion 0.02 mean reversion के लिए संख्या (डिफ़ॉल्ट 0.02)।
  ↳ MaxMovePercent 5.0 max move percent की ऊपरी सीमा।
  ↳ SessionTicks 40 session ticks के लिए संख्या (डिफ़ॉल्ट 40)।
  ↳ TradeFeePercent 1.5 Broker commission charged on every buy AND sell (percent of order value). Burned as an economy sink. Without it a buy/sell round-trip was free, so players could scalp every predictable tick for risk-free profit.
  ↳ WorkerDrift 0.05 * each online worker of a linked job adds WorkerDrift % per tick (capped) * job scripts report production via exports.jrs_banking:RecordJobActivity * a sector with no workers online loses IdleDecay % per tick
  ↳ MaxWorkforceDrift 0.40 max workforce drift की ऊपरी सीमा।
  ↳ ActivityDrift 0.08 activity drift के लिए संख्या (डिफ़ॉल्ट 0.08)।
  ↳ MaxActivityDrift 0.50 max activity drift की ऊपरी सीमा।
  ↳ MaxActivityPerReport 25 max activity per report की ऊपरी सीमा।
  ↳ MaxXpPulsesPerPlayer 4 job-XP awards counted per player per stock per tick
  ↳ IdleDecay 0.06 idle decay के लिए संख्या (डिफ़ॉल्ट 0.06)।
  ↳ FallbackStock "civic" A job that matches no stock below and is not criminal counts toward this stock, so newly added legal jobs are linked automatically.
  ↳ ExcludedJobs table Criminal jobs never move any stock (exact names, then Lua patterns).
  ↳ ExcludedJobPatterns table किसे अनुमति है: excluded job patterns के लिए जॉब, ग्रुप या परमिशन।
  ↳ Wait_change_Stocks 1 Legacy compatibility for older integrations.
Stocks table jobs = exact job names (lower case) linked to the stock jobPatterns = Lua patterns for families of jobs (per-town sheriffs, medics...) aliases = extra keys job scripts may pass to RecordJobActivity
GoldTrade table gold trade के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ Wait_change_GoldPrice 60 minute
  ↳ PaymentType "money" "money" or "gold"
  ↳ ItemName "gold_nugget" item name द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
  ↳ InitialPrice 1.00 initial price के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ MinPrice 0.95 unlimited volume. Now the band is narrow, the price mean-reverts toward InitialPrice, and the bank buys/sells with a spread wider than the band, so buying and selling back can never make a profit.
  ↳ MaxPrice 1.08 max price के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ MaxStepPercent 3 biggest single price change per update
  ↳ Spread 0.08 players buy at price(1+Spread), sell at price(1-Spread)
  ↳ MaxPerTrade 500 nuggets per order
NotificationColors table notification colors के लिए खिलाड़ी को दिखने वाला टेक्स्ट। अनुवाद या नाम बदलने के लिए इसे बदलें।
  ↳ error "#cc766f" error के लिए सेटिंग।
  ↳ success "#83b995" success के लिए सेटिंग।
  ↳ warning "#d2b36c" warning के लिए सेटिंग।
  ↳ info "#b9afa0" info के लिए सेटिंग।
CityBankTransfers table Make sure you if you change a city name or add a city, to be the same name as Config.Banks city. Those will be the cities the player will be able to transfer money or gold directly from the bank.

هنا يمكنك التحكم بجميع نسب الضرائب الافتراضية للسيرفر.

Setting Default What it does
BankTaxes table ملاحظة: يمكن للمسؤول أيضاً تعديل هذه الضرائب مباشرة من داخل اللعبة عبر أمر (/bankadmin) أو من خلال لوحة المصرفي (Banker Console) وتُحفظ التعديلات في قاعدة البيانات تلقائياً. النسبة 0.05 تعني 5% ، 0.01 تعني 1% ، 0.00 تعني بدون ضريب
  ↳ WithdrawFeeRate 0.05 5%
  ↳ DepositFeeRate 0.00 0%
  ↳ PlayerTransferFeeRate 0.00 0%
  ↳ BankTransferFeeRate 0.01 1%
  ↳ WeeklyTaxRate 0.01 1% (قابلة للتعديل أيضاً مباشرة من /bankadmin)
  ↳ GoldWithdrawFeeRate 0.00 ضرائب الذهب (اختياري)
  ↳ GoldDepositFeeRate 0.00 gold deposit fee rate के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ MinRate 0.00 سقف التعديل عبر لوحة الإدارة
  ↳ MaxRate 0.30 30% أقصى حد
CityBankTransfersVATdeposit table Suggested VAT (0.1 - 10%) 0.0 - 1.0 MAX Withdrawals
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ VAT Config.BankTaxes.WithdrawFee... 5%
Kings table city must be the same name as Config.Banks. char is the character id

Discord Webhooking

Setting Default What it does
Loans table loans प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ InterestRate 1.15 Interest 15%
  ↳ MaxLoanAmount 250.0 max loan amount की ऊपरी सीमा।
  ↳ MinLoanAmount 5.0 min loan amount के लिए न्यूनतम या ज़रूरी लेवल।
  ↳ PayInterval 24 Actual discount every 24 hours
  ↳ CheckInterval 30 Script testing time (half an hour) in minutes
  ↳ PaymentPercentage 0.05 Repayment percentage (5% of the total amount to be refunded)

Locations

Setting Default What it does
Banks table banks प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Valentine table valentine प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Blackwater table blackwater प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ STdenis table s tdenis प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Rhodes table rhodes प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Annesburg table annesburg प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Amradillo table amradillo प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Guarma table guarma प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

REDEMPIRE Banking 5.0.0 - REDEMPIRE finance suite

Setting Default What it does
Accounts table accounts प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ NumberPrefix "REDEMPIRE" number prefix के लिए सेटिंग।
MaxCarryCash 10000.0 Maximum cash a player is allowed to hold in wallet when withdrawing from the bank. الحد الأقصى للنقود (الكاش) التي يمكن للاعب حملها في جيبه عند السحب من البنك
DailyCashWithdrawLimit 10000.0 الحد الأقصى لسحب الكاش من البنك خلال فترة زمنية (0 = غير محدود) يُحفظ في جدول jrs_bank_withdraw_limits (يبقى بعد الريستارت وتسجيل الخروج) Cash withdrawal limit per character per window (0 = unlimited). Persisted in jrs_bank_withdr
CashWithdrawWindowHours 3 مدة النافذة بالساعات — تبدأ من أول سحب وتتصفر بعد انتهائها Window length in hours; starts at the first withdrawal and resets once it expires.
Transfers table transfers प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ FeeRate Config.BankTaxes.BankTransfe... 1% bank-to-bank cash fee (Red Empire master economy sink)
  ↳ RequireDestinationOwnerApproval false 5.7.3: instant city transfers (no bank manager approval); the fee above is the cost
  ↳ AllowWithdrawFromOther true Allows withdraw from other: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
CheckSystem table check system प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ CheckExpiryDays 90 check expiry days के लिए संख्या (डिफ़ॉल्ट 90)।
  ↳ ClearingDelayHours 0 0 = Instant clearing upon deposit for seamless roleplay transactions
  ↳ BouncedCheckFee 1.00 bounced check fee के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ CheckItemName "bank_check" check item name द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
  ↳ InvoiceItemName "bank_invoice" invoice item name द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
  ↳ InvoiceDefaultDueDays 30 invoice default due days के लिए संख्या (डिफ़ॉल्ट 30)।
  ↳ MaxInvoiceAmount 1000000.0 max invoice amount की ऊपरी सीमा।
  ↳ CheckbookPrice 1.50 Price of a checkbook in bank UI
TaxSystem table tax system के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ GenerationIntervalMinutes 60 generation interval minutes के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ GracePeriodDays 30 grace period days के लिए संख्या (डिफ़ॉल्ट 30)।
  ↳ PenaltyRate 0.10 penalty rate के लिए दर या गुणक।
  ↳ TaxDueDays 30 tax due days के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ TaxPaymentWindowDays 30 tax payment window days के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ PropertyTaxRates table property tax rates के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ PropertyLedger table Optional property ledger. Add owned properties here or feed them through the exported CreateTaxRecord function from a REDEMPIRE property resource.
  ↳ JobBusinessTypes table Map REDEMPIRE jobs to a business type when automatic business-license tax is desired.
  ↳ VaultMaintenanceEnabled true vault maintenance enabled के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ VaultMaintenanceThreshold 10000.00 vault maintenance threshold के लिए संख्या (डिफ़ॉल्ट 10000.00)।
  ↳ VaultMaintenanceTiers table vault maintenance tiers प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

نظام ضريبة دورية يتم استقطاعها تلقائياً من أرصدة الحسابات البنكية النشطة لمكافحة

Setting Default What it does
WeeklyTax table weekly tax के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ Enabled true تفعيل فحص النظام الأسبوعي للضريبة
  ↳ IntervalDays 7 مدة الخصم بالأيام (7 = كل أسبوع)
  ↳ TaxRate Config.BankTaxes.WeeklyTaxRa... نسبة الضريبة (0.01 = 1% من الرصيد أسبوعياً)
  ↳ MinTaxAmount 1.0 الحد الأدنى للمبلغ المخصوم ($1.00 عند الخصم)
  ↳ MaxTaxAmount 500.0 الحد الأقصى لسقف الضريبة المخصومة ($500.00)
  ↳ ExemptThreshold 100.0 الحسابات التي رصيدها عند أو أقل من هذا المبلغ معفية تماماً
  ↳ TaxLabel "الضريبة البنكية الأسبوعية" tax label के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ NotifyOnline true إرسال إشعار للاعب إذا كان متواجداً بالسيرفر عند الاقتطاع
InvestmentSystem table investment system प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ AccrualIntervalMinutes 60 accrual interval minutes के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ SavingsInterestRate 0.05 5% annual interest on standard savings balances
  ↳ SavingsMinBalance 50.00 savings min balance के लिए न्यूनतम या ज़रूरी लेवल।
  ↳ CDTerms table months
  ↳ CDRates table 5%, 7.5%, 10% returns
  ↳ CDMinDeposit 100.00 cd min deposit के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ EarlyWithdrawalPenalty 0.10 10% penalty on earned interest if broken early
  ↳ BondMinPurchase 200.00 bond min purchase के लिए न्यूनतम या ज़रूरी लेवल।
  ↳ BondTypes table bond types प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
BusinessBanking table Business banking is native to this banking resource and reads the character job directly from jrs_core. It does not require a society framework.
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ AutoCreate true Automatically handles create: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ MinGrade 3 min grade के लिए न्यूनतम या ज़रूरी लेवल।
  ↳ AllowAnyNonCivilianJob true Allows any non civilian job: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ DeniedJobs table किसे अनुमति है: denied jobs के लिए जॉब, ग्रुप या परमिशन।
  ↳ Jobs table किसे अनुमति है: jobs के लिए जॉब, ग्रुप या परमिशन।
  ↳ External table Business accounts owned by another resource instead of a job. The account shows up in the Business tab only at bank, and only for players that exports[resource][export](src) returns true for.

Owner-only administration console embedded in the banking UI.

Setting Default What it does
Admin table Permission is checked on the server for every request; the NUI flag is display-only.
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ Identifiers table identifiers प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ SearchLimit 100 search limit की ऊपरी सीमा।
  ↳ MaxAdjustment 1000000.0 max adjustment की ऊपरी सीमा।
  ↳ MaxBalance 1000000000.0 max balance की ऊपरी सीमा।
  ↳ MaxReasonLength 300 max reason length की ऊपरी सीमा।
BankerPermissions table किसे अनुमति है: banker permissions के लिए जॉब, ग्रुप या परमिशन।
  ↳ Jobs table Bank owners in Config.Kings always have full banker permissions. Add REDEMPIRE jobs here for clerk/staff access.

Economic security / player-to-player transfers (v5.1.0)

Setting Default What it does
Security table security प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ MaxTransaction 1000000.0 max transaction की ऊपरी सीमा।
  ↳ ActionCooldownMs 300 action cooldown ms के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ CheckCooldownSeconds 5 check cooldown seconds के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ BurstWindowMs 5000 burst window ms के लिए संख्या (डिफ़ॉल्ट 5000)।
  ↳ BurstMaxActions 14 burst max actions की ऊपरी सीमा।
  ↳ BankSessionSeconds 900 bank session seconds के लिए संख्या (डिफ़ॉल्ट 900)।
  ↳ RequireBankProximity true Requires bank proximity: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ BankInteractionDistance 8.0 bank interaction distance के लिए गेम यूनिट में दूरी।
  ↳ OwnerInteractionDistance 10.0 owner interaction distance के लिए गेम यूनिट में दूरी।
  ↳ LockTimeoutMs 10000 lock timeout ms के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ ViolationThreshold 8 violation threshold के लिए संख्या (डिफ़ॉल्ट 8)।
  ↳ TempBlockSeconds 20 temp block seconds के लिए संख्या (डिफ़ॉल्ट 20)।
  ↳ DisableLegacyEvents true Turns off legacy events: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ SecurityLogRetentionDays 30 security log retention days के लिए संख्या (डिफ़ॉल्ट 30)।
  ↳ RequestRetentionDays 7 request retention days के लिए संख्या (डिफ़ॉल्ट 7)।
  ↳ LookupFailureWindowSeconds 300 lookup failure window seconds के लिए संख्या (डिफ़ॉल्ट 300)।
  ↳ LookupFailureThreshold 8 lookup failure threshold के लिए संख्या (डिफ़ॉल्ट 8)।
  ↳ LookupBlockSeconds 60 lookup block seconds के लिए संख्या (डिफ़ॉल्ट 60)।
PlayerTransfers table player transfers प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ AllowCash true Allows cash: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ AllowGold true Allows gold: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ FeeRate Config.BankTaxes.PlayerTrans... optional fee; 0.02 = 2%
  ↳ MaxPerTransfer 1000000.0 max per transfer की ऊपरी सीमा।
  ↳ DailyOutgoingLimit 2500000.0 daily outgoing limit की ऊपरी सीमा।
  ↳ DailyGoldOutgoingLimit 100000.0 daily gold outgoing limit के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ LookupCooldownMs 650 lookup cooldown ms के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ TransferCooldownMs 900 transfer cooldown ms के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
  ↳ RequireActiveRecipient true Requires active recipient: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ MemoMaxLength 200 memo max length की ऊपरी सीमा।
AdvancedSecurity table advanced security प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ MaxNoteLength 500 max note length की ऊपरी सीमा।
  ↳ MaxReasonLength 300 max reason length की ऊपरी सीमा।
  ↳ MaxLedgerRows 100 max ledger rows की ऊपरी सीमा।
  ↳ MaxTaxRows 100 max tax rows के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।

Live-adjustable bank fees (economy sink against inflation).

Setting Default What it does
BankFees table bank fees प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ DepositFeeRate Config.BankTaxes.DepositFeeR... cash deposit fee
  ↳ GoldDepositFeeRate Config.BankTaxes.GoldDeposit... gold deposit fee
  ↳ GoldWithdrawFeeRate Config.BankTaxes.GoldWithdra... gold withdrawal fee
  ↳ MinRate Config.BankTaxes.MinRate min rate के लिए न्यूनतम या ज़रूरी लेवल।
  ↳ MaxRate Config.BankTaxes.MaxRate hard ceiling: neither an admin nor a banker can push a fee above 30%

Free (included in JRS Core)   jrs_billing

JRS Core - job billing: /bill a nearby player, money to the biller, receipt item

Resource jrs_billing
Folder [ECONOMY]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, jrs_inventory
Interface Yes (NUI)
Languages ar, en
Code size 208 Lua पंक्तियाँ

Paid (server only)   jrs_business

jrs core Business - server-authoritative company, production, oilfield and mission system for jrs_core / jrs_inventory

Resource jrs_business
Folder [ECONOMY]
Version 1.4.1
Author jrs team
Depends on jrs_character, jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 29,847 Lua lines

Commands

  • /gizmo
  • /jrscancelbusinessmission
  • /jrscanceloilfieldjob
  • /stopoilwork

Exports

Toggle

Database tables

IF, jrs_business, jrs_business_admin_logs, jrs_business_company_owners, jrs_business_employees, jrs_business_mission_logs, jrs_business_mission_profiles, jrs_business_oilfield_profiles, jrs_business_payouts, jrs_business_products, jrs_business_progression, jrs_business_pumps, jrs_business_security_logs, jrs_business_transaction_logs, jrs_business_wells, jrs_business_worker_profiles

configs/config.lua - 24 विकल्प#

General

Setting Default What it does
Admin table किसे अनुमति है: admin के लिए जॉब, ग्रुप या परमिशन।
  ↳ aceEnabled false ace enabled के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट false)।
  ↳ acePermission "jrs_business.admin" किसे अनुमति है: ace permission के लिए जॉब, ग्रुप या परमिशन।
  ↳ allowConsole true Allows console: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
  ↳ command "jrsbusinessadmin" command के लिए सेटिंग।
  ↳ enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ fullAccessIdentifiers table full access identifiers प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ identifiers table identifiers प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ logToDatabase true Logs to database: true = हाँ, false = नहीं (डिफ़ॉल्ट true)।
AnimTime 20000 anim time के लिए एनीमेशन सेटिंग।
Banking false banking के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट false)।
RequiredWorkTool "business_toolkit" required work tool के लिए सेटिंग।
WorkToolPrice 2.50 work tool price के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
RequiredRepairTool "business_repairkit" required repair tool के लिए सेटिंग।
RepairShopItems table repair shop items द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
Blip table blip के लिए मैप ब्लिप या आइकन सेटिंग।
  ↳ Colors table colors प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Company table company प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Scale 0.2 scale के लिए दर या गुणक।
  ↳ Sprites table sprites प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
Businesses table businesses प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ cotton table cotton प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ mill table mill प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ oil table oil प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
Notes from the README#
text
# REDEMPIRE Business
`jrs_business` is the REDEMPIRE business/company resource for RedM. This build was reviewed directly against:
- `jrs_core` **1.0.18**
- `jrs_character` **3.4.7**
- `jrs_inventory` **1.6.37**
The integration is direct and server-authoritative. No legacy multi-framework compatibility layer is used.
## REDEMPIRE Core + jrs_character employee hiring (1.2.0)
The Employees panel is tied to the actual selected REDEMPIRE character, not only the RedM server ID.
- Online candidates are read from the authoritative `jrs_core` selected character and require a ready REDEMPIRE character.
- Offline hiring uses the exact `characters.charidentifier` row used by `jrs_character` 3.4.7.
- Character identity is always the pair `identifier` + `charidentifier`; names are display data only.
- Full-access administrators can hire even while a company has no assigned owner.
- The Employees tab requests a fresh candidate list when opened and after every hire/fire.
- Self-hire, owners/partners, duplicates, invalid characters, disconnected targets and cross-company duplicate employment are rejected server-side.
- Hiring writes the configured business job to REDEMPIRE Core. Online characters use the stable `exports.jrs_core:SetJob(...)` path; offline characters update t
- The previous REDEMPIRE job/grade is stored with the employee record. Firing restores it only when the character still has the job assigned by this company, so
- If company persistence fails after a REDEMPIRE job change, the job is rolled back. If the REDEMPIRE job cannot be synchronized and `requireJobSyncSuccess` is 
- Online hired/fired characters receive notifications; payroll remains bound to their exact REDEMPIRE character identity.
Default job mapping is configurable in `Config.Employees`:
'''lua
jobByCompany = {
    cotton = "cotton",
    mill = "mill",
    oil = "oil",
},
gradeByRole = {
    worker = 0,
    driver = 1,
    engineer = 2,
},
'''
Set `syncJRSJob = false` if you want company membership without changing the REDEMPIRE primary job.
## Requirements
Start resources in this order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_clothing
ensure jrs_barber
ensure jrs_character
ensure jrs_business
'''
## Installation
1. Copy the folder as `jrs_business`.

Paid (server only)   jrs_lottery

jrs core Lottery - persistent jackpot draws, server-authoritative payments, jrs_stores themed UI

Resource jrs_lottery
Folder [ECONOMY]
Version 2.2.2
Author jrs team (original lottery by Markus Mueller / RetryR1v2)
Depends on /onesync, jrs_core, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 857 Lua पंक्तियाँ

Commands

  • /jrs_lottery_draw
  • /jrs_lottery_resolve
  • /jrs_lottery_review

Database tables

jrs_lottery_draws, jrs_lottery_rewards, jrs_lottery_state, jrs_lottery_tickets

config.lua - 30 विकल्प#

General

Setting Default What it does
WinnerPickTime 100 Minutes. Deadline persists across resource/server restarts.
TicketMode "item" 'item' = buy a lottery_ticket at the General Store (server-wide stock: globalLimit/resetHours in jrs_stores store_config.lua) and hand it in at a station. TicketPrice must equal the store price; it sets the pot share. 'cash' = p
TicketItem "lottery_ticket" ticket item द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
TicketPrice 1.00 ticket price के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
LimitTickets true limit tickets के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
MaxTickets 5 Per character, per draw (max $5 per 100 min, below Tier 1 income).
HouseCut 0.10 Share of each ticket removed from the pot: a money sink, so the lottery never prints cash.
UseStartAmount true start amount को चालू या बंद करता है (डिफ़ॉल्ट true)।
StartAmount 2.00 Server-created seed, added once when the first ticket of a round is bought (kept tiny: it is new money).
AnnounceWinner true announce winner के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
AnnounceIfNoWinner false An empty draw is silent; it would only be spam.
InteractionDistance 2.0 interaction distance के लिए गेम यूनिट में दूरी।
ServerDistance 3.5 Server validates purchases/claims at the station.
InteractionKey 0xCEFD9220 E
ActionCooldown 1500 Milliseconds; also protected by an operation lock.
StatusCooldown 1000 status cooldown के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
StatusRefresh 10 Seconds; only while the window is open.
HistoryRows 5 Past draws shown in the window.
DrawRetrySeconds 30 Pause before retrying a draw that failed.
LotteryBlips true lottery blips के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
BlipSprite 819673798 Same general-store sprite family as jrs_stores.
BlipScale 0.2 blip scale के लिए मैप ब्लिप या आइकन सेटिंग।
BlipModifier "BLIP_MODIFIER_MP_COLOR_10" blip modifier के लिए मैप ब्लिप या आइकन सेटिंग।
CreateNPC true create npc के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
NpcModel "u_f_m_tumgeneralstoreowner_01" npc model के लिए गेम मॉडल या एंटिटी।
NpcSpawnDistance 80.0 npc spawn distance के लिए गेम यूनिट में दूरी।
NpcDespawnDistance 120.0 npc despawn distance के लिए गेम यूनिट में दूरी।
NpcRootHeight 0.98 SetEntityCoordsNoOffset places the ped ROOT, not the feet.
ModelLoadTimeout 5000 model load timeout के लिए समय सेटिंग। इकाई (सेकंड, मिनट या मिलीसेकंड) आमतौर पर विकल्प के नाम या पास के विकल्पों की टिप्पणी में होती है।
LotteryStations table lottery stations प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
Notes from the README#
text
# jrs_lottery 2.2.0
Persistent lottery for JRS Core. Original: Markus Mueller / RetryR1v2. JRS port and hardening: JRS.
- Open with **E** next to the clerk at a station (Blackwater, Valentine, Rhodes, Saint Denis).
- $1 per ticket (10% house cut leaves the pot), 5 tickets per character per draw, draw every 100 minutes, first ticket adds a $2 seed.
  All of it is in `config.lua`. The winner takes the whole pot and collects it at any station (offline wins are kept).
- UI is a NUI window in the jrs_stores skin (textures are copies of `jrs_stores/html/theme`), EN/AR follows the character language.
- Tables are created automatically on first start (`sql/jrs_lottery.sql` is the same schema for manual installs).
- Never run together with the old `mms-lottery`; its rows have no character id and are not migrated.
## Security model
Every purchase/claim is validated on the server: character ready, routing bucket, distance to a station,
price/limits read from config and DB (the client sends only the station index), one operation at a time,
per-player cooldowns, ticket reserved in SQL before cash is taken, prize reserved before it is paid.
No draw/pick/reset events are network-exposed; webhook URL lives in `server/config.lua` only.
## Admin (in-game with jrs_core admin rights, or server console)
- `jrs_lottery_draw` - draw now.
- `jrs_lottery_review` - print unresolved tickets/claims to the console.
- `jrs_lottery_resolve ticket <id> <activate|cancel>` / `jrs_lottery_resolve claim <token> <paid|pending>` -
  settle a held payment after checking the player's real balance. Never set `processing` back to `pending`
  unless you confirmed the cash was NOT paid.
## Interrupted payments
Cash (jrs_core) and lottery rows (SQL) cannot share one transaction. If the server dies between the two, the row stays
`preparing` (ticket) or `processing` (prize) and blocks that character until an admin resolves it with the commands above.
A failing draw is retried every `Config.DrawRetrySeconds`, not every second.
## Tickets from the General Store (2.2.0)
`Config.TicketMode = 'item'`: players buy the `lottery_ticket` item at the General Store (jrs_stores `store_config.lua`,
Miscellaneous tab, stock `globalLimit = 40` per `resetHours = 2`, server-wide, $1.00) and hand it in at a station
(consumed server-side, one per press, still limited by `MaxTickets` per draw). Keep the store price equal to `Config.TicketPrice`.
Set `Config.TicketMode = 'cash'` to go back to paying cash at the station. The item row is registered automatically.

Free (included in JRS Core)   jrs_mailbox

jrs core Mailbox - Advanced postal service for telegrams, parcels, citizen registration, and mailbox management.

Resource jrs_mailbox
Folder [ECONOMY]
Version 1.2.0
Author jrs team
Depends on jrs_core, jrs_inventory
Interface Yes (NUI)
Languages ar, en
Code size 2,329 Lua lines

Commands

  • /closemail
  • /closemailbox

Exports

GetRobbableParcels, RestoreRobbedParcel, TakeRobbedParcel, getUnviewedTelegramsCount

Database tables

jrs_mailbox_mails, jrs_mailbox_mails_registrations

config/config.lua - 35 विकल्प#

Interaction

Setting Default What it does
PromptsKeys table as boxes), so these labels stay in English regardless of server language. See JrsLang._UE / JrsLang.SanitizeNativeText in jrs_core for the same rule applied across the rest of the server.
NotificationColors table Used by notifications displayed while the mailbox UI is open.
  ↳ error "rgba(255, 0, 0, 0.79)" error के लिए सेटिंग।
  ↳ success "rgba(0, 255, 0, 0.79)" success के लिए सेटिंग।
  ↳ info "rgba(0, 0, 255, 0.79)" info के लिए सेटिंग।

General settings

Setting Default What it does
RenderNPCModelsDistance 30 render npc models distance के लिए गेम यूनिट में दूरी।
RegistrationCost 0.50 registration cost के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
Year 1899 year के लिए संख्या (डिफ़ॉल्ट 1899)।
HoursToReturnParcelsUpdateTime 10 Parcel return timers are configured in minutes.
HoursToReturnParcels 2880 48 hours
BlacklistedItems table These items are hidden from the parcel inventory and cannot be sent.
  ↳ cocaine true cocaine के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ weed true weed के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
GovernmentJobs table These jobs can send telegrams to all registered citizens.
  ↳ police true police के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ sheriff true sheriff के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ marshal true marshal के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ mayor true mayor के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ governor true governor के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ judge true judge के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।
  ↳ doctor true doctor के लिए स्विच: true = चालू, false = बंद (डिफ़ॉल्ट true)।

Stamps

Setting Default What it does
Stamps table Postage stamps are drawn with CSS in the NUI (no stamp artwork ships with this resource), keyed by Style so html/css/style.css can theme each tier.
  ↳ standard table standard प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ express table express प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ premium table premium प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

Zone keys must match their city-stamp image names in html/img/citystamps.

Setting Default What it does
  ↳ Guarma table guarma प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Valentine table valentine प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Rhodes table rhodes प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ STDenis table st denis प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Annesburg table annesburg प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Blackwater table blackwater प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

Discord webhooks

Setting Default What it does
  ↳ REGISTERED table registered प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ SENT_TELEGRAM table sent telegram प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ SENT_PARCEL table sent parcel प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ RETURNED_PARCEL table returned parcel प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

Free (included in JRS Core)   jrs_paycheck

Paycheck System

Resource jrs_paycheck
Folder [ECONOMY]
Version 0.2
Author JRS TEAM
Interface No
Code size 342 Lua पंक्तियाँ
config.lua - 16 विकल्प#

General

Setting Default What it does
DevMode false to test when you restart script
Groups table if player has this group they will be paid for bing in the server
  ↳ Special table group name
Grades table this is the payment for each grade allows you to make unique payments for each grade and without code repetition
  ↳ law table law प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ medic table medic प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
Jobs table make unique jobs and their ranks here to get them to be paid
  ↳ BWSheriff table job name
  ↳ RhoSheriff table rho sheriff प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ SDSheriff table sd sheriff प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ StrSheriff table str sheriff प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ ArmSheriff table arm sheriff प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ ValSheriff table val sheriff प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ doctor table MEDICS
  ↳ headdoctor table headdoctor प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ shaman table shaman प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

Free (included in JRS Core)   jrs_saloons

Saloon job for JRS Core

Resource jrs_saloons
Folder [ECONOMY]
Version 1.0
Author JRS TEAM
Depends on jrs_crafting
Interface No
Code size 444 Lua पंक्तियाँ
config.lua - 16 विकल्प#

General

Setting Default What it does
defaultlang "en" defaultlang के लिए सेटिंग।
Align "center" align के लिए सेटिंग।
Key 0x760A9C6F [G]
Blipsprite 1879260108 common sprite
BlipsActive true set whether Blips should shown on map
Locations table locations के लिए दुनिया के निर्देशांक (x, y, z)।
  ↳ Smithfields table Valentine
  ↳ Keanes table keanes प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Emerald table emerald प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Bastille table bastille प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Doyles table doyles प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Parlour table parlour प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ OldLight table old light प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Blackwater table blackwater प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Armadillo table armadillo प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ Tumbleweed table tumbleweed प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

Free (included in JRS Core)   jrs_stores

jrs core Stores - unified static/player store system with server-authoritative hardening

Resource jrs_stores
Folder [ECONOMY]
Version 7.17.3
Author jrs team
Depends on jrs_core, jrs_inventory, oxmysql
Interface Yes (NUI)
Languages ar, en
Code size 23,598 Lua lines

Commands

  • /claimstore
  • /craftweapon
  • /gunrecipes
  • /jrsseat
  • /jrsseatmove
  • /jrstavern
  • /paystoretax
  • /reloadstore
  • /storeclean
  • /storedistance
  • /storesnpcdebug
  • /storetax
  • /storetitle
  • /tavernseat

Exports

CreditLinkedStore, GetPlayerStoreRobberyInfo, GetPlayerStoreRobberyMissionInfo, GetPlayerStoreRobberyTargets, GetPromptData, GetShopLinkState, GrantPlayerStore, IsLinkedStoreStaff, IsPlayerStorePromptActive, IsPlayerStoreStaff, IsWeaponShopRented, IssueStoreTitleDeed, NotifyPlayerStoreRobberyOwner, OpenStoreDeed, RefundPlayerStoreRobbery, RenamePlayerStore, ResaleAddStock, ResaleBuy, ResaleGetList, RobPlayerStoreAccount, openStoreByName, openTradingStoreById

Database tables

already, jrs_gunstore_recipe_items, jrs_gunstore_recipes, jrs_player_store_clean_points, jrs_player_store_control, jrs_player_store_crafting, jrs_player_store_hygiene, jrs_player_store_starter_kits, jrs_player_store_weapon_orders, jrs_player_stores, jrs_player_stores_backup_20260928, jrs_resale_stock, jrs_store_admin_products, jrs_store_dining_config, jrs_store_hidden_products, jrs_store_import_map, jrs_store_price_overrides, jrs_store_price_reports, jrs_store_runtime_configs, jrs_stores_global_stock

Free (included in JRS Core)   jrs_trader

JRS Core traders - NPC traders with stock-based prices, managed in game with /traderadmin

Resource jrs_trader
Folder [ECONOMY]
Version 1.0.0
Author JRS TEAM
Depends on jrs_core, jrs_inventory, oxmysql
Interface No
Code size 1,461 Lua lines

Commands

  • /traderadmin

Database tables

jrs_trader, jrs_trader_npcs

config.lua - 20 विकल्प#

General

Setting Default What it does
Language "en" 'en' or 'ar'
MaxBuyAmount 10 max items per buy
MaxSellAmount 10 max items per sell
InteractDistance 5.0 server-side max distance from the trader
Cooldown 2000 ms between two trades per player
UseDistance 2.5 prompt radius
Sounds table sounds प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ enabled true enabled को चालू या बंद करता है (डिफ़ॉल्ट true)।
  ↳ success table success प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ fail table fail प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

npc settings

Setting Default What it does
DistanceSpawn 30.0 distance spawn के लिए गेम यूनिट में दूरी।

dynamic price settings

Setting Default What it does
Pricing table pricing प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।
  ↳ priceMultipliers table price multipliers के लिए पैसे की रकम। इनाम jrs_core के इकॉनमी मल्टीप्लायर से होकर जाते हैं।
  ↳ minPriceFactor 0.7 price never below 70% of base
  ↳ maxPriceFactor 1.5 price never above 150% of base
  ↳ sellFactor 0.8 traders pay this fraction of their current selling price when buying from players. keep (sellFactor * lowStock) below normalStock, otherwise players can loop buy/sell for profit.

trader npcs

Setting Default What it does
DefaultModel "mp_u_m_m_trader_01" traders are stored in the jrs_trader_npcs table and managed in game through the admin panel: /traderadmin Config.DefaultTraders is only used to seed a brand new table.
DefaultBlip table default blip के लिए मैप ब्लिप या आइकन सेटिंग।
DefaultTraders table default traders प्रविष्टियों की टेबल। फ़ाइल के उदाहरणों की तरह प्रविष्टियाँ जोड़ें, हटाएँ या बदलें।

default items (only inserted when Config.AutoDatabase creates a brand new table)

Setting Default What it does
DefaultItems table default items द्वारा इस्तेमाल होने वाले इन्वेंटरी आइटम। नाम jrs_items टेबल में होने चाहिए।
JRS Core · मुफ़्त और ओपन-सोर्स RedM फ्रेमवर्क · JRS TEAM द्वारा