Money flows: banking, stores, billing, mailbox, saloons and weapons.
هذا المجلد فيه 10 سكربت. اختر سكربت من التبويبات تحت.
مدفوع (السيرفر فقط) jrs_auction_house
دار المزادات في jrs core - نظام مزادات خاص بـ jrs_core / jrs_inventory
| الريسورس | jrs_auction_house |
| المجلد | [ECONOMY] |
| الإصدار | 2.0.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 1,922 Lua lines |
جداول قاعدة البيانات
jrs_auction_bids, jrs_auction_houses, jrs_auction_listings, jrs_auction_transactions, jrs_auction_treasury, jrs_auction_wallets
config/config.lua - 54 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Debug |
false |
رسائل التصحيح لـ 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 |
يسمح بـ 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 |
يسمح بـ 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). |
ملاحظات من ملف README#
# 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.مجاني (موجود مع JRS Core) jrs_banking
البنك في jrs core - مجموعة خدمات بنكية مع تسجيل حساب موثّق بالهوية
| الريسورس | jrs_banking |
| المجلد | [ECONOMY] |
| الإصدار | 5.7.3 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 8,880 Lua lines |
الأوامر
/bankadmin
الـ Exports
ChargePersonalAccountDebt, CreateTaxRecord, CreditBusinessAccount, CreditPersonalAccount, DebitPersonalAccount, GetActiveWantedList, GetBusinessAccountBalance, GetJobStock, GetJobStockBonus, GetStockPrice, PayoutBusinessAccount, RecordJobActivity
جداول قاعدة البيانات
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 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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 |
إحداثيات العالم (x, y, z) لـ history points. |
↳ 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. |
هنا يمكنك التحكم بجميع نسب الضرائب الافتراضية للسيرفر.
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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 |
يسمح بـ 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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
نظام ضريبة دورية يتم استقطاعها تلقائياً من أرصدة الحسابات البنكية النشطة لمكافحة
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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 |
يتعامل تلقائياً مع create: true = نعم، false = لا (الافتراضي true). |
↳ MinGrade |
3 |
الحد الأدنى أو المستوى المطلوب لـ min grade. |
↳ AllowAnyNonCivilianJob |
true |
يسمح بـ 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.
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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 |
يتطلب 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 |
يطفّي 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 |
يسمح بـ cash: true = نعم، false = لا (الافتراضي true). |
↳ AllowGold |
true |
يسمح بـ 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 |
يتطلب 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).
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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% |
مجاني (موجود مع JRS Core) jrs_billing
JRS Core - فواتير الوظائف: /bill للاعب قريب، الفلوس تروح لصاحب الفاتورة، وايتم إيصال
| الريسورس | jrs_billing |
| المجلد | [ECONOMY] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 208 سطر Lua |
مدفوع (السيرفر فقط) jrs_business
jrs core Business - server-authoritative company, production, oilfield and mission system for jrs_core / jrs_inventory
| الريسورس | jrs_business |
| المجلد | [ECONOMY] |
| الإصدار | 1.4.1 |
| المطوّر | jrs team |
| يعتمد على | jrs_character, jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 29,847 Lua lines |
الأوامر
/gizmo/jrscancelbusinessmission/jrscanceloilfieldjob/stopoilwork
الـ Exports
Toggle
جداول قاعدة البيانات
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 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Admin |
table |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ admin. |
↳ aceEnabled |
false |
مفتاح لـ ace enabled: true = شغّال، false = طافي (الافتراضي false). |
↳ acePermission |
"jrs_business.admin" |
مين مسموح له: الوظائف أو المجموعات أو الصلاحيات لـ ace permission. |
↳ allowConsole |
true |
يسمح بـ console: true = نعم، false = لا (الافتراضي true). |
↳ command |
"jrsbusinessadmin" |
إعداد لـ command. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ fullAccessIdentifiers |
table |
جدول عناصر full access identifiers. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ identifiers |
table |
جدول عناصر identifiers. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ logToDatabase |
true |
يسجّل 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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
# 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`.مدفوع (السيرفر فقط) jrs_lottery
اليانصيب في jrs core - سحوبات جائزة كبرى دائمة، مدفوعات يتحكم فيها السيرفر، وواجهة بستايل jrs_stores
| الريسورس | jrs_lottery |
| المجلد | [ECONOMY] |
| الإصدار | 2.2.2 |
| المطوّر | jrs team (original lottery by Markus Mueller / RetryR1v2) |
| يعتمد على | /onesync, jrs_core, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 857 سطر Lua |
الأوامر
/jrs_lottery_draw/jrs_lottery_resolve/jrs_lottery_review
جداول قاعدة البيانات
jrs_lottery_draws, jrs_lottery_rewards, jrs_lottery_state, jrs_lottery_tickets
config.lua - 30 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
ملاحظات من ملف README#
# 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.مجاني (موجود مع JRS Core) jrs_mailbox
jrs core Mailbox - Advanced postal service for telegrams, parcels, citizen registration, and mailbox management.
| الريسورس | jrs_mailbox |
| المجلد | [ECONOMY] |
| الإصدار | 1.2.0 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 2,329 Lua lines |
الأوامر
/closemail/closemailbox
الـ Exports
GetRobbableParcels, RestoreRobbedParcel, TakeRobbedParcel, getUnviewedTelegramsCount
جداول قاعدة البيانات
jrs_mailbox_mails, jrs_mailbox_mails_registrations
config/config.lua - 35 إعداد#
Interaction
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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.
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ Guarma |
table |
جدول عناصر guarma. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Valentine |
table |
جدول عناصر valentine. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Rhodes |
table |
جدول عناصر rhodes. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ STDenis |
table |
جدول عناصر st denis. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Annesburg |
table |
جدول عناصر annesburg. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ Blackwater |
table |
جدول عناصر blackwater. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
Discord webhooks
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
↳ REGISTERED |
table |
جدول عناصر registered. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ SENT_TELEGRAM |
table |
جدول عناصر sent telegram. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ SENT_PARCEL |
table |
جدول عناصر sent parcel. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ RETURNED_PARCEL |
table |
جدول عناصر returned parcel. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مجاني (موجود مع JRS Core) jrs_paycheck
نظام الرواتب
| الريسورس | jrs_paycheck |
| المجلد | [ECONOMY] |
| الإصدار | 0.2 |
| المطوّر | JRS TEAM |
| الواجهة | لا |
| حجم الكود | 342 سطر Lua |
config.lua - 16 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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 |
اسم الوظيفة |
↳ 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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مجاني (موجود مع JRS Core) jrs_saloons
وظيفة الصالون لـ JRS Core
| الريسورس | jrs_saloons |
| المجلد | [ECONOMY] |
| الإصدار | 1.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_crafting |
| الواجهة | لا |
| حجم الكود | 444 سطر Lua |
config.lua - 16 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
defaultlang |
"en" |
إعداد لـ defaultlang. |
Align |
"center" |
إعداد لـ align. |
Key |
0x760A9C6F |
[G] |
Blipsprite |
1879260108 |
common sprite |
BlipsActive |
true |
set whether Blips should shown on map |
Locations |
table |
إحداثيات العالم (x, y, z) لـ locations. |
↳ Smithfields |
table |
فالنتاين |
↳ 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. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
مجاني (موجود مع JRS Core) jrs_stores
المتاجر في jrs core - نظام موحّد للمتاجر الثابتة ومتاجر اللاعبين مع حماية من السيرفر
| الريسورس | jrs_stores |
| المجلد | [ECONOMY] |
| الإصدار | 7.17.3 |
| المطوّر | jrs team |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | نعم (NUI) |
| اللغات | ar, en |
| حجم الكود | 23,598 Lua lines |
الأوامر
/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
جداول قاعدة البيانات
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
مجاني (موجود مع JRS Core) jrs_trader
التجار في JRS Core - تجار NPC أسعارهم حسب المخزون، تديرهم داخل اللعبة بأمر /traderadmin
| الريسورس | jrs_trader |
| المجلد | [ECONOMY] |
| الإصدار | 1.0.0 |
| المطوّر | JRS TEAM |
| يعتمد على | jrs_core, jrs_inventory, oxmysql |
| الواجهة | لا |
| حجم الكود | 1,461 سطر Lua |
الأوامر
/traderadmin
جداول قاعدة البيانات
jrs_trader, jrs_trader_npcs
config.lua - 20 إعداد#
عام
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
Language |
"en" |
'en' أو '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 |
Sounds |
table |
جدول عناصر sounds. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ enabled |
true |
يشغّل أو يطفّي enabled (الافتراضي true). |
↳ success |
table |
جدول عناصر success. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
↳ fail |
table |
جدول عناصر fail. أضف أو احذف أو عدّل العناصر على نفس أمثلة الملف. |
npc settings
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
DistanceSpawn |
30.0 |
المسافة بوحدات اللعبة لـ distance spawn. |
dynamic price settings
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
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)
| الإعداد | الافتراضي | وظيفته |
|---|---|---|
DefaultItems |
table |
أغراض المخزون المستخدمة في default items. الأسماء لازم تكون موجودة في جدول jrs_items. |