Outlaw gameplay: robberies, lockpicking, looting and bounties.
此文件夹有 15 个脚本。在下方标签中选择。
Paid (server only) Jrs_ability_card
disable ability card ui on RedM
| Resource | Jrs_ability_card |
| Folder | [CRIME] |
| Version | 1.0.0 |
| Author | jrs team |
| Interface | No |
| Languages | ar, en |
| Code size | 19 行 Lua |
Notes from the README#
# ability_card
disable ability card ui on RedM
# RankBar & Cards Loadout
# Horse InfoPaid (server only) jrs_armour
jrs core Armour - Simple item-only armor system
| Resource | jrs_armour |
| Folder | [CRIME] |
| Version | 3.0.0-simple-four-piece |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | No |
| Languages | ar, en |
| Code size | 1,461 Lua lines |
Exports
GetArmourHudData, GetEquipment
Database tables
jrs_armour_equipment
Notes from the README#
# REDEMPIRE Armour v3
A deliberately simple item-only armor system for REDEMPIRE / RedM.
## Armor items
- `jrs_armor_head` - Head Armor
- `jrs_armor_torso` - Chest & Back Armor
- `jrs_armor_legs` - Leg Armor
- `jrs_armor_arms` - Arm Armor
There are no sets, passives, crafting menu, armor UI, amulets, trinkets, belts, boots, vests, environmental effects, stamina modifiers, deadeye modifiers, or st
Use an armor item from `jrs_inventory` once to equip it. Use the same physical item again to unequip it. The item remains in the inventory and stores its condit
When condition reaches 0, that exact inventory item is removed and the HUD piece count decreases automatically.
## HUD
When `jrs_metabolism` is running, REDEMPIRE Armour sends:
- armor icon visibility
- total equipped piece count (0-4)
- combined condition percentage
## Install
1. Import `sql/jrs_armour_equipment.sql` once if the table does not exist.
2. Import `sql/jrs_armour_items.sql` to add the four inventory items.
3. Start resources in this order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_metabolism
ensure jrs_armour
'''
## Torso visual armor
`jrs_armor_torso` now also applies a visible Red Dead Online Armor (MP) MetaPed component to the player. It is removed automatically when the torso item is uneq
Configure the built-in component hashes in `shared/config.lua` under `Config.TorsoVisual`.Paid (server only) jrs_carcano_logo_prop
Independent Carcano stock logos with a transparent shield image
| Resource | jrs_carcano_logo_prop |
| Folder | [CRIME] |
| Version | 0.9.3 |
| Author | JRS |
| Interface | No |
| Code size | 109 行 Lua |
Commands
/jrslogogun
Paid (server only) jrs_hanging_electric
JRS Hanging and Electric Chair roleplay executions for RedM
| Resource | jrs_hanging_electric |
| Folder | [CRIME] |
| Version | 1.3.1 |
| Author | JRS |
| Interface | No |
| Code size | 1,534 Lua lines |
config.lua - 81 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
Permission |
"jrs.execution" |
Who may operate the gallows and the chair: anyone with the ACE below, plus (optionally) any on-duty police officer through jrs_police's read-only IsOnDutyOfficer export. |
RequirePermission |
true |
Requires permission:true = 是,false = 否(默认 true)。 |
AllowOnDutyPolice |
true |
Allows on duty police:true = 是,false = 否(默认 true)。 |
PoliceMinimumGrade |
0 |
police minimum grade 的最低值或等级要求。 |
Police |
table |
jrs_police link: radial-menu entries for on-duty officers and an MDT record in the prisoner's file after every execution. |
↳ radialMenu |
true |
radial menu 的开关:true = 开,false = 关(默认 true)。 |
↳ mdtRecord |
true |
mdt record 的开关:true = 开,false = 关(默认 true)。 |
↳ nearestPrisonerDistance |
3.0 |
radial "Put suspect on gallows" picks the nearest player within this |
Government |
table |
or chair stands in may operate it, the city can lock executions down from its Municipal Facilities page, and every sentence goes into the city's government audit log. |
↳ allowCityLeaders |
true |
Allows city leaders:true = 是,false = 否(默认 true)。 |
↳ facilityType |
"executions" |
facility type 的设置。 |
↳ auditLog |
true |
audit log 的开关:true = 开,false = 关(默认 true)。 |
Locations |
table |
Each location must point to an existing RedM gallows/map prop. |
Controls |
table |
Verified against resources/[ADMIN]/jrs_utils/shared/keys.lua |
↳ interact |
0xCEFD9220 |
E (gallows lever, chair, generator) |
↳ release |
0x24978A28 |
H (prisoner asks to be released) |
↳ powerUp |
0x6319DB71 |
Arrow Up (INPUT_FRONTEND_UP) |
↳ powerDown |
0x05CA7C52 |
Arrow Down (INPUT_FRONTEND_DOWN) |
Interaction |
table |
interaction 条目表。按文件中的示例添加、删除或修改条目。 |
↳ startCommand |
"jrshang" |
/jrshang <server id> |
↳ releaseCommand |
"jrsrelease" |
/jrsrelease <server id> |
↳ executeCommand |
"jrsexecute" |
/jrsexecute <server id> |
↳ cutRopeCommand |
"jrscutrope" |
/jrscutrope <server id> (nearby rescue) |
↳ cutRopeDistance |
2.0 |
cut rope distance 的游戏内距离。 |
↳ releaseRequestCooldown |
20 |
seconds between H requests from a prisoner |
↳ promptDistance |
3.0 |
distance to the lever for the E prompt |
Hanging |
table |
hanging 条目表。按文件中的示例添加、删除或修改条目。 |
↳ animationDictionary |
'script_re@public_hanging@cr... |
animation dictionary 的动画设置。 |
↳ animationName |
"intro_idle" |
animation name 显示给玩家的文本。可修改以翻译或更名。 |
↳ animationFlag |
1 |
animation flag 的动画设置。 |
↳ nooseModel |
357863945 |
p_cs_noose01xb |
↳ nooseBone |
21030 |
noose bone 的数值(默认 21030)。 |
↳ nooseOffset |
vector3(0.0, -0.07, 0.015) |
noose offset 的设置。 |
↳ nooseRotation |
vector3(183.0, 88.5, -50.0) |
noose rotation 的设置。 |
↳ autoReleaseSeconds |
180 |
auto release seconds 的数值(默认 180)。 |
↳ executionSeconds |
5 |
execution seconds 的数值(默认 5)。 |
↳ killPlayerOnExecution |
false |
kill player on execution 的开关:true = 开,false = 关(默认 false)。 |
↳ ragdollAfterExecution |
true |
ragdoll after execution 的开关:true = 开,false = 关(默认 true)。 |
↳ trapdoorSeconds |
3.3 |
trapdoor seconds 的数值(默认 3.3)。 |
↳ leverAnimationDictionary |
"script_re@public_hanging@lever" |
lever animation dictionary 的动画设置。 |
↳ leverAnimationName |
"push_lever_deputy_lever" |
lever animation name 显示给玩家的文本。可修改以翻译或更名。 |
↳ trapdoorAnimationName |
"pull_lever_deputy_trapdoor_val" |
trapdoor animation name 显示给玩家的文本。可修改以翻译或更名。 |
Electric |
table |
Electric chair and generator locations. Props spawn locally when a player approaches. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ chairModel |
"p_cs_electricchair01x" |
chair model 使用的游戏模型或实体。 |
↳ generatorModel |
"p_cs_generator01x" |
generator model 使用的游戏模型或实体。 |
↳ spawnRange |
35.0 |
spawn range 的游戏内距离。 |
↳ promptDistance |
2.5 |
prompt distance 的游戏内距离。 |
↳ targetDistance |
2.0 |
target distance 的游戏内距离。 |
↳ operatorDistance |
3.0 |
operator distance 的游戏内距离。 |
↳ effectDistance |
45.0 |
effect distance 的游戏内距离。 |
↳ startingPower |
10 |
starting power 的数值(默认 10)。 |
↳ powerStep |
10 |
power step 的数值(默认 10)。 |
↳ minimumPower |
10 |
minimum power 的最低值或等级要求。 |
↳ maximumPower |
100 |
maximum power 的上限。 |
↳ lethalPower |
70 |
lethal power 的数值(默认 70)。 |
↳ shockCooldownSeconds |
6 |
shock cooldown seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ effectDurationMs |
4000 |
effect duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ executionKillsPlayer |
true |
execution kills player 的开关:true = 开,false = 关(默认 true)。 |
↳ autoReleaseSeconds |
300 |
auto release seconds 的数值(默认 300)。 |
↳ chairAnimationDictionary |
"script_rc@rtl@leadin@rc_6" |
chair animation dictionary 的动画设置。 |
↳ chairAnimationName |
"leadin_chair" |
chair animation name 显示给玩家的文本。可修改以翻译或更名。 |
↳ prisonerAnimationDictionary |
"script_rc@rtl@leadout@rc_6" |
prisoner animation dictionary 的动画设置。 |
↳ prisonerAnimationName |
"leadout_alive_prisoner" |
prisoner animation name 显示给玩家的文本。可修改以翻译或更名。 |
↳ seatOffset |
vector3(0.0, 0.0, 0.45) |
seat offset 的设置。 |
↳ prisonerHeadingOffset |
180.0 |
prisoner heading offset 的数值(默认 180.0)。 |
↳ effectDictionary |
"cut_rrtl" |
effect dictionary 的设置。 |
↳ effectName |
"cs_rrtl_electric_arcs" |
effect name 显示给玩家的文本。可修改以翻译或更名。 |
↳ effectBone |
247 |
effect bone 的数值(默认 247)。 |
↳ zones |
table |
zones 条目表。按文件中的示例添加、删除或修改条目。 |
Blips |
table |
Map blips: one per gallows, plus one per electric chair that does not already stand next to a gallows (so Valentine shows a single marker). |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ sprite |
"blip_honor_bad" |
skull |
↳ scale |
0.2 |
scale 的比率或倍数。 |
↳ showChairs |
true |
Shows chairs:true = 是,false = 否(默认 true)。 |
↳ mergeDistance |
30.0 |
a chair this close to a gallows shares its blip |
DefaultLanguage |
"en" |
此脚本的界面语言(en 或 ar)。 |
Text |
table |
text 显示给玩家的文本。可修改以翻译或更名。 |
↳ en |
table |
en 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ar |
table |
ar 条目表。按文件中的示例添加、删除或修改条目。 |
Notes from the README#
# jrs_hanging_electric
One standalone RedM resource for the gallows and electric chair. The hanging feature is based on the supplied `redm-hanging` archive. The chair animation, props
## Features
- Synchronized gallows scene, lever and trapdoor animation, noose attachment, timed execution, release, and disconnect cleanup.
- The prisoner can **plead** for release with **H** (notifies the operator and nearby authorised players; it no longer frees them). A witness close to the priso
- Electric chair and generator props spawn near configured locations and clean up as players leave the area.
- The operator can secure the nearest player to the chair, adjust current from 10% to 100%, then apply a synchronized electric effect.
- Current at or above the configured lethal level kills the prisoner by default. Set `Config.Electric.executionKillsPlayer = false` to keep it as roleplay shock
- Server-side ACE and distance checks protect all start, current, release, and execution actions. Client requests cannot select arbitrary remote players or pass
- Operators: ACE `jrs.execution` **or** any on-duty police officer (`Config.AllowOnDutyPolice`, via `jrs_police:IsOnDutyOfficer`). Operator prompts are hidden f
- EN/AR texts follow the player's jrs_core language; notifications use the jrs_core toast.
## Install
1. Place the `jrs_hanging_electric` folder under `resources/[jrs]/`.
2. Add `ensure jrs_hanging_electric` to `server.cfg`.
3. Grant the permission to authorized operators, for example:
'''cfg
add_ace group.admin jrs.execution allow
'''
4. Set gallows and chair coordinates in `config.lua` for your map.
## Commands and controls
| Action | Command or control |
|---|---|
| Put a nearby player on the gallows | `/jrshang <server id>` |
| Start a hanging execution | `/jrsexecute <server id>` or hold **E** at the lever |
| Release a gallows or chair prisoner | `/jrsrelease <server id>` |
| Cut the gallows rope nearby | `/jrscutrope <server id>` |
| Secure a nearby prisoner in the chair | hold **E** at the chair |
| Release the chair prisoner | hold **H** at the generator |
| Plead for release (prisoner) | hold **H** on the gallows |
| Increase or decrease current | Arrow Up / Arrow Down at the generator |
| Apply current | hold **E** at the generator |
## Configuration notes
- `Config.Permission` and `Config.RequirePermission` control server authorization.
- `Config.Locations` holds gallows map props and animation position.
- `Config.Electric.zones` holds chair and generator coordinates/headings.
- `Config.Electric.targetDistance`, `operatorDistance`, `lethalPower`, and `executionKillsPlayer` control chair behavior.
- The bundled assets/props and RedM animation dictionaries must exist in the server's game build. Check the chair placement and noose offsets in-game before pub
The supplied electric-chair archive has no license file. Keep its original credit and verify the upstream author's redistribution terms before sharing the merge
## 1.1.0 fixes
- Prisoner could free themselves instantly with H, or with `/jrscutrope <own id>` -> now a plea / blocked.
- Hang idle anim was re-played every second during the drop, cancelling the ragdoll -> skipped while executing.
- Prisoner could walk off the trapdoor / chair -> position frozen while held, unfrozen on release, execution, and resource stop.
- Every server sync re-teleported the prisoner onto the trapdoor -> teleport once per session.
- Stale timers (auto-release / execution) could hit a NEW session for the same player -> session identity check.
- Chair `E` was `0x5415BE48` (G on this server) and chair + generator groups (1.8 m apart) fought each other -> E, nearest one only.Paid (server only) jrs_hideouts
Gang hideouts: secret entrance, shared ledger, members, decor upgrades, storage and raids
| Resource | jrs_hideouts |
| Folder | [CRIME] |
| Version | 1.1.0 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 1,368 Lua lines |
Database tables
jrs_hideout_members, jrs_hideouts
config.lua - 44 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
Buying
| Setting | Default | What it does |
|---|---|---|
Price |
1500 |
cash, paid to the dealer |
OnePerCharacter |
true |
a character may own (and be member of) one hideout |
MaxMembers |
6 |
not counting the owner |
AllowGangLink |
true |
Owner can link the hideout to their jrs_organizations gang: every gang member gets in. |
Command |
"hideout" |
place / relocate the entrance, see status |
GetOutCommand |
"hideout_getout" |
get out command 的设置。 |
RelocateCost |
400 |
taken from the ledger |
Dealers |
table |
dealers 条目表。按文件中的示例添加、删除或修改条目。 |
Entrance placement rules (checked on the server with the player position)
| Setting | Default | What it does |
|---|---|---|
MinDistanceBetweenHideouts |
150.0 |
min distance between hideouts 的游戏内距离。 |
Towns |
table |
towns 条目表。按文件中的示例添加、删除或修改条目。 |
EntranceProp |
"p_trapdoor01x" |
Visual marker at the entrance (local prop; skipped if the model is missing). |
Interior: one RDO moonshine shack, private routing bucket per hideout.
| Setting | Default | What it does |
|---|---|---|
BucketBase |
74000 |
jrs_moonshine uses the same interior in its own buckets; entity sets are snapshotted on enter and restored on leave so the two never fight. |
Interior |
table |
interior 条目表。按文件中的示例添加、删除或修改条目。 |
↳ id |
77313 |
id 的数值(默认 77313)。 |
↳ spawn |
vector4(1785.01, -821.53, 19... |
spawn 使用的世界坐标(x, y, z)。 |
↳ exit |
vector3(1785.01, -821.53, 19... |
exit 的设置。 |
↳ ledger |
vector3(1789.48, -813.10, 19... |
ledger 的设置。 |
↳ storage |
vector3(1784.12, -817.10, 18... |
storage 的设置。 |
↳ baseSets |
table |
base sets 条目表。按文件中的示例添加、删除或修改条目。 |
GetOutCoords |
vector3(1514.6, 438.11, 89.9... |
Where a player stuck inside with no known hideout is sent. |
Ledger / storage
| Setting | Default | What it does |
|---|---|---|
MaxLedger |
100000 |
max ledger 的上限。 |
Storage |
table |
storage 条目表。按文件中的示例添加、删除或修改条目。 |
Decor upgrades, paid from the ledger. One set per category is active.
| Setting | Default | What it does |
|---|---|---|
DefaultTheme |
"mp006_mshine_theme_hunter" |
default theme 的设置。 |
Upgrades |
table |
upgrades 条目表。按文件中的示例添加、删除或修改条目。 |
↳ theme |
table |
theme 条目表。按文件中的示例添加、删除或修改条目。 |
↳ struct |
table |
struct 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shelf |
table |
shelf 条目表。按文件中的示例添加、删除或修改条目。 |
↳ frame |
table |
frame 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bench |
table |
bench 条目表。按文件中的示例添加、删除或修改条目。 |
↳ band |
table |
band 条目表。按文件中的示例添加、删除或修改条目。 |
UpgradeOrder |
table |
upgrade order 条目表。按文件中的示例添加、删除或修改条目。 |
Raids
| Setting | Default | What it does |
|---|---|---|
Raid |
table |
raid 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ PoliceOnly |
false |
true: only on-duty police may raid |
↳ LockpickItem |
"lockpick" |
lockpick item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ RequireMemberOnline |
true |
someone from the hideout must be on the server |
↳ CooldownHours |
72 |
per hideout, persisted in the database |
↳ DelayMinutes |
10 |
warning time before the door gives |
↳ WindowMinutes |
20 |
door stays open to anyone this long |
↳ AlertPolice |
true |
alert police 的开关:true = 开,false = 关(默认 true)。 |
Keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Use |
0x760A9C6F |
G |
↳ Alt |
0xCEFD9220 |
E |
Paid (server only) jrs_hogtie
Better hogtie: struggle free, untie others, police ties hold, job restriction, auto-release
| Resource | jrs_hogtie |
| Folder | [CRIME] |
| Version | 0.1.0 |
| Author | jrs team |
| Depends on | jrs_core |
| Interface | No |
| Languages | ar, en |
| Code size | 373 行 Lua |
config.lua - 20 个选项#
General
| Setting | Default | What it does |
|---|---|---|
RestrictToJobs |
false |
Only these jobs may hogtie other PLAYERS (NPC hogties are never touched). A player hogtied by someone without permission is released at once. |
AllowedJobs |
table |
允许谁:allowed jobs 的职业、组或权限。 |
↳ police |
true, marshal = true, sherif... |
police 的设置。 |
Struggle |
table |
Struggling free (the hogtied player mashes a key). |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ DelaySeconds |
20 |
after being tied, before the first try |
↳ CooldownSeconds |
15 |
between tries |
↳ Key |
0xD9D0E1C0 |
SPACE |
↳ WindowSeconds |
5 |
how long the mashing lasts |
↳ PressesNeeded |
22 |
presses inside the window |
↳ SuccessChance |
45 |
% rolled on the server after a good mash |
PoliceNoEscape |
true |
An on-duty officer's knots can't be struggled out of. |
Untie |
table |
Untying someone else. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Key |
0x760A9C6F |
G (hold) |
↳ HoldMs |
1500 |
hold ms 的数值(默认 1500)。 |
↳ Distance |
1.8 |
distance 的游戏内距离。 |
↳ Seconds |
3 |
crouch animation before the knot gives |
↳ PoliceKnotsOfficersOnly |
true |
an on-duty officer's hogtie can only be undone by an officer |
MaxHogtieMinutes |
6 |
Nobody stays tied forever (anti-grief). 0 = off. |
Free (included in JRS Core) jrs_lockpick
storage script locations or and as items
| Resource | jrs_lockpick |
| Folder | [CRIME] |
| Version | 1.0 |
| Author | JRS TEAM |
| Interface | Yes (NUI) |
| Code size | 54 行 Lua |
Exports
startLockpick
Paid (server only) jrs_loot_hunter
jrs Loot Hunter - Red Dead Online style world container looting (drawers, cabinets, chests, strongboxes) for jrs_core / jrs_inventory
| Resource | jrs_loot_hunter |
| Folder | [CRIME] |
| Version | 1.0.0 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | No |
| Languages | ar, en |
| Code size | 1,309 Lua lines |
Commands
/loothunter_reset
Database tables
jrs_loot_hunter_spots
config/config.lua - 37 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Prints every container the player opens (model name, hash, tier, coords) and enables /loothunter_reset for the console. Leave off on the live server. |
NotifyDuration |
3500 |
notify duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
Detection
| Setting | Default | What it does |
|---|---|---|
Detection |
table |
detection 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ignoreScriptProps |
true |
Containers placed by our own scripts (housing furniture, jrs_stashes, spooner props, store props) are mission entities. They are never paid: only the map's own world containers are, like in Red Dead Online. |
↳ fallbackTier |
"generic" |
A lootable container whose model is not listed in config/props.lua is still recognised and paid from this tier, so no container is ever silently ignored. Set to false to pay only the listed models. |
Server-side validation (every roll happens on the server)
| Setting | Default | What it does |
|---|---|---|
Security |
table |
security 条目表。按文件中的示例添加、删除或修改条目。 |
↳ maxDistance |
5.0 |
Player must be this close (metres) to the container the client reports. |
↳ playerCooldownMs |
1500 |
Minimum time between two searches by the same player. |
↳ containerRestockMinutes |
table |
A searched container stays empty for everyone for a random time in this range (RDO restock). Saved in the database, so a restart does not refill it. |
↳ maxSearchesPerHour |
45 |
Per-character hard caps over a rolling hour. Once reached, containers are still searchable but come up empty until the hour rolls over. |
↳ maxCashPerHour |
6.00 |
below the Tier 1 job rate ($4-9/h) in jrs_core economy.lua |
↳ maxGoldPerHour |
0.06 |
max gold per hour 的金额。奖励会经过 jrs_core 的经济倍率。 |
Item pools - every name below exists in jrs_items. Names that ever go
| Setting | Default | What it does |
|---|---|---|
Pools |
table |
missing from the table are dropped at boot with a console warning, so a deleted item can never be handed out. amount = { min, max }, weight = relative pick weight inside the pool. |
↳ provisions |
table |
provisions 条目表。按文件中的示例添加、删除或修改条目。 |
↳ smokes |
table |
smokes 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tonics |
table |
tonics 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammo |
table |
ammo 条目表。按文件中的示例添加、删除或修改条目。 |
↳ valuables |
table |
Fence trinkets (RDO jewellery / watches) - kept rare on purpose. |
↳ horse |
table |
horse 使用的游戏模型或实体。 |
Loot tiers (Red Dead Online values)
| Setting | Default | What it does |
|---|---|---|
Tiers |
table |
cash : chance %, min/max dollars (paid straight, already RDO cents) gold : chance %, one of amounts gold bars (0.01 = one nugget-sized bit) rolls: each entry rolls independently; max = up to N different items |
↳ drawer |
table |
drawer 条目表。按文件中的示例添加、删除或修改条目。 |
↳ cabinet |
table |
cabinet 条目表。按文件中的示例添加、删除或修改条目。 |
↳ medicine |
table |
medicine 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammo |
table |
ammo 条目表。按文件中的示例添加、删除或修改条目。 |
↳ chest |
table |
chest 条目表。按文件中的示例添加、删除或修改条目。 |
↳ strongbox |
table |
strongbox 条目表。按文件中的示例添加、删除或修改条目。 |
↳ generic |
table |
Any lootable container not listed in config/props.lua. |
A native item whose name is also a jrs_items name (consumable_peaches_can,
| Setting | Default | What it does |
|---|---|---|
Pickups |
table |
consumable_cigar, ...) maps itself automatically, as long as its jrs_items category is in autoCategories. Anything named differently goes in map. Unmapped pickups are printed once in the server console so they can be added. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ amount |
1 |
One item per pickup, like RDO. |
↳ containerGraceMs |
5000 |
Pickups within this long after a container search are the container's own contents (already paid by the container tier) and are ignored. |
↳ playerCooldownMs |
800 |
player cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ maxPerHour |
40 |
max per hour 的上限。 |
↳ respawnMinutes |
table |
Once taken, a pickup disappears for every player and comes back after a random time in this range. Saved in the database (jrs_loot_hunter_spots), so a server restart does not bring it back early. |
↳ hideRange |
80.0 |
Taken pickups are hidden for players within this range (metres). |
↳ autoCategories |
table |
auto categories 条目表。按文件中的示例添加、删除或修改条目。 |
↳ map |
table |
native item name = jrs item name |
config/props.lua - 8 个选项#
Built from the full RDR3 object list (jrs_spooner/data/rdr3/objects.lua).
| Setting | Default | What it does |
|---|---|---|
Props |
table |
The game only raises EVENT_CONTAINER_INTERACTION for containers it lets the player search, so listing a model that is not searchable costs nothing. Unlisted searchable containers use Config.Detection.fallbackTier. |
↳ drawer |
table |
Drawers, dressers, nightstands, desks, small boxes ---------------------- |
↳ cabinet |
table |
Cabinets, cupboards, hutches, wardrobes --------------------------------- |
↳ medicine |
table |
Doctor / medicine cabinets --------------------------------------------- |
↳ ammo |
table |
Ammo boxes, gun cabinets, weapon chests --------------------------------- |
↳ chest |
table |
Chests, trunks, footlockers, luggage, satchels -------------------------- |
↳ strongbox |
table |
Strongboxes, lockboxes, money / jewellery boxes, coffers ---------------- |
Never paid, even through the fallback tier.
| Setting | Default | What it does |
|---|---|---|
PropBlacklist |
table |
prop blacklist 使用的游戏模型或实体。 |
Notes from the README#
# jrs_loot_hunter
Red Dead Online style world container looting for `jrs_core` / `jrs_inventory`.
Searching a drawer, cabinet, chest, trunk, footlocker or strongbox in the world
(the game's own "Search" prompt) rolls RDO-sized loot on the server.
- `config/props.lua` - ~290 RDR3 container models sorted into tiers
(drawer, cabinet, medicine, ammo, chest, strongbox) plus a blacklist.
Any other searchable container uses `Config.Detection.fallbackTier`.
- `config/config.lua` - tiers, item pools, security caps.
- Items are checked against `jrs_items` at boot; missing ones are skipped.
- Cash/gold are RDO cents paid with `jrs_core` `AddMoney` / `AddGold`.
- Props spawned by scripts (housing, stashes, spooner) are never paid.
- Loose world pickups (gun oil on a counter, cans/tonics on shelves) give the
matching jrs item, 1 per pickup. Native names that already exist in
`jrs_items` map themselves; others go in `Config.Pickups.map`. Unmapped
pickups are printed once in the server console with their hash.
- NPC bodies are handled by `jrs_lootnpcs`, not here.
Debug: set `Config.Debug = true` to print every searched model/hash/tier in
the client console (F8) and enable the console command `loothunter_reset`.Free (included in JRS Core) jrs_lootnpcs
jrs core Loot NPCs - NPC loot system for jrs_core / jrs_inventory
| Resource | jrs_lootnpcs |
| Folder | [CRIME] |
| Version | 2.0.1 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory |
| Interface | No |
| Languages | ar, en |
| Code size | 1,592 Lua lines |
Notes from the README#
# jrs_lootnpcs
Clean RedM NPC loot system built for REDEMPIRE.
**Core:** This script runs directly on `jrs_core` and uses `jrs_inventory` for item, money, gold, and weapon rewards.
## What changed
- Built the resource around `jrs_core` and `jrs_inventory`.
- Removed the old JS DataView export and replaced it with a local Lua DataView helper.
- Split the script into clear folders:
- `shared/config.lua`
- `shared/language.lua`
- `client/dataview.lua`
- `client/client.lua`
- `server/server.lua`
- Moved the `jrs_core` and `jrs_inventory` connection directly into `server/server.lua`.
- Added server-side validation to reduce duplicate loot abuse:
- player cooldown
- NPC key lock
- distance check
- dead ped check when the NPC is networked
- Rebuilt reward logic into separate item, money, gold, and weapon reward handlers.
- Moved all visible text into `shared/language.lua`.
## Dependencies
'''cfg
ensure jrs_core
ensure jrs_inventory
ensure jrs_lootnpcs
'''
The resource names are configurable in `shared/config.lua`:
'''lua
Config.CoreResource = 'jrs_core'
Config.InventoryResource = 'jrs_inventory'
'''
## Rewards
All rewards are controlled from `shared/config.lua` under `Config.Rewards`.
Example item reward:
'''lua
{ name = 'raisin', label = 'Raisin', amount = { min = 1, max = 1 } }
'''
Example random amount:
'''lua
{ name = 'ammoriflenormal', label = 'Normal Rifle Ammo', amount = { min = 1, max = 3 } }
'''
## Notes
If your `jrs_inventory` exports use different names, update the direct inventory functions inside `server/server.lua`. The script already tries common names suc
- `addItem`, `AddItem`, `giveItem`, `GiveItem`
- `canCarryItem`, `CanCarryItem`Paid (server only) jrs_organizations
jrs core Organizations System - separate Tribe and Family systems with unified Wars, Occupations and Missions
| Resource | jrs_organizations |
| Folder | [CRIME] |
| Version | 6.7.2 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 47,913 Lua lines |
Commands
/campreset/cancelcampmission/checkdb/checkgang/checkgangmembers/checkplayer/cleanUtilityPoleBlip/cleanallblips/creategang/debugUtilityPole/delgraffiti/desfreeze/devgraffiti/endterritorymission/familyadmin/familyjobsevent/forcecapture/gang/gangaccess/hunt/jrsUiReset/jrsclearui/listgangs/myterritories/orgwar/pirataria/setgang/setgangmenu/startUtilityPolesMission/startWagonMission
Exports
AddBounty, AddCampMissionProgress, AddWarScore, AwaitDatabase, CallFrameworkCurrency, CanOpenMenus, CloseInventory, CompleteMission, EndExtortionMission, ExecuteTerritorySQL, FailMission, FamilyCanOpenMenus, FamilyHasFullAccess, GetAccessState, GetActiveWarBetween, GetClanMissions, GetFamilyAccessState, GetFamilyFrameworkCharacter, GetFamilyFrameworkName, GetFamilyFrameworkPlayer, GetFamilyInventoryBridge, GetFrameworkCharacter, GetFrameworkMoney, GetFrameworkName, GetFrameworkPlayer, GetGangTerritories, GetInventoryBridge, GetMissionConfig, GetMissionPlayerGangInfo, GetPlayerGangInfo
Database tables
and, jrs_clan_alliances, jrs_clan_blackmarket, jrs_clan_camps, jrs_clan_chest_breaches, jrs_clan_daily_missions, jrs_clan_furniture_inventory, jrs_clan_market_stock, jrs_clan_market_transactions, jrs_clan_member_permissions, jrs_clan_notifications, jrs_clan_packed_camps, jrs_clan_poison, jrs_clan_raid_protection, jrs_clan_random_missions, jrs_clan_territories, jrs_clan_test_runs, jrs_clan_treasury_robberies, jrs_clan_upgrades, jrs_clan_weekly_missions
config/clan/admin_items.lua - 9 个选项#
General
| Setting | Default | What it does |
|---|---|---|
AdminItemGrant |
table |
REDEMPIRE ORGANIZATIONS - Full-access organization item grants Persistent grant history is stored in the database. This config only defines policy/defaults. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ maxAmountPerGrant |
100 |
max amount per grant 的上限。 |
↳ allowCustomItem |
true |
Allows custom item:true = 是,false = 否(默认 true)。 |
↳ requestCooldownMs |
600 |
request cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ grantCooldownMs |
850 |
grant cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ historyLimit |
50 |
history limit 的上限。 |
↳ familyItems |
table |
family items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ tribeItems |
table |
tribe items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
config/clan/advanced_build.lua - 1 个选项#
General
| Setting | Default | What it does |
|---|---|---|
CampAdvancedBuild |
Config.CampAdvancedBuild or ... |
camp advanced build 的设置。 |
config/clan/build_animations.lua - 12 个选项#
General
| Setting | Default | What it does |
|---|---|---|
CampBuildAnimations |
table |
camp build animations 条目表。按文件中的示例添加、删除或修改条目。 |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ preventOverlap |
true |
Prevent two construction animations from running on the same client. |
↳ maxDurationMs |
15000 |
Safety limits. The animation controller always restores movement and clears tasks when a profile finishes, fails, times out, or is canceled. |
↳ dictionaryTimeoutMs |
3500 |
dictionary timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ cancelOnDeath |
true |
cancel on death 的开关:true = 开,false = 关(默认 true)。 |
↳ cancelInWater |
true |
cancel in water 的开关:true = 开,false = 关(默认 true)。 |
↳ cancelWhenMounted |
true |
cancel when mounted 的开关:true = 开,false = 关(默认 true)。 |
↳ cancelWhenInVehicle |
true |
cancel when in vehicle 的开关:true = 开,false = 关(默认 true)。 |
↳ freezePlayer |
true |
Keep this false to avoid the player becoming stuck if another resource interrupts a task. Scenario animations already keep the ped in place. |
↳ notifications |
table |
notifications 条目表。按文件中的示例添加、删除或修改条目。 |
↳ profiles |
table |
profiles 条目表。按文件中的示例添加、删除或修改条目。 |
config/clan/config.lua - 168 个选项#
General
| Setting | Default | What it does |
|---|---|---|
keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ F |
0xB2F377E8 |
f 的设置。 |
↳ B |
0x4CC0E2FE |
b 的设置。 |
↳ G |
0x760A9C6F |
g 的设置。 |
↳ ENTER |
0xC7B5340A |
enter 的设置。 |
↳ DOWN |
0x05CA7C52 |
down 的设置。 |
↳ SHIFT |
0x8FFC75D6 |
shift 的设置。 |
↳ UP |
0x6319DB71 |
up 的设置。 |
↳ LEFT |
0xA65EBAB4 |
left 的设置。 |
↳ RIGHT |
0xDEB34313 |
right 的设置。 |
↳ RIGHTBRACKET |
0xA5BDCD3C |
rightbracket 的设置。 |
↳ LEFTBRACKET |
0x430593AA |
leftbracket 的设置。 |
↳ BACKSPACE |
0x156F7119 |
backspace 的设置。 |
↳ ALT |
0x8AAA0AD4 |
alt 的设置。 |
↳ CTRL |
0xDB096B85 |
ctrl 的设置。 |
↳ 1 |
0xE6F612E4 |
1 的设置。 |
↳ 2 |
0x1CE6D9EB |
2 的设置。 |
↳ 3 |
0x4F49CC4C |
3 的设置。 |
↳ 4 |
0x8F9F9E58 |
4 的设置。 |
↳ I |
0xC1989F95 |
i 的设置。 |
↳ X |
0x8CC9CD42 |
x 的设置。 |
restatsperday |
4 |
restatsperday 的数值(默认 4)。 |
debug |
false |
KEEP FALSE ON LIVE SERVER |
metadata |
true |
set to true when using meta data 3.5 inventory update |
useDecayitems |
true |
set to true to enable item decay |
ItemBlacklist |
table |
New Item Blacklist for storage items in this list will not beable to be stored in the storage |
flagitem |
"flag" |
Usable inventory item required to start building a camp. |
flagBuildRadius |
50.0 |
Maximum distance the flag can be positioned from where the item was used. |
consumeFlagItemOnBuild |
true |
The item is removed only after the player confirms the completed build. |
timesave |
30 |
save info every 10 minutes to database |
autocleanhorse |
false |
turn true or false the cleaning of skins on horses |
autocleananimals |
100 |
dont use if u dont know |
viewinvites |
"viewinvites" |
viewinvites 的设置。 |
changeleader |
"changeleader" |
admin command to change clan leader, new leader must be online /changeleader playerid clanid |
maxclan |
10 |
set to 0 if you want unlimited clan members for each clan |
rading |
true |
allow players to raid each other |
raidcooldown |
true |
raidcooldown 的开关:true = 开,false = 关(默认 true)。 |
campownerraidonly |
true |
only players who are a part of a clan can raid. if set to false any player can raid any camp |
raidcooldowncycles |
12 |
this is related to your server restart cycle. set to 12 a camp can be raided once every 3 days (12 restart cycles) |
clancountraid |
2 |
this is the number of clan members that have to be online to allow a camp to be raided. set to 0 if you want camps to be raided when all members are offline. setting to 2 means only allowed to be raided if atleast 2 clan members a |
raidtimer |
10 |
raiders have to wait in minutes between when they start the raid until they can lockpick. this gives the clan members a chance to respond to the raid. |
lockpicktimer |
5 |
raiders have to this much time to lockpick, if they dont lockpick raid is reset (considered failed) |
openloottimer |
10 |
the camp is marked open for loot for time in minutes after lockpicking |
processtimer |
30 |
wait 30 minutes before any option to raid clan re-appears after inital raid trigger |
lockpickitem |
"lockpick" |
lockpickitem 的设置。 |
CampChest |
table |
Direct camp chest inventory / lockpick robbery. Static behavior lives in config; breach/attempt state is persisted in MySQL. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ functional |
"inv" |
functional 的设置。 |
↳ promptDistance |
2.0 |
prompt distance 的游戏内距离。 |
↳ serverDistance |
4.0 |
server distance 的游戏内距离。 |
↳ lockpickItem |
"lockpick" |
keep in sync with Config.lockpickitem above |
↳ breachSeconds |
600 |
keep in sync with Config.openloottimer above (minutes * 60, min 60) |
↳ pendingSeconds |
60 |
pending seconds 的数值(默认 60)。 |
↳ failedAttemptCooldown |
30 |
failed attempt cooldown 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ consumeOnFailure |
true |
consume on failure 的开关:true = 开,false = 关(默认 true)。 |
↳ consumeOnSuccess |
false |
consume on success 的开关:true = 开,false = 关(默认 false)。 |
↳ acceptWeapons |
true |
accept weapons 的开关:true = 开,false = 关(默认 true)。 |
↳ inventoryPrefix |
"jrs_camp_storage_" |
inventory prefix 的设置。 |
↳ inventoryLabel |
"Camp Chest" |
inventory label 显示给玩家的文本。可修改以翻译或更名。 |
raiddistancecheck |
100 |
raiddistancecheck 的数值(默认 100)。 |
poisonsnake |
false |
if toggled true snakes will be poisonus |
cureitem |
table |
cureitem 条目表。按文件中的示例添加、删除或修改条目。 |
poisonticktime |
6 |
tickets a health reduction every 6 seconds |
enablehealthdamage |
true |
enablehealthdamage 的开关:true = 开,false = 关(默认 true)。 |
healthloss |
5 |
health loss every tick until lowest |
lethal |
false |
poison will not kill the player |
saveserver |
true |
if true poison data is saved on the server meaning a relog wont register it gone |
disablepoisonondeath |
false |
disablepoisonondeath 的开关:true = 开,false = 关(默认 false)。 |
visualclicks |
30 |
poisonticktime until visual effect |
ticksuntilwalk |
60 |
poisonticktime until forced walk |
clickstilldamage |
120 |
clickstilldamage 的数值(默认 120)。 |
adminfurniresetcommand |
"adminresetfurni" |
reset furniture to the unpitched state for a clan /command clanid |
furnilimit |
75 |
furnilimit 的数值(默认 75)。 |
blip |
1754365229 |
blip 的地图标记或图标设置。 |
campspacing |
200 |
distance of camps from each other -- camp spacing should always be 2.5 the render distance |
render |
150 |
distance to render camp |
placementradius |
50.0 |
Full camp building radius from the Camp Flag |
changeblipcost |
500 |
changeblipcost 的数值(默认 500)。 |
relocatecost |
800 |
relocatecost 的数值(默认 800)。 |
roaddistcheck |
20 |
distance check from road |
relocatecommand |
"movecamp" |
relocatecommand 的设置。 |
CampPacking |
table |
Packed camp relocation. Packing removes every spawned camp prop and gives the authorized holder one item. Using the item restores the same camp ID, ownership, members, money, storage, upgrades, furniture and building layout. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ itemName |
"packed_camp" |
item name 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ itemLabel |
"Packed Camp" |
item label 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ requireLeader |
true |
Requires leader:true = 是,false = 否(默认 true)。 |
↳ serverDistance |
6.0 |
server distance 的游戏内距离。 |
↳ placementRadius |
50.0 |
placement radius 的游戏内距离。 |
↳ cooldownSeconds |
10 |
cooldown seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ preserveFurnitureLayout |
true |
preserve furniture layout 的开关:true = 开,false = 关(默认 true)。 |
↳ chargeRelocationCost |
true |
charge relocation cost 的开关:true = 开,false = 关(默认 true)。 |
↳ allowAdminRemotePack |
true |
Allows admin remote pack:true = 是,false = 否(默认 true)。 |
CampClothingIntegration |
table |
Optional clothing-script bridge used by wardrobe furniture. mode: "builtin", "event", or "export". |
↳ mode |
"builtin" |
mode 的设置。 |
↳ eventName |
"" |
event name 显示给玩家的文本。可修改以翻译或更名。 |
↳ resource |
"" |
resource 的设置。 |
↳ exportName |
"" |
export name 显示给玩家的文本。可修改以翻译或更名。 |
↳ fallbackToBuiltin |
true |
fallback to builtin 的开关:true = 开,false = 关(默认 true)。 |
CampAdminMenu |
table |
Full-access camp administration menu. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ command |
"campadmin" |
command 的设置。 |
↳ requireFullAccess |
true |
Requires full access:true = 是,false = 否(默认 true)。 |
↳ maxCash |
10000000 |
max cash 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ maxLevel |
100 |
max level 的上限。 |
Taxes
| Setting | Default | What it does |
|---|---|---|
adminunrepocommand |
"unrepoclan" |
adminunrepocommand 的设置。 |
adminrepocommand |
"repoclan" |
adminrepocommand 的设置。 |
taxcost |
5000 |
amount the player will be charged come tax time |
allocationlimit |
5000 |
amount player is allowed to deposit in their tax ledger. limit this to the same amount as the tax cost if you want to ensure players are active monthly and are returning to put money in the ledger so that no big amounts are placed |
minmembers |
true |
set to true if you want to repo camps that dont meet the member count requirement |
minmembercount |
5 |
this is the member count requirement that is checked when repo time comes. if players dont meet this count their camp is repoed |
monthlyrepo |
true |
monthlyrepo 的开关:true = 开,false = 关(默认 true)。 |
repotime |
table |
day, hour, and minute of monthly repo of clans. when the server time matches these values. camps that dont have money in their ledger = or more than the tax rate of the camp will |
↳ day |
15 |
be put in a disabled state, and marked as repo 1 in the database. u can switch them back to active state by changing databse from 1 to 0 when the script is disabled |
↳ hour |
6 |
hour 的数值(默认 6)。 |
↳ minute |
30 |
minute 的数值(默认 30)。 |
weeklyrepo |
false |
sam,e as above but weekly instead of monthly, only of of the 2 active. |
repotime2 |
table |
repotime2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ day1 |
3 |
day1 的数值(默认 3)。 |
↳ day2 |
10 |
day2 的数值(默认 10)。 |
↳ day3 |
17 |
day3 的数值(默认 17)。 |
↳ day4 |
24 |
day4 的数值(默认 24)。 |
↳ hour |
6 |
hour 的数值(默认 6)。 |
↳ minute |
10 |
minute 的数值(默认 10)。 |
huntingwagon |
true |
set to true if you want to allow players to buy hunting wagons functionallity |
huntingwagoncost |
1000 |
cost to buy a hunting wagon for the camp |
maxanimals |
30 |
max animals and pelts stored in wagon |
clanflagprop |
"mp001_s_mpcorona01x" |
clanflagprop 的设置。 |
requireBuiltFlagForMenu |
true |
Camp menu prompt and all menu events require a completed active flag. |
flagMenuDistance |
1.5 |
Interaction distance measured from the built flag, not the camp center. |
stocktime |
30 |
time in minutes where material is changed to stock. |
stockprocessing |
10 |
amount of materials that is turned into stock as Config.stocktime passes |
supplyprice |
5 |
price per supplie if the player decided to buy them instead of doing mission to gain supplies |
supplyperstock |
1 |
supply amount drained from supply count every time materials is turned to supplies as Config.stocktime passes |
randomizedsaleprice |
true |
set to true if you want to randomize sale price according to the Config.randomprice |
randomprice |
table |
money the player makes per stock piece is a random number between min and max multiplied by the amount of stock |
statifprice |
10 |
sale price per stock if Config.randomizedsaleprice is set to false. |
beerstats |
table |
beerstats 条目表。按文件中的示例添加、删除或修改条目。 |
↳ hunger |
0 |
hunger 的数值(默认 0)。 |
↳ thirst |
5 |
thirst 的数值(默认 5)。 |
↳ metabolism |
5 |
metabolism 的数值(默认 5)。 |
↳ innercorestamina |
0.0 |
innercorestamina 的数值(默认 0.0)。 |
↳ innercorestaminagold |
0.0 |
innercorestaminagold 的数值(默认 0.0)。 |
↳ outercorestaminagold |
0.0 |
outercorestaminagold 的数值(默认 0.0)。 |
↳ innercorehealth |
0.0 |
innercorehealth 的数值(默认 0.0)。 |
↳ innercorehealthgold |
0.0 |
innercorehealthgold 的数值(默认 0.0)。 |
↳ outercorehealthgold |
0.0 |
outercorehealthgold 的数值(默认 0.0)。 |
↳ drunkcount |
2 |
apply drunk effect if player drinks this amount of beers |
↳ drunktime |
1 |
be drunk for 1 minute |
stewpot |
table |
stewpot 条目表。按文件中的示例添加、删除或修改条目。 |
Clan Systems Configuration
| Setting | Default | What it does |
|---|---|---|
ClanDefaults |
table |
clan defaults 条目表。按文件中的示例添加、删除或修改条目。 |
↳ memberSlots |
10 |
member slots 的上限。 |
↳ furnitureSlots |
20 |
furniture slots 的上限。 |
↳ storageWeight |
1000 |
storage weight 的上限。 |
RaidMinOnline |
2 |
raid min online 的最低值或等级要求。 |
RaidMaxDuration |
600 |
raid max duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
RaidDistance |
100.0 |
raid distance 的游戏内距离。 |
CancelRaidDistance |
150.0 |
cancel raid distance 的游戏内距离。 |
RaidProtectionHours |
72 |
raid protection hours 的数值(默认 72)。 |
AttackerProtectionHours |
24 |
attacker protection hours 的数值(默认 24)。 |
NewClanProtectionHours |
48 |
new clan protection hours 的数值(默认 48)。 |
RaidProtectionCost |
500 |
raid protection cost 的金额。奖励会经过 jrs_core 的经济倍率。 |
CaptureTime |
30 |
capture time 的数值(默认 30)。 |
NPCWaveCount |
3 |
npc wave count 的数值(默认 3)。 |
NPCPerWave |
5 |
npc per wave 的数值(默认 5)。 |
PayoutInterval |
3600 |
payout interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
MaxDailyMissions |
3 |
max daily missions 的上限。 |
MaxWeeklyMissions |
1 |
max weekly missions 的上限。 |
DailyResetHour |
6 |
daily reset hour 的数值(默认 6)。 |
config/clan/economy.lua - 6 个选项#
General
| Setting | Default | What it does |
|---|---|---|
CampFurnitureStore |
Config.CampFurnitureStore or... |
camp furniture store 的设置。 |
CampTreasury |
Config.CampTreasury or {} |
camp treasury 的设置。 |
CampStarterFunding |
Config.CampStarterFunding or... |
Starter funding lets a newly created camp move a limited amount of the leader's personal cash into shared camp funds. No physical treasury is needed. It never creates money: the server removes the same amount from the player. |
CampRobbery |
Config.CampRobbery or {} |
camp robbery 的设置。 |
clanfurni |
Config.clanfurni or {} |
Add a dedicated treasury chest to the furniture catalog. |
CampMarket |
Config.CampMarket or {} |
Build every configured furniture definition into the integrated market. These entries are camp-owned database records, not inventory items. |
config/clan/furniture.lua - 116 个选项#
types of functionallity:
| Setting | Default | What it does |
|---|---|---|
clanfurni |
table |
clanfurni 条目表。按文件中的示例添加、删除或修改条目。 |
↳ xmaspole |
table |
xmaspole 条目表。按文件中的示例添加、删除或修改条目。 |
↳ arabtent |
table |
arabtent 条目表。按文件中的示例添加、删除或修改条目。 |
↳ changer |
table |
changer 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bookcase |
table |
bookcase 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativebed |
table |
nativebed 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativemask |
table |
nativemask 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativearms |
table |
nativearms 条目表。按文件中的示例添加、删除或修改条目。 |
↳ cage |
table |
cage 条目表。按文件中的示例添加、删除或修改条目。 |
↳ xmastree |
table |
xmastree 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tipi |
table |
tipi 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tent2 |
table |
tent2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tent3 |
table |
tent3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tent4 |
table |
tent4 条目表。按文件中的示例添加、删除或修改条目。 |
↳ dreamcatcher |
table |
dreamcatcher 条目表。按文件中的示例添加、删除或修改条目。 |
↳ woodfence |
table |
woodfence 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativepot |
table |
nativepot 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativebasket1 |
table |
nativebasket1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativebasket2 |
table |
nativebasket2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativeskull |
table |
nativeskull 条目表。按文件中的示例添加、删除或修改条目。 |
↳ skullpost |
table |
skullpost 条目表。按文件中的示例添加、删除或修改条目。 |
↳ loungechair |
table |
loungechair 条目表。按文件中的示例添加、删除或修改条目。 |
↳ loungechair2 |
table |
loungechair2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pokerset |
table |
pokerset 条目表。按文件中的示例添加、删除或修改条目。 |
↳ decortent1 |
table |
decortent1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ decortent2 |
table |
decortent2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ decortent3 |
table |
decortent3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ horsehitches |
table |
horsehitches 条目表。按文件中的示例添加、删除或修改条目。 |
↳ robberyplanning |
table |
robberyplanning 条目表。按文件中的示例添加、删除或修改条目。 |
↳ naturalwagon |
table |
naturalwagon 条目表。按文件中的示例添加、删除或修改条目。 |
↳ lamppost1 |
table |
lamppost1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ lamppost2 |
table |
lamppost2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ mountainmen |
table |
mountainmen 条目表。按文件中的示例添加、删除或修改条目。 |
↳ undertaker1 |
table |
undertaker1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ undertaker2 |
table |
undertaker2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ kitchencounter |
table |
kitchencounter 条目表。按文件中的示例添加、删除或修改条目。 |
↳ standingtorch |
table |
standingtorch 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shootingtarget |
table |
shootingtarget 条目表。按文件中的示例添加、删除或修改条目。 |
↳ trayoffood |
table |
trayoffood 条目表。按文件中的示例添加、删除或修改条目。 |
↳ chesta |
table |
chesta 条目表。按文件中的示例添加、删除或修改条目。 |
↳ chestb |
table |
chestb 条目表。按文件中的示例添加、删除或修改条目。 |
↳ chestc |
table |
chestc 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pokerset |
table |
pokerset 条目表。按文件中的示例添加、删除或修改条目。 |
↳ hitchingpost |
table |
hitchingpost 条目表。按文件中的示例添加、删除或修改条目。 |
↳ butchertable3 |
table |
butchertable3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ butchertable2 |
table |
butchertable2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ butchertable1 |
table |
butchertable1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativedecor |
table |
nativedecor 条目表。按文件中的示例添加、删除或修改条目。 |
↳ gypsywagon |
table |
gypsywagon 条目表。按文件中的示例添加、删除或修改条目。 |
↳ beerbox |
table |
beerbox 条目表。按文件中的示例添加、删除或修改条目。 |
↳ waterbarrel |
table |
waterbarrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tent |
table |
this is the item name on db |
↳ wood_chair |
table |
wood chair 条目表。按文件中的示例添加、删除或修改条目。 |
↳ leather_chair |
table |
leather chair 条目表。按文件中的示例添加、删除或修改条目。 |
↳ round_table |
table |
round table 条目表。按文件中的示例添加、删除或修改条目。 |
↳ standard_table |
table |
standard table 条目表。按文件中的示例添加、删除或修改条目。 |
↳ rectangle_table |
table |
rectangle table 条目表。按文件中的示例添加、删除或修改条目。 |
↳ rectangle_table |
table |
rectangle table 条目表。按文件中的示例添加、删除或修改条目。 |
↳ timber_table |
table |
timber table 条目表。按文件中的示例添加、删除或修改条目。 |
↳ crafting_fire |
table |
crafting fire 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pota |
table |
pota 条目表。按文件中的示例添加、删除或修改条目。 |
↳ water_pump |
table |
water pump 条目表。按文件中的示例添加、删除或修改条目。 |
↳ flowerboxes |
table |
flowerboxes 条目表。按文件中的示例添加、删除或修改条目。 |
↳ deer_pelt |
table |
deer pelt 条目表。按文件中的示例添加、删除或修改条目。 |
↳ coyote_pelt |
table |
coyote pelt 条目表。按文件中的示例添加、删除或修改条目。 |
↳ blanket_box |
table |
blanket box 条目表。按文件中的示例添加、删除或修改条目。 |
↳ gun_barrel |
table |
gun barrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ apple_barrel |
table |
apple barrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ apple_basket |
table |
apple basket 条目表。按文件中的示例添加、删除或修改条目。 |
↳ food_barrel |
table |
food barrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ washtub |
table |
washtub 条目表。按文件中的示例添加、删除或修改条目。 |
↳ clothes_line |
table |
clothes line 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tool_barrel |
table |
tool barrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ coyote_taxidermy |
table |
coyote taxidermy 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pheasant_taxidermy |
table |
pheasant taxidermy 条目表。按文件中的示例添加、删除或修改条目。 |
↳ deer_taxidermy |
table |
deer taxidermy 条目表。按文件中的示例添加、删除或修改条目。 |
↳ cougar_taxidermy |
table |
cougar taxidermy 条目表。按文件中的示例添加、删除或修改条目。 |
↳ vulture_taxidermy |
table |
vulture taxidermy 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bear_bench |
table |
bear bench 条目表。按文件中的示例添加、删除或修改条目。 |
↳ log_bencha |
table |
log bencha 条目表。按文件中的示例添加、删除或修改条目。 |
↳ log_benchb |
table |
log benchb 条目表。按文件中的示例添加、删除或修改条目。 |
↳ cloth_bench |
table |
cloth bench 条目表。按文件中的示例添加、删除或修改条目。 |
↳ wooden_bench |
table |
wooden bench 条目表。按文件中的示例添加、删除或修改条目。 |
↳ wicker_bench |
table |
wicker bench 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bwdresser |
table |
bwdresser 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bmdresser |
table |
bmdresser 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nightstand |
table |
nightstand 条目表。按文件中的示例添加、删除或修改条目。 |
↳ side_table |
table |
side table 条目表。按文件中的示例添加、删除或修改条目。 |
↳ side_tablea |
table |
side tablea 条目表。按文件中的示例添加、删除或修改条目。 |
↳ side_tableb |
table |
side tableb 条目表。按文件中的示例添加、删除或修改条目。 |
↳ lanterna |
table |
lanterna 条目表。按文件中的示例添加、删除或修改条目。 |
↳ dbcandle |
table |
dbcandle 条目表。按文件中的示例添加、删除或修改条目。 |
↳ candlea |
table |
candlea 条目表。按文件中的示例添加、删除或修改条目。 |
↳ smallmcandle |
table |
smallmcandle 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bcandle |
table |
bcandle 条目表。按文件中的示例添加、删除或修改条目。 |
↳ obed |
table |
obed 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bunkbed |
table |
bunkbed 条目表。按文件中的示例添加、删除或修改条目。 |
↳ singlebed |
table |
singlebed 条目表。按文件中的示例添加、删除或修改条目。 |
↳ fancydouble |
table |
fancydouble 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativeskullchair |
table |
NEW NATIVE FURNITURE |
↳ nativechair |
table |
nativechair 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativewickchair |
table |
nativewickchair 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativebench |
table |
nativebench 条目表。按文件中的示例添加、删除或修改条目。 |
↳ simplenativetent |
table |
simplenativetent 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativeelkcanvas |
table |
nativeelkcanvas 条目表。按文件中的示例添加、删除或修改条目。 |
↳ deernativetent |
table |
deernativetent 条目表。按文件中的示例添加、删除或修改条目。 |
↳ wolfnativetent |
table |
wolfnativetent 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativeplatform |
table |
nativeplatform 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativesmoker |
table |
nativesmoker 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativebloodrock |
table |
nativebloodrock 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativecage |
table |
nativecage 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativebowdisplay |
table |
nativebowdisplay 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativecookpot |
table |
nativecookpot 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativearrowdisplay |
table |
nativearrowdisplay 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativebuckskull |
table |
nativebuckskull 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nativeleatherstand |
table |
nativeleatherstand 条目表。按文件中的示例添加、删除或修改条目。 |
Notes from the README#
# REDEMPIRE Organizations v6.7.0
## v6.7.0 - Family Jobs (Delivery Caravan / Hunting Party / Endurance Event)
- New `config/family/jobs.lua` + `server/family/jobs.lua` + `client/family/jobs.lua` add three
family-scoped income jobs: a wagon delivery run, a group hunting party, and a rare 240-minute
endurance event.
- All job income is credited directly to `jrs_families.cash` and `jrs_family_members.contribution` -
there is no separate vault, membership or family system involved. A player must already belong
to a Family (see the Advanced Family System below) to use family jobs.
- Job-specific leaderboard totals are tracked in new tables (`jrs_family_job_contributions`,
`jrs_family_job_income_log`, `jrs_family_job_events`, `jrs_family_job_event_participants`), so
manual treasury deposits never inflate the job leaderboard.
- A new **Jobs** tab was added to the Family menu (`html/familymenu`) showing job availability,
cooldowns, the live endurance event, and the family's top job contributors.
- Delivery/hunting world prompts reuse the existing `DrawText3D` helper and marker natives from
`client/paintwall/client.lua` and the shared `exports.jrs_core:Toast` notification renderer -
no new NUI page or notification system was introduced.
- All new strings are registered in `locales/en.lua` / `locales/ar.lua` (server/client) and
`html/locales/en.js` / `html/locales/ar.js` (Family menu Jobs tab), following the existing
per-player `_U`/`_Up`/`_UE`/`JrsI18n.t` translation system.
## v6.6.5 - Original Gizmo Mouse Host / Free-Walk Placement / Unified Market & Building
- The user-supplied files under `vendor/jrs_gizmo` remain byte-for-byte unchanged.
- The original Gizmo React canvas is mounted directly in the top-level NUI instead of an iframe, so RedM mouse pointer capture and TransformControls receive nat
- The single-resource host rewrites only the original `https://jrs_gizmo/...` NUI callback URL to `jrs_organizations`; no vendor Gizmo Lua/JS/config file is edi
- New object placement is two-stage again: walk normally while the object follows in front of the player, press ENTER, then use the original mouse Gizmo for pre
- Camp Market and Furniture/Building are now one top-level **Market / Build** tab with full market browsing, furniture preview/store, placement, editing, and tr
- Leader-controlled storage access from v6.6.4 remains enforced.
## v6.6.4 - Direct Original Gizmo / Leader Storage Access / Instant Camp Open
- Historical v6.6.4 behavior entered the untouched original REDEMPIRE Gizmo immediately; v6.6.5 restores the free-walk preview before the editor.
- Added `can_storage` as a database-backed member permission. Only the camp leader can grant or revoke it.
- Co-leaders no longer receive physical storage access automatically.
- Camp Economy/Services open the physical REDEMPIRE storage directly through the server.
- Camp menu opening is instant: no entrance/page-pulse transition and no player opening scenario.
- Files under `vendor/jrs_gizmo` remain byte-for-byte unchanged.
## v6.6.2 - Single Resource / Original Gizmo Preserved
- `jrs_organizations` is the only resource that must be started.
- The user-supplied original `jrs_gizmo` Lua/config/NUI runtime files are stored byte-for-byte unchanged under `vendor/jrs_gizmo`.
- A separate loader isolates the original Gizmo globals from Organization globals; the Gizmo implementation itself is not edited.
- v6.6.2 originally used a host iframe; v6.6.5 replaces that integration layer with a top-level host while leaving the original Gizmo bundle untouched.
- `object_gizmo` compatibility is still provided by the original Gizmo code.
- Direct camp chest inventory and lockpick robbery from v6.6.1 remain included.
## v6.5.6 - Free Furniture Placement
- Removed the minimum furniture-to-furniture spacing restriction completely.
- Furniture can be placed side-by-side or overlapping other camp furniture.
- Legacy `minObjectSpacing` values are forced to `0.0` server-side so old runtime data cannot restore the restriction.
- The existing camp build-area radius remains authoritative.Free (included in JRS Core) jrs_outlaws
A Npc outlaw ambush scrip for jrs core framework
| Resource | jrs_outlaws |
| Folder | [CRIME] |
| Version | 1.0 |
| Author | JRS TEAM |
| Interface | No |
| Code size | 462 行 Lua |
config.lua - 7 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Cooldown |
1000 * 60 |
300000 = 5 minutes in how many miliseconds should check the lucky number when crossing the location. if you put 0 it will defenitly spawn npcs Advise to keep it 50000 |
DeleteNPcsAfterPlayerDied |
1000 * 60 |
after player is dead delte npcs after cool down so that firends can kill them |
Outlaws |
table |
outlaws 条目表。按文件中的示例添加、删除或修改条目。 |
↳ firstLocation |
table |
first location 使用的世界坐标(x, y, z)。 |
↳ secondLocation |
table |
second location 使用的世界坐标(x, y, z)。 |
↳ thirdLocation |
table |
third location 使用的世界坐标(x, y, z)。 |
↳ fourthLocation |
table |
fourth location 使用的世界坐标(x, y, z)。 |
Free (included in JRS Core) jrs_robbery
JRS Core robbery - rob players with their hands up
| Resource | jrs_robbery |
| Folder | [CRIME] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory |
| Interface | No |
| Code size | 381 行 Lua |
config.lua - 11 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"en" |
'en' or 'ar' |
RobDistance |
2.5 |
metres to start a robbery |
SearchDistance |
4.0 |
the search closes if the robber walks further than this |
HandcuffItem |
"handcuffs" |
handcuff item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
ConsumeHandcuffs |
false |
true = the cuffs are used up |
RobCooldown |
60 |
seconds between two robberies by the same player |
AutoUncuffTime |
120 |
seconds before the victim breaks free (0 = never) |
HandsUpCommand |
"handsup" |
Hands up: /handsup or the key below (X). nil = command only. |
HandsUpKey |
0x8CC9CD42 |
hands up key 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
PromptKey |
0x760A9C6F |
Prompts (G = rob / uncuff) |
ProtectedJobs |
table |
Jobs that can never be robbed while on duty (none by default) |
Free (included in JRS Core) jrs_search
JRS Core search - search players who surrendered, are restrained or hogtied
| Resource | jrs_search |
| Folder | [CRIME] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory |
| Interface | No |
| Code size | 1,375 Lua lines |
config.lua - 25 个选项#
General
| Setting | Default | What it does |
|---|---|---|
LawJobs |
table |
law jobs can search anyone in reach; everybody else only players with their hands up / restrained |
PromptKey |
table |
prompt key 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
CheckNearestPlayersDistance |
1.5 |
check nearest players distance 的游戏内距离。 |
SearchDead |
false |
search dead 的开关:true = 开,false = 关(默认 false)。 |
SearchHogtie |
true |
search hogtie 的开关:true = 开,false = 关(默认 true)。 |
SearchHandcuffed |
true |
search handcuffed 的开关:true = 开,false = 关(默认 true)。 |
SearchHandsUp |
true |
search hands up 的开关:true = 开,false = 关(默认 true)。 |
NewCharacterSafeDuration |
180 |
time in minutes |
NewCharacterSafeDurationJobBypass |
table |
The following jobs can bypass the safe duration in case a player becomes criminal in the first hours while protected. |
SearchByJobsOnly |
false |
{'police', 'detective' } |
BlacklistedJobs |
table |
What jobs cannot be searched by others? |
StealByPlayers |
table |
TODO |
↳ Cash |
table |
cash 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ Gold |
table |
gold 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ Items |
table |
items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ Weapons |
table |
weapons 使用的游戏模型或实体。 |
BlacklistedItems |
table |
blacklisted items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ example1 |
true |
example1 的开关:true = 开,false = 关(默认 true)。 |
BlacklistedWeapons |
table |
blacklisted weapons 使用的游戏模型或实体。 |
↳ WEAPON_EXAMPLE |
true |
weapon example 的开关:true = 开,false = 关(默认 true)。 |
PlaySearchAnimation |
table |
play search animation 的动画设置。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ male |
table |
male 条目表。按文件中的示例添加、删除或修改条目。 |
↳ female |
table |
female 条目表。按文件中的示例添加、删除或修改条目。 |
Discord webhooks are not used in the JRS edition.
| Setting | Default | What it does |
|---|---|---|
↳ DEVTOOLS_INJECTION_CHEAT |
table |
Warnings and Logs about players who used or atleast tried to use devtools injection. |
Paid (server only) jrs_theftsystem
Secure, modular and configurable robbery network for JRS
| Resource | jrs_theftsystem |
| Folder | [CRIME] |
| Version | 4.29.1 |
| Author | JRS |
| Depends on | jrs_core, jrs_inventory, jrs_lockpick, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, de, en, es, fr, it, nl, pl |
| Code size | 28,195 Lua lines |
Exports
AttemptBigTrainRobbery, CompleteBigTrainRobbery, GetBigTrainCooldown, jrs_cancel_armed_grenade, jrs_get_active_robbery, jrs_get_black_market_location, jrs_get_house_session, jrs_get_player_crime_overview, jrs_has_armed_grenade, jrs_has_internal_session, jrs_is_art_heist_active, jrs_is_grave_robbery_active, jrs_is_house_robbing, jrs_is_player_robbing, jrs_notify_police, jrs_open_admin_panel, jrs_open_theft_menu
Database tables
jrs_blackmarket_state, jrs_house_character_cooldowns, jrs_house_property_cooldowns, jrs_house_sentences, jrs_nazar_card_cooldowns, jrs_nazar_hint_cooldowns, jrs_nazar_hunts, jrs_nazar_state, jrs_posse_groups, jrs_posse_members, jrs_theft_cooldowns, jrs_theft_logs, jrs_theft_profiles, jrs_theft_refunds, jrs_theft_session_state, jrs_weed_plants
Free (included in JRS Core) jrs_weapons
Weapon Store & Customisation - jrs core
| Resource | jrs_weapons |
| Folder | [CRIME] |
| Version | 1.24.5 |
| Author | jrs team |
| Depends on | jrs_carcano_logo_prop, jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 17,561 Lua lines |
Commands
/-jrs_weapon_clean_key/dirtweapon/dirtygun/fixbrokenweapons/inspectvar/jrs_scope_remove_temp/jrs_scope_restore_temp/jrslogobounds/jrslogodepth/jrslogooffset/jrslogorightinset/jrslogostock/testclean/weapoon
Exports
GetShopPoints, GetWeaponAmmoItem, GetWeaponRequiredLevel, GiveWeaponAmmo, GiveWeaponPackage, GrantPoliceLicense, OpenLicenseCard, RevokePoliceLicense, StartMoveLocation, licenseNumber
Database tables
jrs_broken_weapons, jrs_weapon_licenses, jrs_weapon_packages, jrs_weapon_shop_locations
config/config.lua - 327 个选项#
General
| Setting | Default | What it does |
|---|---|---|
GovernmentRevenue |
table |
Completed weapon-store payments are deposited into the matching city treasury. This integration never edits or replaces jrs_inventory. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ GovernmentResource |
"jrs_government" |
government resource 的设置。 |
↳ MaximumSinglePayment |
100000000.0 |
maximum single payment 的上限。 |
↳ GoldToCashRate |
1.0 |
gold to cash rate 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ ShopCities |
table |
shop cities 条目表。按文件中的示例添加、删除或修改条目。 |
Lang_job |
"~e~ليس لديك وظيفة" |
Gunsmith jobs are configured per city in config/shops.lua (Config.weaponShops.<City>.Job). |
RequireWeaponMaterials |
false |
Weapon and ammunition purchases are money-only. When false, the optional material catalogue below is kept for reference but is not checked or consumed during a purchase. |
ScopeQuickToggle |
table |
Temporary scope quick-toggle. This never changes the saved weapon components in the database. Mouse wheel down removes the equipped rifle scope; mouse wheel up restores the same scope. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ RemoveControl |
"INPUT_CURSOR_SCROLL_DOWN" |
RedM control action names. No RegisterKeyMapping is used. |
↳ RestoreControl |
"INPUT_CURSOR_SCROLL_UP" |
restore control 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ ModifierControl |
"INPUT_PC_FREE_LOOK" |
The mouse wheel is the native aim/scope zoom. The scope is only removed or restored while this key is held (Left Alt), so plain scrolling always zooms. Set to false to go back to the old "wheel alone" behaviour. |
↳ CooldownMs |
300 |
cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ Notify |
true |
notify 的开关:true = 开,false = 关(默认 true)。 |
↳ AutoRestoreOnWeaponSwitch |
true |
Automatically handles restore on weapon switch:true = 是,false = 否(默认 true)。 |
↳ KeepScopeCommand |
true |
keep scope command 的开关:true = 开,false = 关(默认 true)。 |
RedEmpireEmblem |
table |
Per-weapon RedEmpire ornament. This is a network-synchronised visual prop, not a replacement YTD, so only players whose saved weapon selected engraving 7 receive it. Swap Model to the streamed RedEmpire YDR model when it is ready. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Component |
'COMPONENT_LONGARM_GRIPSTOCK... |
component 的设置。 |
↳ Model |
"redempire_emblem" |
model 使用的游戏模型或实体。 |
↳ Longarm |
table |
longarm 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Shortarm |
table |
shortarm 条目表。按文件中的示例添加、删除或修改条目。 |
CarcanoEngravings |
table |
(textures streamed by the separate resource jrs_carcano_engraving, which s/carcano_stream.lua starts/stops to match this flag). false = original game artwork. Restart jrs_weapons and reconnect after changing it. |
↳ Enabled |
false |
开启或关闭 enabled(默认 false)。 |
CarcanoLogo |
table |
carcano logo 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Category |
"Logo on Stock" |
category 的设置。 |
↳ Option |
"JRS_CARCANO_LOGO_PROP" |
option 的设置。 |
↳ Model |
"jrs_carcano_logo_prop" |
model 使用的游戏模型或实体。 |
↳ Options |
table |
One saved choice per weapon. Keep the original option for existing owners. |
↳ Models |
table |
models 使用的游戏模型或实体。 |
↳ Price |
5.55 |
price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ DebugPlacement |
false |
set true temporarily only while tuning the placement |
↳ Placement |
table |
SurfaceInset is indexed by the thin axis X/Y/Z, in metres. FineOffset is a small correction in weapon-local metres, not a position measured from the player's hand or an attachment bone. |
↳ ImagePlacement |
table |
The image prop also has a shallow convex profile to follow the wood. FaceDepth is an outward correction in metres for each stock side; FaceAngles permits separate final alignment after an in-game check. |
weaponDamig |
1 |
The weapon's breakage rate every time you use it / The weapon is broken at a rate of 100 |
Weaponrepair |
"weapon_repair_kit" |
weaponrepair 的设置。 |
LanguageFilter |
table |
此脚本的界面语言(en 或 ar)。 |
↳ revolver |
"Revolver" |
revolver 的设置。 |
↳ pistol |
"Pistol" |
pistol 的设置。 |
↳ repeater |
"Repeater" |
repeater 的设置。 |
↳ rifle |
"Rifle" |
rifle 的设置。 |
↳ shotgun |
"Shotgun" |
shotgun 的设置。 |
↳ arrows |
"Arrows" |
arrows 的设置。 |
↳ varmint |
"Varmint" |
varmint 的设置。 |
LanguageWeapons |
table |
此脚本的界面语言(en 或 ar)。 |
↳ barrel_type |
"Type of Barrel" |
barrel type 的设置。 |
↳ case_type |
"Type of Case" |
case type 的设置。 |
↳ hammer_material |
"Material of Hammer" |
hammer material 的设置。 |
↳ frame_material |
"Material of Frame" |
frame material 的设置。 |
↳ scope_type |
"Type of scope" |
scope type 的设置。 |
↳ trigger_material |
"Material of Trigger" |
trigger material 的设置。 |
↳ grip_type |
"Type of Grip" |
grip type 的设置。 |
↳ frame_engraving |
"Engravings on Frame" |
frame engraving 的设置。 |
↳ scope_material |
"Material of scope" |
scope material 的设置。 |
↳ set_type |
"Type of Set" |
set type 的设置。 |
↳ magazine_type |
"Type of Magazine" |
magazine type 的设置。 |
↳ frame_engraving_color |
"Color of Engravings on Frame" |
frame engraving color 的设置。 |
↳ barrel_material |
"Material of Barrel" |
barrel material 的设置。 |
↳ barrel_engraving |
"Engravings on Barrel" |
barrel engraving 的设置。 |
↳ barrel_engraving_color |
"Color of Engravings on Barrel" |
barrel engraving color 的设置。 |
↳ cylinder_material |
"Material of Cylinder" |
cylinder material 的设置。 |
↳ cylinder_engraving |
"Engravings on Cylinder" |
cylinder engraving 的设置。 |
↳ cylinder_engraving_color |
"Color of Engravings on Cylinder" |
cylinder engraving color 的设置。 |
↳ grip_material |
"Material of Grip" |
grip material 的设置。 |
↳ grip_engraving |
"Engravings on Grip" |
grip engraving 的设置。 |
↳ barrel_polishing |
"Polishing of Barrel" |
barrel polishing 的设置。 |
↳ case_material |
"Material of Case" |
case material 的设置。 |
↳ case_color |
"Color of Case" |
case color 的设置。 |
↳ strap |
"Strap" |
strap 的设置。 |
↳ strap_color |
"Color of Strap" |
strap color 的设置。 |
↳ scope |
"scope" |
scope 的设置。 |
↳ stock |
"Stock" |
stock 的设置。 |
↳ bow_wood_color |
"Color of Bow Wood" |
bow wood color 的设置。 |
↳ leather_color |
"Color of Leather" |
leather color 的设置。 |
↳ cord_color |
"Color of Cord" |
cord color 的设置。 |
↳ fishing_line |
"Fishing Line with Float" |
fishing line 的设置。 |
↳ blade_material |
"Material of Blade" |
blade material 的设置。 |
↳ blade_engraving |
"Engravings on Blade" |
blade engraving 的设置。 |
↳ blade_engraving_color |
"Color of Engravings on Blade" |
blade engraving color 的设置。 |
↳ wood_color |
"Color of Wood" |
wood color 的设置。 |
↳ logo |
"Logo on Stock" |
logo 的设置。 |
priceTable |
table |
price table 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ Config.LanguageWeapons.barrel_type |
6.55 |
config.language weapons.barrel type 的数值(默认 6.55)。 |
↳ Config.LanguageWeapons.case_type |
6.55 |
config.language weapons.case type 的数值(默认 6.55)。 |
↳ Config.LanguageWeapons.hammer_material |
6.25 |
config.language weapons.hammer material 的数值(默认 6.25)。 |
↳ Config.LanguageWeapons.frame_material |
5.25 |
config.language weapons.frame material 的数值(默认 5.25)。 |
↳ Config.LanguageWeapons.scope_type |
6.25 |
config.language weapons.scope type 的数值(默认 6.25)。 |
↳ Config.LanguageWeapons.trigger_material |
6.25 |
config.language weapons.trigger material 的数值(默认 6.25)。 |
↳ Config.LanguageWeapons.grip_type |
5.25 |
config.language weapons.grip type 的数值(默认 5.25)。 |
↳ Config.LanguageWeapons.frame_engraving |
5.25 |
config.language weapons.frame engraving 的数值(默认 5.25)。 |
↳ Config.LanguageWeapons.scope_material |
5.50 |
config.language weapons.scope material 的数值(默认 5.50)。 |
↳ Config.LanguageWeapons.set_type |
5.0 |
config.language weapons.set type 的数值(默认 5.0)。 |
↳ Config.LanguageWeapons.magazine_type |
5.0 |
config.language weapons.magazine type 的数值(默认 5.0)。 |
↳ Config.LanguageWeapons.frame_engraving_color |
5.55 |
config.language weapons.frame engraving color 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.barrel_material |
5.55 |
config.language weapons.barrel material 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.barrel_engraving |
5.55 |
config.language weapons.barrel engraving 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.barrel_engraving_color |
5.55 |
config.language weapons.barrel engraving color 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.cylinder_material |
5.55 |
config.language weapons.cylinder material 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.cylinder_engraving |
5.55 |
config.language weapons.cylinder engraving 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.cylinder_engraving_color |
5.55 |
config.language weapons.cylinder engraving color 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.grip_material |
5.55 |
config.language weapons.grip material 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.grip_engraving |
5.55 |
config.language weapons.grip engraving 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.barrel_polishing |
5.55 |
config.language weapons.barrel polishing 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.case_material |
5.55 |
config.language weapons.case material 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.case_color |
5.55 |
config.language weapons.case color 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.strap |
5.55 |
config.language weapons.strap 的数值(默认 5.55)。 |
↳ Config.LanguageWeapons.strap_color |
4.55 |
config.language weapons.strap color 的数值(默认 4.55)。 |
↳ Config.LanguageWeapons.scope |
3.55 |
config.language weapons.scope 的数值(默认 3.55)。 |
↳ Config.LanguageWeapons.stock |
1.55 |
config.language weapons.stock 的数值(默认 1.55)。 |
↳ Config.LanguageWeapons.bow_wood_color |
1.55 |
config.language weapons.bow wood color 的数值(默认 1.55)。 |
↳ Config.LanguageWeapons.leather_color |
5 |
config.language weapons.leather color 的数值(默认 5)。 |
↳ Config.LanguageWeapons.cord_color |
5 |
config.language weapons.cord color 的数值(默认 5)。 |
↳ Config.LanguageWeapons.fishing_line |
5 |
config.language weapons.fishing line 的数值(默认 5)。 |
↳ Config.LanguageWeapons.blade_material |
10 |
config.language weapons.blade material 的数值(默认 10)。 |
↳ Config.LanguageWeapons.blade_engraving |
9 |
config.language weapons.blade engraving 的数值(默认 9)。 |
↳ Config.LanguageWeapons.blade_engraving_color |
5 |
config.language weapons.blade engraving color 的数值(默认 5)。 |
↳ Config.LanguageWeapons.wood_color |
5 |
config.language weapons.wood color 的数值(默认 5)。 |
↳ Config.LanguageWeapons.logo |
Config.CarcanoLogo.Price |
config.language weapons.logo 的设置。 |
MELEE & THROWN
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_MELEE_KNIFE |
table |
weapon melee knife 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_TRADER |
table |
weapon melee knife trader 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_JAWBONE |
table |
weapon melee knife jawbone 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_HORROR |
table |
weapon melee knife horror 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_CLEAVER |
table |
weapon melee cleaver 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET |
table |
weapon melee hatchet 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET_HUNTER |
table |
weapon melee hatchet hunter 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_MACHETE |
table |
weapon melee machete 使用的游戏模型或实体。 |
↳ weapon_melee_machete_collector |
table |
weapon melee machete collector 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_TOMAHAWK |
table |
weapon thrown tomahawk 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_THROWING_KNIVES |
table |
weapon thrown throwing knives 使用的游戏模型或实体。 |
BOWS & LASSO
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_BOW |
table |
weapon bow 使用的游戏模型或实体。 |
↳ WEAPON_BOW_IMPROVED |
table |
weapon bow improved 使用的游戏模型或实体。 |
↳ WEAPON_LASSO |
table |
weapon lasso 使用的游戏模型或实体。 |
↳ weapon_lasso_reinforced |
table |
weapon lasso reinforced 使用的游戏模型或实体。 |
REVOLVERS
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_REVOLVER_CATTLEMAN |
table |
weapon revolver cattleman 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_SCHOFIELD |
table |
weapon revolver schofield 使用的游戏模型或实体。 |
↳ weapon_revolver_navy |
table |
weapon revolver navy 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_LEMAT |
table |
weapon revolver lemat 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION |
table |
weapon revolver doubleaction 使用的游戏模型或实体。 |
PISTOLS
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_PISTOL_SEMIAUTO |
table |
weapon pistol semiauto 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_MAUSER |
table |
weapon pistol mauser 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_VOLCANIC |
table |
weapon pistol volcanic 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_M1899 |
table |
weapon pistol m1899 使用的游戏模型或实体。 |
REPEATERS
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_REPEATER_CARBINE |
table |
weapon repeater carbine 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_WINCHESTER |
table |
weapon repeater winchester 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_HENRY |
table |
weapon repeater henry 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_EVANS |
table |
weapon repeater evans 使用的游戏模型或实体。 |
RIFLES
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_RIFLE_VARMINT |
table |
weapon rifle varmint 使用的游戏模型或实体。 |
↳ WEAPON_RIFLE_SPRINGFIELD |
table |
weapon rifle springfield 使用的游戏模型或实体。 |
↳ WEAPON_RIFLE_BOLTACTION |
table |
weapon rifle boltaction 使用的游戏模型或实体。 |
↳ WEAPON_SNIPERRIFLE_ROLLINGBLOCK |
table |
weapon sniperrifle rollingblock 使用的游戏模型或实体。 |
↳ WEAPON_SNIPERRIFLE_CARCANO |
table |
weapon sniperrifle carcano 使用的游戏模型或实体。 |
↳ weapon_rifle_elephant |
table |
weapon rifle elephant 使用的游戏模型或实体。 |
SHOTGUNS
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_SHOTGUN_DOUBLEBARREL |
table |
weapon shotgun doublebarrel 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_SAWEDOFF |
table |
weapon shotgun sawedoff 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_PUMP |
table |
weapon shotgun pump 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_REPEATING |
table |
weapon shotgun repeating 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_SEMIAUTO |
table |
weapon shotgun semiauto 使用的游戏模型或实体。 |
TOOLS & KITS
| Setting | Default | What it does |
|---|---|---|
↳ WEAPON_FISHINGROD |
table |
weapon fishingrod 使用的游戏模型或实体。 |
↳ WEAPON_KIT_CAMERA |
table |
weapon kit camera 使用的游戏模型或实体。 |
↳ weapon_kit_camera_advanced |
table |
weapon kit camera advanced 使用的游戏模型或实体。 |
↳ weapon_kit_binoculars |
table |
weapon kit binoculars 使用的游戏模型或实体。 |
↳ weapon_kit_binoculars_improved |
table |
weapon kit binoculars improved 使用的游戏模型或实体。 |
↳ weapon_melee_davy_lantern |
table |
weapon melee davy lantern 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_LANTERN |
table |
weapon melee lantern 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_LANTERN_HALLOWEEN |
table |
weapon melee lantern halloween 使用的游戏模型或实体。 |
THROWABLES
| Setting | Default | What it does |
|---|---|---|
↳ weapon_thrown_bolas |
table |
weapon thrown bolas 使用的游戏模型或实体。 |
weapon_object_load_for_redner |
table |
weapon object load for redner 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE |
"w_melee_knife02" |
Knives & Melee |
↳ WEAPON_MELEE_KNIFE_TRADER |
"w_melee_knife02" |
weapon melee knife trader 使用的游戏模型或实体。 |
↳ weapon_melee_knife_trader |
"w_melee_knife02" |
weapon melee knife trader 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_CIVIL_WAR |
"w_melee_knife16" |
weapon melee knife civil war 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_JAWBONE |
"w_melee_knife03" |
weapon melee knife jawbone 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_MINER |
"w_melee_knife14" |
weapon melee knife miner 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_VAMPIRE |
"w_melee_knife18" |
weapon melee knife vampire 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_HORROR |
"w_melee_knife18" |
weapon melee knife horror 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_RUSTIC |
"w_melee_knife02" |
weapon melee knife rustic 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_BEAR |
"w_melee_knife02" |
weapon melee knife bear 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE_JOHN |
"w_melee_knife02" |
weapon melee knife john 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_BROKEN_SWORD |
"w_melee_knife02" |
weapon melee broken sword 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_CLEAVER |
"w_melee_hatchet02" |
weapon melee cleaver 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET |
"w_melee_hatchet01" |
weapon melee hatchet 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET_DOUBLE_BIT |
"w_melee_hatchet06" |
weapon melee hatchet double bit 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET_DOUBLE_BIT_RUSTED |
"w_melee_hatchet06" |
weapon melee hatchet double bit rusted 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET_HEWING |
"w_melee_hatchet05" |
weapon melee hatchet hewing 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET_HUNTER |
"w_melee_hatchet07" |
weapon melee hatchet hunter 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET_HUNTER_RUSTED |
"w_melee_hatchet07" |
weapon melee hatchet hunter rusted 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HATCHET_VIKING |
"w_melee_hatchet04" |
weapon melee hatchet viking 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_ANCIENT_HATCHET |
"w_melee_hatchet04" |
weapon melee ancient hatchet 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_HAMMER |
"w_melee_hammer01" |
weapon melee hammer 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_MACHETE |
"w_melee_machete01" |
weapon melee machete 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_MACHETE_HORROR |
"w_melee_machete01" |
weapon melee machete horror 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_MACHETE_COLLECTOR |
"p_machete01x" |
weapon melee machete collector 使用的游戏模型或实体。 |
↳ weapon_melee_machete_collector |
"p_machete01x" |
weapon melee machete collector 使用的游戏模型或实体。 |
↳ WEAPON_BOW |
"w_sp_bowarrow" |
Bows |
↳ WEAPON_BOW_IMPROVED |
"w_sp_bowarrow" |
weapon bow improved 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_SEMIAUTO |
"w_pistol_semiauto01" |
Pistols |
↳ WEAPON_PISTOL_MAUSER |
"w_pistol_mauser01" |
weapon pistol mauser 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_MAUSER_DRUNK |
"w_pistol_mauser01" |
weapon pistol mauser drunk 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_VOLCANIC |
"w_pistol_volcanic01" |
weapon pistol volcanic 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_M1899 |
"w_pistol_m189902" |
weapon pistol m1899 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_SCHOFIELD |
"w_revolver_schofield01" |
Revolvers |
↳ WEAPON_REVOLVER_SCHOFIELD_CALLOWAY |
"w_revolver_schofield01" |
weapon revolver schofield calloway 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_SCHOFIELD_GOLDEN |
"w_revolver_schofield01" |
weapon revolver schofield golden 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_LEMAT |
"w_revolver_lemat01" |
weapon revolver lemat 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION |
"w_revolver_doubleaction01" |
weapon revolver doubleaction 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION_GAMBLER |
"w_revolver_doubleaction01" |
weapon revolver doubleaction gambler 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION_EXOTIC |
"w_revolver_doubleaction01" |
weapon revolver doubleaction exotic 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION_MICAH |
"w_revolver_doubleaction01" |
weapon revolver doubleaction micah 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_CATTLEMAN |
"w_revolver_cattleman01" |
weapon revolver cattleman 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_CATTLEMAN_MEXICAN |
"w_revolver_cattleman01" |
weapon revolver cattleman mexican 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_CATTLEMAN_JOHN |
"w_revolver_cattleman01" |
weapon revolver cattleman john 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_CATTLEMAN_PIG |
"w_revolver_cattleman01" |
weapon revolver cattleman pig 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_NAVY |
"w_revolver_navy01" |
weapon revolver navy 使用的游戏模型或实体。 |
↳ weapon_revolver_navy |
"w_revolver_navy01" |
weapon revolver navy 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_NAVY_CROSSOVER |
"w_revolver_navy01" |
weapon revolver navy crossover 使用的游戏模型或实体。 |
↳ WEAPON_RIFLE_VARMINT |
"w_repeater_pumpaction01" |
Rifles |
↳ WEAPON_SNIPERRIFLE_ROLLINGBLOCK |
"w_rifle_rollingblock01" |
weapon sniperrifle rollingblock 使用的游戏模型或实体。 |
↳ WEAPON_SNIPERRIFLE_ROLLINGBLOCK_EXOTIC |
"w_rifle_rollingblock01" |
weapon sniperrifle rollingblock exotic 使用的游戏模型或实体。 |
↳ WEAPON_SNIPERRIFLE_CARCANO |
"w_rifle_carcano01" |
weapon sniperrifle carcano 使用的游戏模型或实体。 |
↳ WEAPON_RIFLE_SPRINGFIELD |
"w_rifle_springfield01" |
weapon rifle springfield 使用的游戏模型或实体。 |
↳ WEAPON_RIFLE_BOLTACTION |
"w_rifle_boltaction01" |
weapon rifle boltaction 使用的游戏模型或实体。 |
↳ WEAPON_RIFLE_ELEPHANT |
"w_dis_rif_elephant01" |
weapon rifle elephant 使用的游戏模型或实体。 |
↳ weapon_rifle_elephant |
"w_dis_rif_elephant01" |
weapon rifle elephant 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_WINCHESTER |
"w_repeater_winchester01" |
Repeaters |
↳ WEAPON_REPEATER_LANCASTER |
"w_repeater_winchester01" |
weapon repeater lancaster 使用的游戏模型或实体。 |
↳ weapon_repeater_lancaster |
"w_repeater_winchester01" |
weapon repeater lancaster 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_HENRY |
"w_repeater_henry01" |
weapon repeater henry 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_EVANS |
"w_repeater_evans01" |
weapon repeater evans 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_CARBINE |
"w_repeater_carbine01" |
weapon repeater carbine 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_SEMIAUTO |
"w_shotgun_semiauto01" |
Shotguns |
↳ WEAPON_SHOTGUN_SAWEDOFF |
"w_shotgun_sawed01" |
weapon shotgun sawedoff 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_REPEATING |
"w_shotgun_repeating01" |
weapon shotgun repeating 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_PUMP |
"w_shotgun_pumpaction01" |
weapon shotgun pump 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_DOUBLEBARREL |
"w_shotgun_doublebarrel01" |
weapon shotgun doublebarrel 使用的游戏模型或实体。 |
↳ WEAPON_SHOTGUN_DOUBLEBARREL_EXOTIC |
"w_shotgun_doublebarrel01" |
weapon shotgun doublebarrel exotic 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_TOMAHAWK |
"w_melee_tomahawk01" |
Throwables |
↳ WEAPON_THROWN_TOMAHAWK_ANCIENT |
"w_melee_tomahawk01" |
weapon thrown tomahawk ancient 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_THROWING_KNIVES |
"w_melee_knife05" |
weapon thrown throwing knives 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_BOLAS |
"w_thrown_bolas01" |
weapon thrown bolas 使用的游戏模型或实体。 |
↳ weapon_thrown_bolas |
"w_thrown_bolas01" |
weapon thrown bolas 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_BOLAS_INTERTWINED |
"w_thrown_bolas01" |
weapon thrown bolas intertwined 使用的游戏模型或实体。 |
↳ weapon_thrown_bolas_intertwined |
"w_thrown_bolas01" |
weapon thrown bolas intertwined 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_BOLAS_HAWKMOTH |
"w_thrown_bolas01" |
weapon thrown bolas hawkmoth 使用的游戏模型或实体。 |
↳ weapon_thrown_bolas_hawkmoth |
"w_thrown_bolas01" |
weapon thrown bolas hawkmoth 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_BOLAS_IRONSPIKED |
"w_thrown_bolas01" |
weapon thrown bolas ironspiked 使用的游戏模型或实体。 |
↳ weapon_thrown_bolas_ironspiked |
"w_thrown_bolas01" |
weapon thrown bolas ironspiked 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_DYNAMITE |
"w_thrown_dynamite01" |
weapon thrown dynamite 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_MOLOTOV |
"w_thrown_molotov01" |
weapon thrown molotov 使用的游戏模型或实体。 |
↳ WEAPON_THROWN_POISONBOTTLE |
"w_thrown_molotov01" |
weapon thrown poisonbottle 使用的游戏模型或实体。 |
↳ weapon_thrown_poisonbottle |
"w_thrown_molotov01" |
weapon thrown poisonbottle 使用的游戏模型或实体。 |
↳ WEAPON_MOONSHINEJUG_MP |
"p_cs_jug01x" |
weapon moonshinejug mp 使用的游戏模型或实体。 |
↳ WEAPON_LASSO |
"w_melee_lasso01" |
Others & Utility |
↳ WEAPON_LASSO_REINFORCED |
"w_melee_lasso01" |
weapon lasso reinforced 使用的游戏模型或实体。 |
↳ weapon_lasso_reinforced |
"w_melee_lasso01" |
weapon lasso reinforced 使用的游戏模型或实体。 |
↳ WEAPON_FISHINGROD |
"w_melee_fishingpole02" |
weapon fishingrod 使用的游戏模型或实体。 |
↳ WEAPON_KIT_CAMERA |
"p_camerabox01x" |
weapon kit camera 使用的游戏模型或实体。 |
↳ WEAPON_KIT_CAMERA_ADVANCED |
"p_camerabox01x" |
weapon kit camera advanced 使用的游戏模型或实体。 |
↳ weapon_kit_camera_advanced |
"p_camerabox01x" |
weapon kit camera advanced 使用的游戏模型或实体。 |
↳ WEAPON_KIT_BINOCULARS |
"p_binocular01x" |
weapon kit binoculars 使用的游戏模型或实体。 |
↳ weapon_kit_binoculars |
"p_binocular01x" |
weapon kit binoculars 使用的游戏模型或实体。 |
↳ WEAPON_KIT_BINOCULARS_IMPROVED |
"p_binocular01x" |
weapon kit binoculars improved 使用的游戏模型或实体。 |
↳ weapon_kit_binoculars_improved |
"p_binocular01x" |
weapon kit binoculars improved 使用的游戏模型或实体。 |
↳ WEAPON_KIT_METAL_DETECTOR |
"w_sp_metaldetector01" |
weapon kit metal detector 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_LANTERN |
"p_lantern01x" |
weapon melee lantern 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_LANTERN_HALLOWEEN |
"p_lantern01x" |
weapon melee lantern halloween 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_LANTERN_ELECTRIC |
"p_lantern01x" |
weapon melee lantern electric 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_DAVY_LANTERN |
"p_lantern01x" |
weapon melee davy lantern 使用的游戏模型或实体。 |
↳ weapon_melee_davy_lantern |
"p_lantern01x" |
weapon melee davy lantern 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_TORCH |
"p_torch01x" |
weapon melee torch 使用的游戏模型或实体。 |
model_specific_components |
table |
model specific components 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_CATTLEMAN |
table |
weapon revolver cattleman 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION |
table |
weapon revolver doubleaction 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION_EXOTIC |
table |
weapon revolver doubleaction exotic 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_SCHOFIELD |
table |
weapon revolver schofield 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_MAUSER |
table |
weapon pistol mauser 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_SEMIAUTO |
table |
weapon pistol semiauto 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_VOLCANIC |
table |
weapon pistol volcanic 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_M1899 |
table |
weapon pistol m1899 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_LEMAT |
table |
weapon revolver lemat 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_NAVY |
table |
weapon revolver navy 使用的游戏模型或实体。 |
↳ weapon_revolver_navy_crossover |
table |
weapon revolver navy crossover 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_CARBINE |
table |
weapon repeater carbine 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_HENRY |
table |
weapon repeater henry 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_EVANS |
table |
weapon repeater evans 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_WINCHESTER |
table |
weapon repeater winchester 使用的游戏模型或实体。 |
config/license.lua - 9 个选项#
General
| Setting | Default | What it does |
|---|---|---|
↳ Item |
"Weaponlicence" |
jrs_inventory item granted while a license is active |
↳ PricePerDay |
0.10 |
$ per day |
↳ ReissuePrice |
0.50 |
$ to extract a replacement copy if lost while still valid |
↳ Options |
table |
selectable durations, in days |
↳ ServerName |
"REDEMPIRE" |
printed on the license booklet cover/authority line |
↳ Purposes |
table |
(name, date of birth, residence, occupation, registered firearm, purpose). Everything is validated server-side and printed in the booklet. Purposes are keys; their labels live in html/locales. |
↳ DefaultWeapon |
"WEAPON_REVOLVER_CATTLEMAN" |
Sketched in the booklet for licenses bought before registration existed. |
↳ Enforce |
true |
periodically checked against its license (s/license.lua). An expired or missing license always removes the leftover item and notifies the player; DisarmWhenUnlicensed additionally strips the equipped weapon. |
↳ CheckIntervalMs |
60000 |
check interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
config/logs.lua - 6 个选项#
General
| Setting | Default | What it does |
|---|---|---|
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Username |
"REDEMPIRE Weapons Logs" |
username 的设置。 |
↳ AvatarURL |
"" |
avatar url 的设置。 |
↳ MentionRoleId |
"" |
Optional Discord role ID to mention on every enabled log. Leave empty to disable. |
↳ Events |
table |
events 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Colors |
table |
colors 条目表。按文件中的示例添加、删除或修改条目。 |
config/shops.lua - 24 个选项#
General
| Setting | Default | What it does |
|---|---|---|
StorePreviewCamera |
table |
left of the screen, so the top-down camera is shifted to put the weapon prop in the free space on the right. offsetX/offsetY are added to PosCus (the original framing was offsetX = 0.2); fov is the camera field of view. |
↳ offsetX |
0.28 |
offset x 的数值(默认 0.28)。 |
↳ offsetY |
0.0 |
offset y 的数值(默认 0.0)。 |
↳ fov |
90.0 |
fov 的数值(默认 90.0)。 |
WeaponCatalogue |
fullWeaponsList |
sell all of it, but owned weapons (bought earlier, from packages, crafted…) still need their level / label / licence lookup, so the server lookups in s/server_callbacks.lua, s/license.lua and s/maintenance.lua fall back to it. |
weaponShops |
table |
weapon shops 使用的游戏模型或实体。 |
↳ Valentine |
table |
valentine 条目表。按文件中的示例添加、删除或修改条目。 |
↳ TumbleWeed |
table |
tumble weed 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Strawberry |
table |
strawberry 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Black_Water |
table |
black water 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Rhodes |
table |
rhodes 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Guarma |
table |
guarma 条目表。按文件中的示例添加、删除或修改条目。 |
↳ SaintDenise |
table |
saint denise 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Emerald_Ranch |
table |
emerald ranch 条目表。按文件中的示例添加、删除或修改条目。 |
CustomWeaponPackageStore |
table |
custom weapon package store 使用的游戏模型或实体。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ ExtraLocationJob |
"" |
extra location job 使用的世界坐标(x, y, z)。 |
↳ Command |
"weaponpackages" |
command 的设置。 |
↳ UseWeaponShopLocations |
true |
开启或关闭 weapon shop locations(默认 true)。 |
↳ PromptControl |
0xCEFD9220 |
prompt control 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ PromptText |
"Open Custom Weapon Store" |
prompt text 显示给玩家的文本。可修改以翻译或更名。 |
↳ PromptDistance |
1.25 |
prompt distance 的游戏内距离。 |
↳ Locations |
table |
locations 使用的世界坐标(x, y, z)。 |
↳ Package |
table |
package 条目表。按文件中的示例添加、删除或修改条目。 |