Side activities and gameplay systems that are not a job.
此文件夹有 22 个脚本。在下方标签中选择。
Paid (server only) jrs_Ballon
A bare exports.jrs_core:getCoreApi() call can throw if jrs_core's client export isn't ready at the exact instant this script runs (a real, seen-before race on this server - restarting only jrs_Ballon, not jrs_core, is exactly the scenario that triggers it). An uncaught error here would kill this e
| Resource | jrs_Ballon |
| Folder | [ACTIVITIES] |
| Version | 1.9.0 |
| Depends on | jrs_core, jrs_inventory, oxmysql, uiprompt |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 4,804 Lua lines |
Commands
/ballooncall/balloondebug/balloonrefuel/balloonreturn
Database tables
jrs_balloon_migrations, jrs_player_balloon
config.lua - 131 个选项#
General
| Setting | Default | What it does |
|---|---|---|
DefaultLanguage |
"ar" |
Set Language |
Keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ shop |
0x760A9C6F |
[G] Open Balloon Shop Menu |
↳ ret |
0xE30CD707 |
[R] Return Balloon at Shop |
↳ inv |
0xD8F73058 |
[U] Open Balloon Inventory |
↳ targetRet |
0x760A9C6F |
[G] Target Menu Balloon Return |
↳ boardDriver |
0xCEFD9220 |
[E] Board as driver |
↳ boardPassenger |
0xD9D0E1C0 |
[Space] Board as passenger |
↳ refuel |
0x24978A28 |
[H] Refuel the balloon while driving |
↳ autoPilot |
0x26E9DC00 |
[Z] Start or cancel automatic flight to the map waypoint |
↳ leavePassenger |
0xB2F377E8 |
[F] Leave passenger position |
↳ changePassengerSeat |
0x26E9DC00 |
[Z] Move to the next available passenger position |
MaxBalloons |
1 |
Default: 5 |
ShowBalloonTag |
true |
Default: true / Set to false to disable |
BalloonTagDistance |
15 |
Default: 15 / Distance from Balloon to Show Tag |
ShowBalloonBlip |
true |
Default: true / Set to false to disable |
BalloonBlipSprite |
"blip_mp_player_wagon" |
Native sprite identifier; the "wagon" part is part of RedM's fixed sprite name. |
EnableBalloonCall |
true |
Default: true / Set to false to Access Balloon from Menu Only |
CallDistance |
100 |
Default: 100 / Distance from Balloon to Call for Respawn |
CallSpawnDistance |
5.0 |
Distance beside the player when calling the balloon |
BalloonFuel |
table |
Optional balloon fuel system. Set enabled = false to disable it completely. Each entry consumes the stated item amount and adds its duration to the balloon fuel tank. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ showDriverHud |
true |
Shows the remaining fuel bar to the current driver only |
↳ lowFuelNotifyThreshold |
0.15 |
Core notification once when fuel falls below 15% |
↳ estimatedRangeSpeedKmh |
15.0 |
Used by the HUD to estimate remaining travel range |
↳ startingFuelSeconds |
3600 |
descent from the moment it spawns (see balloon_c.lua), so a fresh purchase needs a gas can in hand before it can even take off. Starts full so a new purchase is flyable immediately. Must be <= maxFuelSeconds. |
↳ maxFuelSeconds |
3600 |
Maximum stored fuel: 60 minutes |
↳ heartbeatSeconds |
3 |
heartbeat seconds 的数值(默认 3)。 |
↳ descentSpeed |
0.15 |
Slow descent speed when fuel reaches zero |
↳ repairLegacyZeroFuelOnce |
true |
One-time migration for databases that received the early fuel column with DEFAULT 0. The repair is recorded in jrs_balloon_migrations, so genuinely empty tanks are never refilled again on later restarts. |
↳ registrationRetrySeconds |
4.0 |
Server validation may wait up to 3.5s for OneSync ownership |
↳ registrationAttempts |
4 |
registration attempts 的数值(默认 4)。 |
↳ refuelPromptThreshold |
0.25 |
It used to be hard-coded at 0.05, which meant a player carrying a gas can could not use it until the tank was 95% empty. 0.25 of a 60-minute tank gives a 15-minute window. /balloonrefuel works at any fuel level. |
↳ shopPrice |
1.75 |
Cash price for one gas can in the balloon shop |
↳ items |
table |
items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
BalloonControls |
table |
Set a map waypoint, then press Z from the Balloon control list to start or cancel it. Manual balloon handling. Horizontal velocity is capped so holding a movement key cannot accelerate the networked balloon indefinitely. |
↳ normalSpeedKmh |
15.0 |
Comfortable hot-air-balloon cruise |
↳ fastSpeedKmh |
20.0 |
Optional faster travel while holding traversal |
↳ accelerationKmhPerSecond |
4.5 |
acceleration kmh per second 的数值(默认 4.5)。 |
↳ brakeKmhPerSecond |
10.0 |
brake kmh per second 的数值(默认 10.0)。 |
↳ coastDecelerationKmhPerSecond |
0.35 |
Gentle drift slowdown after releasing movement |
↳ normalAcceleration |
0.05 |
Legacy values are kept for compatibility with older custom edits. |
↳ fastAcceleration |
0.15 |
fast acceleration 的数值(默认 0.15)。 |
↳ maxHorizontalSpeed |
20.0 / 3.6 |
max horizontal speed 的上限。 |
↳ cameraRelative |
true |
Manual navigation follows the gameplay camera like the reference script. The compass/HUD is read-only and never feeds this controller. |
BalloonPilot |
table |
Pilot immersion adapted from Rs-Balloon-V2. The animation and rope are cosmetic only; neither affects velocity, heading, fuel, or autopilot. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ ropeEnabled |
true |
rope enabled 的开关:true = 开,false = 关(默认 true)。 |
↳ animationDict |
'script_story@gng2@ig@ig_2_b... |
animation dict 的动画设置。 |
↳ burnerPullClip |
"base_burner_pull_arthur" |
burner pull clip 的动画设置。 |
↳ idleClip |
"idle_burner_line_arthur" |
idle clip 的动画设置。 |
↳ ropeLength |
0.70 |
rope length 的数值(默认 0.70)。 |
↳ balloonBone |
"engine" |
balloon bone 的设置。 |
↳ handBone |
"PH_L_HAND" |
hand bone 的设置。 |
BalloonRental |
table |
Rental is persistent across resource/server restarts. A rental is stored in player_balloon with is_rental=1 until its Unix expiry time is reached. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ price |
5.0 |
price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ currency |
0 |
0 cash, 1 gold |
↳ durationMinutes |
30 |
duration minutes 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ oneActiveRental |
true |
one active rental 的开关:true = 开,false = 关(默认 true)。 |
↳ warningsSeconds |
table |
warnings seconds 条目表。按文件中的示例添加、删除或修改条目。 |
↳ name |
"Rental Balloon" |
name 显示给玩家的文本。可修改以翻译或更名。 |
BalloonTransfer |
table |
balloon transfer 条目表。按文件中的示例添加、删除或修改条目。 |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ maxDistance |
5.0 |
sender and recipient must be this close server-side |
BalloonRemoval |
table |
balloon removal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ maxHeight |
0.75 |
basket must be effectively on the ground |
↳ maxSpeedKmh |
2.0 |
max speed kmh 的上限。 |
↳ preventExitAboveHeight |
0.75 |
prevent exit above height 的数值(默认 0.75)。 |
BalloonAutoPilot |
table |
balloon auto pilot 条目表。按文件中的示例添加、删除或修改条目。 |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ horizontalSpeed |
15.0 / 3.6 |
15 km/h cruise, matching normal manual speed |
↳ takeoffSpeed |
0.8 |
takeoff speed 的数值(默认 0.8)。 |
↳ landingSpeed |
0.18 |
Gentle final descent |
↳ landingFastSpeed |
0.85 |
Controlled descent while still well above terrain |
↳ landingSlowDistance |
7.0 |
Begin the gentle final approach this many metres above terrain |
↳ landingHorizontalSpeed |
0.8 |
Small X/Y correction while descending |
↳ landingHorizontalTolerance |
0.8 |
Metres from waypoint centre considered aligned |
↳ takeoffHeight |
30.0 |
Rise vertically by this many metres before moving horizontally |
↳ arrivalDistance |
3.0 |
arrival distance 的游戏内距离。 |
↳ landOnArrival |
true |
land on arrival 的开关:true = 开,false = 关(默认 true)。 |
↳ landingHeight |
0.55 |
Touchdown clearance above the live terrain under the basket |
↳ terrainFollowing |
true |
Raise the balloon automatically for terrain ahead |
↳ terrainClearance |
20.0 |
Metres to keep above the ground |
↳ terrainLookAhead |
80.0 |
Metres ahead to scan for hills and mountains |
ReturnDistance |
3 |
Default: 3 |
SeatPlayerOnSpawn |
false |
Default: true / Set to false to have Player Walk to Balloon |
BalloonBoardingDistance |
5.0 |
Balloon capacity: one pilot and three custom passenger positions in the basket. The base game model only has a driver seat, so passenger positions are synchronized separately. |
BalloonPassengerSlots |
table |
balloon passenger slots 的上限。 |
SellPriceMultiplier |
0.60 |
Default: 0.60 |
CurrencyType |
2 |
Default: 2 |
ShowClosedBlip |
true |
If true, will show colored blip when shop is closed |
InventoryDistance |
1 |
Default: 3 |
Inventory |
table |
inventory 条目表。按文件中的示例添加、删除或修改条目。 |
↳ hotAirBalloon01 |
table |
hot air balloon01 条目表。按文件中的示例添加、删除或修改条目。 |
Shops |
table |
Balloon Shops |
↳ balloon1 |
table |
balloon1 条目表。按文件中的示例添加、删除或修改条目。 |
BlipColors |
table |
blip colors 的地图标记或图标设置。 |
↳ LIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_1" |
light blue 的设置。 |
↳ DARK_RED |
"BLIP_MODIFIER_MP_COLOR_2" |
dark red 的设置。 |
↳ PURPLE |
"BLIP_MODIFIER_MP_COLOR_3" |
purple 的设置。 |
↳ ORANGE |
"BLIP_MODIFIER_MP_COLOR_4" |
orange 的设置。 |
↳ TEAL |
"BLIP_MODIFIER_MP_COLOR_5" |
teal 的设置。 |
↳ LIGHT_YELLOW |
"BLIP_MODIFIER_MP_COLOR_6" |
light yellow 的设置。 |
↳ PINK |
"BLIP_MODIFIER_MP_COLOR_7" |
pink 的设置。 |
↳ GREEN |
"BLIP_MODIFIER_MP_COLOR_8" |
green 的设置。 |
↳ DARK_TEAL |
"BLIP_MODIFIER_MP_COLOR_9" |
dark teal 的设置。 |
↳ RED |
"BLIP_MODIFIER_MP_COLOR_10" |
red 的设置。 |
↳ LIGHT_GREEN |
"BLIP_MODIFIER_MP_COLOR_11" |
light green 的设置。 |
↳ TEAL2 |
"BLIP_MODIFIER_MP_COLOR_12" |
teal2 的设置。 |
↳ BLUE |
"BLIP_MODIFIER_MP_COLOR_13" |
blue 的设置。 |
↳ DARK_PUPLE |
"BLIP_MODIFIER_MP_COLOR_14" |
dark puple 的设置。 |
↳ DARK_PINK |
"BLIP_MODIFIER_MP_COLOR_15" |
dark pink 的设置。 |
↳ DARK_DARK_RED |
"BLIP_MODIFIER_MP_COLOR_16" |
dark dark red 的设置。 |
↳ GRAY |
"BLIP_MODIFIER_MP_COLOR_17" |
gray 的设置。 |
↳ PINKISH |
"BLIP_MODIFIER_MP_COLOR_18" |
pinkish 的设置。 |
↳ YELLOW_GREEN |
"BLIP_MODIFIER_MP_COLOR_19" |
yellow green 的设置。 |
↳ DARK_GREEN |
"BLIP_MODIFIER_MP_COLOR_20" |
dark green 的设置。 |
↳ BRIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_21" |
bright blue 的设置。 |
Paid (server only) jrs_alchemy
Potion mixing: brew tonics and medicine from herbs with a heat-control mini-game at doctor offices
| Resource | jrs_alchemy |
| Folder | [ACTIVITIES] |
| Version | 1.0.0 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 295 行 Lua |
config.lua - 9 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Key |
0x760A9C6F |
G at a mixing table |
Radius |
2.0 |
radius 的游戏内距离。 |
BrewSeconds |
12 |
length of the heat mini-game |
FailBelow |
35 |
score under this ruins the batch (ingredients lost) |
GreatAbove |
80 |
score over this may give a bonus batch... |
GreatBonusChance |
50 |
...with this % chance (rolled on the server) |
CooldownSeconds |
20 |
cooldown seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
Stations |
table |
Where people can brew. Doctor offices (jrs_doctors) by default. |
Recipes |
table |
recipes 使用的背包物品。名称必须存在于 jrs_items 表中。 |
Paid (server only) jrs_beekeeping
jrs core Beekeeping - persistent bee farming, hive management and trading for jrs_core / jrs_inventory
| Resource | jrs_beekeeping |
| Folder | [ACTIVITIES] |
| Version | 1.8.1 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 5,903 Lua lines |
Database tables
IF, jrs_beekeeping_apiaries, jrs_beekeeping_profiles
config/apiaries.lua - 4 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Apiaries |
table |
Apiary props are resolved directly from the models shipped in stream/. |
↳ apiary_1 |
table |
apiary 1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ apiary_2 |
table |
apiary 2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ apiary_3 |
table |
apiary 3 条目表。按文件中的示例添加、删除或修改条目。 |
config/farm.lua - 28 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Farm |
table |
Complete bee-farm and colony-care system. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ TickSeconds |
300 |
tick seconds 的数值(默认 300)。 |
↳ GlobalTickMs |
300000 |
global tick ms 的数值(默认 300000)。 |
↳ GlobalTickBatchSize |
250 |
global tick batch size 的数值(默认 250)。 |
↳ MaxOfflineHours |
72 |
max offline hours 的上限。 |
↳ FarmMenuDistance |
5.0 |
farm menu distance 的游戏内距离。 |
↳ StartingForageQuality |
72 |
starting forage quality 的数值(默认 72)。 |
↳ MaxStorage |
100 |
max storage 的上限。 |
↳ Building |
table |
Hive structures are purchased as usable inventory items. Using the hive item starts prop placement; no separate placement tool or material is required. Colony work still uses the configured care supplies below. |
↳ FarmActionDistance |
6.0 |
farm action distance 的游戏内距离。 |
↳ WorldHud |
table |
Floating status card (with the circular HP/Honey/Food/Water meters) that used to hover above each hive. Disabled so every hive is just a clean physical object in the world. Set Enabled = true to bring it back. |
↳ ForageZones |
table |
Flower-rich forage zones increase nectar collection and colony growth. |
↳ Profile |
table |
BEEKEEPER LEVEL (the player). Shown at the top of the farm menu. XP needed for level L = XPBase * (L - 1) ^ XPExponent lvl 5 ~ 420 XP, lvl 10 ~ 1300 XP, lvl 12 ~ 1720 XP, lvl 20 ~ 3700 XP |
↳ HiveLevels |
table |
HIVE LEVEL (the hive itself). Each hive earns XP from every care action and harvest done on it. XP[n] = total hive XP needed to reach level n. |
↳ DecayPerHour |
table |
Slower needs: a full feed (+38) now lasts ~15 hours before food is low, so one visit or two per day keeps a hive healthy. |
↳ Neglect |
table |
and hurts the hive, but can never push health or queen below these floors, so a hive is never lost just because the owner was offline. Only an untreated disease can still collapse a colony. |
↳ CollapseSwarmLoss |
15 |
On collapse the hive keeps its stored honey/wax/propolis (it used to be wiped) and only loses this much swarm strength. |
↳ Condition |
table |
condition 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Production |
table |
production 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Disease |
table |
disease 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Seasons |
table |
seasons 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Actions |
table |
actions 条目表。按文件中的示例添加、删除或修改条目。 |
↳ UpgradeRequirements |
table |
level = beekeeper (player) level needed to upgrade. |
↳ SplitLevel |
10 |
Beekeeper level needed for Split Colony. |
↳ CraftingUses |
table |
Shown in the bee farm COLLECT tab. These mirror the "beekeeping" recipes in jrs_crafting/config/recipes.lua - edit both together. level = jrs_crafting level; benefit = English fallback (NUI key craft_use_<item>). |
↳ BulkActions |
table |
bulk actions 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ActionValues |
table |
action values 条目表。按文件中的示例添加、删除或修改条目。 |
config/locations.lua - 3 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Locations |
table |
Store, NPC, blip and placement-zone configuration. |
↳ Stores |
table |
stores 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Placement |
table |
placement 条目表。按文件中的示例添加、删除或修改条目。 |
config/main.lua - 36 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Main |
table |
General resource, prompt, interface and store configuration. |
↳ Locale |
"ar" |
此脚本的界面语言(en 或 ar)。 |
↳ Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
↳ Version |
"1.8.0" |
version 的设置。 |
↳ Keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Prompts |
table |
prompts 条目表。按文件中的示例添加、删除或修改条目。 |
↳ UI |
table |
ui 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Notifications |
table |
notifications 条目表。按文件中的示例添加、删除或修改条目。 |
↳ InteractionDistance |
3.2 |
interaction distance 的游戏内距离。 |
↳ StoreDrawDistance |
25.0 |
store draw distance 的游戏内距离。 |
↳ PedSpawnDistance |
120.0 |
ped spawn distance 的游戏内距离。 |
↳ PlacementDistance |
2.4 |
placement distance 的游戏内距离。 |
↳ WorldStreaming |
table |
Nearby persistent props are streamed to every player, while interaction and management remain owner-only. |
↳ HiveBlip |
table |
Map blip on every hive the player owns (only the owner sees it). |
↳ PropSafety |
table |
Client-side prop safeguards: one physical object per database hive, staggered model creation and a visibility/collision watchdog. |
↳ MinimumApiarySpacing |
4.0 |
minimum apiary spacing 的最低值或等级要求。 |
↳ MaxApiariesPerCharacter |
1 |
Absolute hive limit per character. This is a hard cap: the beekeeper level system can never let a player exceed it. Set to 1 so each player can place only one hive. Raise this number to allow more. |
↳ MaxShopQuantity |
100 |
max shop quantity 的上限。 |
↳ PlacementPreview |
table |
placement preview 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ServerValidation |
table |
server validation 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ActionCooldownMs |
1000 |
action cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DatabaseReadyTimeoutMs |
10000 |
database ready timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DeleteUnstartedAfterDays |
0 |
delete unstarted after days 的数值(默认 0)。 |
↳ HarvestXP |
10 |
harvest xp 的数值(默认 10)。 |
Stream |
table |
Every configured prop below maps directly to a model inside stream/. Existing database entries are normalized to these model names on startup. |
↳ Resource |
"jrs_beekeeping" |
resource 的设置。 |
↳ Ytyp |
"bee_house_gk_ytyp" |
ytyp 的设置。 |
↳ Models |
table |
models 使用的游戏模型或实体。 |
↳ Fallbacks |
table |
fallbacks 条目表。按文件中的示例添加、删除或修改条目。 |
↳ NativeFallbacks |
table |
Guaranteed base-game fallbacks. These are only used when the custom streamed archetype cannot be registered on the player's RedM build. |
↳ AllModels |
table |
all models 使用的游戏模型或实体。 |
Shop |
table |
shop 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ CurrencyLabels |
table |
currency labels 条目表。按文件中的示例添加、删除或修改条目。 |
↳ BuyItems |
table |
Full store list: hive kits plus every colony-care supply the player needs to buy and use for the CARE actions (water, brush, smoker, medicine, frame, queen cell). Item images are resolved from jrs_inventory. |
↳ SellItems |
table |
sell items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
config/xp.lua - 6 个选项#
Set Enabled = false to switch this script's XP off without touching code.
| Setting | Default | What it does |
|---|---|---|
XP |
table |
xp 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Job |
"beekeeping" |
Per-job level key in jrs_core. Keep this stable: it is the primary key in the jrs_job_levels table, so renaming it orphans existing progress. |
↳ Multiplier |
1.0 |
Scales every reward below. Raise it for a boosted weekend, drop it to slow this job down relative to the others. |
↳ Default |
0 |
Used when a reward name is awarded that is not listed here. |
↳ Rewards |
table |
rewards 条目表。按文件中的示例添加、删除或修改条目。 |
Notes from the README#
# jrs_beekeeping
`jrs_beekeeping` is a complete RedM beekeeping/farm resource converted to the REDEMPIRE stack. It uses `jrs_core` for character and currency handling, `jrs_inve
## Requirements
- `jrs_core`
- `jrs_inventory`
- `oxmysql`
No legacy framework adapter or framework.lua is used.
## Main features
- Persistent player-owned beehives.
- Small, medium and large hive kits as usable `jrs_inventory` items.
- Placement preview and server-side placement validation.
- Hive ownership by REDEMPIRE `identifier` + `charIdentifier`.
- Complete colony management: queen, food, water, cleaning, smoker, medicine, repair, queen replacement and upgrades.
- Health, hunger, water, cleanliness, stress, queen health, swarm strength and forage quality simulation.
- Diseases, offline lifecycle progression and seasonal production modifiers.
- Honey, beeswax, propolis and royal-jelly harvesting.
- Hive XP/level progression and character profile progression.
- Bulk farm actions.
- Bee Market for buying supplies/hive kits and selling products.
- Cash and Gold support through `jrs_core` currency APIs.
- Persistent streamed hive props.
- NUI shop/farm interface, notifications and sounds.
- Optional Discord webhook logs.
- Rate limits, distance checks, transaction locks and rollback paths around inventory/currency operations.
## 1.1.0 deep-fix notes
This build is aligned against the supplied/current REDEMPIRE APIs rather than a generic framework adapter.
- Shared per-player mutation lock serializes Bee Market, hive placement and farm inventory/economy mutations.
- Owner-level lifecycle lock prevents the global hive tick and live player actions from overwriting each other after an awaited MySQL call.
- `jrs_inventory` split-stack removals use exact `itemId` entries and roll back earlier stacks with their metadata if a later stack fails.
- Hive placement, upgrade and dismantle use direct delta synchronization instead of forcing every client to re-query the database.
- Menu/HUD synchronization is read-only; lifecycle state is persisted only by authoritative mutation/tick paths.
- Character-ready gating prevents hive refresh requests during character selection/loading.
- NUI open retries stop as soon as the UI is ready, and character unload/resource stop release only state owned by this resource.
- Server distance checks, transaction idempotency, finite-number checks and action rate limits remain authoritative.
- Normal success/compatibility console noise is hidden while `Config.Main.Debug = false`; critical rollback/startup errors remain visible.
## Installation
1. Copy the folder as:
'''text
resources/[jrs]/jrs_beekeeping
'''
2. Import:
'''text
sql/jrs_beekeeping.sql
'''
3. Copy the item images from:Paid (server only) jrs_canon
jrs core persistent cannon and gatling placement system
| Resource | jrs_canon |
| Folder | [ACTIVITIES] |
| Version | 1.2.0 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 1,798 Lua lines |
Database tables
jrs_canon_placements
config/config.lua - 30 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
RangeRecover |
2.0 |
Interaction distances |
RangeUse |
2.5 |
range use 的游戏内距离。 |
EntityMatchRadius |
3.0 |
entity match radius 的游戏内距离。 |
OtherPlayerBlockRadius |
2.0 |
other player block radius 的游戏内距离。 |
MinimumDistanceBetweenCannons |
2.0 |
minimum distance between cannons 的游戏内距离。 |
MaxPlacementFromPlayer |
8.0 |
max placement from player 的上限。 |
ServerEntityReadyTimeout |
5000 |
Server-created RedM vehicle entities can take a moment to register. |
FreezePlaced |
false |
If true, freeze the deployed artillery base in place. |
PreviewAlpha |
170 |
Placement preview |
PreviewGroundOffset |
0.0 |
preview ground offset 的数值(默认 0.0)。 |
TickHeadingPlace |
5.0 |
tick heading place 的数值(默认 5.0)。 |
PlacementSpawnDelay |
150 |
Small delay after destroying the local preview and before spawning the real cannon. This is intentionally short and prevents the preview from visually doubling. |
PreviewCleanupRadius |
4.0 |
preview cleanup radius 的游戏内距离。 |
KeyPlace |
0x760A9C6F |
G |
KeyUse |
0xCEFD9220 |
E |
KeyCancelRecover |
0x71F89BBC |
R |
WheelUp |
table |
wheel up 条目表。按文件中的示例添加、删除或修改条目。 |
WheelDown |
table |
wheel down 条目表。按文件中的示例添加、删除或修改条目。 |
AllowAnyPlayerRecover |
true |
Anyone can recover a deployed cannon. |
MaxPlacementsPerCharacter |
3 |
0 = unlimited |
MaxPlacementsTotal |
150 |
whole server, 0 = unlimited |
MaxPlacementHeightDiff |
5.0 |
max |gun z - player z| when placing |
EventCooldownMs |
750 |
per player, per server event |
BlockInSafeZone |
true |
Block using or placing artillery inside safe zones. |
Cannons |
table |
cannons 条目表。按文件中的示例添加、删除或修改条目。 |
↳ canon |
table |
canon 条目表。按文件中的示例添加、删除或修改条目。 |
↳ canon2 |
table |
canon2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ gatling |
table |
gatling 条目表。按文件中的示例添加、删除或修改条目。 |
↳ gatling2 |
table |
gatling2 条目表。按文件中的示例添加、删除或修改条目。 |
Notes from the README#
# jrs_canon v1.1.0
REDEMPIRE cannon / Gatling deployment system for RedM.
## v1.0.7 changes
- Placements are **persisted in database** (`jrs_canon_placements` table) across server and resource restarts.
- Inventory operations are **verified with callbacks** on both placement (`jrsCore:subItem`) and recovery (`jrsCore:addItem`), preventing item loss or duplicati
- Enforced `Config.AllowAnyPlayerRecover`: when set to `false`, only the original owner character can recover deployed artillery.
- Client re-sync net event handlers properly registered for `jrs_character:isPlayerReady`, `jrs_core:client:characterReady`, and `jrs_canon:client:requestSync`.
- Completed Arabic localization in `locales/ar.lua` (translated English strings: placement title, cancel, recover, and added not_owner).
- Clean entity teardown on resource stop without wiping persistent database records.
## Dependencies
- `jrs_core`
- `jrs_inventory`
- `oxmysql`
## SQL Setup
Import the SQL schemas if not already applied:
1. `sql/jrs_canon_items.sql` (registers cannon and gatling inventory items)
2. `sql/jrs_canon_placements.sql` (table schema for persisted deployments; automatically initialized on boot)
## Controls
- Use the item from the inventory: the inventory closes and placement starts
(same NUI panel and keys as jrs_housing furniture placement)
- Crosshair: move the gun
- Arrow Left / Right (or mouse wheel): rotate - Q / E: turn 45 degrees
- Arrow Down / Up: lower / raise (-0.5 .. +3.0 m) - F: back onto the ground
- L: lock position - X: speed (Precise / Normal / Fast) - R: reset
- G: place (only inside Config.MaxPlacementFromPlayer) - DELETE: cancel
- At a deployed gun: E use, R remove and get the item back
- Seated on the gun: centre reticle is shown, gold while firingPaid (server only) jrs_casino
JRS Casino - Blackjack & Roulette Unified Resource
| Resource | jrs_casino |
| Folder | [ACTIVITIES] |
| Version | 1.1.0-jrs |
| Author | jrs team |
| Depends on | PolyZone, jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en, roule |
| Code size | 6,247 Lua lines |
Commands
/card/cds/playDealer
Exports
SetCanSitDownCallback, SetGetChipsCallback, SetGiveChipsCallback, SetLeaveCheckCallback, SetSatDownCallback, SetStandUpCallback, SetTakeChipsCallback
config/roulette/config.lua - 30 个选项#
General
| Setting | Default | What it does |
|---|---|---|
OpenControl |
0x760A9C6F |
G |
HoldToOpen |
false |
false: single press, true: hold G |
Roulettee |
table |
roulettee 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1 |
table |
1 条目表。按文件中的示例添加、删除或修改条目。 |
TableModel |
"p_roulettetable01x" |
table model 使用的游戏模型或实体。 |
ItemNames |
table |
item names 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ Red |
"red_coin" |
red 的设置。 |
↳ Black |
"black_coin" |
black 的设置。 |
↳ Green |
"green_coin" |
green 的设置。 |
ChipPrices |
table |
chip prices 条目表。按文件中的示例添加、删除或修改条目。 |
↳ red |
1 |
red 的数值(默认 1)。 |
↳ black |
2 |
black 的数值(默认 2)。 |
↳ green |
3 |
green 的数值(默认 3)。 |
XP |
table |
xp 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ OnWin |
50 |
XP on winning red/black |
↳ OnWinGreen |
100 |
XP on winning green |
↳ OnPlay |
10 |
XP on participating / loss |
Language |
table |
此脚本的界面语言(en 或 ar)。 |
↳ nomoney |
"You don't have enough money... |
nomoney 的设置。 |
↳ winblack |
"Black wins!" |
winblack 的设置。 |
↳ winred |
"Red wins!" |
winred 的设置。 |
↳ wingreen |
"Green wins!" |
wingreen 的设置。 |
↳ playroulette |
"Press [~e~Space~q~] to play... |
playroulette 的设置。 |
↳ inprogress |
"A game is already in progress." |
inprogress 的设置。 |
↳ teleportA |
"Press [~e~Space~q~] to ente... |
teleport a 的设置。 |
↳ teleportB |
"Press [~e~Space~q~] to go t... |
teleport b 的设置。 |
↳ losemoney |
"~e~Roulette~q~: You lost! T... |
losemoney 的设置。 |
↳ PlayRoulettee |
"Play Roulette" |
play roulettee 的设置。 |
↳ Youwon |
"Congratulations! You won!" |
youwon 的设置。 |
Paid (server only) jrs_chicken_job
JRS Chicken Job
| Resource | jrs_chicken_job |
| Folder | [ACTIVITIES] |
| Version | 3.4.0 |
| Author | JRS |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | No |
| Code size | 5,140 Lua lines |
Commands
/chicken_cancel/chicken_status
Database tables
jrs_chicken_cooldowns
config.lua - 168 个选项#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"ar" |
ar | en |
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
ServerHealthChecks |
false |
RedM server SyncTrees_RDR3 currently exposes no ped/vehicle health node. Enable only on an artifact with verified server-side health support. |
JRS Integration ------------------------
| Setting | Default | What it does |
|---|---|---|
Integration |
table |
integration 条目表。按文件中的示例添加、删除或修改条目。 |
↳ coreResource |
"jrs_core" |
core resource 的设置。 |
↳ inventoryResource |
"jrs_inventory" |
inventory resource 的设置。 |
Development helper. Keep disabled on a live/production server.
| Setting | Default | What it does |
|---|---|---|
TestMode |
table |
When enabled, /chicken_test <stage> [hub] can jump directly to a mission stage without server rewards, XP, cooldowns, or items. |
↳ enabled |
false |
开启或关闭 enabled(默认 false)。 |
↳ defaultHub |
"valentine" |
default hub 的设置。 |
↳ teleportPlayer |
true |
teleport player 的开关:true = 开,false = 关(默认 true)。 |
↳ wagonHeadings |
table |
Test wagon direction. These headings are used for test stages that spawn the wagon at butcher/processing locations instead of the normal job-hub wagon spawn. |
↳ command |
"chicken_test" |
command 的设置。 |
↳ stopCommand |
"chicken_test_stop" |
stop command 的设置。 |
↳ noRewards |
true |
Test mode NEVER grants money/items/XP even if this resource is accidentally left enabled. It only simulates progression client-side. |
Prompts |
table |
prompts 条目表。按文件中的示例添加、删除或修改条目。 |
↳ start |
"Start Chicken Job" |
start 的设置。 |
↳ catchChicken |
"Catch Chicken" |
catch chicken 的设置。 |
↳ loadChicken |
"Load Chicken" |
load chicken 的设置。 |
↳ unloadChicken |
"Unload Chicken" |
unload chicken 的设置。 |
↳ killChicken |
"Slaughter Chicken" |
kill chicken 的设置。 |
↳ pickupDeadChicken |
"Pick Up Chicken" |
pickup dead chicken 的设置。 |
↳ placeDeadChicken |
"Place on Table" |
place dead chicken 的设置。 |
↳ cutChicken |
"Cut Chicken" |
cut chicken 的设置。 |
↳ pickupChest |
"Pick Up Products" |
pickup chest 的设置。 |
↳ loadChest |
"Load Products" |
load chest 的设置。 |
↳ unloadChest |
"Unload Products" |
unload chest 的设置。 |
↳ deliverChest |
"Deliver Products" |
deliver chest 的设置。 |
↳ interact |
"Interact" |
interact 的设置。 |
Texts |
table |
texts 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ar |
table |
ar 条目表。按文件中的示例添加、删除或修改条目。 |
↳ en |
table |
en 条目表。按文件中的示例添加、删除或修改条目。 |
Text |
Config.Texts[Config.defaultl... |
text 显示给玩家的文本。可修改以翻译或更名。 |
These are native RDR2/RedM animations. If a specific clip is not
| Setting | Default | What it does |
|---|---|---|
Animations |
table |
available on a build, the action still continues using the fallback. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ pickup |
table |
pickup 条目表。按文件中的示例添加、删除或修改条目。 |
↳ carry |
table |
carry 条目表。按文件中的示例添加、删除或修改条目。 |
↳ chickenCarry |
table |
Two-hand front carry for chickens. This is shared by every chicken pickup path so the player always holds the chicken between both hands. |
↳ putDown |
table |
put down 条目表。按文件中的示例添加、删除或修改条目。 |
↳ chickenStow |
table |
RDR2 chicken-specific stow clip. Used when loading onto the wagon. |
↳ chickenPickup |
table |
v3.4.0: RDR2's own pick-up-a-chicken clip (used for every chicken pickup: field, wagon cage, ground after slaughter). The basin keeps pickup above. |
↳ chickenUnstow |
table |
chicken unstow 条目表。按文件中的示例添加、删除或修改条目。 |
↳ killPlace |
table |
The player visibly bends down and releases the live chicken before drawing the knife. This dictionary is the RDR2 handheld-chicken drop. |
↳ kill |
table |
kneel used when dressing a chicken in-game). The old dict 'melee@knife@streamed_core' does not exist in RDR3, so the hammer fallback always ran. enter -> success (chicken dies at strikePhase) -> exit. |
↳ tableCut |
table |
butcher_idle), the same mp005_s_posse_butcher01x table spawned below. It is a standing full-body clip, so it plays with rdoFlag (1 = loop). If it does not start, the rabbit-chop camp clips below are used. |
CarrySystem |
table |
Prefer RDR2's native carriable system for chickens. It lets the game control the player's hands/body pose instead of a manual hand attachment. Manual offsets below are kept because chicken native carry is disabled here. |
↳ native |
true |
native 的开关:true = 开,false = 关(默认 true)。 |
↳ nativeForLiveChicken |
false |
Native small-animal carry grips the chicken through the body on this build. Keep native available for other carriables, but use our tuned hand grip for chickens. |
↳ nativeForDeadChicken |
true |
native for dead chicken 的开关:true = 开,false = 关(默认 true)。 |
↳ requireNativeDeadCarry |
true |
Requires native dead carry:true = 是,false = 否(默认 true)。 |
↳ timeoutMs |
2600 |
timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ fallbackManualAttach |
true |
fallback manual attach 的开关:true = 开,false = 关(默认 true)。 |
↳ fallbackCarryConfig |
'GENERIC_DEAD_CARRIABLE_SMAL... |
fallback carry config 的设置。 |
↳ taskSlot |
0 |
task slot 的数值(默认 0)。 |
↳ taskFlags |
0 |
task flags 的数值(默认 0)。 |
CarryOffsets |
table |
carry offsets 条目表。按文件中的示例添加、删除或修改条目。 |
↳ liveChicken |
table |
Attach chickens to the player's root instead of a rotating spine bone. These offsets are stable player-space coordinates: centered, in front of the waist and directly between the hands of the carry animation. |
↳ deadChicken |
table |
dead chicken 条目表。按文件中的示例添加、删除或修改条目。 |
↳ deadChickenBack |
table |
After slaughter, carry the whole dead chicken over the player's back/shoulder. No looping box-carry animation is played; the player can walk normally. |
↳ pluckedChicken |
table |
plucked chicken 条目表。按文件中的示例添加、删除或修改条目。 |
↳ basin |
table |
basin 条目表。按文件中的示例添加、删除或修改条目。 |
Basin |
table |
basin 条目表。按文件中的示例添加、删除或修改条目。 |
↳ model |
"p_washbasin01x" |
model 使用的游戏模型或实体。 |
↳ groundHeading |
0.0 |
ground heading 的数值(默认 0.0)。 |
↳ wagonAttach |
table |
wagon attach 条目表。按文件中的示例添加、删除或修改条目。 |
Discord Webhook --------------------------
| Setting | Default | What it does |
|---|---|---|
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ url |
"" |
url 的设置。 |
↳ botName |
"rakan chicken" |
bot name 显示给玩家的文本。可修改以翻译或更名。 |
↳ color |
16753920 |
color 的数值(默认 16753920)。 |
Job Check ----------------------------
| Setting | Default | What it does |
|---|---|---|
JobCheck |
table |
允许谁:job check 的职业、组或权限。 |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ job |
"chicken" |
允许谁:job 的职业、组或权限。 |
↳ minLevel |
0 |
min level 的最低值或等级要求。 |
↳ showBlipOnlyIfJob |
true |
true = show blip on map ONLY for players who have the chicken job |
Feature Toggles -------------------------
| Setting | Default | What it does |
|---|---|---|
Features |
table |
features 条目表。按文件中的示例添加、删除或修改条目。 |
↳ npc |
true |
job start NPC + blip |
↳ wagon |
true |
wagon spawn + load chickens |
↳ catch |
true |
catch zone + chickens |
↳ kill |
true |
animated kill/chop phase |
↳ cut |
true |
G butcher cut scenario + inventory items |
↳ chest |
true |
basin: store products after cut |
↳ delivery |
true |
final delivery point |
↳ gps |
true |
yellow route on minimap |
↳ markers |
true |
world markers (hidden when you arrive) |
↳ blips |
true |
objective blips |
↳ sounds |
false |
sounds 的开关:true = 开,false = 关(默认 false)。 |
Multi-player sync -----------------------
| Setting | Default | What it does |
|---|---|---|
Sync |
table |
Others SEE your chickens / wagon / table / anims Only YOU can catch, kill, or process your mission entities |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ viewDistance |
120.0 |
view distance 的游戏内距离。 |
Gps |
table |
gps 条目表。按文件中的示例添加、删除或修改条目。 |
↳ color |
"COLOR_YELLOW" |
The mission uses a REAL map waypoint (SetNewWaypoint), exactly like selecting a destination manually from the RDR2 map. |
↳ hudColor |
6 |
used only by the emergency multi-route fallback |
↳ useCoreDestination |
false |
Optional 3D world indicator from jrs_core. Keep false if you only want the normal map/minimap GPS route. |
↳ enableBlipRouteFallback |
false |
开启或关闭 blip route fallback(默认 false)。 |
ObjectiveBlips |
table |
objective blips 的地图标记或图标设置。 |
↳ wagon |
"blip_ambient_wagon" |
wagon 的设置。 |
↳ catch |
"blip_ambient_herd" |
catch 的设置。 |
↳ process |
"blip_proc_cleaver" |
process 的设置。 |
↳ chest |
"blip_ambient_loot" |
chest 的设置。 |
↳ delivery |
"blip_ambient_delivery" |
delivery 的设置。 |
Keys -------------------------------
| Setting | Default | What it does |
|---|---|---|
Keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ interact |
0x760A9C6F |
G |
Mission Cooldown ------------------------
| Setting | Default | What it does |
|---|---|---|
MissionCooldown |
table |
Saved in DB — survives disconnect / reconnect |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ minutes |
60 |
minutes 的数值(默认 60)。 |
JRS Core (XP) -------------------------
| Setting | Default | What it does |
|---|---|---|
XP |
table |
Awards XP to the Poultry Butcher (chicken) job level in jrs_job_levels and automatically feeds Config.JobXP.CoreShare into the player's global level. Set Enabled = false to disable all XP. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Job |
"chicken" |
允许谁:job 的职业、组或权限。 |
↳ Multiplier |
1.0 |
multiplier 的比率或倍数。 |
↳ Default |
0 |
default 的数值(默认 0)。 |
↳ Rewards |
table |
rewards 条目表。按文件中的示例添加、删除或修改条目。 |
RakanLevel |
Config.XP |
Legacy alias kept for backwards compatibility |
Job Hubs (multi NPC) --------------------
| Setting | Default | What it does |
|---|---|---|
JobHubs |
table |
Each hub: NPC, wagon spawn, catch zones, butcher, delivery |
Wagon ------------------------------
| Setting | Default | What it does |
|---|---|---|
Wagon |
table |
wagon 条目表。按文件中的示例添加、删除或修改条目。 |
↳ model |
"wagon02x" |
model 使用的游戏模型或实体。 |
↳ useDraftVehicle |
true |
开启或关闭 draft vehicle(默认 true)。 |
↳ draftHorseGroup |
"DRAFT_HORSES_MID" |
允许谁:draft horse group 的职业、组或权限。 |
↳ maxChickens |
5 |
max chickens 的上限。 |
↳ pickupDistance |
10.0 |
G prompt / auto-start near wagon |
↳ loadDistance |
4.0 |
distance to load chicken on wagon |
↳ rearLoadDistance |
2.5 |
rear load distance 的游戏内距离。 |
↳ rearLoadOffset |
vector3(0.0, -1.10, -0.15) |
relative to the rear cage |
↳ unloadDistance |
4.0 |
distance to take chicken from wagon |
↳ chestLoadDistance |
4.0 |
distance to load/unload basin on wagon |
↳ loadMarkerOffset |
vector3(0.0, -1.85, 0.0) |
marker at rear of wagon bed |
↳ searchRadius |
150.0 |
search radius 的游戏内距离。 |
↳ autoStartWhenInWagon |
true |
continue mission when player enters the wagon |
↳ chickenTrap |
table |
Physical chicken cage carried in the wagon bed. Chickens are attached to this object, not directly to the wagon. |
↳ failMission |
table |
Fail mission if wagon destroyed or draft horse dies |
Catch Zones -----------------------------
| Setting | Default | What it does |
|---|---|---|
ChickensRequired |
5 |
Random zone picked each job run |
Chicken |
table |
chicken 条目表。按文件中的示例添加、删除或修改条目。 |
↳ model |
"a_c_chicken_01" |
model 使用的游戏模型或实体。 |
↳ zoneTriggerRadius |
25.0 |
broad streaming/search area |
↳ arrivalRadius |
16.0 |
actual arrival distance before chickens spawn |
↳ spawnRadius |
7.0 |
spawn radius 的游戏内距离。 |
↳ minSpacing |
2.0 |
min spacing 的最低值或等级要求。 |
↳ catchDistance |
1.8 |
catch distance 的游戏内距离。 |
↳ showMarkers |
false |
circular marker under every live chicken (disabled, text only) |
↳ showBlips |
true |
chicken icons stay visible until that chicken is picked up |
↳ blipSprite |
"blip_ambient_herd" |
blip sprite 的地图标记或图标设置。 |
↳ blipScale |
0.55 |
blip scale 的地图标记或图标设置。 |
↳ marker |
table |
marker 条目表。按文件中的示例添加、删除或修改条目。 |
↳ drawText |
table |
draw text 显示给玩家的文本。可修改以翻译或更名。 |
↳ maxHeightDiff |
6.0 |
max height diff 的上限。 |
↳ carryUsePed |
true |
carryUsePed = true -> live chicken ped in hands (not dead prop) |
↳ carryModel |
"a_c_chicken_01" |
carry model 使用的游戏模型或实体。 |
↳ carryProp |
"p_chicken01x" |
only used when carryUsePed = false (dead plucked prop) |
Butcher table cut --------
| Setting | Default | What it does |
|---|---|---|
ButcherScenario |
table |
butcher scenario 的动画设置。 |
↳ ScenarioTypes |
table |
Chicken cutting uses the rabbit-butcher scenario on the spawned table. |
↳ FallbackScenario |
"WORLD_HUMAN_BUTCHER_RABBIT" |
fallback scenario 的动画设置。 |
↳ DistanceThreshold |
2.5 |
distance threshold 的游戏内距离。 |
↳ ScenarioWait |
8000 |
scenario wait 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DirectCutDurationMs |
7200 |
direct cut duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DirectCutHoldMs |
8000 |
direct cut hold ms 的数值(默认 8000)。 |
Butcher / Wagon Unload Sites --------------------
| Setting | Default | What it does |
|---|---|---|
ButcherSites |
table |
butcher sites 条目表。按文件中的示例添加、删除或修改条目。 |
Chicken cutting stations.
| Setting | Default | What it does |
|---|---|---|
CutStations |
table |
Valentine uses a spawned butcher table with its own attached scenario point. |
Processing defaults (all sites) -----------------
| Setting | Default | What it does |
|---|---|---|
ProcessStation |
table |
process station 条目表。按文件中的示例添加、删除或修改条目。 |
↳ advanceOnItemFail |
true |
advance on item fail 的开关:true = 开,false = 关(默认 true)。 |
↳ wagonUnloadDistance |
2.0 |
wagon unload distance 的游戏内距离。 |
↳ steps |
table |
table, phases, chest, steps.kill -> client/coords.lua |
Delivery -------------------------------
| Setting | Default | What it does |
|---|---|---|
Delivery |
table |
delivery 条目表。按文件中的示例添加、删除或修改条目。 |
↳ payment |
table |
payment 条目表。按文件中的示例添加、删除或修改条目。 |
↳ areaRadius |
35.0 |
wagon near delivery point to unload basin |
↳ dropRadius |
4.0 |
player distance to place basin at delivery point |
↳ returnRadius |
5.0 |
return radius 的游戏内距离。 |
Markers ------------------------------
| Setting | Default | What it does |
|---|---|---|
Marker |
table |
marker 条目表。按文件中的示例添加、删除或修改条目。 |
↳ type |
0x94FDAE17 |
type 的设置。 |
↳ rgba |
table |
rgba 条目表。按文件中的示例添加、删除或修改条目。 |
↳ size |
table |
size 条目表。按文件中的示例添加、删除或修改条目。 |
Paid (server only) jrs_cinema
JRS Cinema - synchronized RDR2 shows and room-aware grayscale YouTube cinema playback with server-synced volume control
| Resource | jrs_cinema |
| Folder | [ACTIVITIES] |
| Version | 1.3.1 |
| Author | JRS |
| Depends on | jrs_core |
| Interface | Yes (NUI) |
| Code size | 2,031 Lua lines |
Exports
CanManageCinema, GetActiveShow
config.lua - 52 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Key |
0x760A9C6F |
G |
ShowStartTime |
60 |
seconds after buying a ticket |
PriceType |
0 |
0 = Money, 1 = Gold |
DistanceStart |
150.0 |
players inside this radius receive/start the show |
ServerBuyDistanceExtra |
1.5 |
server buy distance extra 的游戏内距离。 |
ShowLockSeconds |
900 |
safety fallback if the host disconnects or a show fails |
RandomTransitions |
false |
random transitions 的开关:true = 开,false = 关(默认 false)。 |
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
SellerPrompt |
"Talk to Seller" |
seller prompt 显示给玩家的文本。可修改以翻译或更名。 |
MenuTitle |
"بائع التذاكر" |
menu title 显示给玩家的文本。可修改以翻译或更名。 |
MenuSubtitle |
"اختر عرضاً واشترِ تذكرة" |
menu subtitle 的设置。 |
Messages |
table |
messages 显示给玩家的文本。可修改以翻译或更名。 |
↳ cinema |
"السينما" |
cinema 的设置。 |
↳ notEnough |
'ليس لديك ما يكفي من المال ل... |
not enough 的设置。 |
↳ notEnoughGold |
'ليس لديك ما يكفي من الذهب ل... |
not enough gold 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ showAlreadyRunning |
'هناك عرض مجدول أو قيد التشغ... |
show already running 的设置。 |
↳ ticketBought |
'تم شراء التذكرة بنجاح. سيبد... |
ticket bought 的设置。 |
↳ showStarted |
"بدأ العرض الآن." |
show started 的设置。 |
↳ tooFar |
"أنت بعيد جداً عن بائع التذاكر." |
too far 的设置。 |
↳ invalidSelection |
"اختيار غير صالح للعرض." |
invalid selection 的设置。 |
↳ coreUnavailable |
"نظام jrs_core غير متوفر." |
core unavailable 的设置。 |
↳ characterNotReady |
'شخصيتك لا تزال قيد التحميل.... |
character not ready 的设置。 |
↳ purchaseFailed |
'فشلت عملية الشراء. يرجى الم... |
purchase failed 的设置。 |
↳ showFailed |
"تعذر بدء العرض." |
show failed 的设置。 |
↳ youtubeNoPermission |
'ليس لديك صلاحية لإدارة شاشة... |
允许谁:youtube no permission 的职业、组或权限。 |
↳ youtubeInvalidUrl |
"رابط يوتيوب غير صالح." |
youtube invalid url 的设置。 |
↳ youtubeOnlyMovie |
'تشغيل يوتيوب متاح فقط في شا... |
youtube only movie 的设置。 |
↳ youtubeStarted |
"تم بدء تشغيل فيديو يوتيوب." |
youtube started 的设置。 |
↳ youtubeStopped |
"تم إيقاف فيديو يوتيوب." |
youtube stopped 的设置。 |
↳ youtubePaused |
"تم إيقاف الفيديو مؤقتاً." |
youtube paused 的设置。 |
↳ youtubeResumed |
"تم استئناف تشغيل الفيديو." |
youtube resumed 的设置。 |
YouTube |
table |
YouTube / external cinema playback |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ UseCoreAdmin |
true |
Administration permission comes DIRECTLY from jrs_core:IsAdmin(). It automatically follows jrs_core Config.AdminGroups (owner/admin/support in your current core, plus any groups you add there later). |
↳ AllowedJobs |
table |
Jobs allowed to manage YouTube playback. Job name and grade are read directly from jrs_core getJob/getJobGrade. Value = minimum job grade. |
↳ UseAcePermission |
false |
Optional ACE fallback. Core admin + job permissions above are enough for normal use, so this stays disabled unless you explicitly need ACE too. |
↳ AcePermission |
"jrs.cinema.manage" |
允许谁:ace permission 的职业、组或权限。 |
↳ StartDelay |
2 |
seconds before a newly submitted video begins |
↳ RenderDistance |
45.0 |
YouTube NUI is only active while player is near the screen |
↳ DefaultVolume |
100 |
initial volume selected when a new YouTube video is started |
↳ MaxVolume |
100 |
hard safety cap; manager slider can select 0-100 but never exceed this value |
↳ BlackAndWhite |
true |
render YouTube video in grayscale / old-cinema style |
↳ SameRoomOnly |
true |
only show/hear YouTube while player is in the same interior room as the cinema screen |
↳ VolumeFadeDistance |
35.0 |
volume fades to 0 by this distance |
↳ Width |
1280 |
width 的数值(默认 1280)。 |
↳ Height |
720 |
height 的数值(默认 720)。 |
↳ ProjectionRefreshMs |
0 |
0 = every frame while the screen is visible |
↳ FixedScreens |
table |
fixed screens 条目表。按文件中的示例添加、删除或修改条目。 |
↳ MaxRuntimeSeconds |
14400 |
4 hour safety lock |
ShowTickets |
table |
show tickets 条目表。按文件中的示例添加、删除或修改条目。 |
TheatreShows |
table |
theatre shows 条目表。按文件中的示例添加、删除或修改条目。 |
CinemaShows |
table |
cinema shows 条目表。按文件中的示例添加、删除或修改条目。 |
Notes from the README#
# jrs_cinema v1.1.9
YouTube cinema changes:
- YouTube image is grayscale by default (`Config.YouTube.BlackAndWhite = true`).
- Video and YouTube audio are only exposed while the player is in the same RedM interior room as the projection screen (`Config.YouTube.SameRoomOnly = true`).
- The room check follows PMMS' proven RedM method: `GetInteriorFromEntity` + `GetRoomKeyFromEntity`.
- An invisible local RDR2 projection target is created only as the room-reference entity; it has no collision and no DUI.
## v1.1.7 - PMMS-style RedM YouTube projection
YouTube display now follows the proven RedM method used by PMMS: a single fixed
world coordinate is projected every frame with `GetScreenCoordFromWorldCoord`,
and the NUI video size is calculated from camera FOV and camera distance. This
removes the old 4-corner homography entirely and still avoids `CreateDui`.
Screen tuning is intentionally simple: edit only `coords` and `videoSize` under
`Config.YouTube.FixedScreens`. `coords` is the centre of the video in the world.
# jrs_cinema
Standalone JRS cinema/theatre system for RedM using the RDR2 built-in theatre animscenes and magic-lantern movie assets.
## Requirements
- jrs_core
- OneSync/server entity coordinates for server-side ticket-seller distance validation.
## Install
1. Put `jrs_cinema` in your resources folder.
2. Ensure `jrs_core` starts first.
3. Add `ensure jrs_cinema` to server.cfg.
## Flow
Seller NPC -> hold G -> choose show/movie -> server validates distance and balance -> server removes Money/Gold -> synchronized countdown -> players inside `Con
## Main config
- `Config.ShowStartTime = 60`
- `Config.PriceType = 0` (Money) or `1` (Gold)
- `Config.DistanceStart = 150.0`
- `Config.ShowLockSeconds = 900`
- Ticket locations, NPCs, prices and show lists are all editable in `config.lua`.
## jrs_core integration
Uses `exports.jrs_core:getCoreApi()`, `getCharacter`, `removeMoney` and `NotifyRightTip`.
## Notes
The underlying show/movie asset identifiers are Rockstar RDR2 game assets. Theatre engine behavior was implemented with reference to the MIT-licensed `xK3LY/red
## v1.1.3 - Managed YouTube playback
Movie cinemas can now render a synchronized YouTube embed on the in-world projection screen using Cfx DUI/runtime textures.
Management is server-authoritative. A player can submit/control YouTube when one of these is true:
- `exports.jrs_core:IsAdmin(source)` returns true. This automatically follows `Config.AdminGroups` inside jrs_core.
- Their job from jrs_core exists in `Config.YouTube.AllowedJobs` and meets the configured minimum grade.
- Optional ACE permission `jrs.cinema.manage` is allowed when `UseAcePermission = true`.
Core administration is enabled with:
'''lua
UseCoreAdmin = true
'''
Default allowed job:Free (included in JRS Core) jrs_crafting
jrs core Crafting - server-authoritative crafting system for jrs_core / jrs_inventory
| Resource | jrs_crafting |
| Folder | [ACTIVITIES] |
| Version | 6.14.2 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 15,939 Lua lines |
Commands
/craftadmin_grant/craftadmin_override/craftadmin_reload/craftadmin_revoke/craftadmin_set/craftadmin_system/craftbenchremove
Exports
GetStoreRecipe
Database tables
jrs_crafting_benches, jrs_crafting_logs, jrs_crafting_orders, jrs_crafting_recipe_access, jrs_crafting_recipe_admin
config/admin.lua - 11 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Admin |
table |
允许谁:admin 的职业、组或权限。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Command |
"craftadmin" |
command 的设置。 |
↳ AllowServerConsole |
true |
REDEMPIRE-native staff access. Add/remove groups as needed. |
↳ AllowedGroups |
table |
允许谁:allowed groups 的职业、组或权限。 |
↳ AllowedIdentifiers |
table |
Optional exact identifiers (steam:, license:, discord:, etc.). |
↳ BypassRecipeAccess |
true |
bypass recipe access 的开关:true = 开,false = 关(默认 true)。 |
↳ Database |
table |
database 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Defaults |
table |
defaults 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Limits |
table |
limits 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Logging |
table |
logging 条目表。按文件中的示例添加、删除或修改条目。 |
config/animations.lua - 5 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Animations |
table |
animations 条目表。按文件中的示例添加、删除或修改条目。 |
↳ craft |
table |
Default Animation |
↳ spindlecook |
table |
spindlecook 条目表。按文件中的示例添加、删除或修改条目。 |
↳ knifecooking |
table |
knifecooking 条目表。按文件中的示例添加、删除或修改条目。 |
↳ campfire |
table |
campfire 条目表。按文件中的示例添加、删除或修改条目。 |
config/categories.lua - 1 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Categories |
table |
categories 条目表。按文件中的示例添加、删除或修改条目。 |
config/integrations.lua - 16 个选项#
General
| Setting | Default | What it does |
|---|---|---|
JRSXP |
table |
jrsxp 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ XPPerCraft |
1 |
Flat character XP per crafted unit (quantity 3 = 3 XP). Not scaled by recipe level. BaseXPPerCraft/XPPerLevelRequired are unused since 6.9.0. |
↳ BaseXPPerCraft |
25 |
base xp per craft 的数值(默认 25)。 |
↳ XPPerLevelRequired |
5 |
xp per level required 的最低值或等级要求。 |
CraftPrice |
table |
craft price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ Free |
true |
Free = true: crafting costs materials only, never money (beats admin price overrides). |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ BasePrice |
0.25 |
base price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ PricePerLevel |
0.10 |
price per level 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ Currency |
0 |
0 = money, 1 = gold |
Logging |
table |
logging 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Username |
"jrs_crafting" |
username 的设置。 |
↳ Color |
5763719 |
color 的数值(默认 5763719)。 |
↳ LogSuccessfulCrafts |
true |
Logs successful crafts:true = 是,false = 否(默认 true)。 |
↳ LogSecurityViolations |
true |
Logs security violations:true = 是,false = 否(默认 true)。 |
config/items.lua - 320 个选项#
General
| Setting | Default | What it does |
|---|---|---|
ItemDefinitions |
table |
item definitions 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ aloe_vera |
table |
aloe vera 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoarrownormal |
table |
ammoarrownormal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoarrowsmallgame |
table |
ammoarrowsmallgame 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoelephant |
table |
ammoelephant 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoknives |
table |
ammoknives 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammopistolexpress |
table |
ammopistolexpress 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammopistolnormal |
table |
ammopistolnormal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammopistolsplitpoint |
table |
ammopistolsplitpoint 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammopistolvelocity |
table |
ammopistolvelocity 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorepeaterexpress |
table |
ammorepeaterexpress 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorepeaternormal |
table |
ammorepeaternormal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorepeatersplitpoint |
table |
ammorepeatersplitpoint 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorepeatervelocity |
table |
ammorepeatervelocity 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorevolverexpress |
table |
ammorevolverexpress 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorevolvernormal |
table |
ammorevolvernormal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorevolversplitpoint |
table |
ammorevolversplitpoint 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorevolvervelocity |
table |
ammorevolvervelocity 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammorifleexpress |
table |
ammorifleexpress 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoriflenormal |
table |
ammoriflenormal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoriflesplitpoint |
table |
ammoriflesplitpoint 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoriflevelocity |
table |
ammoriflevelocity 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoshotgunnormal |
table |
ammoshotgunnormal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammoshotgunslug |
table |
ammoshotgunslug 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ammovarminttranq |
table |
ammovarminttranq 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Applee |
table |
applee 条目表。按文件中的示例添加、删除或修改条目。 |
↳ beer |
table |
beer 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Black_Berry |
table |
black berry 条目表。按文件中的示例添加、删除或修改条目。 |
↳ campfire |
table |
campfire 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Choc_Daisy |
table |
choc daisy 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Chocolate |
table |
chocolate 条目表。按文件中的示例添加、删除或修改条目。 |
↳ clothh |
table |
clothh 条目表。按文件中的示例添加、删除或修改条目。 |
↳ coal |
table |
coal 条目表。按文件中的示例添加、删除或修改条目。 |
↳ cocoa |
table |
cocoa 条目表。按文件中的示例添加、删除或修改条目。 |
↳ coffeebeans |
table |
coffeebeans 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_breakfast |
table |
consumable breakfast 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_caramel |
table |
consumable caramel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_chickenpie |
table |
consumable chickenpie 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_chocolate |
table |
consumable chocolate 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_chocolatecake |
table |
consumable chocolatecake 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_chocolatecoffee |
table |
consumable chocolatecoffee 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_coffee |
table |
consumable coffee 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_coffeecake |
table |
consumable coffeecake 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_fruitsalad |
table |
consumable fruitsalad 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_game |
table |
consumable game 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_kidneybeans_can |
table |
consumable kidneybeans can 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_peach |
table |
consumable peach 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_peachcobbler |
table |
consumable peachcobbler 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_poundcake |
table |
consumable poundcake 条目表。按文件中的示例添加、删除或修改条目。 |
↳ consumable_horse_meal |
table |
consumable horse meal 使用的游戏模型或实体。 |
↳ consumable_horse_peppermints |
table |
consumable horse peppermints 使用的游戏模型或实体。 |
↳ creeping_thyme |
table |
creeping thyme 条目表。按文件中的示例添加、删除或修改条目。 |
↳ copperbar |
table |
copperbar 条目表。按文件中的示例添加、删除或修改条目。 |
↳ English_Mace |
table |
english mace 条目表。按文件中的示例添加、删除或修改条目。 |
↳ grape |
table |
grape 条目表。按文件中的示例添加、删除或修改条目。 |
↳ haycube |
table |
haycube 条目表。按文件中的示例添加、删除或修改条目。 |
↳ honey |
table |
honey 条目表。按文件中的示例添加、删除或修改条目。 |
↳ hwood |
table |
hwood 条目表。按文件中的示例添加、删除或修改条目。 |
↳ iron |
table |
iron 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ironbar |
table |
ironbar 条目表。按文件中的示例添加、删除或修改条目。 |
↳ juice1 |
table |
juice1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ juice2 |
table |
juice2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ juice3 |
table |
juice3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ largenugget |
table |
largenugget 条目表。按文件中的示例添加、删除或修改条目。 |
↳ malt |
table |
malt 条目表。按文件中的示例添加、删除或修改条目。 |
↳ medium_beaver_meat |
table |
medium beaver meat 条目表。按文件中的示例添加、删除或修改条目。 |
↳ medium_boar_meat |
table |
medium boar meat 条目表。按文件中的示例添加、删除或修改条目。 |
↳ medium_bear_meat |
table |
medium bear meat 条目表。按文件中的示例添加、删除或修改条目。 |
↳ raw_meat |
table |
raw meat 条目表。按文件中的示例添加、删除或修改条目。 |
↳ mediumnugget |
table |
mediumnugget 条目表。按文件中的示例添加、删除或修改条目。 |
↳ mulberry |
table |
mulberry 条目表。按文件中的示例添加、删除或修改条目。 |
↳ oil |
table |
oil 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Parasol_Mushroom |
table |
parasol mushroom 条目表。按文件中的示例添加、删除或修改条目。 |
↳ perfect_beaver_meat |
table |
perfect beaver meat 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pistolbarrel |
table |
pistolbarrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pistolreceiver |
table |
pistolreceiver 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pistolrecmold |
table |
pistolrecmold 条目表。按文件中的示例添加、删除或修改条目。 |
↳ potato |
table |
potato 条目表。按文件中的示例添加、删除或修改条目。 |
↳ raspberryale |
table |
raspberryale 条目表。按文件中的示例添加、删除或修改条目。 |
↳ rawcotton |
table |
rawcotton 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Red_Raspberry |
table |
red raspberry 条目表。按文件中的示例添加、删除或修改条目。 |
↳ repeaterbarrel |
table |
repeaterbarrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ repeaterreceiver |
table |
repeaterreceiver 条目表。按文件中的示例添加、删除或修改条目。 |
↳ repeaterstock |
table |
repeaterstock 条目表。按文件中的示例添加、删除或修改条目。 |
↳ revolverbarrel |
table |
revolverbarrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ revolvercylinder |
table |
revolvercylinder 条目表。按文件中的示例添加、删除或修改条目。 |
↳ revolverhandle |
table |
revolverhandle 条目表。按文件中的示例添加、删除或修改条目。 |
↳ riflebarrel |
table |
riflebarrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ riflereceiver |
table |
riflereceiver 条目表。按文件中的示例添加、删除或修改条目。 |
↳ riflestock |
table |
riflestock 条目表。按文件中的示例添加、删除或修改条目。 |
↳ rubber |
table |
rubber 条目表。按文件中的示例添加、删除或修改条目。 |
↳ salt |
table |
salt 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shotgunbarrel |
table |
shotgunbarrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shotgunmold |
table |
shotgunmold 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shotgunstock |
table |
shotgunstock 条目表。按文件中的示例添加、删除或修改条目。 |
↳ smallnugget |
table |
smallnugget 条目表。按文件中的示例添加、删除或修改条目。 |
↳ string |
table |
string 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sugar |
table |
sugar 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sulfur |
table |
sulfur 条目表。按文件中的示例添加、删除或修改条目。 |
↳ tequila |
table |
tequila 条目表。按文件中的示例添加、删除或修改条目。 |
↳ vodka |
table |
vodka 条目表。按文件中的示例添加、删除或修改条目。 |
↳ water |
table |
water 条目表。按文件中的示例添加、删除或修改条目。 |
↳ WEAPON_BOW |
table |
weapon bow 使用的游戏模型或实体。 |
↳ WEAPON_BOW_IMPROVED |
table |
weapon bow improved 使用的游戏模型或实体。 |
↳ WEAPON_KIT_METAL_DETECTOR |
table |
weapon kit metal detector 使用的游戏模型或实体。 |
↳ WEAPON_LASSO |
table |
weapon lasso 使用的游戏模型或实体。 |
↳ WEAPON_LASSO_REINFORCED |
table |
weapon lasso reinforced 使用的游戏模型或实体。 |
↳ WEAPON_MELEE_KNIFE |
table |
weapon melee knife 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_M1899 |
table |
weapon pistol m1899 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_MAUSER |
table |
weapon pistol mauser 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_SEMIAUTO |
table |
weapon pistol semiauto 使用的游戏模型或实体。 |
↳ WEAPON_PISTOL_VOLCANIC |
table |
weapon pistol volcanic 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_CARBINE |
table |
weapon repeater carbine 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_EVANS |
table |
weapon repeater evans 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_HENRY |
table |
weapon repeater henry 使用的游戏模型或实体。 |
↳ WEAPON_REPEATER_WINCHESTER |
table |
weapon repeater winchester 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_CATTLEMAN |
table |
weapon revolver cattleman 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_DOUBLEACTION |
table |
weapon revolver doubleaction 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_LEMAT |
table |
weapon revolver lemat 使用的游戏模型或实体。 |
↳ WEAPON_REVOLVER_NAVY |
table |
weapon revolver navy 使用的游戏模型或实体。 |
config/jrs.lua - 9 个选项#
General
| Setting | Default | What it does |
|---|---|---|
REDEMPIRE |
table |
redempire 条目表。按文件中的示例添加、删除或修改条目。 |
↳ CoreResource |
"jrs_core" |
core resource 的设置。 |
↳ InventoryResource |
"jrs_inventory" |
inventory resource 的设置。 |
↳ ItemImagePath |
"nui://jrs_inventory/html/im... |
item image path 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ ItemImagePaths |
table |
item image paths 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ MaxWeapons |
7 |
Fallback only. The current jrs_inventory build is queried through jrsCore:canCarryWeapons first, so job/group weapon limits stay authoritative. |
↳ WeaponCapacityTimeoutMs |
3500 |
weapon capacity timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ NotificationDuration |
5000 |
notification duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
ItemAliases |
Config.ItemAliases or {} |
Optional recipe-name -> actual jrs_inventory item-name aliases. |
Notes from the README#
# jrs_crafting 6.0.0-jrs
Crafting system converted to use **jrs_core** and **jrs_inventory** directly.
## Verified against supplied builds
This package was reviewed against the supplied `jrs_core` build from 2026-08-12 and `jrs_inventory` v1.5.4. It uses the current account-group API, Character Rea
## Requirements
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_crafting
'''
No external progress-bar resource is required. The resource uses its internal craft timer and the supplied NUI.
## Main integration
Server integration is in:
'''text
server/services/jrs.lua
'''
It uses:
- `exports.jrs_core:getCoreApi()` for characters, money/gold and notifications.
- `exports.jrs_core:GetXP()` / `AddXP()` for crafting level and XP.
- `exports.jrs_core:IsCharacterReady()` / `GetCharacterState()` for character state.
- `exports.jrs_inventory:jrs_inventoryApi()` for item counts, capacity, add/remove, weapons and usable items.
Client code waits for `jrs_core` character readiness before enabling crafting prompts.
## Item installation
Import:
'''text
sql/jrs_items.sql
'''
The installer uses the current REDEMPIRE item columns:
'''text
item, label, limit, can_remove, type, usable, descriptions, metadata, category
'''
`limit` is the per-item weight used by `jrs_inventory`. Existing rows are not overwritten because the installer uses `INSERT IGNORE`.
Copy any missing item PNGs into:
'''text
jrs_inventory/html/images/items/
'''
## Configuration
Important files:
'''text
config/jrs.lua # jrs_core / jrs_inventory resource names and compatibility timeouts
config/settings.lua # timings, keys, distances and notifications
config/integrations.lua # REDEMPIRE XP, crafting price and webhook logging
config/security.lua # server-authoritative anti-abuse validation
config/admin.lua # recipe administration and audit optionsPaid (server only) jrs_fasttravel
jrs core Fast Travel - native jrs_core stagecoach travel system
| Resource | jrs_fasttravel |
| Folder | [ACTIVITIES] |
| Version | 1.3.0 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 10,966 Lua lines |
Exports
GetLoggingStatus, GetRecentLogs
Database tables
IF, jrs_fasttravel_destinations, jrs_fasttravel_logs
config/admin.lua - 26 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Admin |
table |
允许谁:admin 的职业、组或权限。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Command |
"ftadmin" |
command 的设置。 |
↳ SessionLifetimeMs |
600000 |
session lifetime ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ ActionRateWindowMs |
10000 |
action rate window ms 的比率或倍数。 |
↳ ActionsPerWindow |
20 |
actions per window 的数值(默认 20)。 |
↳ SnapshotRefreshMs |
3000 |
snapshot refresh ms 的数值(默认 3000)。 |
↳ MaxLogsShown |
100 |
max logs shown 的上限。 |
↳ AllowGlobalToggle |
true |
Allows global toggle:true = 是,false = 否(默认 true)。 |
↳ AllowCityToggle |
true |
Allows city toggle:true = 是,false = 否(默认 true)。 |
↳ AllowCancelTrip |
true |
Allows cancel trip:true = 是,false = 否(默认 true)。 |
↳ AllowCancelAllTrips |
true |
Allows cancel all trips:true = 是,false = 否(默认 true)。 |
↳ AllowCleanupBroadcast |
true |
Allows cleanup broadcast:true = 是,false = 否(默认 true)。 |
↳ AllowSecurityUnblock |
true |
Allows security unblock:true = 是,false = 否(默认 true)。 |
↳ AllowRuntimeMultiplier |
true |
Allows runtime multiplier:true = 是,false = 否(默认 true)。 |
↳ AllowBulkCityToggle |
true |
Allows bulk city toggle:true = 是,false = 否(默认 true)。 |
↳ AllowRuntimeReset |
true |
Allows runtime reset:true = 是,false = 否(默认 true)。 |
↳ AllowCreateDestination |
true |
Allows create destination:true = 是,false = 否(默认 true)。 |
↳ AllowUpdateDestination |
true |
Allows update destination:true = 是,false = 否(默认 true)。 |
↳ AllowDeleteDestination |
true |
Allows delete destination:true = 是,false = 否(默认 true)。 |
↳ MaxDynamicDestinations |
64 |
max dynamic destinations 的上限。 |
↳ CancelActiveTripsWhenGlobalDisabled |
true |
When service is disabled from the admin menu, active trips are safely cancelled and refunded instead of being left in an invalid state. |
↳ CancelTripsWhenCityDisabled |
true |
cancel trips when city disabled 的开关:true = 开,false = 关(默认 true)。 |
↳ CancelActiveTripsBeforeCleanup |
true |
Cleaning all coaches first cancels/refunds active journeys so no player is left inside a deleted vehicle or with a stale server travel token. |
↳ RuntimeMultiplierMin |
0.10 |
runtime multiplier min 的最低值或等级要求。 |
↳ RuntimeMultiplierMax |
10.00 |
runtime multiplier max 的上限。 |
config/build.lua - 7 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Build |
table |
build 条目表。按文件中的示例添加、删除或修改条目。 |
↳ SystemTitle |
Lang('Build.SystemTitle') |
system title 显示给玩家的文本。可修改以翻译或更名。 |
↳ Version |
"1.1.0" |
version 的设置。 |
↳ VersionType |
Lang('Build.VersionType') |
version type 的设置。 |
↳ VersionName |
Lang('Build.VersionName') |
version name 显示给玩家的文本。可修改以翻译或更名。 |
↳ ResourceName |
"jrs_fasttravel" |
resource name 显示给玩家的文本。可修改以翻译或更名。 |
↳ PrintStartupBanner |
true |
print startup banner 的开关:true = 开,false = 关(默认 true)。 |
config/cleanup.lua - 19 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Cleanup |
table |
cleanup 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ CaptureDraftAnimals |
true |
capture draft animals 的开关:true = 开,false = 关(默认 true)。 |
↳ DisableDraftAutoCreationBeforeDelete |
true |
Turns off draft auto creation before delete:true = 是,false = 否(默认 true)。 |
↳ HarnessSlots |
6 |
harness slots 的上限。 |
↳ NearbyScanRadius |
14.0 |
nearby scan radius 的游戏内距离。 |
↳ LateCaptureDelayMs |
500 |
late capture delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DeleteRetries |
5 |
delete retries 的数值(默认 5)。 |
↳ DeleteRetryDelayMs |
120 |
delete retry delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ NetworkControlTimeoutMs |
1200 |
network control timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ OrphanSweepAfterCleanup |
true |
orphan sweep after cleanup 的开关:true = 开,false = 关(默认 true)。 |
↳ OrphanSweepDelayMs |
250 |
orphan sweep delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ SafePlayerExitBeforeDelete |
true |
Safely place a player beside the coach before deleting the vehicle. |
↳ PlayerExitTimeoutMs |
1800 |
player exit timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ PlayerExitRightOffset |
2.8 |
player exit right offset 的数值(默认 2.8)。 |
↳ PlayerExitRearOffset |
-1.2 |
player exit rear offset 的数值(默认 -1.2)。 |
↳ PlayerExitUpOffset |
0.25 |
player exit up offset 的数值(默认 0.25)。 |
↳ RestorePlayerStateAfterCleanup |
true |
Restore controls/collision after any administrator or failure cleanup. |
↳ Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
config/destinations.lua - 1 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Destinations |
table |
map.x and map.y are percentages based on the original 10000 x 6325 map image. icon is an English-only local SVG badge shown on the map and in the hover card. Each destination has its own price, travel duration, transport, and desc |
config/interaction.lua - 15 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Interaction |
table |
interaction 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Control |
0x760A9C6F |
control 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Distance |
3.8 |
distance 的游戏内距离。 |
↳ HoldToOpen |
false |
hold to open 的开关:true = 开,false = 关(默认 false)。 |
↳ NpcSpawnDistance |
120.0 |
npc spawn distance 的游戏内距离。 |
↳ NpcDeleteDistance |
145.0 |
npc delete distance 的游戏内距离。 |
↳ PromptLabel |
Lang('Interaction.PromptLabe... |
prompt label 显示给玩家的文本。可修改以翻译或更名。 |
↳ PromptGroupLabel |
Lang('Interaction.PromptGrou... |
允许谁:prompt group label 的职业、组或权限。 |
Ped |
table |
Station-attendant ped settings. Explicit RDR3 hashes are used because some RedM artifacts can return false from generic model-validation wrappers. |
↳ DefaultModel |
table |
Explicit RDR3 model hashes are used so station attendants do not depend on model-name hashing or GTA-style native wrappers. |
↳ FallbackModels |
table |
fallback models 使用的游戏模型或实体。 |
↳ ModelLoadTimeoutMs |
10000 |
model load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ RequestIntervalMs |
250 |
request interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ SpawnRetryMs |
30000 |
spawn retry ms 使用的世界坐标(x, y, z)。 |
↳ InvalidModelLogCooldownMs |
60000 |
invalid model log cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
config/interface.lua - 66 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Interface |
table |
interface 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ShowCityLabels |
true |
Shows city labels:true = 是,false = 否(默认 true)。 |
↳ ShowRegionOnHover |
true |
Shows region on hover:true = 是,false = 否(默认 true)。 |
↳ HighlightCurrentStation |
true |
highlight current station 的开关:true = 开,false = 关(默认 true)。 |
Text |
table |
text 显示给玩家的文本。可修改以翻译或更名。 |
↳ MenuTitle |
Lang('Text.MenuTitle') |
menu title 显示给玩家的文本。可修改以翻译或更名。 |
↳ MenuSubtitle |
Lang('Text.MenuSubtitle') |
menu subtitle 的设置。 |
↳ Close |
Lang('Text.Close') |
close 的设置。 |
↳ TravelNow |
Lang('Text.TravelNow') |
travel now 的设置。 |
↳ Destination |
Lang('Text.Destination') |
destination 的设置。 |
↳ SelectDestination |
Lang('Text.SelectDestination... |
select destination 的设置。 |
↳ CurrentLocation |
Lang('Text.CurrentLocation') |
current location 使用的世界坐标(x, y, z)。 |
↳ Price |
Lang('Text.Price') |
price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ Region |
Lang('Text.Region') |
region 的设置。 |
↳ TravelTime |
Lang('Text.TravelTime') |
travel time 的设置。 |
↳ Free |
Lang('Text.Free') |
free 的设置。 |
↳ MoneySymbol |
Lang('Text.MoneySymbol') |
money symbol 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ GoldLabel |
Lang('Text.GoldLabel') |
gold label 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ TravelPrompt |
Lang('Text.TravelPrompt') |
travel prompt 显示给玩家的文本。可修改以翻译或更名。 |
↳ Paid |
Lang('Text.Paid') |
paid 的设置。 |
↳ FreeTravel |
Lang('Text.FreeTravel') |
free travel 的设置。 |
↳ NotEnoughMoney |
Lang('Text.NotEnoughMoney') |
not enough money 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ InvalidDestination |
Lang('Text.InvalidDestinatio... |
invalid destination 的设置。 |
↳ CityUnavailable |
Lang('Text.CityUnavailable') |
city unavailable 的设置。 |
↳ SameDestination |
Lang('Text.SameDestination') |
same destination 的设置。 |
↳ TooFar |
Lang('Text.TooFar') |
too far 的设置。 |
↳ Cooldown |
Lang('Text.Cooldown') |
cooldown 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CooldownSeconds |
Lang('Text.CooldownSeconds') |
cooldown seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CharacterUnavailable |
Lang('Text.CharacterUnavaila... |
character unavailable 的设置。 |
↳ CoreUnavailable |
Lang('Text.CoreUnavailable') |
core unavailable 的设置。 |
↳ UnsupportedCurrency |
Lang('Text.UnsupportedCurren... |
unsupported currency 的设置。 |
↳ Busy |
Lang('Text.Busy') |
busy 的设置。 |
↳ Dead |
Lang('Text.Dead') |
dead 的设置。 |
↳ Combat |
Lang('Text.Combat') |
combat 的设置。 |
↳ Falling |
Lang('Text.Falling') |
falling 的设置。 |
↳ Ragdoll |
Lang('Text.Ragdoll') |
ragdoll 的设置。 |
↳ ClosedAtNight |
Lang('Text.ClosedAtNight') |
closed at night 的设置。 |
↳ Closed |
Lang('Text.Closed') |
closed 的设置。 |
↳ JobDenied |
Lang('Text.JobDenied') |
允许谁:job denied 的职业、组或权限。 |
↳ NoPermission |
Lang('Text.NoPermission') |
允许谁:no permission 的职业、组或权限。 |
↳ TravelFailed |
Lang('Text.TravelFailed') |
travel failed 的设置。 |
↳ PaymentFailed |
Lang('Text.PaymentFailed') |
payment failed 的设置。 |
↳ ServerResponseTimeout |
Lang('Text.ServerResponseTim... |
server response timeout 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ TeleportFallback |
Lang('Text.TeleportFallback'... |
teleport fallback 的设置。 |
↳ TravelPreparing |
Lang('Text.TravelPreparing') |
travel preparing 的设置。 |
↳ BoardingStagecoach |
Lang('Text.BoardingStagecoac... |
boarding stagecoach 的设置。 |
↳ TravelInProgress |
Lang('Text.TravelInProgress'... |
travel in progress 的设置。 |
↳ DriverTakingYou |
Lang('Text.DriverTakingYou') |
driver taking you 的设置。 |
↳ TravelArrival |
Lang('Text.TravelArrival') |
travel arrival 的设置。 |
↳ TravelTransfer |
Lang('Text.TravelTransfer') |
travel transfer 的设置。 |
↳ TravelBlackout |
Lang('Text.TravelBlackout') |
travel blackout 的设置。 |
↳ ArrivalDetail |
Lang('Text.ArrivalDetail') |
arrival detail 的设置。 |
↳ Welcome |
Lang('Text.Welcome') |
welcome 的设置。 |
↳ WelcomeArrived |
Lang('Text.WelcomeArrived') |
welcome arrived 的设置。 |
↳ TravelRefunded |
Lang('Text.TravelRefunded') |
travel refunded 的设置。 |
↳ TravelFailedStage |
Lang('Text.TravelFailedStage... |
travel failed stage 的设置。 |
↳ FareQuoteExpired |
Lang('Text.FareQuoteExpired'... |
fare quote expired 的设置。 |
↳ MorningRate |
Lang('Text.MorningRate') |
morning rate 的比率或倍数。 |
↳ DayRate |
Lang('Text.DayRate') |
day rate 的比率或倍数。 |
↳ EveningRate |
Lang('Text.EveningRate') |
evening rate 的比率或倍数。 |
↳ NightRate |
Lang('Text.NightRate') |
night rate 的比率或倍数。 |
↳ StandardRate |
Lang('Text.StandardRate') |
standard rate 的比率或倍数。 |
↳ LoadingRate |
Lang('Text.LoadingRate') |
loading rate 的比率或倍数。 |
↳ Loading |
Lang('Text.Loading') |
loading 的设置。 |
↳ DistanceKilometers |
Lang('Text.DistanceKilometer... |
distance kilometers 的游戏内距离。 |
↳ PlayersInCity |
Lang('Text.PlayersInCity') |
players in city 的设置。 |
Notes from the README#
## In-game destination builder (1.1.3)
Administrators can open the Fast Travel admin menu and use the **DESTINATIONS** tab to create persistent travel locations without editing Lua files. The builder
Locations created from the admin menu are saved in the `jrs_fasttravel_destinations` SQL table, restored after resource/server restarts, and synchronized live t
# REDEMPIRE Fast Travel
`jrs_fasttravel` is the REDEMPIRE-native rewrite of the stagecoach fast travel resource for RedM.
The resource now integrates directly with `jrs_core`. The old multi-core bridge and its framework selection files are not part of this build.
## Resource
- Name: `jrs_fasttravel`
- Version: `1.1.2`
- Game: RedM / RDR3
- Core: `jrs_core`
- Author: `jrs`
## Main features
- Stagecoach fast travel between configured towns.
- Server-authoritative destination validation and payment.
- Cash or gold payment through `jrs_core`.
- Distance-based dynamic fares.
- Time-of-day fare multipliers.
- Server-issued one-use travel quotes.
- Per-city service enable/disable state.
- Global service enable/disable state.
- Job and grade restrictions per destination.
- Destination population display.
- Spawned coach/driver/horse cleanup.
- Travel failure refunds.
- Security rate limits and travel tokens.
- Built-in NUI notifications with REDEMPIRE notification fallback.
- Administrator menu using `jrs_core` staff groups.
- Optional database and Discord audit logging.
## Requirements
Required:
'''text
jrs_core
'''
Recommended / required by the normal REDEMPIRE stack:
'''text
oxmysql
'''
`oxmysql` is a required dependency in this build because administrator-created Fast Travel destinations are stored in SQL. The destination table is created auto
No inventory resource is required by Fast Travel.
## Installation
1. Extract the folder as exactly:
'''text
jrs_fasttravel
'''Paid (server only) jrs_fightarena
JRS Fight Arena - deathmatch arena on jrs_core: temporary loadouts, groups, weekly top 10 prizes, events
| Resource | jrs_fightarena |
| Folder | [ACTIVITIES] |
| Version | 2.3.2 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 3,473 Lua lines |
Commands
/arenaevent/arenakick/arenareset/scope/scopes
Exports
GetArenaPlayers, IsInArena
Database tables
jrs_fightarena_pairs, jrs_fightarena_rewards, jrs_fightarena_stats, jrs_fightarena_weekly, jrs_fightarena_weeks
config/config.lua - 73 个选项#
JRS FIGHT ARENA (deathmatch) - configuration
| Setting | Default | What it does |
|---|---|---|
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
Entry
| Setting | Default | What it does |
|---|---|---|
EntryFee |
50 |
charged by the server on every entry (0 = free) |
EntryCurrency |
0 |
0 = money, 1 = gold |
MaxPlayers |
24 |
max players 的上限。 |
JoinCooldown |
10 |
seconds between two entries of the same player |
RespawnSeconds |
8 |
wait before an arena respawn |
SpawnProtectionMs |
3000 |
invincible after a respawn (cancelled by shooting) |
Arena master (outside the fence) and the exit clerk (inside the fence)
| Setting | Default | What it does |
|---|---|---|
Lobby |
table |
Coordinates are player-standing height; peds are created at z - 1.0. |
↳ coords |
vector4(-4185.269, -3413.116... |
coords 使用的世界坐标(x, y, z)。 |
↳ model |
"s_m_m_dispatchleaderpolice_01" |
model 使用的游戏模型或实体。 |
↳ scenario |
'WORLD_HUMAN_SMOKE_NERVOUS_S... |
scenario 的动画设置。 |
↳ promptDistance |
2.2 |
prompt distance 的游戏内距离。 |
↳ spawnDistance |
40.0 |
spawn distance 的游戏内距离。 |
↳ blip |
table |
blip 的地图标记或图标设置。 |
ExitClerk |
table |
exit clerk 条目表。按文件中的示例添加、删除或修改条目。 |
↳ coords |
vector4(-4189.850, -3416.763... |
coords 使用的世界坐标(x, y, z)。 |
↳ model |
"s_m_m_dispatchleaderpolice_01" |
model 使用的游戏模型或实体。 |
↳ scenario |
'WORLD_HUMAN_SMOKE_NERVOUS_S... |
scenario 的动画设置。 |
↳ promptDistance |
2.2 |
prompt distance 的游戏内距离。 |
↳ spawnDistance |
40.0 |
spawn distance 的游戏内距离。 |
ExitPoint |
vector4(-4178.627, -3416.370... |
Where a player is put back when leaving the arena (outside the fence). |
Arena zone
| Setting | Default | What it does |
|---|---|---|
Arena |
table |
close to the centre is moved to the ExitPoint (e.g. after a disconnect mid-match). Must stay inside the fence and must not reach the lobby ped. |
↳ center |
vector3(-4217.394, -3459.406... |
center 的设置。 |
↳ LeaveRadius |
62.0 |
leave radius 的游戏内距离。 |
↳ StuckRadius |
48.0 |
stuck radius 的游戏内距离。 |
SpawnPoints |
table |
Spawn points inside the arena. The server picks the point farthest from living enemies, so add as many as you like. |
Temporary loadout (arena-only weapons, never touch the inventory)
| Setting | Default | What it does |
|---|---|---|
Loadout |
table |
(right + left holster, dual wield), two long arms (both shoulders), two melee and two thrown weapons. A name this game build doesn't know is skipped on the client (IsWeaponValid), so it never shows or gets given. |
↳ Slots |
table |
slots 的上限。 |
↳ SlotType |
table |
which weapon category each slot accepts |
↳ Default |
table |
default 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Scopes |
table |
Available scopes for rifles / snipers / repeaters |
↳ AllowSameSidearm |
true |
the same revolver/pistol may fill both sidearm slots (dual wield a pair) |
↳ AmmoPerWeapon |
999 |
guns get infinite ammo on top of this |
↳ ThrownPerLife |
5 |
thrown weapons: this many per life, NOT infinite |
↳ Weapons |
table |
weapons 使用的游戏模型或实体。 |
↳ AmmoTypes |
table |
Every ammo type is zeroed on leave, so arena ammo can never reach a real weapon. |
Groups (teams)
| Setting | Default | What it does |
|---|---|---|
Groups |
table |
允许谁:groups 的职业、组或权限。 |
↳ MaxMembers |
4 |
max members 的上限。 |
↳ NameMin |
3 |
name min 的最低值或等级要求。 |
↳ NameMax |
20 |
name max 的上限。 |
↳ InviteSeconds |
60 |
invite seconds 的数值(默认 60)。 |
↳ InviteRange |
60.0 |
target must be this close to the lobby or inside the arena |
↳ FriendlyFire |
false |
false = teammates' hits are undone |
↳ TeamKillPenalty |
1 |
kills removed from a player who kills a teammate |
Scoring / anti-farm
| Setting | Default | What it does |
|---|---|---|
Score |
table |
score 条目表。按文件中的示例添加、删除或修改条目。 |
↳ MaxKillDistance |
150.0 |
killer must be this close to the victim (server-checked) |
↳ FarmWindowSeconds |
600 |
same killer -> same victim credit window |
↳ FarmMaxKills |
5 |
credited kills per pair inside the window |
↳ WeeklyPairMax |
15 |
credited kills per killer -> same victim ACCOUNT per week (stops friends farming prizes) |
↳ KillReward |
0 |
money per credited kill (0 = off) |
↳ LeaderboardSize |
10 |
leaderboard size 的数值(默认 10)。 |
↳ LeaderboardCacheSeconds |
30 |
leaderboard cache seconds 的数值(默认 30)。 |
Weekly leaderboard + prizes
| Setting | Default | What it does |
|---|---|---|
Weekly |
table |
The board resets every Monday 00:00 (database clock). When a week ends the top 10 (with at least MinKills) get a cash prize they claim in the arena menu (REWARDS tab). Only server-verified kills count. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ MinKills |
10 |
a player needs this many kills in the week to win a prize |
↳ Prizes |
table |
rank 1..10 ($) |
↳ Milestones |
table |
Kill milestones inside one week (each paid once per week). |
↳ AnnounceWinner |
false |
no server-wide toast: only arena EVENTS notify players |
↳ BoardSize |
10 |
board size 的数值(默认 10)。 |
Events
| Setting | Default | What it does |
|---|---|---|
Events |
table |
free_entry : no entry fee Schedule uses the SERVER clock. wday: 1 = Sunday ... 7 = Saturday. Admins: /arenaevent <double_points|cash_kill|free_entry> <minutes>, /arenaevent stop |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Types |
table |
types 条目表。按文件中的示例添加、删除或修改条目。 |
↳ MaxMinutes |
240 |
max minutes 的上限。 |
↳ Schedule |
table |
schedule 条目表。按文件中的示例添加、删除或修改条目。 |
Controls (verified hashes from jrs_utils/shared/keys.lua)
| Setting | Default | What it does |
|---|---|---|
Keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Menu |
0x760A9C6F |
G |
↳ Leave |
0xCEFD9220 |
E |
↳ Inventory |
0xC1989F95 |
I (blocked inside the arena) |
PromptCooldownMs |
900 |
prompt cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
Notifications |
table |
arena EVENT announcements (start/end/event cash) and admin command replies. Everything else (errors, kills, group news, loadout saved...) is shown inside the arena menu, or on the arena HUD while fighting - never as a toast. |
↳ EventsOnly |
true |
events only 的开关:true = 开,false = 关(默认 true)。 |
Command |
"arena" |
opens the menu near the arena master or inside the arena |
AdminAce |
"jrs_fightarena.admin" |
允许谁:admin ace 的职业、组或权限。 |
Paid (server only) jrs_fillet
JRS Five Finger Fillet - Western Knife Game Minigame
| Resource | jrs_fillet |
| Folder | [ACTIVITIES] |
| Version | 1.2.0 |
| Author | JRS TEAM |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 2,165 Lua lines |
config.lua - 41 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"ar" |
اللغات المدعومة: 'ar' (العربية) أو 'en' (English) |
ScoreTimer |
table |
إعدادات التوقيت والنقاط Colors: https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/colours |
↳ Time |
30 |
مدة الجولة بالثواني |
↳ LeftColor |
"COLOR_GREEN" |
left color 的设置。 |
↳ RightColor |
"COLOR_GREENDARK" |
right color 的设置。 |
Keys |
table |
أزرار التحكم Keys: https://github.com/femga/rdr3_discoveries/tree/master/Controls |
↳ Seat |
"INPUT_INTERACT_OPTION1" |
G للجلوس |
↳ StartDuel |
"INPUT_CREATOR_ACCEPT" |
ENTER لبدء المبارزة |
↳ Practice |
"INPUT_INTERACT_OPTION1" |
G للتدريب المنفرد |
↳ GoOut |
"INPUT_GAME_MENU_CANCEL" |
BACKSPACE للنهوض |
↳ Flourish |
"F" |
F لحركة استعراض السكين (0xB2F377E8) |
↳ Zoom |
"INPUT_INSPECT_ZOOM" |
كليك يمين الماوس لتقريب الكاميرا |
↳ Finger1 |
"INPUT_FRONTEND_UP" |
سهم أعلى |
↳ Finger2 |
"INPUT_FRONTEND_LEFT" |
سهم يسار |
↳ Finger3 |
"INPUT_FRONTEND_DOWN" |
سهم أسفل |
↳ Finger4 |
"INPUT_FRONTEND_RIGHT" |
سهم يمين |
↳ Finger5 |
"INPUT_FRONTEND_LEFT" |
سهم يسار |
↳ Finger6 |
"INPUT_FRONTEND_DOWN" |
سهم أسفل |
↳ ExitGame |
"INPUT_GAME_MENU_CANCEL" |
BACKSPACE للخروج من اللعبة في أي وقت |
Sounds |
table |
أصوات اللعبة فقط (بدون أي أصوات خارجية من الواجهة) - { اسم الصوت, مجموعة الأصوات } |
↳ Stab |
table |
ضربة صحيحة |
↳ Miss |
table |
جرح / خطأ |
↳ Countdown |
table |
عد تنازلي للمبارزة |
↳ CountdownGo |
table |
بداية المبارزة |
↳ RoundEnd |
table |
نهاية الجولة |
↳ DuelWin |
table |
فوز بالمبارزة |
↳ DuelLose |
table |
خسارة المبارزة |
KeyFingersRandom |
false |
تفعيل الترتيب العشوائي (true) أو التسلسلي الثابت (false) |
SetScale |
false |
تعطيل تغيير سكيل الشخصية للحفاظ على طولها وشكلها الأصلي |
MissDamage |
5 |
مقدار الضرر عند جرح الإصبع |
KnifeAttach |
table |
سكين اللعبة الأصلي من ريد ديد (p_filletknife01x) يُركّب على عظمة PH_R_Hand بدون إزاحة حتى يطابق أنيميشن الطعن ويمر رأس السكين بين الأصابع فعلاً. عدّل هنا فقط لو ظهر مائل. |
StabPattern |
table |
ترتيب مواضع السكين بين الأصابع مثل ريد ديد أونلاين: 1..5 ثم رجوع 4..2 (0 = خارج الإبهام) |
Economy |
table |
ربط السكربت باقتصاد ونظام خبرة السيرفر (jrs_core Integration) |
↳ EnableBetting |
false |
تفعيل نظام الرهان المالي بين اللاعبين في المبارزة (true/false) |
↳ DuelBetAmount |
1.0 |
مبلغ الرهان المقتطع من كل لاعب في المبارزة (في حال تفعيل الرهان) |
↳ DuelWinRewardMoney |
2.50 |
فلوس تُمنح للفائز في المبارزة (دولار كاش في المحفظة) |
↳ DuelWinXP |
50 |
نقاط خبرة (XP) تُمنح للفائز في المبارزة |
↳ PracticeRewardMoney |
0.15 |
فلوس تُمنح عند إنهاء التدريب بنجاح |
↳ PracticeXP |
20 |
نقاط خبرة (XP) تُمنح عند إنهاء التدريب بنجاح |
↳ MinScoreForXP |
300 |
الحد الأدنى للنقاط في التدريب للحصول على المكافأة |
Locations |
table |
المواقع في العالم |
Free (included in JRS Core) jrs_guarma
Prompt key used at every port to open the travel menu.
| Resource | jrs_guarma |
| Folder | [ACTIVITIES] |
| Version | 1.6.0 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 2,678 Lua lines |
Commands
/guarma/guarmaadmin/guarmamenu/setguarmamanager
Exports
GetOwnerFacilityPanel, GetSettings, GetTreasuryBalance, HasFacilityAccess, IsInGuarma, IsIslandOwner, IsManager, OpenAdmin, OwnerSetFacilityAccess, RefreshOwner, ResolveCharId, SetAccess, SetManager, SetSetting, SetTicketPrice, SetTravelMode
Database tables
jrs_guarma_access, jrs_guarma_facility_access, jrs_guarma_managers, jrs_guarma_settings
config/config.lua - 65 个选项#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"ar" |
defaultlang 的设置。 |
keys |
table |
Prompt key used at every port to open the travel menu. |
↳ menu |
0xC7B5340A |
[Enter] |
ticketItem |
"guarmaTicket" |
Default travel ticket. Individual destinations can require a different item through their own requiredItem block. |
ride |
table |
Optional scripted boat / balloon ride, played on arrival. |
↳ maxSpawnDistance |
150.0 |
A ride whose spawn is further than this from the arriving player is skipped instead of dragging them to it. Guards against a misconfigured destination silently teleporting somebody across the map. |
menu |
table |
menu 条目表。按文件中的示例添加、删除或修改条目。 |
↳ hideHud |
true |
Hide the jrs HUDs while the travel menu is open |
↳ fadeTime |
1500 |
Screen fade in / out duration (ms) |
↳ escToClose |
true |
Allow ESC to close the menu |
worldState |
table |
Guarma island world state (horizon, water type, minimap zone). |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ checkInterval |
1000 |
How often the island boundary is re-checked (ms) |
promptLoop |
table |
frame; outside it the loop idles at idleInterval. Without a band wider than shop.distance the prompt only appears up to a full interval after the player has already walked into range. |
↳ wakeDistance |
20.0 |
wake distance 的游戏内距离。 |
↳ idleInterval |
500 |
idle interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
admin |
table |
Admin commands. Permission is checked against jrs_core groups. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ tpCommand |
"tpguarma" |
/tpguarma [playerId] - send a player to Guarma |
↳ exitCommand |
"exitguarma" |
/exitguarma [playerId] - pull a player back to the mainland |
↳ guarmaPort |
"guarma" |
Shop key used as the Guarma arrival point |
↳ mainPort |
"stdenis" |
Shop key used as the mainland arrival point |
managers |
table |
can grant/revoke player access to Guarma (/guarmaaccess) and cash out the Guarma treasury (/guarmawithdraw). Only a full admin can promote/demote a manager, from the Script Admin Hub (JOBS -> Guarma Administration). |
↳ accessCommand |
"guarmaaccess" |
/guarmaaccess [playerId] [remove] - grant/revoke Guarma access |
↳ withdrawCommand |
"guarmawithdraw" |
/guarmawithdraw <amount> [bank] - pay out the Guarma treasury to yourself |
treasury |
table |
Guarma Managers can pull it out with /guarmawithdraw. jrs_banking is an optional integration: if it is not running the money is still taken from the player, it just is not deposited anywhere. |
↳ jobName |
"guarma" |
允许谁:job name 的职业、组或权限。 |
↳ label |
"Guarma Bank (بنك قواراما)" |
label 显示给玩家的文本。可修改以翻译或更名。 |
↳ bankName |
"Guarma" |
bank name 显示给玩家的文本。可修改以翻译或更名。 |
shops |
table |
shops 条目表。按文件中的示例添加、删除或修改条目。 |
↳ stdenis |
table |
stdenis 条目表。按文件中的示例添加、删除或修改条目。 |
↳ guarma |
table |
guarma 条目表。按文件中的示例添加、删除或修改条目。 |
BlipColors |
table |
blip colors 的地图标记或图标设置。 |
↳ LIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_1" |
light blue 的设置。 |
↳ DARK_RED |
"BLIP_MODIFIER_MP_COLOR_2" |
dark red 的设置。 |
↳ PURPLE |
"BLIP_MODIFIER_MP_COLOR_3" |
purple 的设置。 |
↳ ORANGE |
"BLIP_MODIFIER_MP_COLOR_4" |
orange 的设置。 |
↳ TEAL |
"BLIP_MODIFIER_MP_COLOR_5" |
teal 的设置。 |
↳ LIGHT_YELLOW |
"BLIP_MODIFIER_MP_COLOR_6" |
light yellow 的设置。 |
↳ PINK |
"BLIP_MODIFIER_MP_COLOR_7" |
pink 的设置。 |
↳ GREEN |
"BLIP_MODIFIER_MP_COLOR_8" |
green 的设置。 |
↳ DARK_TEAL |
"BLIP_MODIFIER_MP_COLOR_9" |
dark teal 的设置。 |
↳ RED |
"BLIP_MODIFIER_MP_COLOR_10" |
red 的设置。 |
↳ LIGHT_GREEN |
"BLIP_MODIFIER_MP_COLOR_11" |
light green 的设置。 |
↳ TEAL2 |
"BLIP_MODIFIER_MP_COLOR_12" |
teal2 的设置。 |
↳ BLUE |
"BLIP_MODIFIER_MP_COLOR_13" |
blue 的设置。 |
↳ DARK_PUPLE |
"BLIP_MODIFIER_MP_COLOR_14" |
dark puple 的设置。 |
↳ DARK_PINK |
"BLIP_MODIFIER_MP_COLOR_15" |
dark pink 的设置。 |
↳ DARK_DARK_RED |
"BLIP_MODIFIER_MP_COLOR_16" |
dark dark red 的设置。 |
↳ GRAY |
"BLIP_MODIFIER_MP_COLOR_17" |
gray 的设置。 |
↳ PINKISH |
"BLIP_MODIFIER_MP_COLOR_18" |
pinkish 的设置。 |
↳ YELLOW_GREEN |
"BLIP_MODIFIER_MP_COLOR_19" |
yellow green 的设置。 |
↳ DARK_GREEN |
"BLIP_MODIFIER_MP_COLOR_20" |
dark green 的设置。 |
↳ BRIGHT_BLUE |
"BLIP_MODIFIER_MP_COLOR_21" |
bright blue 的设置。 |
↳ BRIGHT_PURPLE |
"BLIP_MODIFIER_MP_COLOR_22" |
bright purple 的设置。 |
↳ YELLOW_ORANGE |
"BLIP_MODIFIER_MP_COLOR_23" |
yellow orange 的设置。 |
↳ BLUE2 |
"BLIP_MODIFIER_MP_COLOR_24" |
blue2 的设置。 |
↳ TEAL3 |
"BLIP_MODIFIER_MP_COLOR_25" |
teal3 的设置。 |
↳ TAN |
"BLIP_MODIFIER_MP_COLOR_26" |
tan 的设置。 |
↳ OFF_WHITE |
"BLIP_MODIFIER_MP_COLOR_27" |
off white 的设置。 |
↳ LIGHT_YELLOW2 |
"BLIP_MODIFIER_MP_COLOR_28" |
light yellow2 的设置。 |
↳ LIGHT_PINK |
"BLIP_MODIFIER_MP_COLOR_29" |
light pink 的设置。 |
↳ LIGHT_RED |
"BLIP_MODIFIER_MP_COLOR_30" |
light red 的设置。 |
↳ LIGHT_YELLOW3 |
"BLIP_MODIFIER_MP_COLOR_31" |
light yellow3 的设置。 |
↳ WHITE |
"BLIP_MODIFIER_MP_COLOR_32" |
white 的设置。 |
Free (included in JRS Core) jrs_herbs
jrs core Herbs - standalone herbalism with strict jrs_farming separation
| Resource | jrs_herbs |
| Folder | [ACTIVITIES] |
| Version | 5.5.0 |
| Author | jrs team |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 8,158 Lua lines |
Commands
/-jrs_herbs_inspect
Exports
AddHerbalismXP, GetHerbCatalog, GetHerbDefinition, GetHerbItemCount, GetHerbalismLevel, GetHerbalismProgression, IsHerbItem, SetHerbalismLevel, SetHerbalismXP
Database tables
IF, jrs_herbs_progress
config/branding.lua - 5 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Branding |
table |
Startup console banner. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ SystemName |
"REDEMPIRE HERBS SYSTEM" |
system name 显示给玩家的文本。可修改以翻译或更名。 |
↳ VersionName |
"REDEMPIRE HERBS" |
version name 显示给玩家的文本。可修改以翻译或更名。 |
↳ VersionType |
"RELEASE" |
version type 的设置。 |
config/consumables.lua - 7 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Food |
table |
Inventory-use timing and metabolism provider. |
↳ UseCooldownMs |
2500 |
use cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ AutoRegisterPlantRewards |
true |
Automatically handles register plant rewards:true = 是,false = 否(默认 true)。 |
↳ ApplyToxicDamage |
true |
apply toxic damage 的开关:true = 开,false = 关(默认 true)。 |
↳ ToxicDamage |
5 |
toxic damage 的数值(默认 5)。 |
Metabolism |
table |
metabolism 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Provider |
"auto" |
auto, framework |
config/database.lua - 7 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Database |
table |
Persistent herbalism data. The resource auto-detects a supported MySQL adapter. |
↳ Provider |
"auto" |
auto, oxmysql, mysql-async, ghmattimysql, kvp |
↳ AutoCreateTable |
true |
Automatically handles create table:true = 是,false = 否(默认 true)。 |
↳ Table |
"jrs_herbs_progress" |
table 的设置。 |
↳ QueryTimeoutMs |
10000 |
query timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ FallbackToKvp |
true |
fallback to kvp 的开关:true = 开,false = 关(默认 true)。 |
↳ DetectionOrder |
table |
detection order 条目表。按文件中的示例添加、删除或修改条目。 |
config/farming_exclusions.lua - 127 个选项#
General
| Setting | Default | What it does |
|---|---|---|
FarmingOwnedItems |
table |
Cultivated farming items are owned by jrs_farming, never by jrs_herbs. The comparison is punctuation/case-insensitive so Black_Berry == Blackberry. Keep the inventory rows themselves: farming still needs those items. |
↳ agaritaseed |
true |
Agarita_Seed |
↳ alaskanginsengseed |
true |
Alaskan_Ginseng_Seed |
↳ americanginsengseed |
true |
American_Ginseng_Seed |
↳ appleseed |
true |
Apple_Seed |
↳ bitterweedseed |
true |
Bitter_Weed_Seed |
↳ blackberryseed |
true |
Black_Berry_Seed |
↳ blackcurrantseed |
true |
Black_Currant_Seed |
↳ bloodflowerseed |
true |
Blood_Flower_Seed |
↳ bulrushseed |
true |
Bulrush_Seed |
↳ burdockrootseed |
true |
Burdock_Root_Seed |
↳ cardinalflowerseed |
true |
Cardinal_Flower_Seed |
↳ chanterellesseed |
true |
Chanterelles_Seed |
↳ chocdaisyseed |
true |
Choc_Daisy_Seed |
↳ cocoaseeds |
true |
cocoaseeds |
↳ cornseed |
true |
cornseed |
↳ creekingthymeseed |
true |
Creeking_Thyme_Seed |
↳ creekplumseed |
true |
Creekplum_Seed |
↳ crowsgarlicseed |
true |
Crows_Garlic_Seed |
↳ desertsageseed |
true |
Desert_Sage_Seed |
↳ englishmaceseed |
true |
English_Mace_Seed |
↳ evergreenhuckleberryseed |
true |
Evergreen_Huckleberry_Seed |
↳ goldencurrantseed |
true |
Golden_Currant_Seed |
↳ hempseed |
true |
hemp_seed |
↳ hopseed |
true |
hop_seed |
↳ hummingbirdsageseed |
true |
Hummingbird_Sage_Seed |
↳ indiantobbacoseed |
true |
Indian_Tobbaco_Seed |
↳ milkweedseed |
true |
Milk_Weed_Seed |
↳ oleandersageseed |
true |
Oleander_Sage_Seed |
↳ oreganoseed |
true |
Oregano_Seed |
↳ parasolmushroomseed |
true |
Parasol_Mushroom_Seed |
↳ peachseeds |
true |
peachseeds |
↳ potatoseed |
true |
potatoseed |
↳ prairiepoppyseed |
true |
Prairie_Poppy_Seed |
↳ ramsheadseed |
true |
Rams_Head_Seed |
↳ redraspberryseed |
true |
Red_Raspberry_Seed |
↳ redsageseed |
true |
Red_Sage_Seed |
↳ saltbushseed |
true |
Saltbush_Seed |
↳ sugarcube_seed |
true |
sugarcube_seed |
↳ sugarcubeseed |
true |
sugarcubeseed |
↳ sugarcaneseed |
true |
sugarcaneseed |
↳ texasbonnetseed |
true |
Texas_Bonnet_Seed |
↳ tomatoseed |
true |
tomatoseed |
↳ violetsnowdropseed |
true |
Violet_Snowdrop_Seed |
↳ wheatseed |
true |
wheatseed |
↳ wildcarrotseed |
true |
Wild_Carrot_Seed |
↳ wildfeverfewseed |
true |
Wild_Feverfew_Seed |
↳ wildmintseed |
true |
Wild_Mint_Seed |
↳ wildrhubarbseed |
true |
Wild_Rhubarb_Seed |
↳ wintergreenberryseed |
true |
Wintergreen_Berry_Seed |
↳ wisteriaseed |
true |
Wisteria_Seed |
↳ yarrowseed |
true |
Yarrow_Seed |
↳ coffeeseeds |
true |
coffeeseeds |
↳ teaseeds |
true |
teaseeds |
↳ maltseed |
true |
malt_seed |
↳ grapesseed |
true |
grapes_seed |
↳ aloeveraseed |
true |
aloe_vera_seed |
↳ lavenderseed |
true |
lavender_seed |
↳ chamomileseed |
true |
chamomile_seed |
↳ echinaceaseed |
true |
echinacea_seed |
↳ weedseed |
true |
weed_seed |
↳ agarita |
true |
Agarita |
↳ alaskanginseng |
true |
Alaskan_Ginseng |
↳ americanginseng |
true |
American_Ginseng |
↳ apple |
true |
apple |
↳ bitterweed |
true |
Bitter_Weed |
↳ blackberry |
true |
Black_Berry |
↳ blackcurrant |
true |
Black_Currant |
↳ bloodflower |
true |
Blood_Flower |
↳ bulrush |
true |
Bulrush |
↳ burdockroot |
true |
Burdock_Root |
↳ cardinalflower |
true |
Cardinal_Flower |
↳ chanterelles |
true |
Chanterelles |
↳ chocdaisy |
true |
Choc_Daisy |
↳ cocoa |
true |
cocoa |
↳ corn |
true |
corn |
↳ creekingthyme |
true |
Creeking_Thyme |
↳ creekplum |
true |
Creekplum |
↳ crowsgarlic |
true |
Crows_Garlic |
↳ desertsage |
true |
Desert_Sage |
↳ englishmace |
true |
English_Mace |
↳ evergreenhuckleberry |
true |
Evergreen_Huckleberry |
↳ goldencurrant |
true |
Golden_Currant |
↳ hemp |
true |
hemp |
↳ hop |
true |
hop |
↳ hummingbirdsage |
true |
Hummingbird_Sage |
↳ indiantobbaco |
true |
Indian_Tobbaco |
↳ milkweed |
true |
Milk_Weed |
↳ oleandersage |
true |
Oleander_Sage |
↳ oregano |
true |
Oregano |
↳ parasolmushroom |
true |
Parasol_Mushroom |
↳ consumablepeach |
true |
consumable_peach |
↳ potato |
true |
potato |
↳ prairiepoppy |
true |
Prairie_Poppy |
↳ ramshead |
true |
Rams_Head |
↳ redraspberry |
true |
Red_Raspberry |
↳ redsage |
true |
Red_Sage |
↳ saltbush |
true |
Saltbush |
↳ sugarcube |
true |
sugarcube |
↳ cana |
true |
cana |
↳ texasbonnet |
true |
Texas_Bonnet |
↳ consumabletomato |
true |
consumable_tomato |
↳ violetsnowdrop |
true |
Violet_Snowdrop |
↳ wheat |
true |
wheat |
↳ carrots |
true |
carrots |
↳ wildfeverfew |
true |
Wild_Feverfew |
↳ wildmint |
true |
Wild_Mint |
↳ wildrhubarb |
true |
Wild_Rhubarb |
↳ wintergreenberry |
true |
Wintergreen_Berry |
↳ wisteria |
true |
Wisteria |
↳ yarrow |
true |
Yarrow |
↳ coffeebeans |
true |
coffeebeans |
↳ tealeaf |
true |
tealeaf |
↳ malt |
true |
malt |
↳ grapes |
true |
grapes |
↳ aloevera |
true |
aloe_vera |
↳ lavenderflower |
true |
lavender_flower |
↳ chamomileflower |
true |
chamomile_flower |
↳ echinaceaflower |
true |
echinacea_flower |
↳ weedex |
true |
weed_ex |
Only add an item here when BOTH systems are meant to own it. Anything else
| Setting | Default | What it does |
|---|---|---|
SharedFarmingItems |
table |
belongs in Config.FarmingOwnedItems above. |
↳ moonbloom |
true |
moonbloom |
↳ moonbloomseed |
true |
moonbloom_seed |
config/framework.lua - 7 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Framework |
table |
Framework detection and resource mapping. |
↳ Name |
"auto" |
name 显示给玩家的文本。可修改以翻译或更名。 |
↳ Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
↳ AllowStandaloneInventory |
false |
Allows standalone inventory:true = 是,false = 否(默认 false)。 |
↳ DetectionOrder |
table |
detection order 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Resources |
table |
resources 条目表。按文件中的示例添加、删除或修改条目。 |
CustomFramework |
Config.CustomFramework or {} |
Custom framework hooks table (functions are handled server-side) |
config/gathering.lua - 7 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Gathering |
table |
Server-authoritative gathering rules and client action sequence. |
↳ DefaultCooldownMinutes |
60 |
default cooldown minutes 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MinimumRespawnMinutes |
10 |
A gathered or eaten plant disappears for every player and grows back after this many minutes. A plant's own cooldown wins when it is longer (most plants in plants.lua still carry the legacy cooldown = 1). |
↳ MaximumServerDistance |
3.25 |
maximum server distance 的游戏内距离。 |
↳ MaximumRewardAmount |
100 |
maximum reward amount 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ WorldCooldownCellSize |
2.0 |
world cooldown cell size 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ Progress |
table |
progress 条目表。按文件中的示例添加、删除或修改条目。 |
Notes from the README#
# JRS Herbs 5.1.2 — XP Perks + Farming Catalogue Separation
- Herbalism XP/levels remain enabled, but no plant is locked behind a level.
- Level perks: +1 gather yield at levels 20/40/60/80/100 (up to +5).
- Cutting speed improves by 5% every 10 levels, capped at 40%; server timing uses the same level-aware duration.
- Any seed/produce item owned by the current jrs_farming catalogue is removed from the jrs_herbs runtime plant/food/catalogue lists. Farming keeps those crops/i
- Existing farming-entity coordinate protection remains as a second server-side separation layer.
# jrs_herbs 5.1.1
A complete multi-framework RedM herbalism resource with camera-based plant inspection, gathering, edible plant items, persistent Herbalism XP, levels 1–100, ser
## Strict farming separation (5.1.1)
`jrs_herbs` and `jrs_farming` are intentionally separate systems.
- A plant entity spawned by `jrs_farming` is never eligible for herb inspection, Loot, or Eat prompts.
- This remains true when a farm crop and a native herb share the same RDR2 model hash.
- The herbs server rejects gather/eat requests at persisted farming-plant coordinates, so client event injection cannot turn a crop into a wild-herb reward.
- No farming inventory, growth, water, fertilizer, health, ownership, or SQL state is read or modified by `jrs_herbs`.
- No herb XP/progression is granted for farming actions.
- Native/world herbs continue to use `jrs_herbs`; cultivated crops continue to use `jrs_farming`.
The guard is configured under `Config.Integration.FarmingSeparation`.
## Core features
- Hold **right mouse / aim** while looking at a plant to show its selector, botanical record, level requirement, yield, rewards, source, regrowth time, distance
- Release right mouse to hide only the selector and information panel.
- No ground circle or nearest-plant auto-selection. Only the plant centered in the camera can be inspected.
- Approach a plant to receive native **R Loot Plant** and **E Eat Plant** prompts without holding right mouse.
- While right mouse is held, nearby prompts follow the exact inspected plant so the UI and action can never point to different plants.
- Eating directly from a world plant uses the same server distance, level, reservation, cooldown, and progression validation as looting.
- Every non-seed plant reward is automatically registered as edible/usable.
- Toxic plants have configurable negative effects and safe client-side damage handling.
- Full Herbalism progression from level **1 to 100**, with persistent XP, plant unlock requirements, gathering/eating statistics, level-up notifications, and yi
- SQL storage through `oxmysql`, `mysql-async`, or `ghmattimysql`, with resource KVP fallback.
- Server-side anti-exploit checks for distance, level, cooldown, action duration, inventory capacity, reservation tokens, reward rollback, and request rate limi
## Installation
1. Back up and remove the old `jrs_herbs` resource.
2. Copy the new `jrs_herbs` folder into your resources directory.
3. Open `install/README.md` and install the matching item file for your inventory/core.
4. Optional: import `install/progression.sql`. This is not required while `Config.Database.AutoCreateTable = true`.
5. Ensure your core, inventory, and MySQL adapter before this resource.
6. Start it with:
'''cfg
ensure jrs_herbs
'''
## Supported frameworks and inventories
Automatic detection is included for:
- REDEMPIRE
- RSG
- QBR
- QRPaid (server only) jrs_horserace
Horse races between players: host anywhere (to your map waypoint) or on admin tracks, entry fees, spectator bets, server-checked checkpoints
| Resource | jrs_horserace |
| Folder | [ACTIVITIES] |
| Version | 1.0.0 |
| Author | jrs team |
| Depends on | jrs_core, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 684 行 Lua |
Database tables
jrs_horserace_tracks
config.lua - 24 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Command |
"race" |
open the race panel (host / join / bet) |
TrackCommand |
"racetrack" |
admin: build tracks in game |
AdminGroups |
table |
允许谁:admin groups 的职业、组或权限。 |
LobbySeconds |
120 |
lobby auto-closes if the host never starts |
CountdownSeconds |
5 |
countdown seconds 的数值(默认 5)。 |
MinRacers |
2 |
min racers 的最低值或等级要求。 |
MaxRacers |
8 |
max racers 的上限。 |
JoinDistance |
40.0 |
from the start line, to join or bet |
StartDistance |
25.0 |
racers further than this at "GO" are refunded and removed |
InviteRadius |
200.0 |
players this close get the "race forming" notice |
MaxEntryFee |
200 |
max entry fee 的金额。奖励会经过 jrs_core 的经济倍率。 |
MaxBet |
250 |
max bet 的上限。 |
HouseCutPercent |
10 |
taken from the racer pot and the betting pool |
Payouts |
table |
Prize split of the racer pot by finishing place (racers that finish). |
↳ 2 |
table |
2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 3 |
table |
3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 4 |
table |
4 or more racers |
CheckpointRadius |
12.0 |
client: when to report a checkpoint |
ServerCheckRadius |
20.0 |
server: must really be this close |
MaxSpeed |
22.0 |
m/s; faster legs are rejected (teleport guard) |
MinWaypointDistance |
300.0 |
quick races to a map waypoint must be at least this long |
MaxWaypointDistance |
4000.0 |
max waypoint distance 的游戏内距离。 |
TimeLimitPerKm |
150 |
seconds allowed per km before the race times out |
CheckpointBlipSprite |
-1546805641 |
checkpoint blip sprite 的地图标记或图标设置。 |
Free (included in JRS Core) jrs_hunting
jrs core Hunting - complete hunting, carcass processing, legendary contracts, progression, dynamic market, posses and bait for jrs_core / jrs_inventory
| Resource | jrs_hunting |
| Folder | [ACTIVITIES] |
| Version | 8.3.1 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 18,048 Lua lines |
Commands
/CheckJobHunting/jrshuntingtest/jrshuntingversion
Exports
AddHunterTrust, GetHunterTrust, GetHuntingSession, MissionHud, Notify, Progress, RemoveHunterTrust, SetHunterTrust, ValidateHuntingConfig
Database tables
IF, jrs_hunting_group_progression, jrs_hunting_legendary_cooldowns, jrs_hunting_legendary_global_cooldowns, jrs_hunting_market, jrs_hunting_mission_history, jrs_hunting_players, jrs_hunting_posse_members, jrs_hunting_posses, jrs_hunting_reputation, jrs_hunting_schema, jrs_hunting_stats, jrs_hunting_trust_audit, jrs_hunting_weekly_rewards, jrs_hunting_weekly_stats
config/animals.lua - 1 个选项#
General
| Setting | Default | What it does |
|---|---|---|
AnimalDefinitions |
table |
animal definitions 使用的游戏模型或实体。 |
config/core.lua - 39 个选项#
General
| Setting | Default | What it does |
|---|---|---|
UseHunting |
true |
Master kill-switch. When false, no hunting activity, market, bait or legendaries are allowed. |
XPType |
"custom" |
'custom' = grant XP via jrs_core (the shipped integration). |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Url |
"" |
configured only in server/webhook_config.lua, |
↳ BotName |
"Hunting Log" |
Username shown on the webhook message. |
↳ VerboseLogging |
true |
Emit every kill/skin/pickup/sale/admin action (false = only sales and staff actions). |
REDEMPIRE |
table |
redempire 条目表。按文件中的示例添加、删除或修改条目。 |
↳ CoreResource |
"jrs_core" |
core resource 的设置。 |
↳ InventoryResource |
"jrs_inventory" |
inventory resource 的设置。 |
↳ Currency |
table |
jrs_core currency indexes used by addMoney/removeMoney. |
↳ ReadyTimeoutMs |
15000 |
Maximum time hunting waits for the active REDEMPIRE character after a restart/switch. |
↳ Debug |
false |
Development diagnostics only. Keep false on live servers. |
HuntingAccess |
table |
All permissions below are checked again on the server from the currently selected jrs_core character. Client state is only used to hide/block prompts. Job table value = minimum required job grade. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ NormalJobs |
table |
允许谁:normal jobs 的职业、组或权限。 |
↳ LegendaryJobs |
table |
允许谁:legendary jobs 的职业、组或权限。 |
↳ RequireForHunting |
true |
These are independent so a server owner can deliberately disable one gate. The supplied live configuration keeps every hunting action profession-locked. |
↳ RequireForSkinning |
true |
Requires for skinning:true = 是,false = 否(默认 true)。 |
↳ RequireForProcessing |
true |
Requires for processing:true = 是,false = 否(默认 true)。 |
↳ RequireForWorldBait |
true |
Requires for world bait:true = 是,false = 否(默认 true)。 |
↳ RequireForMarket |
true |
Requires for market:true = 是,false = 否(默认 true)。 |
↳ RequireForLegendaryMenu |
true |
Requires for legendary menu:true = 是,false = 否(默认 true)。 |
↳ AdminBypass |
true |
If true, Config.Admin groups can bypass jobs. |
↳ RefreshCommand |
"huntingrefresh" |
Command a player runs after being granted a job to refresh their cached hunting access. |
↳ Messages |
table |
messages 显示给玩家的文本。可修改以翻译或更名。 |
Validation |
table |
Startup self-checks. These validate the shipped configuration against the generated animal catalog and, once MySQL is ready, the jrs_inventory item table. |
↳ CheckInventoryItems |
true |
check inventory items 的开关:true = 开,false = 关(默认 true)。 |
↳ CheckRewardImages |
true |
check reward images 的开关:true = 开,false = 关(默认 true)。 |
Admin |
table |
允许谁:admin 的职业、组或权限。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Command |
"jrshuntingadmin" |
command 的设置。 |
↳ Groups |
table |
REDEMPIRE staff groups that can open/use the hunting admin menu. You can use this as a map (recommended) or a string list. |
↳ MaxSpawnedAnimals |
30 |
max spawned animals 的上限。 |
↳ SpawnDistance |
5.0 |
spawn distance 的游戏内距离。 |
↳ RewardGiveLimit |
10 |
reward give limit 的金额。奖励会经过 jrs_core 的经济倍率。 |
WeeklyCompetition |
table |
weekly competition 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Score |
table |
score 条目表。按文件中的示例添加、删除或修改条目。 |
↳ WinnerReward |
table |
winner reward 的金额。奖励会经过 jrs_core 的经济倍率。 |
config/hunting.lua - 115 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Locale |
"ar" |
此脚本的界面语言(en 或 ar)。 |
ReputationCommand |
"jrshuntingrep" |
reputation command 的设置。 |
ButcherService |
table |
butcher service 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ UseGameNativeSkinning |
true |
TRUE = Rockstar/RedM native skin/pluck prompt, animation and camera. Native EVENT_LOOT_COMPLETE is verified by the server and rewards are paid once. FALSE = use jrs_hunting scripted carcass processing instead. |
↳ NativeSkinSettleMs |
0 |
native skin settle ms 的数值(默认 0)。 |
↳ NativeSkinCarryWindowMs |
90000 |
native skin carry window ms 的数值(默认 90000)。 |
↳ HideNativePeltWhenCarried |
true |
Hides native pelt when carried:true = 是,false = 否(默认 true)。 |
↳ NativeCarryFadeMs |
0 |
native carry fade ms 的数值(默认 0)。 |
↳ NetworkRegistrationMs |
150 |
network registration ms 的数值(默认 150)。 |
↳ NonCarryableModels |
table |
Only these bodies are removed automatically after their skin AND meat rewards succeed. Do not use category=large: deer, sheep, wolves, etc. are still carriable. |
↳ RewardOnPickup |
true |
Reward on pickup instead of at the skin step. When true, skinning (E) only produces the carriable pelt; the reward items are granted when the player collects/carries it (R). |
↳ AutoSkinDirectCarry |
false |
Carrying a whole dead animal straight up (R) auto-processes it and grants the reward items. |
↳ ProcessAnywhere |
true |
Scripted processing settings (used only when UseGameNativeSkinning = false). |
↳ AllowGroundCarcasses |
true |
Allows ground carcasses:true = 是,false = 否(默认 true)。 |
↳ AtButcherNpc |
true |
at butcher npc 的开关:true = 开,false = 关(默认 true)。 |
↳ AutoCollectCarriedCarcass |
false |
Automatically handles collect carried carcass:true = 是,false = 否(默认 false)。 |
↳ PromptKey |
0xCEFD9220 |
E |
↳ UiInteractionKey |
0xCEFD9220 |
E |
↳ FieldInteractionDistance |
3.2 |
field interaction distance 的游戏内距离。 |
↳ InteractionDistance |
2.8 |
interaction distance 的游戏内距离。 |
↳ DurationMs |
9000 |
duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ InstantProcessing |
false |
instant processing 的开关:true = 开,false = 关(默认 false)。 |
↳ ServerResponseTimeoutMs |
18000 |
server response timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CancelIfPlayerDies |
true |
cancel if player dies 的开关:true = 开,false = 关(默认 true)。 |
↳ ProcessCancelDistance |
4.5 |
process cancel distance 的游戏内距离。 |
↳ AnimationScenario |
"WORLD_HUMAN_BUTCHER_RABBIT" |
animation scenario 的动画设置。 |
↳ AnimationScenarios |
table |
animation scenarios 的动画设置。 |
↳ AnimationVerifyDelayMs |
250 |
animation verify delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CinematicCamera |
false |
cinematic camera 的开关:true = 开,false = 关(默认 false)。 |
↳ CameraTransitionMs |
450 |
camera transition ms 的数值(默认 450)。 |
↳ CameraCuts |
table |
camera cuts 条目表。按文件中的示例添加、删除或修改条目。 |
↳ DeleteRetries |
8 |
delete retries 的数值(默认 8)。 |
↳ DeleteRetryMs |
180 |
delete retry ms 的数值(默认 180)。 |
↳ DeleteFallbackRadius |
1.50 |
delete fallback radius 的游戏内距离。 |
Security |
table |
security 条目表。按文件中的示例添加、删除或修改条目。 |
↳ NativeRewardQuality |
1 |
Fixed server-selected quality until this artifact supports authoritative quality reads. Never trust the quality sent by a modified client. 0=poor, 1=good, 2=perfect. |
↳ HarvestCooldownMs |
1800 |
harvest cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MaxQualityRewardAmount |
25 |
max quality reward amount 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ MaxItemsPerHarvest |
10 |
max items per harvest 的上限。 |
↳ MaxSaleAmount |
1000 |
max sale amount 的上限。 |
↳ MaxBulkSaleUnits |
5000 |
max bulk sale units 的上限。 |
↳ MaxBulkSaleTypes |
150 |
max bulk sale types 的上限。 |
↳ SaleCooldownMs |
350 |
sale cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ ButcherValidationDistance |
12.0 |
butcher validation distance 的游戏内距离。 |
↳ ProcessEntityDistance |
5.0 |
process entity distance 的游戏内距离。 |
↳ RequireNetworkedCarcass |
true |
Requires networked carcass:true = 是,false = 否(默认 true)。 |
↳ FallbackMaxPerWindow |
30 |
Non-networked corpses (server cannot verify them): at most this many distinct animals per kind (hunt / skin / carcass) per player in the rolling window. 0 = no cap. |
↳ FallbackWindowMs |
300000 |
fallback window ms 的数值(默认 300000)。 |
↳ RateWindowMs |
10000 |
rate window ms 的比率或倍数。 |
↳ MaxActionsPerWindow |
24 |
max actions per window 的上限。 |
↳ MaxBaitPurchaseAmount |
25 |
max bait purchase amount 的上限。 |
↳ StrikeWindowSeconds |
180 |
strike window seconds 的数值(默认 180)。 |
↳ KickAfterStrikes |
20 |
kick after strikes 的数值(默认 20)。 |
↳ EnableKick |
false |
player is never DropPlayer()-kicked for it. Kicking real players over ordinary hunting/skinning edge cases (lag, a corpse not networked yet, an unconfigured animal model, etc.) was causing legitimate disconnects. |
WorldHunting |
table |
world hunting 条目表。按文件中的示例添加、删除或修改条目。 |
↳ EnableBaitHunting |
true |
开启或关闭 bait hunting(默认 true)。 |
↳ SpawnDistance |
32.0 |
spawn distance 的游戏内距离。 |
↳ AnimalWaitMs |
12000 |
animal wait ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ BaitLifetimeMs |
120000 |
bait lifetime ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ SuccessXp |
8 |
success xp 的数值(默认 8)。 |
↳ BaitProps |
table |
bait props 使用的游戏模型或实体。 |
↳ UsableItems |
table |
usable items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
AnimalSettings |
table |
animal settings 使用的游戏模型或实体。 |
↳ EnableRegularAnimals |
true |
开启或关闭 regular animals(默认 true)。 |
↳ EnableBirds |
true |
开启或关闭 birds(默认 true)。 |
↳ EnableReptiles |
true |
开启或关闭 reptiles(默认 true)。 |
↳ EnableSmallAnimals |
true |
开启或关闭 small animals(默认 true)。 |
↳ EnableFish |
false |
开启或关闭 fish(默认 false)。 |
↳ EnableOnlineAnimalVariants |
false |
开启或关闭 online animal variants(默认 false)。 |
↳ DefaultQuality |
1 |
Used only if RedM cannot return a valid carcass-quality value. 0 = poor, 1 = good, 2 = perfect. |
QualityRewards |
table |
quality rewards 条目表。按文件中的示例添加、删除或修改条目。 |
BaitAnimalPools |
table |
bait animal pools 使用的游戏模型或实体。 |
↳ herbivore_bait |
table |
herbivore bait 条目表。按文件中的示例添加、删除或修改条目。 |
↳ potent_herbivore_bait |
table |
potent herbivore bait 条目表。按文件中的示例添加、删除或修改条目。 |
↳ predator_bait |
table |
predator bait 条目表。按文件中的示例添加、删除或修改条目。 |
↳ potent_predator_bait |
table |
potent predator bait 条目表。按文件中的示例添加、删除或修改条目。 |
PredatorModelNames |
table |
predator model names 使用的游戏模型或实体。 |
LegendaryHunting |
table |
legendary hunting 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ RequiredLevel |
10 |
required level 的最低值或等级要求。 |
↳ YellowBlipModifier |
"BLIP_MODIFIER_MP_COLOR_2" |
yellow blip modifier 的地图标记或图标设置。 |
↳ RouteColor |
"COLOR_RED" |
route color 的设置。 |
↳ ShowSearchRadius |
true |
Shows search radius:true = 是,false = 否(默认 true)。 |
↳ RevealSearchRadiusDistance |
220.0 |
reveal search radius distance 的游戏内距离。 |
↳ MissionHud |
true |
mission hud 的开关:true = 开,false = 关(默认 true)。 |
↳ PromptKey |
0xC7B5340A |
[G] key for bait |
↳ MissionCooldownMinutes |
20 |
mission cooldown minutes 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ FailureCooldownMinutes |
5 |
failure cooldown minutes 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MissionTimeoutMinutes |
35 |
mission timeout minutes 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ EscapeDistance |
260.0 |
escape distance 的游戏内距离。 |
↳ SearchRadius |
55.0 |
search radius 的游戏内距离。 |
↳ HabitatSearchDelayMinMs |
10000 |
habitat search delay min ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ HabitatSearchDelayMaxMs |
22000 |
habitat search delay max ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ PheromoneItem |
"legendary_animal_pheromone" |
pheromone item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ BaitSpawnDelayMs |
6500 |
bait spawn delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ BaitApproachDistance |
95.0 |
bait approach distance 的游戏内距离。 |
↳ BaitMinimumHunterDistance |
20.0 |
bait minimum hunter distance 的游戏内距离。 |
↳ BaitApproachSpeed |
0.65 |
bait approach speed 的数值(默认 0.65)。 |
↳ BaitApproachTimeoutMs |
180000 |
bait approach timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MapItem |
"legendary_animal_map" |
map item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ MapDurationSeconds |
180 |
map duration seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ RequireBaitItem |
true |
Requires bait item:true = 是,false = 否(默认 true)。 |
↳ EnforcePreferredHours |
true |
enforce preferred hours 的开关:true = 开,false = 关(默认 true)。 |
↳ AllowBaitPurchase |
true |
Allows bait purchase:true = 是,false = 否(默认 true)。 |
↳ MenuTitle |
"HUNTING" |
menu title 显示给玩家的文本。可修改以翻译或更名。 |
↳ BlipName |
"Legendary Animal Territory" |
blip name 的地图标记或图标设置。 |
↳ PlaceBaitPrompt |
"Place bait" |
place bait prompt 显示给玩家的文本。可修改以翻译或更名。 |
↳ MissionCashReward |
0.0 |
mission cash reward 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ MissionXpReward |
6100 |
mission xp reward 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ BaitPrices |
table |
bait prices 条目表。按文件中的示例添加、删除或修改条目。 |
↳ BaitItems |
table |
bait items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ RegionByName |
table |
region by name 显示给玩家的文本。可修改以翻译或更名。 |
↳ PredatorSpecies |
table |
predator species 条目表。按文件中的示例添加、删除或修改条目。 |
↳ UiImages |
table |
ui images 条目表。按文件中的示例添加、删除或修改条目。 |
config/legendary.lua - 1 个选项#
General
| Setting | Default | What it does |
|---|---|---|
LegendaryHunting |
Config.LegendaryHunting or {... |
legendary hunting 的设置。 |
config/market.lua - 30 个选项#
General
| Setting | Default | What it does |
|---|---|---|
DynamicPricing |
table |
dynamic pricing 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Persist |
true |
persist 的开关:true = 开,false = 关(默认 true)。 |
↳ RefreshMinutes |
20 |
refresh minutes 的数值(默认 20)。 |
↳ MinMultiplier |
0.62 |
min multiplier 的最低值或等级要求。 |
↳ MaxMultiplier |
1.58 |
max multiplier 的上限。 |
↳ MaxStep |
0.14 |
max step 的上限。 |
↳ RoundTo |
2 |
round to 的数值(默认 2)。 |
MarketDemand |
table |
market demand 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ SupplyImpactPerUnit |
0.0035 |
supply impact per unit 的数值(默认 0.0035)。 |
↳ MaxImpactPerSale |
0.12 |
max impact per sale 的上限。 |
↳ RecoveryPerRefresh |
0.035 |
recovery per refresh 的数值(默认 0.035)。 |
↳ GlobalEventChance |
0.12 |
global event chance 的比率或倍数。 |
↳ GlobalEventMultiplier |
table |
global event multiplier 的比率或倍数。 |
PlayerResale |
table |
are listed in the butcher's "Player Market" tab, where anyone (no hunting job needed) can buy them. Stock and markup live in jrs_stores (market 'hunting', config/resale_config.lua). Price = highest possible butcher payout x markup |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Categories |
table |
meat | pelts | carcasses |
↳ MaxPerkBonus |
0.25 |
fallback cap of the jrs_core BUTCHER SELL BONUS perk |
Notifications |
table |
notifications 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ ItemReceivedOnly |
false |
item received only 的开关:true = 开,false = 关(默认 false)。 |
↳ OnAnimalItemReceived |
true |
on animal item received 的开关:true = 开,false = 关(默认 true)。 |
↳ Duration |
4200 |
duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
AnimalTargetUI |
table |
This card appears only while aiming at a configured hunting animal. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ MaxDistance |
160.0 |
max distance 的游戏内距离。 |
↳ UpdateInterval |
35 |
update interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DeadHoldMs |
3000 |
dead hold ms 的数值(默认 3000)。 |
↳ VerticalOffset |
0.05 |
vertical offset 的数值(默认 0.05)。 |
config/progression.lua - 61 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Progression |
table |
progression 条目表。按文件中的示例添加、删除或修改条目。 |
↳ MaxLevel |
100 |
max level 的上限。 |
↳ Command |
"huntingrank" |
command 的设置。 |
↳ Xp |
table |
Hunter progression awarded only after server-verified actions. Processing XP itself comes from each animal's sourceXp table in config/animals.lua (Config.AnimalDefinitions). |
↳ Reputation |
table |
reputation 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Curve |
table |
curve 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Titles |
table |
titles 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Levels |
table |
generated by shared/config_runtime.lua |
↳ Unlocks |
table |
These unlocks are enforced server-side, not just displayed in the NUI. |
↳ ApplyItemMultiplier |
false |
apply item multiplier 的开关:true = 开,false = 关(默认 false)。 |
↳ ApplyPriceBonus |
true |
apply price bonus 的开关:true = 开,false = 关(默认 true)。 |
↳ AlsoAwardCoreXp |
true |
Also feed hunter XP into jrs_core's unified per-job level (keeps the script's own hunting reputation/rank progression intact). |
↳ HonorRewards |
table |
Proportional honor / reputation awarded to the server's main integrity system (jrs_police / jrs_integrity). |
HuntingSession |
table |
hunting session 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ StreakWindowSeconds |
300 |
streak window seconds 的数值(默认 300)。 |
↳ ShowInMenu |
true |
Shows in menu:true = 是,false = 否(默认 true)。 |
Trust |
table |
trust 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Max |
100 |
max 的上限。 |
↳ GainOnLegendarySuccess |
2 |
gain on legendary success 的数值(默认 2)。 |
↳ LossOnLegendaryFailure |
1 |
loss on legendary failure 的数值(默认 1)。 |
↳ DiscountEvery |
5 |
discount every 的数值(默认 5)。 |
↳ DiscountPerStep |
0.025 |
discount per step 的数值(默认 0.025)。 |
↳ MaxDiscount |
0.40 |
max discount 的上限。 |
↳ Command |
"huntertrust" |
command 的设置。 |
↳ ExportSecurity |
table |
export security 条目表。按文件中的示例添加、删除或修改条目。 |
GroupHunts |
table |
允许谁:group hunts 的职业、组或权限。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ CommandsEnabled |
false |
commands enabled 的开关:true = 开,false = 关(默认 false)。 |
↳ MenuTitle |
"HUNTING" |
menu title 显示给玩家的文本。可修改以翻译或更名。 |
↳ NearbyPlayersLimit |
8 |
nearby players limit 的上限。 |
↳ MaxMembers |
4 |
max members 的上限。 |
↳ InviteCommand |
"huntinvite" |
invite command 的设置。 |
↳ AcceptCommand |
"huntaccept" |
accept command 的设置。 |
↳ LeaveCommand |
"huntleave" |
leave command 的设置。 |
↳ StatusCommand |
"huntgroup" |
status command 的设置。 |
↳ RequiredGroupLevel |
1 |
required group level 的最低值或等级要求。 |
↳ RequiredHunterLevel |
1 |
required hunter level 的最低值或等级要求。 |
↳ ContractRequiredHunterLevel |
10 |
contract required hunter level 的最低值或等级要求。 |
↳ InviteTimeoutSeconds |
30 |
invite timeout seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ InviteDistance |
15.0 |
invite distance 的游戏内距离。 |
↳ CompletionDistance |
300.0 |
completion distance 的游戏内距离。 |
↳ ActivityShareDistance |
120.0 |
activity share distance 的游戏内距离。 |
↳ CancelIfLeaderLeaves |
false |
cancel if leader leaves 的开关:true = 开,false = 关(默认 false)。 |
↳ RewardScaleBySize |
table |
reward scale by size 的金额。奖励会经过 jrs_core 的经济倍率。 |
GroupProgression |
table |
允许谁:group progression 的职业、组或权限。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ MaxLevel |
100 |
max level 的上限。 |
↳ RequiredLevel |
1 |
required level 的最低值或等级要求。 |
↳ Curve |
table |
curve 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Xp |
table |
xp 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Titles |
table |
titles 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Levels |
table |
generated by shared/config_runtime.lua |
Set Enabled = false to switch this script's XP off without touching code.
| Setting | Default | What it does |
|---|---|---|
XP |
table |
xp 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ XPType |
"custom" |
'custom' = award to jrs_core (the shipped integration). The top-level Config.XPType takes priority over this field. |
↳ Job |
"hunting" |
Per-job level key in jrs_core. Keep this stable: it is the primary key in the jrs_job_levels table, so renaming it orphans existing progress. |
↳ Multiplier |
1.0 |
Scales every reward below. Raise it for a boosted weekend, drop it to slow this job down relative to the others. |
↳ Default |
0 |
Used when a reward name is awarded that is not listed here. |
↳ Rewards |
table |
rewards 条目表。按文件中的示例添加、删除或修改条目。 |
Notes from the README#
# REDEMPIRE Hunting 8.2.0
A RedM hunting resource written directly against **jrs_core** and **jrs_inventory**.
It does not use VORP, RSG, RedEM or SSReputation, and every sensitive operation —
job, character, skinning, rewards, selling, bait and legendary contracts — is verified
on the server.
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
- The MySQL/MariaDB database REDEMPIRE already uses
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_hunting
'''
## Installation
1. Replace the `jrs_hunting` folder with the one in this package.
2. Run `jrs_hunting.sql` once to create/upgrade the hunting tables.
3. Run `install/jrs_items.sql` once to add the required hunting items to the `items`
table `jrs_inventory` uses.
4. Make sure `oxmysql`, `jrs_core` and `jrs_inventory` start before `jrs_hunting`.
5. Start or restart the resource.
6. Watch the server console on boot. The config validator prints `CONFIG ERROR` if any
setting or required item is wrong.
The SQL files are written to be re-runnable where possible, but always back the database
up before an upgrade.
## Hunting jobs
Defaults live in `config/core.lua`:
'''lua
Config.HuntingAccess.NormalJobs = {
hunter = 0,
legendary_hunter = 0,
}
Config.HuntingAccess.LegendaryJobs = {
legendary_hunter = 0,
}
'''
- `hunter`: normal hunting, skinning, processing, ordinary bait, the hunting market.
- `legendary_hunter`: everything `hunter` can do, plus the legendary map, contracts,
bait and animals.
- Each value is the lowest allowed `jobgrade`.
- The real check reads `character.job` and `character.jobgrade` for the active
character in `jrs_core`.Paid (server only) jrs_occult
Night terrors: eerie night encounters in the wild, spirit trees, curses and church cleansing
| Resource | jrs_occult |
| Folder | [ACTIVITIES] |
| Version | 1.0.1 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | No |
| Languages | ar, en |
| Code size | 643 行 Lua |
Commands
/cleanse/curse
Database tables
jrs_occult_curses
config.lua - 27 个选项#
General
| Setting | Default | What it does |
|---|---|---|
AdminGroups |
table |
允许谁:admin groups 的职业、组或权限。 |
Relic |
table |
relic 条目表。按文件中的示例添加、删除或修改条目。 |
NightStart |
22 |
In-game night (GetClockHours). |
NightEnd |
4 |
night end 的数值(默认 4)。 |
Encounters (only at night, outdoors, away from towns)
| Setting | Default | What it does |
|---|---|---|
CheckEveryMinutes |
4 |
how often a player in the wild is rolled |
Chance |
25 |
% per roll |
CooldownMinutes |
20 |
per character between encounters |
Encounters |
table |
encounters 条目表。按文件中的示例添加、删除或修改条目。 |
↳ whispers |
table |
whispers 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shadow |
table |
shadow 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nightfolk |
table |
nightfolk 条目表。按文件中的示例添加、删除或修改条目。 |
↳ wolves |
table |
wolves 条目表。按文件中的示例添加、删除或修改条目。 |
Towns |
table |
Towns (no encounters inside these circles). |
Spirit trees: offer a relic at night -> blessing or curse
| Setting | Default | What it does |
|---|---|---|
Trees |
table |
trees 条目表。按文件中的示例添加、删除或修改条目。 |
TreeRadius |
4.0 |
tree radius 的游戏内距离。 |
TreeCooldownMinutes |
30 |
tree cooldown minutes 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
BlessingChance |
60 |
otherwise a random curse |
BlessingSeconds |
600 |
golden health + stamina cores |
Curses
| Setting | Default | What it does |
|---|---|---|
CurseMinutes |
45 |
real minutes; kept across relogs |
Curses |
table |
curses 条目表。按文件中的示例添加、删除或修改条目。 |
↳ weak |
table |
weak 条目表。按文件中的示例添加、删除或修改条目。 |
↳ restless |
table |
restless 条目表。按文件中的示例添加、删除或修改条目。 |
↳ nightbound |
table |
hurts in daylight only |
Churches |
table |
Praying at a church lifts a curse. |
ChurchRadius |
12.0 |
ground distance (the bell coords sit high) |
CleansePrice |
10 |
cleanse price 的金额。奖励会经过 jrs_core 的经济倍率。 |
Keys |
table |
G (hold) |
Paid (server only) jrs_pets
JRS Pets - Instant Sync stable RedM companion system with protected purchases, preview tests, HUD and native prompts
| Resource | jrs_pets |
| Folder | [ACTIVITIES] |
| Version | 4.22.0-stable |
| Author | JRS |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 23,513 Lua lines |
Commands
/-jrs_pet_menu/jrs_pets_version/jrspetfx/jrspetrespawnnpc
Exports
CallOwnedPet, CanOpenActionMenu, GetMenuData, GetPetOwner, GivePet, HasFullAccess, IsEntityPet, OpenBirds, OpenManagement, OpenSupplies, PerformMenuAction, SetCompanionSetting
Database tables
IF, jrs_pet_market, jrs_pet_market_payouts, jrs_pets, jrs_pets_birds
config/config.lua - 174 个选项#
General
| Setting | Default | What it does |
|---|---|---|
ScriptInfo |
table |
Script identity displayed in the server startup console banner. Keep these values in English so console logs remain consistent. |
↳ scriptName |
"JRS Pets" |
script name 显示给玩家的文本。可修改以翻译或更名。 |
↳ version |
"4.17.0" |
version 的设置。 |
↳ versionName |
"Instant Sync" |
version name 显示给玩家的文本。可修改以翻译或更名。 |
↳ versionType |
"Stable" |
version type 的设置。 |
↳ edition |
"Full" |
edition 的设置。 |
↳ printOnStart |
true |
print on start 的开关:true = 开,false = 关(默认 true)。 |
DebugAndBaseOption |
table |
debug and base option 条目表。按文件中的示例添加、删除或修改条目。 |
↳ debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
↳ defaultUnemployedJob |
"unemployed" |
Default job for unemployed players |
StorePreview |
table |
Store preview camera and the pre-purchase pet test. The test uses only a temporary local preview ped; it never creates or saves a pet. |
↳ cameraFollowPet |
false |
Keep the scripted camera fixed; only the look-at target follows the preview animal. |
↳ cameraFollowIntervalMs |
0 |
0 = every frame for the smoothest tracking. |
↳ cameraSmoothing |
1.0 |
1.0 snaps to the animal; lower values provide smoother movement. |
↳ light |
table |
light 条目表。按文件中的示例添加、删除或修改条目。 |
↳ test |
table |
test 条目表。按文件中的示例添加、删除或修改条目。 |
JrsCompanionFeatures |
table |
JRS companion features (client/jrs_companion_features.lua + server.lua change_owner). |
↳ friendlyRelationships |
table |
Town NPCs / law / gangs and players treat your pet as friendly (respect), and the pet does not pick fights with them. Uses its own relationship group, so wild dogs/animals are NOT affected. The attack prompt still works. |
↳ levelAttributes |
table |
Pet gets stronger as it levels: rank = baseRank + level * rankPerLevel (max maxRank). Attribute indexes: 1 stamina, 3 courage, 4 agility, 5 speed (0 health is left out on purpose, it changes max health and the saved health value). |
↳ menuAnimation |
table |
Player writes in a notebook while the owned-pet menu (/jrspets) is open. |
↳ maxTransfersPerPet |
0 |
How many times one pet can change owner. 0 = unlimited. |
Breeding |
table |
breeding 条目表。按文件中的示例添加、删除或修改条目。 |
↳ requiredLevel |
5 |
required level 的最低值或等级要求。 |
↳ rewardItem |
"" |
Optional inventory item. Keep empty to disable rewards. |
↳ rewardAmount |
1 |
reward amount 的金额。奖励会经过 jrs_core 的经济倍率。 |
Currency |
table |
Currency settings: Story money (cash) only. Gold is disabled. |
↳ useStoreMoney |
true |
Buy pets only with Store Money / الشراء فقط بستور موني |
↳ currencyMode |
"store_money" |
currency mode 的设置。 |
↳ symbol |
" ستور موني" |
symbol 的设置。 |
↳ symbolPosition |
"after" |
symbol position 使用的世界坐标(x, y, z)。 |
↳ enableGold |
false |
Disable gold purchases / تعطيل الشراء بالذهب |
↳ goldSymbol |
"G" |
gold symbol 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ cashType |
0 |
Legacy cash fallback |
↳ goldType |
1 |
Gold (disabled / معطل) |
GoldRol |
false |
Disable gold completely / تعطيل الذهب والقولد |
MarketFoodShop |
table |
market food shop 条目表。按文件中的示例添加、删除或修改条目。 |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ currencyType |
0 |
Cash ($) |
↳ maxQuantity |
10 |
max quantity 的上限。 |
↳ items |
table |
items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
PetsStoreLogic |
table |
pets store logic 条目表。按文件中的示例添加、删除或修改条目。 |
↳ callFromStore |
false |
If you want to call the store from the store, you can set it to true. |
↳ sellOldForMoney |
true |
If you want to sell the old pet for money, you can set it to true. |
↳ saveCallPet |
true |
A pet that was out comes back after reconnect / restart. |
↳ healPrice |
table |
heal price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ whereTheyAreKept |
table |
where they are kept 条目表。按文件中的示例添加、删除或修改条目。 |
↳ mating |
table |
mating 条目表。按文件中的示例添加、删除或修改条目。 |
↳ storePetAge |
table |
store pet age 条目表。按文件中的示例添加、删除或修改条目。 |
PetsLogic |
table |
pets logic 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ballItem |
"Ball" |
ball item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ renameItem |
"HorseTag" |
rename item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ cooldownForWhistle |
5 |
cooldown for whistle 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ ageingSetup |
table |
ageing setup 条目表。按文件中的示例添加、删除或修改条目。 |
↳ statusSetup |
table |
status setup 条目表。按文件中的示例添加、删除或修改条目。 |
↳ experienceSystem |
table |
experience system 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bondingSystem |
table |
Bonding system how much is horse friend with you. |
canHoldAnimals |
table |
You can use here GetHashKey("animal"), |
↳ -1910795227 |
true |
1910795227 的开关:true = 开,false = 关(默认 true)。 |
↳ -930822792 |
true |
930822792 的开关:true = 开,false = 关(默认 true)。 |
↳ 831859211 |
true |
831859211 的开关:true = 开,false = 关(默认 true)。 |
↳ 1095117488 |
true |
1095117488 的开关:true = 开,false = 关(默认 true)。 |
↳ -930822792 |
true |
930822792 的开关:true = 开,false = 关(默认 true)。 |
↳ -541762431 |
true |
541762431 的开关:true = 开,false = 关(默认 true)。 |
↳ 1465438313 |
true |
1465438313 的开关:true = 开,false = 关(默认 true)。 |
↳ 1095117488 |
true |
1095117488 的开关:true = 开,false = 关(默认 true)。 |
↳ 1458540991 |
true |
1458540991 的开关:true = 开,false = 关(默认 true)。 |
↳ 1465438313 |
true |
1465438313 的开关:true = 开,false = 关(默认 true)。 |
↳ -1134449699 |
true |
1134449699 的开关:true = 开,false = 关(默认 true)。 |
↳ -575340245 |
true |
575340245 的开关:true = 开,false = 关(默认 true)。 |
↳ 386506078 |
true |
386506078 的开关:true = 开,false = 关(默认 true)。 |
↳ -861544272 |
true |
861544272 的开关:true = 开,false = 关(默认 true)。 |
↳ -564099192 |
true |
564099192 的开关:true = 开,false = 关(默认 true)。 |
↳ 1104697660 |
true |
1104697660 的开关:true = 开,false = 关(默认 true)。 |
↳ 1459778951 |
true |
1459778951 的开关:true = 开,false = 关(默认 true)。 |
↳ -2145890973 |
true |
2145890973 的开关:true = 开,false = 关(默认 true)。 |
↳ -1003616053 |
true |
1003616053 的开关:true = 开,false = 关(默认 true)。 |
↳ 723190474 |
true |
723190474 的开关:true = 开,false = 关(默认 true)。 |
↳ 1095117488 |
true |
1095117488 的开关:true = 开,false = 关(默认 true)。 |
↳ 1205982615 |
true |
1205982615 的开关:true = 开,false = 关(默认 true)。 |
↳ -2063183075 |
true |
2063183075 的开关:true = 开,false = 关(默认 true)。 |
↳ -2073130256 |
true |
2073130256 的开关:true = 开,false = 关(默认 true)。 |
↳ 1416324601 |
true |
1416324601 的开关:true = 开,false = 关(默认 true)。 |
↳ 1265966684 |
true |
1265966684 的开关:true = 开,false = 关(默认 true)。 |
↳ -1797450568 |
true |
1797450568 的开关:true = 开,false = 关(默认 true)。 |
↳ 2079703102 |
true |
2079703102 的开关:true = 开,false = 关(默认 true)。 |
↳ -164963696 |
true |
164963696 的开关:true = 开,false = 关(默认 true)。 |
↳ -1076508705 |
true |
1076508705 的开关:true = 开,false = 关(默认 true)。 |
↳ 2023522846 |
true |
2023522846 的开关:true = 开,false = 关(默认 true)。 |
↳ -466687768 |
true |
466687768 的开关:true = 开,false = 关(默认 true)。 |
↳ -575340245 |
true |
575340245 的开关:true = 开,false = 关(默认 true)。 |
↳ -466054788 |
true |
466054788 的开关:true = 开,false = 关(默认 true)。 |
↳ -2011226991 |
true |
2011226991 的开关:true = 开,false = 关(默认 true)。 |
↳ -166054593 |
true |
166054593 的开关:true = 开,false = 关(默认 true)。 |
↳ 1104697660 |
true |
1104697660 的开关:true = 开,false = 关(默认 true)。 |
↳ 0000000000 |
true |
0000000000 的开关:true = 开,false = 关(默认 true)。 |
↳ -1211566332 |
true |
1211566332 的开关:true = 开,false = 关(默认 true)。 |
↳ 2105463796 |
true |
2105463796 的开关:true = 开,false = 关(默认 true)。 |
↳ -1414989025 |
true |
1414989025 的开关:true = 开,false = 关(默认 true)。 |
↳ -1170118274 |
true |
1170118274 的开关:true = 开,false = 关(默认 true)。 |
↳ 1502581273 |
true |
1502581273 的开关:true = 开,false = 关(默认 true)。 |
↳ -125323032 |
true |
125323032 的开关:true = 开,false = 关(默认 true)。 |
↳ 1203222291 |
true |
1203222291 的开关:true = 开,false = 关(默认 true)。 |
↳ 740300135 |
true |
740300135 的开关:true = 开,false = 关(默认 true)。 |
↳ -2054685425 |
true |
2054685425 的开关:true = 开,false = 关(默认 true)。 |
↳ -1610495764 |
true |
1610495764 的开关:true = 开,false = 关(默认 true)。 |
↳ -1028170431 |
true |
1028170431 的开关:true = 开,false = 关(默认 true)。 |
↳ -1523680261 |
true |
1523680261 的开关:true = 开,false = 关(默认 true)。 |
canHuntAnimals |
table |
can hunt animals 使用的游戏模型或实体。 |
This section powers the compact left-side pet panel and the in-world radial
| Setting | Default | What it does |
|---|---|---|
CompanionSystem |
table |
menu. Every feature can be disabled independently. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ commands |
table |
commands 条目表。按文件中的示例添加、删除或修改条目。 |
↳ targeting |
table |
targeting 条目表。按文件中的示例添加、删除或修改条目。 |
↳ panel |
table |
panel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ progression |
table |
progression 条目表。按文件中的示例添加、删除或修改条目。 |
↳ metabolism |
table |
metabolism 条目表。按文件中的示例添加、删除或修改条目。 |
↳ behavior |
table |
behavior 条目表。按文件中的示例添加、删除或修改条目。 |
↳ revive |
table |
revive 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sounds |
table |
sounds 条目表。按文件中的示例添加、删除或修改条目。 |
Aim directly at your called pet and press/hold right mouse briefly. The menu
| Setting | Default | What it does |
|---|---|---|
NativePetPrompt |
table |
uses only RedM native prompts; it never opens NUI. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ openOnRightClick |
false |
Mouse 2 is reserved for hold-only pet vitals. |
↳ debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
↳ distance |
4.5 |
distance 的游戏内距离。 |
↳ lookDot |
0.955 |
look dot 的数值(默认 0.955)。 |
↳ holdDurationMs |
120 |
hold duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ reopenDelayMs |
700 |
reopen delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ inputDebounceMs |
180 |
input debounce ms 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ consumeControls |
true |
consume controls 的开关:true = 开,false = 关(默认 true)。 |
↳ closeAfterAction |
true |
close after action 的开关:true = 开,false = 关(默认 true)。 |
↳ fallbackCommand |
"jrspetmenu" |
fallback command 的设置。 |
↳ noPetText |
"Call your pet before openin... |
no pet text 显示给玩家的文本。可修改以翻译或更名。 |
↳ tooFarText |
"Move closer to your pet." |
too far text 显示给玩家的文本。可修改以翻译或更名。 |
↳ controls |
table |
controls 条目表。按文件中的示例添加、删除或修改条目。 |
CompanionCatalogue |
table |
Additional companion catalogue. Existing entries in configPetsStore.lua always keep priority; these entries only fill missing animal categories. |
Features ported from Fixitfy FX-Pets (PETS.zip, 2026-10-03)
| Setting | Default | What it does |
|---|---|---|
FixitfyFeatures |
table |
fixitfy features 条目表。按文件中的示例添加、删除或修改条目。 |
↳ petBox |
table |
Pet Box: pack one of your pets into an inventory item (give it, trade it, store it). Using the box adopts the pet. Menu: pet action menu -> "Pet Box". |
↳ reviveItem |
table |
Revive item: brings a downed pet back right away instead of waiting CompanionSystem.revive.delaySeconds. |
↳ consumables |
table |
Usable from the inventory: feeds / waters your called pet with the normal feeding animation. Values = hunger or thirst restored. |
↳ speciesAnimations |
table |
Species animations (eat / drink / sit / sleep / howl ...) for every non-dog companion. Replaces the dog animations those animals used to get, which do not play on cat / bird / bear / deer skeletons. |
↳ logs |
table |
Discord log of buy / pet box / revive item. Leave "" to route through jrs_logs (the in-game log viewer / central webhook). |
SpeciesAnimationModels |
table |
model (lowercase) -> animation set in Config.SpeciesAnimations |
↳ a_c_cat_01 |
"cat" |
a c cat 01 的设置。 |
↳ a_c_raccoon_01 |
"raccoon" |
a c raccoon 01 的设置。 |
↳ a_c_fox_01 |
"fox", ["mp_a_c_fox_01"] = "... |
a c fox 01 的设置。 |
↳ a_c_pig_01 |
"pig" |
a c pig 01 的设置。 |
↳ a_c_rabbit_01 |
"rabbit" |
a c rabbit 01 的设置。 |
↳ a_c_squirrel_01 |
"squirrel", ["a_c_chipmunk_0... |
a c squirrel 01 的设置。 |
↳ a_c_badger_01 |
"badger" |
a c badger 01 的设置。 |
↳ a_c_deer_01 |
"deer" |
a c deer 01 的设置。 |
↳ a_c_eagle_01 |
"eagle", ["a_c_hawk_01"] = "... |
a c eagle 01 的设置。 |
↳ a_c_crow_01 |
"crow", ["a_c_raven_01"] = "... |
a c crow 01 的设置。 |
↳ a_c_sparrow_01 |
"sparrow", ["a_c_songbird_01... |
a c sparrow 01 的设置。 |
↳ a_c_cardinal_01 |
"sparrow", ["a_c_bluejay_01"... |
a c cardinal 01 的设置。 |
↳ a_c_oriole_01 |
"sparrow", ["a_c_carolinapar... |
a c oriole 01 的设置。 |
↳ a_c_owl_01 |
"owl" |
a c owl 01 的设置。 |
↳ a_c_bear_01 |
"bear", ["a_c_bearblack_01"]... |
a c bear 01 的设置。 |
↳ a_c_wolf |
"wolf", ["a_c_wolf_medium"] ... |
a c wolf 的设置。 |
↳ a_c_moose_01 |
"moose" |
a c moose 01 的设置。 |
SpeciesAnimations |
table |
Taken from Fixitfy Config.Animations. "Eating" / "Drinking" become the feed / water animations; the rest become level-unlocked commands (order kept). |
↳ raccoon |
table |
raccoon 条目表。按文件中的示例添加、删除或修改条目。 |
↳ fox |
table |
fox 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pig |
table |
pig 条目表。按文件中的示例添加、删除或修改条目。 |
↳ cat |
table |
cat 条目表。按文件中的示例添加、删除或修改条目。 |
↳ rabbit |
table |
rabbit 条目表。按文件中的示例添加、删除或修改条目。 |
↳ squirrel |
table |
squirrel 条目表。按文件中的示例添加、删除或修改条目。 |
↳ badger |
table |
badger 条目表。按文件中的示例添加、删除或修改条目。 |
↳ deer |
table |
deer 条目表。按文件中的示例添加、删除或修改条目。 |
↳ eagle |
table |
eagle 条目表。按文件中的示例添加、删除或修改条目。 |
↳ crow |
table |
crow 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sparrow |
table |
sparrow 条目表。按文件中的示例添加、删除或修改条目。 |
↳ owl |
table |
owl 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bear |
table |
bear 条目表。按文件中的示例添加、删除或修改条目。 |
↳ wolf |
table |
wolf 条目表。按文件中的示例添加、删除或修改条目。 |
↳ moose |
table |
moose 条目表。按文件中的示例添加、删除或修改条目。 |
config/configCoords.lua - 7 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Shops |
table |
shops 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 0 |
table |
U cant remove this |
↳ 1 |
table |
1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2 |
table |
From Fixitfy FX-Pets markets (2026-10-03) |
↳ 3 |
table |
From Fixitfy FX-Pets markets (2026-10-03) |
↳ 4 |
table |
From Fixitfy FX-Pets markets (2026-10-03) |
PlayerStore |
table |
player store 条目表。按文件中的示例添加、删除或修改条目。 |
config/configJobs.lua - 4 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Jobs |
table |
允许谁:jobs 的职业、组或权限。 |
↳ PetTrainer |
table |
pet trainer 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Petbreeder |
table |
petbreeder 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Config.DebugAndBaseOption.defaultUnemployedJob |
table |
default setting (any job not listed above) |
config/configLang.lua - 87 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Language |
table |
此脚本的界面语言(en 或 ar)。 |
↳ notifyTitle |
"الحيوانات الأليفة" |
notify title 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyImage |
"pets" |
notify image 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyInHandBlock |
table |
Notifications |
↳ notifyInInteraction |
table |
notify in interaction 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyPetsDoesHaveAnySkill |
table |
notify pets does have any skill 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetLearnSkill |
table |
notify your pet learn skill 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetFailedLearnNewSkill |
table |
notify your pet failed learn new skill 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetFailedLearn |
table |
notify your pet failed learn 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetIsNotMuchOld |
table |
notify your pet is not much old 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouAreSpammingInteraction |
table |
notify you are spamming interaction 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyPetSometingFind |
table |
notify pet someting find 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouAreIgnoringYourPet |
table |
notify you are ignoring your pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetDidntFindNothing |
table |
notify your pet didnt find nothing 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouSpammingYourPet |
table |
notify you spamming your pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetIncreaseBondingTo |
table |
notify your pet increase bonding to 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetStarving |
table |
notify your pet starving 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetMustBeSelected |
table |
notify your pet must be selected 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouNeedSelectCity |
table |
notify you need select city 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouDontHavePermissions |
table |
允许谁:notify you dont have permissions 的职业、组或权限。 |
↳ notifyYouCantBreedThisWithThis |
table |
notify you cant breed this with this 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouCantBreedMorePets |
table |
notify you cant breed more pets 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouCantBuyMorePets |
table |
notify you cant buy more pets 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouDontHaveEnoughMoney |
table |
notify you dont have enough money 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ notifyYouDontHaveEnoughGold |
table |
notify you dont have enough gold 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ notifyYouSuccessfullyBuyPet |
table |
notify you successfully buy pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYoutSuccessHealPet |
table |
notify yout success heal pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouSuccessSellPet |
table |
notify you success sell pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouSuccessBreedPet |
table |
notify you success breed pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouSuccessTakeBack |
table |
notify you success take back 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouSuccessTransferPet |
table |
notify you success transfer pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouDontHaveItemsForFixBreed |
table |
notify you dont have items for fix breed 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ notifyYouGiveItemToPet |
table |
notify you give item to pet 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ notifyYouDontHaveNothingToGive |
table |
notify you dont have nothing to give 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetIsHealed |
table |
notify your pet is healed 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYouNeedHaveCalledPet |
table |
notify you need have called pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyAfterNextCallPet |
table |
notify after next call pet 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyBallIsLossed |
table |
notify ball is lossed 显示给玩家的文本。可修改以翻译或更名。 |
↳ notifyYourPetCantFetchBall |
table |
notify your pet cant fetch ball 显示给玩家的文本。可修改以翻译或更名。 |
↳ answerDoYouWantSelectPet |
table |
Questions |
↳ answerDoYouWantResetAge |
table |
answer do you want reset age 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerYourPetFoundSometingDoUWantBringIt |
table |
answer your pet found someting do u want bring it 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerDoYouWantTransferToPet |
table |
answer do you want transfer to pet 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerDoYouWantAcceptBreed |
table |
answer do you want accept breed 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerDoYouWantHealFor |
table |
answer do you want heal for 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerDoYouWantSellFor |
table |
answer do you want sell for 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerDoYouWantTakeMoney |
table |
answer do you want take money 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ answerDoYouWantTakeBack |
table |
answer do you want take back 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerDoYouWantBuyFor |
table |
answer do you want buy for 条目表。按文件中的示例添加、删除或修改条目。 |
↳ answerDoYouWantAddPetToStore |
table |
answer do you want add pet to store 条目表。按文件中的示例添加、删除或修改条目。 |
↳ doYouWantTransferPetToPlayer |
table |
do you want transfer pet to player 条目表。按文件中的示例添加、删除或修改条目。 |
↳ multiInputAge |
table |
Multi inputs |
↳ multiInputGender |
table |
multi input gender 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ multiInputName |
table |
multi input name 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ inputPetsName |
table |
Inputs |
↳ inputPetsPrice |
table |
input pets price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ inputPetsDesc |
table |
input pets desc 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ promptOpenStore |
table |
Prompts |
↳ promptOpenPlayerStore |
table |
prompt open player store 显示给玩家的文本。可修改以翻译或更名。 |
↳ promptPetInteraction |
table |
prompt pet interaction 显示给玩家的文本。可修改以翻译或更名。 |
↳ promptPetSkills |
table |
prompt pet skills 显示给玩家的文本。可修改以翻译或更名。 |
↳ promptPetFlee |
table |
prompt pet flee 显示给玩家的文本。可修改以翻译或更名。 |
↳ promptPetHunt |
table |
prompt pet hunt 显示给玩家的文本。可修改以翻译或更名。 |
↳ promptPetTransfer |
table |
prompt pet transfer 显示给玩家的文本。可修改以翻译或更名。 |
↳ promptPetText |
table |
prompt pet text 显示给玩家的文本。可修改以翻译或更名。 |
↳ oldAge |
"مسن" |
General values |
↳ male |
"ذكر" |
male 的设置。 |
↳ female |
"أنثى" |
female 的设置。 |
↳ yes |
"نعم" |
yes 的设置。 |
↳ no |
"لا" |
no 的设置。 |
↳ s |
"ثانية" |
s 的设置。 |
↳ petsStoreTitle |
"الحيوانات الأليفة" |
Store UI |
↳ menuStore |
"المتجر" |
menu store 的设置。 |
↳ menuBreed |
"التزاوج" |
menu breed 的设置。 |
↳ menuTransfer |
"النقل" |
menu transfer 的设置。 |
↳ menuPlayerStoreAddPet |
"عرض الحيوان" |
Player market / pet information |
↳ menuPlayerStoreName |
"الاسم" |
menu player store name 显示给玩家的文本。可修改以翻译或更名。 |
↳ menuPlayerStoreGender |
"الجنس" |
menu player store gender 的设置。 |
↳ menuPlayerStoreExp |
"الخبرة" |
menu player store exp 的设置。 |
↳ menuPlayerStorePrice |
"السعر" |
menu player store price 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ menuPlayerStoreAge |
"العمر" |
menu player store age 的设置。 |
↳ menuPlayerStoreDesc |
"الوصف" |
menu player store desc 的设置。 |
↳ menuPetsSpots |
"الفرو / اللون" |
menu pets spots 的设置。 |
↳ menuStoreExp |
"الخبرة" |
menu store exp 的设置。 |
↳ menuStoreGender |
"الجنس" |
menu store gender 的设置。 |
↳ menuStoreAge |
"العمر" |
menu store age 的设置。 |
↳ menuStoreBreed |
"التزاوج" |
menu store breed 的设置。 |
config/configPets.lua - 20 个选项#
General
| Setting | Default | What it does |
|---|---|---|
iconSkills |
true |
It allows the activation of icons for skills. This way, text-based skills are replaced with icons. |
PetsConfig |
table |
pets config 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogHusky_01 |
table |
a c dog husky 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogRufus_01 |
table |
a c dog rufus 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogLab_01 |
table |
a c dog lab 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogBluetickCoonhound_01 |
table |
a c dog bluetick coonhound 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogHound_01 |
table |
a c dog hound 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogCollie_01 |
table |
a c dog collie 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogChesBayRetriever_01 |
table |
a c dog ches bay retriever 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_DogAmericanFoxhound_01 |
table |
a c dog american foxhound 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_dogaustraliansheperd_01 |
table |
a c dogaustraliansheperd 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_doghobo_01 |
table |
a c doghobo 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_dogcatahoulacur_01 |
table |
a c dogcatahoulacur 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_dogpoodle_01 |
table |
a c dogpoodle 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ A_C_Cat_01 |
table |
a c cat 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_bearblack_01 |
table |
a c bearblack 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_squirrel_01 |
table |
a c squirrel 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_owl_01 |
table |
a c owl 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_parrot_01 |
table |
a c parrot 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_rabbit_01 |
table |
a c rabbit 01 条目表。按文件中的示例添加、删除或修改条目。 |
config/configPetShop.lua - 19 个选项#
Payment: every category is paid in Store Money (price) unless the category has
| Setting | Default | What it does |
|---|---|---|
PetShop |
table |
pet shop 条目表。按文件中的示例添加、删除或修改条目。 |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ onlyListedPets |
true |
true = hide every pet that is not in Categories below |
↳ theme |
"JRS" |
"JRS" (jrs_stores look), "Dark" or "Light" (Fixitfy originals, see Themes) |
↳ myPetsCommand |
"mypets" |
opens the My Pets window ("" = off) |
↳ nameMinLength |
3 |
name min length 的最低值或等级要求。 |
↳ nameMaxLength |
24 |
name max length 的上限。 |
↳ attackPets |
table |
Owner 10-05: birds of prey + big cats only (RDR2 has no tiger model). Everything else (dogs, wolves, bears, cats, birds ...) never attacks. Attack still unlocks at pet level 8 (progression.fullAbilityLevel). |
↳ showBalance |
true |
player Store Money / gold in the top-left boxes |
↳ shopTitles |
table |
Shop titles shown in the menu header. Key = shop index in configCoords.lua |
↳ Themes |
table |
themes 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Categories |
table |
Shop categories, in display order. |
↳ showSupplies |
true |
Supplies tab inside the shop (items from Config.MarketFoodShop.items) |
true = two pets can never share a name (checked on buy and rename).
| Setting | Default | What it does |
|---|---|---|
↳ uniquePetNames |
false |
unique pet names 的开关:true = 开,false = 关(默认 false)。 |
↳ shopJobs |
table |
Optional, only if you ever want a lock: shopJobs = { [2] = { police = 0 } } -- lock a whole shop to a job jobs = { "police" } / groups = { "vip" } -- on one pet in Categories |
↳ shopNpcScenario |
"WORLD_HUMAN_SMOKE_NERVOUS_S... |
Idle scenario of the shopkeeper NPC ("" = stand still). |
↳ blipColours |
table |
Shop blip colour: open / closed (uses the npcSetting.useTime hours). |
↳ targetShortcuts |
table |
Keys while you aim (right click) at your own called pet. |
↳ HunterBirds |
table |
shop. They are bought through the birds system (its own database table, cash prices from BirdsConfig.Birds, max BirdsConfig.MaxBirdsPerCharacter) and are used from the shoulder / "My Birds" (/birds), not as pets. |
Notes from the README#
# JRS Pets 4.9.4 Stable - Instant Sync
Complete persistent pet ownership system for RedM. The resource keeps the configured shop, pet catalogue and pet profiles, adds a camera that remains locked to
## Core systems
- Persistent pet ownership stored in `jrs_pets` through oxmysql.
- Native `jrs_core` character and currency integration, with JRS selected as the required default framework.
- Configured shop NPC with automatic recovery if the ped is deleted, dead, hidden or left with a stale entity handle.
- Cash and gold purchasing, coat selection, catalogue search, category filters and a live 3D preview.
- Adaptive preview camera that centers differently sized animals, stays locked to a moving preview animal, and preserves manual rotate and zoom controls.
- Pre-purchase Test Walk and Test Behavior controls return the animal safely to its configured preview position.
- 37 store companions across dogs, cats, birds, wild animals, critters and farm animals.
- Owned-pet list, active-pet selection, call, store, rename, transfer, deletion and an animal-food-only supplies shop.
- Per-player purchase locks prevent duplicate pet and food transactions while a previous request is still running.
- `jrs_inventory` capacity is checked before food payment; synchronous insertion, removal and refund results remain authoritative.
## Companion gameplay
- Live HUD above the active pet showing name, level, age, experience, gender, bonding, behavior, health, hunger, thirst and life state.
- Native quick prompts appear beside the active pet for Pet/Revive, Feed, Drink, Follow/Stay, Carry/Drop, More Actions and Return Pet.
- `More Actions` opens the complete native prompt-only selector without NUI.
- Right-click targeting remains available as an alternate way to open pet actions.
- Follow, stay, recall, flee, carry, shoulder, feed, drink, bathe, pet, vocalize and store commands.
- Hunt mode, dead-animal search and prey retrieval.
- Configurable automatic protection against peds attacking the owner.
- Hunger and health requirements block hunting, retrieval, tracking and combat when the pet is not fit to work.
- Age-based body scaling, persistent experience, configurable levels and level-gated abilities.
- Health, hunger, thirst, hygiene, disease, bonding, age and experience tracking.
- Server-authoritative hygiene decay and disease damage.
- Paid healing clears disease and restores hygiene to a safe level.
- Downed state, recovery timer, manual revive and automatic revive.
- Per-species vocalization groups with cooldown handling.
- Ball fetch, configured skills, breeding and age reset remain available.
## Commands
- `/mypets` opens the companion panel with mouse focus. Run it again or press Escape to close it.
- `/callpet` calls or spawns the selected pet.
- `/fleepet` makes the active pet flee and stores it.
- `/jrspetrespawnnpc` recreates the configured shop keeper.
- `/jrsaccess` shows the current access state.
- `jrs_pets_version` is a server-console-only command that prints the complete build identity banner again.
## Configuration
The editable configuration remains in six files:
- `config/config.lua`
- `config/configJobs.lua`
- `config/configCoords.lua`
- `config/configPetsStore.lua`
- `config/configPets.lua`
- `config/configLang.lua`
`Config.ScriptInfo` at the top of `config/config.lua` controls Script Name, Version, Version Name, Version Type, Edition, Author and automatic startup printing.Paid (server only) jrs_ranch
jrs core Ranch - complete ranch management system for jrs_core / jrs_inventory
| Resource | jrs_ranch |
| Folder | [ACTIVITIES] |
| Version | 4.6.1-jrs |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 35,802 Lua lines |
Commands
/jrs_testid/ranchcheck/ranchdbstatus/ranchremove
Exports
IsRanchPredator, Notify
Database tables
jrs_ranch, jrs_ranch_animals, jrs_ranch_birth_records, jrs_ranch_breeding_records, jrs_ranch_buildings, jrs_ranch_guard_dogs, jrs_ranch_herd_transfers, jrs_ranch_market_stock, jrs_ranch_members, jrs_ranch_meta, jrs_ranch_pregnancies, jrs_ranch_ui_settings, jrs_ranch_upkeep_log
config/admin_theft.lua - 43 个选项#
REDEMPIRE RANCH 3.1.3 - ADMIN CONTROL CENTER, HERD TRANSFERS AND CATTLE RUSTLING
| Setting | Default | What it does |
|---|---|---|
RanchAdmin |
table |
允许谁:ranch admin 的职业、组或权限。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Command |
"ranchadmin" |
command 的设置。 |
↳ PageSize |
100 |
page size 的数值(默认 100)。 |
↳ RecentLogLimit |
40 |
recent log limit 的上限。 |
↳ TeleportHeightOffset |
1.0 |
teleport height offset 的数值(默认 1.0)。 |
↳ AuditConsole |
true |
audit console 的开关:true = 开,false = 关(默认 true)。 |
HerdTransfer |
table |
herd transfer 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ AllowSelectedAnimals |
true |
Allows selected animals:true = 是,false = 否(默认 true)。 |
↳ AllowWholeHerd |
true |
Allows whole herd:true = 是,false = 否(默认 true)。 |
↳ RespectFarmCapacity |
true |
respect farm capacity 的开关:true = 开,false = 关(默认 true)。 |
↳ BlockPregnantAnimals |
true |
block pregnant animals 的开关:true = 开,false = 关(默认 true)。 |
↳ LockBlocksAdminTransfer |
true |
lock blocks admin transfer 的开关:true = 开,false = 关(默认 true)。 |
↳ LockBlocksRustling |
true |
lock blocks rustling 的开关:true = 开,false = 关(默认 true)。 |
↳ MaxAnimalsPerRequest |
250 |
max animals per request 的上限。 |
CattleRustling |
table |
cattle rustling 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ RequireFarmOwner |
true |
Requires farm owner:true = 是,false = 否(默认 true)。 |
↳ MinimumFarmRank |
1 |
1 Owner, 2 Manager, 3 Senior, 4 Worker |
↳ InteractionDistance |
3.0 |
interaction distance 的游戏内距离。 |
↳ ServerDistancePadding |
2.0 |
server distance padding 的游戏内距离。 |
↳ PromptControl |
0xE30CD707 |
prompt control 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ PromptHoldMs |
1200 |
prompt hold ms 显示给玩家的文本。可修改以翻译或更名。 |
↳ ScanIntervalMs |
500 |
scan interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ FreezeAnimalDuringAttempt |
true |
confirms the rustling prompt until the server accepts/rejects the result. The short control request and refresh watchdog make this reliable even when another client originally owns the network entity. |
↳ FreezeControlTimeoutMs |
850 |
freeze control timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ FreezeRefreshMs |
90 |
freeze refresh ms 的数值(默认 90)。 |
↳ AttemptCooldownSeconds |
900 |
attempt cooldown seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ SessionExpireSeconds |
75 |
session expire seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MinimumAttemptSeconds |
3 |
minimum attempt seconds 的最低值或等级要求。 |
↳ SuccessChance |
75 |
success chance 的比率或倍数。 |
↳ GuardDogSuccessPenalty |
20 |
guard dog success penalty 的数值(默认 20)。 |
↳ BlockPregnantAnimals |
true |
block pregnant animals 的开关:true = 开,false = 关(默认 true)。 |
↳ BlockYoungAnimalsBelowGrowth |
35 |
block young animals below growth 使用的游戏模型或实体。 |
↳ RequireVictimOwnerOnline |
false |
Requires victim owner online:true = 是,false = 否(默认 false)。 |
↳ NotifyVictim |
true |
notify victim 的开关:true = 开,false = 关(默认 true)。 |
↳ NotifyTargetFarm |
true |
notify target farm 的开关:true = 开,false = 关(默认 true)。 |
↳ FailedAttemptNotifiesVictim |
true |
failed attempt notifies victim 的开关:true = 开,false = 关(默认 true)。 |
↳ MinigameProfile |
table |
minigame profile 条目表。按文件中的示例添加、删除或修改条目。 |
↳ AnimationProfile |
"rustle_animal" |
animation profile 的动画设置。 |
↳ Dispatch |
table |
dispatch 条目表。按文件中的示例添加、删除或修改条目。 |
FarmAnimationSystem |
type(Config.FarmAnimationSys... |
The animation is defined here so disabling/removing this optional feature file cannot corrupt the main animation configuration. |
config/animals_care.lua - 96 个选项#
animals_care.lua : Animal interaction, previews, care, species and breeding
| Setting | Default | What it does |
|---|---|---|
AnimalInfo |
table |
animal info 使用的游戏模型或实体。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Control |
0xF84FA74F |
Right Mouse / INPUT_AIM |
↳ MaxDistance |
3.5 |
max distance 的游戏内距离。 |
↳ UseModelHeight |
true |
开启或关闭 model height(默认 true)。 |
↳ HeightOffset |
1.45 |
Fallback when model dimensions are unavailable |
↳ HeightPadding |
0.14 |
height padding 的数值(默认 0.14)。 |
↳ MinimumHeight |
0.35 |
minimum height 的最低值或等级要求。 |
↳ AutoShowHealth |
false |
false = the status card stays hidden until the owner RIGHT-CLICKS the animal (right-click again to hide). true = old behaviour: a health-only card pops up automatically whenever the player walks close. |
↳ HealthOnly |
true |
health only 的开关:true = 开,false = 关(默认 true)。 |
↳ HealthDisplayDistance |
3.25 |
health display distance 的游戏内距离。 |
↳ PositionUpdateMs |
60 |
How often (ms) the world position above the animal is streamed to the HUD. Lower = smoother tracking (the HUD snaps exactly to the animal with no CSS easing). 30ms (~33fps) tracks a moving animal cleanly. |
AnimalPreview |
table |
Local, non-persistent animal preview used by the livestock shop. The exact male/female model selected in the UI is spawned, displayed, then deleted. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ DurationMs |
0 |
persistent until another animal/tab/camera is selected |
↳ SpawnDistance |
4.0 |
spawn distance 的游戏内距离。 |
↳ CameraDistance |
4.2 |
camera distance 的游戏内距离。 |
↳ CameraHeight |
1.35 |
camera height 的数值(默认 1.35)。 |
↳ RotationSpeed |
8.0 |
rotation speed 的数值(默认 8.0)。 |
↳ CancelControl |
0xF84FA74F |
Right Mouse / INPUT_AIM |
AnimalAutoReturn |
table |
Automatically return an active animal to the barn when its owner gets too far away. The distance is measured from the player to the animal. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ MaxDistanceFromPlayer |
120.0 |
max distance from player 的游戏内距离。 |
↳ CheckIntervalMs |
5000 |
check interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ NotifyOwner |
true |
notify owner 的开关:true = 开,false = 关(默认 true)。 |
AnimalLifespanDays |
30 |
Persistent animal lifespan in real-world days. Existing animals receive a fresh lifespan when upgrading from a version that did not store dies_at. |
Care |
table |
Complete animal-care system. Every value below is enforced by the server; changing a control or item here automatically changes the matching action. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ InteractionDistance |
3.5 |
interaction distance 的游戏内距离。 |
↳ ActionCooldownSeconds |
3 |
action cooldown seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ Controls |
table |
controls 条目表。按文件中的示例添加、删除或修改条目。 |
↳ StartStats |
table |
start stats 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Actions |
table |
actions 条目表。按文件中的示例添加、删除或修改条目。 |
↳ MenuWaterItem |
"water" |
drinks there. SearchRadius = how far from the animal the water may be. Watering from the farm menu consumes this inventory item (the in-world Give Water prompt instead needs a lake/river and uses no item). |
↳ MenuWaterGain |
50 |
menu water gain 的数值(默认 50)。 |
↳ LakeDrink |
table |
lake drink 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Decay |
table |
decay 条目表。按文件中的示例添加、删除或修改条目。 |
↳ ProductionRequirements |
table |
production requirements 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Fx |
Config.FarmCareFx |
fx 的设置。 |
AnimalSpecies |
table |
Species, gender and offspring rules used by purchases and server-authorized breeding. Models in the same group may breed when their genders differ. |
↳ a_c_bull_01 |
table |
a c bull 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_cow |
table |
a c cow 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_pig_01 |
table |
a c pig 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_sheep_01 |
table |
a c sheep 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_goat_01 |
table |
a c goat 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_chicken_01 |
table |
a c chicken 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_rooster_01 |
table |
a c rooster 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_turkey_01 |
table |
a c turkey 01 条目表。按文件中的示例添加、删除或修改条目。 |
Breeding |
table |
breeding 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ LifetimeProduction |
table |
Every animal may successfully produce offspring only once. Failed attempts do not consume this lifetime allowance. |
↳ RandomPrice |
table |
Server-authoritative random breeding service price. A new quote is generated for each valid attempt inside the configured species range. |
↳ PenRadius |
20.0 |
Both selected animals must be inside the ranch's breeding pen circle to confirm |
↳ MinimumAgeMinutes |
90 |
minimum age minutes 的最低值或等级要求。 |
↳ MinimumScale |
0.85 |
minimum scale 的最低值或等级要求。 |
↳ MinimumGrowthPercent |
75 |
minimum growth percent 的最低值或等级要求。 |
↳ RequirementsByGroup |
table |
Optional stricter maturity rules per species group. |
↳ MinimumStats |
table |
minimum stats 的最低值或等级要求。 |
↳ ChancePercent |
75 |
chance percent 的比率或倍数。 |
↳ CooldownSeconds |
60 * 60 |
cooldown seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DefaultGestationSeconds |
45 * 60 |
default gestation seconds 的设置。 |
↳ GestationSeconds |
table |
gestation seconds 条目表。按文件中的示例添加、删除或修改条目。 |
↳ WorkerTiers |
table |
worker tiers 条目表。按文件中的示例添加、删除或修改条目。 |
↳ HalfTierDailyLimit |
3 |
half tier daily limit 的上限。 |
AnimalRestAnimations |
table |
dictionaries. Mammals use their native world "resting" state instead of a generic scenario, so they visibly sit/lie down and remain relaxed. Unknown species fall back to TaskStandStill rather than attempting unsafe hashes. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ LoadTimeoutMs |
2400 |
load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ EnterDurationMs |
1650 |
enter duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ RestartCheckMs |
4500 |
restart check ms 的数值(默认 4500)。 |
↳ VariationEnabled |
true |
variation enabled 的开关:true = 开,false = 关(默认 true)。 |
↳ VariationMinDelayMs |
6500 |
variation min delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ VariationMaxDelayMs |
12000 |
variation max delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ VariationDurationMs |
3600 |
variation duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ Profiles |
table |
profiles 条目表。按文件中的示例添加、删除或修改条目。 |
Resting |
table |
resting 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ MaxEnemies |
4 |
max enemies 的上限。 |
↳ Control |
0xD27782E3 |
control 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Label |
"Rest / Leave Rest" |
label 显示给玩家的文本。可修改以翻译或更名。 |
↳ InteractionDistance |
2.5 |
interaction distance 的游戏内距离。 |
↳ DecayMultiplier |
0.25 |
decay multiplier 的比率或倍数。 |
↳ HealthRecoveryPerTick |
2 |
health recovery per tick 的数值(默认 2)。 |
↳ HappinessRecoveryPerTick |
3 |
happiness recovery per tick 的数值(默认 3)。 |
Selling |
table |
selling 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
Slaughter |
table |
slaughter 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Control |
0x9959A6F0 |
control 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Label |
"Slaughter Animal" |
label 显示给玩家的文本。可修改以翻译或更名。 |
↳ InteractionDistance |
2.5 |
interaction distance 的游戏内距离。 |
↳ Duration |
7000 |
duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ PlayerAnimation |
table |
player animation 的动画设置。 |
↳ AnimalAnimation |
table |
animal animation 使用的游戏模型或实体。 |
↳ MinimumGrowthPercent |
95 |
minimum growth percent 的最低值或等级要求。 |
↳ MinimumStats |
table |
minimum stats 的最低值或等级要求。 |
AnimalRestAnimations |
Config.AnimalRestAnimations ... |
Natural Resting-zone movement. Animals alternate between a short wander inside a small radius and their species-specific sitting/lying animation. |
config/animals_spawn_products.lua - 78 个选项#
animals_spawn_products.lua : Selling, slaughter, herding, spawn optimization, gr
| Setting | Default | What it does |
|---|---|---|
SellingRequirements |
table |
selling requirements 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ MinimumGrowthPercent |
95 |
minimum growth percent 的最低值或等级要求。 |
↳ MinimumStats |
table |
minimum stats 的最低值或等级要求。 |
Herding |
table |
herding 条目表。按文件中的示例添加、删除或修改条目。 |
↳ BellItem |
"ranch_bell" |
bell item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ RequireBell |
true |
Requires bell:true = 是,false = 否(默认 true)。 |
↳ Command |
"ranchbell" |
command 的设置。 |
↳ Radius |
50.0 |
radius 的游戏内距离。 |
↳ FollowDurationSeconds |
15 * 60 |
follow duration seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ FollowDistance |
3.0 |
follow distance 的游戏内距离。 |
AnimalBlips |
table |
animal blips 的地图标记或图标设置。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Label |
"My Animal" |
label 显示给玩家的文本。可修改以翻译或更名。 |
↳ Sprite |
(Config.RanchBlips and Confi... |
sprite 的地图标记或图标设置。 |
↳ Scale |
(Config.RanchBlips and Confi... |
scale 的比率或倍数。 |
↳ ModColor |
(Config.RanchBlips and Confi... |
mod color 的设置。 |
AnimalFollowOnSpawn |
true |
The animal starts following its owner the instant it spawns (server sets isFollowing = true on call/spawn). Set false to have it stand still instead. |
AnimalRespawnWatchdog |
table |
Watchdog: re-create any owned animal whose ped was culled by the engine while it should still be out of the barn (fixes animals "disappearing"). |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ CheckIntervalMs |
7000 |
Lightweight recovery: never recreate a whole herd on one frame. |
↳ MaxRespawnsPerPass |
1 |
max respawns per pass 的上限。 |
↳ RespawnStepMs |
320 |
respawn step ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MissingConfirmMs |
2600 |
missing confirm ms 的数值(默认 2600)。 |
AnimalSpawnPerformance |
table |
Central spawn-performance settings used by Barn, Call, Feed and watchdog recovery. Models stay loaded briefly during a herd burst, then are released. |
↳ ModelLoadTimeoutMs |
4500 |
model load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ ModelPollMs |
25 |
model poll ms 使用的游戏模型或实体。 |
↳ ModelKeepAliveMs |
45000 |
model keep alive ms 使用的游戏模型或实体。 |
↳ ModelCleanupIntervalMs |
20000 |
model cleanup interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ BulkBatchSize |
1 |
bulk batch size 的数值(默认 1)。 |
↳ BulkBatchDelayMs |
180 |
bulk batch delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ BulkDeleteBatchSize |
1 |
bulk delete batch size 的数值(默认 1)。 |
↳ BulkDeleteDelayMs |
160 |
bulk delete delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
AnimalWanderingEnabled |
false |
Keep owned animals near their spawn point unless a player explicitly uses the follow/herd actions. |
VariationLabels |
table |
Variation labels for the NUI color picker when buying animals. Keys correspond to Variations values in the species definition. Per-species VariationLabels override these defaults. |
↳ 0 |
"Standard" |
0 的设置。 |
↳ 1 |
"Pattern 1" |
1 的设置。 |
↳ 2 |
"Pattern 2" |
2 的设置。 |
Growth |
table |
growth 条目表。按文件中的示例添加、删除或修改条目。 |
↳ TickRate |
60 * 1000 |
Check every 1 minute |
↳ ScaleIncrease |
0.125 |
Fallback growth rate |
↳ DefaultStartScale |
0.5 |
Start small (baby) |
↳ DefaultMaxScale |
1.0 |
Adult size |
↳ HungerDecayPerTick |
2 |
How much hunger drops each tick |
↳ MinHungerToGrow |
30 |
Minimum hunger required to grow |
GrowthRates |
table |
Custom growth times in hours per animal model |
↳ a_c_bull_01 |
table |
a c bull 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_cow |
table |
a c cow 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_sheep_01 |
table |
a c sheep 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_goat_01 |
table |
a c goat 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_pig_01 |
table |
a c pig 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_chicken_01 |
table |
a c chicken 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_rooster_01 |
table |
a c rooster 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_turkey_01 |
table |
a c turkey 01 条目表。按文件中的示例添加、删除或修改条目。 |
AnimalProducts |
table |
animal products 使用的游戏模型或实体。 |
↳ a_c_bull_01 |
table |
a c bull 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_cow |
table |
a c cow 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_pig_01 |
table |
a c pig 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_sheep_01 |
table |
a c sheep 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_goat_01 |
table |
a c goat 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_chicken_01 |
table |
a c chicken 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_rooster_01 |
table |
a c rooster 01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_turkey_01 |
table |
a c turkey 01 条目表。按文件中的示例添加、删除或修改条目。 |
AnimalsToBuy |
table |
Each store card represents one species. The player must choose Male or Female; the server resolves the correct model and price from this table. |
AgePricing |
table |
age pricing 条目表。按文件中的示例添加、删除或修改条目。 |
↳ young |
0.5 |
young 的数值(默认 0.5)。 |
↳ prime |
1.5 |
prime 的数值(默认 1.5)。 |
↳ adult |
1.0 |
adult 的数值(默认 1.0)。 |
↳ old |
0.7 |
old 的数值(默认 0.7)。 |
BaseSellPrices |
table |
base sell prices 条目表。按文件中的示例添加、删除或修改条目。 |
↳ a_c_bull_01 |
20.00 |
a c bull 01 的数值(默认 20.00)。 |
↳ a_c_cow |
15.00 |
a c cow 的数值(默认 15.00)。 |
↳ a_c_pig_01 |
7.00 |
a c pig 01 的数值(默认 7.00)。 |
↳ a_c_sheep_01 |
5.00 |
a c sheep 01 的数值(默认 5.00)。 |
↳ a_c_goat_01 |
4.50 |
a c goat 01 的数值(默认 4.50)。 |
↳ a_c_chicken_01 |
0.75 |
a c chicken 01 的数值(默认 0.75)。 |
↳ a_c_rooster_01 |
1.00 |
a c rooster 01 的数值(默认 1.00)。 |
↳ a_c_turkey_01 |
1.25 |
a c turkey 01 的数值(默认 1.25)。 |
config/blips.lua - 26 个选项#
blips.lua : Duty-only ranch map blips
| Setting | Default | What it does |
|---|---|---|
RanchBlips |
table |
ranch blips 的地图标记或图标设置。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ OnDutyOnly |
true |
on duty only 的开关:true = 开,false = 关(默认 true)。 |
↳ ForceWhite |
true |
Forces white:true = 是,false = 否(默认 true)。 |
↳ WhiteColor |
WHITE |
white color 的设置。 |
↳ Behavior |
table |
Map behavior: off duty shows only ranch-entry NPC blips. On duty shows only the active physical ranch plus live mission/entity representatives. |
↳ Unified |
table |
unified 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Ranch |
table |
ranch 条目表。按文件中的示例添加、删除或修改条目。 |
↳ RestingZone |
table |
resting zone 条目表。按文件中的示例添加、删除或修改条目。 |
↳ AnimalSale |
table |
animal sale 使用的游戏模型或实体。 |
↳ BredAnimalMarket |
table |
bred animal market 使用的游戏模型或实体。 |
↳ Slaughter |
table |
slaughter 条目表。按文件中的示例添加、删除或修改条目。 |
↳ CattleAuction |
table |
cattle auction 条目表。按文件中的示例添加、删除或修改条目。 |
↳ AuctionRoute |
table |
auction route 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Animal |
table |
animal 使用的游戏模型或实体。 |
↳ GuardDog |
table |
guard dog 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Predator |
table |
predator 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Staff |
table |
staff 条目表。按文件中的示例添加、删除或修改条目。 |
↳ FeedWagon |
table |
feed wagon 条目表。按文件中的示例添加、删除或修改条目。 |
↳ HayPickup |
table |
hay pickup 条目表。按文件中的示例添加、删除或修改条目。 |
↳ RestingDestination |
table |
resting destination 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Chore |
table |
chore 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Tasks |
table |
tasks 条目表。按文件中的示例添加、删除或修改条目。 |
↳ GeneralStore |
table |
general store 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Bank |
table |
bank 条目表。按文件中的示例添加、删除或修改条目。 |
↳ PostOffice |
table |
post office 条目表。按文件中的示例添加、删除或修改条目。 |
config/core.lua - 278 个选项#
VERSION / FILE INTEGRITY
| Setting | Default | What it does |
|---|---|---|
Integrity |
table |
The resource always performs a local required-file check at startup. To use a private REDEMPIRE Ranch update manifest, enable UpdateCheck and set VersionUrl to a JSON endpoint: {"version":"3.2.0","files":["client/animations.lua"," |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ FailClosed |
false |
false: warn and continue with safe fallbacks |
↳ RequiredFiles |
table |
required files 条目表。按文件中的示例添加、删除或修改条目。 |
UpdateCheck |
table |
update check 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
false |
开启或关闭 enabled(默认 false)。 |
↳ VersionUrl |
"" |
private REDEMPIRE JSON manifest URL |
↳ ReleaseUrl |
"" |
private download / release page shown in console |
↳ TimeoutMs |
5000 |
timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
SERVER SECURITY / ANTI-ABUSE
| Setting | Default | What it does |
|---|---|---|
Security |
table |
All important rewards and destructive actions are revalidated server-side. Keep KickOnAbuse false unless you want repeated invalid/spam requests to kick. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ CallbackWindowMs |
1000 |
Global callback transport limiter. Individual sensitive actions use stricter limits and short-lived transaction locks in server/farm.lua. |
↳ CallbackMaxCalls |
12 |
callback max calls 的上限。 |
↳ MaxCallbackPayloadEntries |
96 |
max callback payload entries 的上限。 |
↳ MaxCallbackStringLength |
1024 |
max callback string length 的上限。 |
↳ MaxCallbackDepth |
6 |
max callback depth 的上限。 |
↳ CallbackTimeoutMs |
15000 |
callback timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ ServerCallbackTimeoutMs |
14000 |
server callback timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MaxPendingCallbacks |
96 |
max pending callbacks 的上限。 |
↳ CallbackLogCleanupIntervalMs |
300000 |
callback log cleanup interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CallbackLogMaxAgeMs |
600000 |
callback log max age ms 的上限。 |
↳ DatabaseQueryTimeoutMs |
30000 |
database query timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ SharedLockCleanupIntervalMs |
300000 |
shared lock cleanup interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ SecurityStateCleanupIntervalMs |
300000 |
security state cleanup interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ SecurityStateMaxAgeMs |
600000 |
security state max age ms 的上限。 |
↳ DefaultWindowMs |
1000 |
default window ms 的数值(默认 1000)。 |
↳ DefaultMaxCalls |
4 |
default max calls 的上限。 |
↳ RateLimitStrikeThreshold |
6 |
rate limit strike threshold 的上限。 |
↳ RateLimitStrikeWindowMs |
5000 |
rate limit strike window ms 的上限。 |
↳ CallbackNameMaxLength |
96 |
callback name max length 的上限。 |
↳ UnknownCallbackWindowMs |
5000 |
unknown callback window ms 的数值(默认 5000)。 |
↳ UnknownCallbackMaxCalls |
8 |
unknown callback max calls 的上限。 |
↳ ViolationResetMs |
900000 |
violation reset ms 的数值(默认 900000)。 |
↳ AuditCooldownMs |
2000 |
audit cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ MaxNetworkId |
2147483647 |
max network id 的上限。 |
↳ PredatorDamageWindowMs |
2000 |
predator damage window ms 的数值(默认 2000)。 |
↳ PredatorDamageMaxPerWindow |
50 |
predator damage max per window 的上限。 |
↳ PredatorEntityDistancePadding |
2.0 |
predator entity distance padding 的游戏内距离。 |
↳ ExternalAntiCheat |
table |
Optional server-side anti-cheat bridge. It is called only for confirmed server-side violations; no gameplay decision trusts a client report. |
↳ KickOnAbuse |
false |
Abuse response. Violations are always printed to the server console. |
↳ MaxViolations |
12 |
max violations 的上限。 |
↳ KickMessage |
'REDEMPIRE Ranch: suspicious... |
kick message 显示给玩家的文本。可修改以翻译或更名。 |
↳ MaxCoordinateAbsolute |
10000.0 |
Input / world bounds. |
↳ MaxAnimalBuyAmount |
30 |
max animal buy amount 的上限。 |
↳ MaxProduceCollectAmount |
1000 |
max produce collect amount 的上限。 |
↳ MaxMoneyTransaction |
10000 |
max money transaction 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ AnimalNameMaxLength |
30 |
animal name max length 的上限。 |
↳ FarmMenuDistance |
25.0 |
Interaction validation distances. These are intentionally generous so normal gameplay is not rejected by OneSync/server coordinate delay. |
↳ AnimalReturnFarmDistance |
85.0 |
An animal can only be returned from the UI while its verified entity is near the physical farm. Padding absorbs normal OneSync coordinate delay. |
↳ AnimalReturnEntityDistancePadding |
8.0 |
animal return entity distance padding 的游戏内距离。 |
↳ AnimalReturnPlayerDistance |
4.5 |
player must stand beside the actual animal ped |
↳ FeedStartDistance |
120.0 |
feed start distance 的游戏内距离。 |
↳ FeedFinishExtraDistance |
20.0 |
feed finish extra distance 的游戏内距离。 |
↳ HireDistance |
15.0 |
hire distance 的游戏内距离。 |
↳ FeedSessionExpireSeconds |
7200 |
Feed mission server ticket. The server refuses instant/replayed completion. Low-level farms can graze for up to 40 minutes, so the ticket must live long enough for loading/delivery plus the full grazing phase. |
↳ FeedMinimumGrazingFactor |
0.95 |
feed minimum grazing factor 的最低值或等级要求。 |
↳ ProduceMinimumFactor |
0.25 |
produce minimum factor 的最低值或等级要求。 |
↳ ChoreMinimumFactor |
0.50 |
chore minimum factor 的最低值或等级要求。 |
↳ ChoreSessionExpireSeconds |
300 |
chore session expire seconds 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DropLegacyTablesOnStartup |
false |
Never delete old/legacy tables automatically on every resource restart. Enable this only once when intentionally migrating an old installation. |
↳ CleanupOwnerlessMembershipsOnStartup |
false |
cleanup ownerless memberships on startup 的开关:true = 开,false = 关(默认 false)。 |
INVENTORY SAFETY
| Setting | Default | What it does |
|---|---|---|
InventorySafety |
table |
Every direct player-inventory grant is checked against the REDEMPIRE core's authoritative carry limit before anything is added. This prevents rewards, purchases or collection actions from overflowing a full inventory. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ CheckBeforeEveryGrant |
true |
check before every grant 的开关:true = 开,false = 关(默认 true)。 |
↳ VerifyAfterGrant |
true |
verify after grant 的开关:true = 开,false = 关(默认 true)。 |
↳ RejectWhenCarryCheckFails |
true |
reject when carry check fails 的开关:true = 开,false = 关(默认 true)。 |
↳ MaxSingleGrant |
1000 |
max single grant 的上限。 |
↳ VerifyAttempts |
14 |
verify attempts 的数值(默认 14)。 |
↳ VerifyDelayMs |
75 |
verify delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ FullMessage |
"Your inventory is full." |
full message 显示给玩家的文本。可修改以翻译或更名。 |
NUI GAMEPLAY INPUT LOCK
| Setting | Default | What it does |
|---|---|---|
NuiInputLock |
table |
Blocks the Red Dead weapon wheel and gameplay controls while the ranch NUI owns focus. NUI mouse/keyboard input remains available. Preview prompt keys still work because their handlers read disabled controls intentionally. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ DisableAllGameplayControls |
true |
Turns off all gameplay controls:true = 是,false = 否(默认 true)。 |
↳ DisableWeaponSwitching |
true |
Turns off weapon switching:true = 是,false = 否(默认 true)。 |
↳ DisablePlayerFiring |
true |
Turns off player firing:true = 是,false = 否(默认 true)。 |
↳ ControlGroups |
table |
control groups 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Controls |
table |
Extra RedM controls retained for servers that disable only selected input. |
TEST MODE (DEVELOPMENT SERVERS ONLY)
| Setting | Default | What it does |
|---|---|---|
TestMode |
table |
Keep Enabled = false on a live server. When enabled, the farm Owner gets a Test tab with server-authorized shortcuts for testing without long waits. |
↳ Enabled |
false |
Enabled for the Steam identifiers listed in config/steam_permissions.lua. Test page removed from the player UI (2026-09-28); keep this OFF. |
↳ OwnerOnly |
true |
Test Mode is always Steam-whitelist protected when enabled. Identifiers are stored in config/steam_permissions.lua and loaded server-side only. |
↳ PredatorTargetAnimals |
4 |
Number of ranch animals automatically called for the guaranteed wolf test when no local herd is already outside. |
↳ Rustling |
table |
owned by an isolated synthetic herd, not by the tester's ranch. The normal world prompt/minigame/server transfer flow is then used to steal it into the tester's barn. |
↳ Limits |
table |
Safety limits for custom values sent from the Test tab. |
↳ Values |
table |
values 条目表。按文件中的示例添加、删除或修改条目。 |
DYNAMIC FARM ECONOMY
| Setting | Default | What it does |
|---|---|---|
DynamicPricing |
table |
Every price shown/charged by the integrated farm systems can move inside a configured range. Prices remain stable during RefreshMinutes, then refresh together. The server is authoritative; the UI only displays server prices. |
↳ Enabled |
false |
static Red Dead Online-style catalogue prices |
↳ RefreshMinutes |
60 |
refresh minutes 的数值(默认 60)。 |
↳ Categories |
table |
categories 条目表。按文件中的示例添加、删除或修改条目。 |
FARM MARKET - care supplies + produce sales in one NUI tab
| Setting | Default | What it does |
|---|---|---|
FarmMarket |
table |
farm market 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ AutoRegisterDatabaseItems |
true |
INSERT IGNORE all care/product item names into the jrs_inventory items table when it exists |
↳ MaxTransactionQuantity |
100 |
max transaction quantity 的上限。 |
↳ ProductFarmDepositPercent |
20 |
remainder is paid directly to the player |
↳ InventoryImageBase |
'nui://jrs_inventory/html/im... |
inventory image base 的设置。 |
↳ InventoryImageExtension |
".png" |
inventory image extension 的设置。 |
↳ UseInventoryImagesOnly |
true |
market never loads duplicate local item artwork |
↳ CareItems |
table |
care items 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ Products |
table |
10-04 profit raise (no NPC store sells these 4 raw products, so no buy->sell loop). |
FarmTimeDecayUpdate |
10 |
decay tick: animals get hungry + grow |
FarmTimeProduceUpdate |
1 |
produce tick: mature, healthy animals create produce |
FarmTimeRestingUpdate |
2 |
resting tick: animals recover clean/happy |
CLIENT PERFORMANCE
| Setting | Default | What it does |
|---|---|---|
Performance |
table |
Conservative defaults designed to keep resmon close to idle even with many animals. Render-frame work is only used while a visible marker/prompt needs it. |
↳ PlayerCoordCacheMs |
140 |
Shared on-demand coordinate cache used by independent ranch loops. |
↳ WorldMarkerIdleMs |
3000 |
World zone rings. Segment LOD keeps the same segmented style with much less DrawLine work near large resting zones. |
↳ DisableDrawLines |
true |
RedM b1491 can crash in the renderer when resources issue DrawLine calls (crash hash: purple-oxygen-venus). Keep this on until the client fix lands. |
↳ WorldRingMaxSegments |
32 |
world ring max segments 的上限。 |
↳ WorldRingFarDistance |
35.0 |
world ring far distance 的游戏内距离。 |
↳ WorldRingFarSegments |
16 |
world ring far segments 的数值(默认 16)。 |
↳ FarmNpcIdleMs |
2200 |
farm npc idle ms 的数值(默认 2200)。 |
↳ FarmNpcApproachDistance |
25.0 |
farm npc approach distance 的游戏内距离。 |
↳ FarmNpcApproachMs |
350 |
farm npc approach ms 的数值(默认 350)。 |
↳ AnimalGroundProbeMs |
400 |
animal ground probe ms 使用的游戏模型或实体。 |
↳ AnimalNearScanMs |
260 |
animal near scan ms 使用的游戏模型或实体。 |
↳ AnimalIdleScanMs |
1250 |
animal idle scan ms 使用的游戏模型或实体。 |
↳ AnimalActiveDistanceMs |
260 |
animal active distance ms 的游戏内距离。 |
↳ AnimalIdleInputMs |
650 |
animal idle input ms 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ AutoReturnIdleMs |
12000 |
auto return idle ms 的数值(默认 12000)。 |
↳ RustlingIdleScanMs |
1800 |
rustling idle scan ms 的数值(默认 1800)。 |
↳ RustlingNearScanMs |
500 |
rustling near scan ms 的数值(默认 500)。 |
↳ FeedMarkerDrawDistance |
70.0 |
feed marker draw distance 的游戏内距离。 |
↳ RestingMarkerDrawDistance |
180.0 |
resting marker draw distance 的游戏内距离。 |
↳ FeedWagonDrawDistance |
45.0 |
feed wagon draw distance 的游戏内距离。 |
↳ FeedMissionTravelMs |
550 |
feed mission travel ms 的数值(默认 550)。 |
↳ FeedGrazingLoopMs |
2200 |
feed grazing loop ms 的数值(默认 2200)。 |
↳ StaticNpcStreamDistance |
115.0 |
Static ranch/resting NPC streaming. All static NPCs are local and only exist near the current player. |
↳ StaticNpcDespawnDistance |
165.0 |
static npc despawn distance 的游戏内距离。 |
↳ StaticNpcIdleMs |
3000 |
static npc idle ms 的数值(默认 3000)。 |
↳ StaticNpcNearMs |
450 |
static npc near ms 的数值(默认 450)。 |
↳ StaticNpcModelLoadTimeoutMs |
3500 |
static npc model load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ StaticNpcModelPollMs |
35 |
static npc model poll ms 使用的游戏模型或实体。 |
↳ GizmoCameraSyncMs |
50 |
The heavy Three.js editor is loaded only when building starts. Camera transform messages are limited to about 20 FPS while the gizmo is active. |
↳ PredatorHealthUiMs |
160 |
predator health ui ms 的数值(默认 160)。 |
↳ AnimalUiCoalesceMs |
80 |
animal ui coalesce ms 使用的游戏模型或实体。 |
↳ StaleEntityCleanupMs |
45000 |
stale entity cleanup ms 的数值(默认 45000)。 |
↳ UiLevelRefreshMs |
2500 |
ui level refresh ms 的最低值或等级要求。 |
↳ MarketRefreshMs |
30000 |
Heavy-server defaults: refresh only while needed and keep payload churn low. |
↳ StaffRefreshMs |
30000 |
staff refresh ms 的数值(默认 30000)。 |
↳ UiStateRefreshMs |
18000 |
ui state refresh ms 的数值(默认 18000)。 |
↳ EntityBlipRefreshMs |
2500 |
entity blip refresh ms 的地图标记或图标设置。 |
↳ ChorePromptIdleMs |
1500 |
chore prompt idle ms 显示给玩家的文本。可修改以翻译或更名。 |
RESTING MANAGER NPC
| Setting | Default | What it does |
|---|---|---|
RestingManager |
table |
One lightweight streamed NPC is available in the resting zone assigned to each farm. Farm members can use the prompt to put every eligible animal from that farm into resting mode with one server-authoritative batch. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ InteractDistance |
3.0 |
Interaction / server validation. NPC streaming values are centralized in Config.Performance so the farm NPCs and resting managers share one budget. |
↳ PromptIdleMs |
900 |
prompt idle ms 显示给玩家的文本。可修改以翻译或更名。 |
↳ ServerValidationPadding |
3.0 |
server validation padding 的数值(默认 3.0)。 |
↳ CooldownMs |
1500 |
cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ PromptKey |
0xCEFD9220 |
E |
↳ PromptText |
"Rest All Animals" |
prompt text 显示给玩家的文本。可修改以翻译或更名。 |
↳ PromptGroup |
"Resting Manager" |
允许谁:prompt group 的职业、组或权限。 |
↳ PromptHoldMs |
800 |
prompt hold ms 显示给玩家的文本。可修改以翻译或更名。 |
↳ OnlySpawnedAnimals |
true |
false = the manager puts every animal owned by the farm into resting state in one server batch. Spawned animals update immediately; barn animals retain the resting state for the next time they are called out. |
↳ Npc |
table |
Default NPC appearance. A resting zone can override any of these values inside its manager table. |
FARM DUTY / WORK CLOTHES
| Setting | Default | What it does |
|---|---|---|
FarmDuty |
table |
The UI button applies a lightweight configurable outfit preset. On REDEMPIRE, going off duty runs the configured character clothes reload command so the player's saved outfit is restored instead of being permanently replaced. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ RequiredForWork |
true |
care, call/return, resting, produce, chores, breeding, selling and building |
↳ ApplyClothes |
true |
apply clothes 的开关:true = 开,false = 关(默认 true)。 |
↳ ButtonLabelOn |
"Go On Duty" |
button label on 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ ButtonLabelOff |
"Go Off Duty" |
button label off 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ RestoreCommand |
"rc" |
restores the character's saved clothing when leaving duty |
↳ ApplyDelayMs |
350 |
apply delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ RevalidateMs |
5000 |
re-check membership/rank/permission during work without querying every frame |
↳ AllowedRanks |
table |
Duty is server-authoritative. A player MUST be a registered member of the current farm and have one of these farm ranks before the outfit is applied. Rank 1=Owner, 2=Manager, 3=Senior Rancher, 4=Rancher by default. |
↳ RequiredPermission |
"care" |
允许谁:required permission 的职业、组或权限。 |
↳ maleUniformSourcePed |
"a_m_m_ranchertravelers_warm_01" |
Duty clothing configuration (replicated from jrs_mining) |
↳ maleUniformOutfitPreset |
0 |
male uniform outfit preset 的数值(默认 0)。 |
↳ Uniform |
table |
Real multiplayer clothing components (applied as native components) |
↳ PerFarm |
table |
per farm 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Messages |
table |
messages 显示给玩家的文本。可修改以翻译或更名。 |
WORLD ANIMAL INTERACTION (HUD + hotkeys)
| Setting | Default | What it does |
|---|---|---|
AnimalInteraction |
table |
status circles (Health/Food/Water/Cleanliness/Happiness/Growth/Breeding) at the top of the screen and the action list on the right. Every key, distance and timing value is configurable here. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Distance |
15.0 |
generous interaction radius for large animals and herd handling |
↳ CheckIntervalMs |
250 |
proximity scan interval while idle |
↳ RefreshSeconds |
10 |
periodic HUD stat refresh from the server |
↳ ActionCooldownSeconds |
2 |
server-enforced delay between care actions |
↳ RequireRestingZone |
true |
S can enter Rest only inside this farm's configured resting zone |
↳ SpawnDistance |
3.0 |
meters in front of the player a called animal appears |
↳ SingleActive |
false |
calling an animal safely returns the previous one first |
↳ FollowDistance |
2.5 |
follow stopping range |
↳ FollowSpeed |
2.0 |
follow speed while the owner walks |
↳ FollowRunSpeed |
6.0 |
owner running/sprinting or herd > FollowRunDistance behind |
↳ FollowMountSpeed |
9.0 |
owner on a horse / wagon |
↳ FollowRunDistance |
7.0 |
metres behind before the herd breaks into a run |
↳ FollowCatchUpDistance |
45.0 |
off-screen and this far behind -> placed back behind the owner |
↳ FollowFormationWidth |
3 |
animals per row behind the owner |
↳ FollowFormationSpacing |
1.8 |
metres between formation slots |
↳ ReturnDistance |
3.5 |
strict player-to-animal range required to activate Return |
↳ ReturnPromptDisplayDistance |
6.0 |
selected animal: show the button early; enable inside ReturnDistance |
↳ ReturnRequireRightClick |
true |
Return appears only after right-clicking/selecting the animal |
↳ ReturnRequireNearFarm |
true |
animal must be back near its own farm before Return appears |
↳ ReturnFarmDistance |
85.0 |
client display range; server repeats the authoritative validation |
↳ ReturnHoldMs |
900 |
hold duration prevents accidental returns |
↳ AutoReturn |
table |
auto return 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Keys |
table |
RedM keyboard control hashes for the on-screen actions. |
ProduceMinigame |
table |
In-world produce collection. Each animal opens a small themed skill game; rewards are authorized only after the server validates the completed run. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ SessionSeconds |
70 |
session seconds 的数值(默认 70)。 |
↳ Types |
table |
types 条目表。按文件中的示例添加、删除或修改条目。 |
REALISTIC RANCH ANIMATION SYSTEM
| Setting | Default | What it does |
|---|---|---|
FarmAnimationSystem |
table |
Central animation profiles used by Care, produce collection, upkeep chores, hay handling and slaughter. The client always tries the configured action first and falls back safely if a scenario/animation is unavailable. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ LoadTimeoutMs |
4000 |
load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ RequestRetryMs |
250 |
request retry ms 的数值(默认 250)。 |
↳ VerifyStartMs |
1000 |
verify start ms 的数值(默认 1000)。 |
↳ ScenarioVerifyMs |
1800 |
scenario verify ms 的动画设置。 |
↳ AcceptUnverifiedScenarioStart |
true |
Canary builds can start a valid scenario while the query natives briefly report false. Keep the issued scenario instead of cancelling the chore. |
↳ FaceTargetMs |
650 |
face target ms 的数值(默认 650)。 |
↳ FreezeAnimalDuringInteraction |
true |
freeze animal during interaction 的开关:true = 开,false = 关(默认 true)。 |
↳ ClearPlayerTasksBeforeAction |
true |
clear player tasks before action 的开关:true = 开,false = 关(默认 true)。 |
↳ FallbackScenario |
"WORLD_HUMAN_CROUCH_INSPECT" |
fallback scenario 的动画设置。 |
↳ MaleFallbackAnimCandidates |
table |
male fallback anim candidates 的动画设置。 |
↳ FemaleFallbackAnimCandidates |
table |
female fallback anim candidates 的动画设置。 |
↳ Profiles |
table |
profiles 条目表。按文件中的示例添加、删除或修改条目。 |
FarmLimits |
table |
Hard farm limits. Upgrade tiers may be lower, but no farm can exceed these values. Keeping one hard limit in Config prevents UI/server drift. |
↳ MaxAnimalsPerFarm |
30 |
max animals per farm 的上限。 |
↳ MaxCalledAnimalsPerPlayer |
30 |
max called animals per player 的上限。 |
↳ PersonalAnimals |
true |
each member calls/sees only the animals they bought (farm owner sees all) |
↳ TeamTakeover |
false |
true = a member calling an animal a teammate has outside takes it over; false = locked to the caller |
↳ MaxPurchasePerTransaction |
30 |
max purchase per transaction 的上限。 |
FarmStorage |
table |
Shared farm storage, opened from the Manage tab. One container per farm (all members with menu access share it). |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ RequiresBuilding |
false |
building removed; storage is always open |
↳ RequiredType |
"barrel" |
required type 的设置。 |
↳ RequiredLabel |
"Treasury Barrel" |
required label 显示给玩家的文本。可修改以翻译或更名。 |
↳ LockedMessage |
'Build the Treasury Barrel i... |
locked message 显示给玩家的文本。可修改以翻译或更名。 |
↳ CollectionLockedMessage |
'Build the Treasury Barrel i... |
collection locked message 显示给玩家的文本。可修改以翻译或更名。 |
↳ BaseLimit |
100 |
starting ranch storage capacity |
↳ MaxLimit |
1000 |
absolute storage ceiling |
↳ NameSuffix |
" Storage" |
container title = farm name + this suffix |
↳ AutoDepositProduce |
true |
All animal produce is deposited into the shared farm inventory instead of the collector's personal inventory. This prevents inventory swapping exploits during the collection minigame and keeps ranch production shared. |
↳ AutoDepositChoreRewards |
true |
Automatically handles deposit chore rewards:true = 是,false = 否(默认 true)。 |
↳ DepositMetadata |
true |
deposit metadata 的开关:true = 开,false = 关(默认 true)。 |
↳ FallbackToPlayerInventory |
false |
products/rewards stay in shared farm storage only |
FarmCameras |
table |
Master switch for every scripted camera in the farm menu (barn / care / breed / call / shop preview / per-animal tracking). Enabled by default. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ TransitionMs |
650 |
Smooth transition time used by every ranch camera. |
↳ AnimalCam |
table |
Per-animal tracking camera (care display / shop preview / animal select). |
↳ Breed |
table |
Dedicated breeding camera tuning. |
↳ CareWanderRadius |
5.0 |
The care display animal wanders in this radius (metres) so you can watch it move; the tracking camera follows it. |
↳ TabFocusLift |
0.6 |
Static tab cameras (barn/breed/call/manage/...) point-at focus height lift. |
Permission keys:
| Setting | Default | What it does |
|---|---|---|
FarmRanks |
table |
storage open the shared farm storage manageStaff hire players / open the staff tab setRanks promote / demote members (Owner only, always) |
↳ 1 |
table |
1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2 |
table |
2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 3 |
table |
3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 4 |
table |
4 条目表。按文件中的示例添加、删除或修改条目。 |
FarmHireRank |
4 |
Rank a newly-hired employee starts on (must be one of the employee ranks). |
FarmMaxEmployees |
5 |
Max employees (non-owner members) one farm may have. |
AnimalCareEffects |
table |
Extra effects applied by each world-HUD care action, on top of the main stat gain that comes from the species item value in Config.FarmAnimalData. |
↳ feed |
table |
xp = farm XP, only when the action raised its own stat (food/water/ clean/health). A full stat refuses the action before the item is used. |
↳ water |
table |
water 条目表。按文件中的示例添加、删除或修改条目。 |
↳ clean |
table |
clean 条目表。按文件中的示例添加、删除或修改条目。 |
↳ treat |
table |
main gain of treat raises Health |
AnimalHealth |
table |
Health simulation (checked every Config.FarmTimeDecayUpdate minutes). |
↳ CriticalThreshold |
10 |
food/water at or below this drains health |
↳ DecayPerTick |
5 |
health lost per tick while starving/dehydrated |
↳ RecoverPerTick |
2 |
health regained per tick while food+water >= 50 |
AnimalRestRecovery |
table |
Recovery for animals put into Rest mode (per Config.FarmTimeRestingUpdate tick). |
↳ CleanPerTick |
5 |
clean per tick 的数值(默认 5)。 |
↳ HappyPerTick |
5 |
happy per tick 的数值(默认 5)。 |
↳ HealthPerTick |
2 |
health per tick 的数值(默认 2)。 |
AnimalRestScenarios |
table |
Scenario each species plays while resting (leave nil to just stand still). |
↳ cow |
table |
Keep animal ambient tasks conservative and species-specific. Unknown generic/resting hashes are intentionally not attempted on animal peds. |
↳ sheep |
table |
sheep 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pig |
table |
pig 条目表。按文件中的示例添加、删除或修改条目。 |
↳ goat |
table |
goat 条目表。按文件中的示例添加、删除或修改条目。 |
↳ chicken |
table |
chicken 条目表。按文件中的示例添加、删除或修改条目。 |
↳ turkey |
table |
turkey 条目表。按文件中的示例添加、删除或修改条目。 |
FarmCircleColorZone |
table |
default (unused type) |
FarmCircleColorResting |
table |
green |
FarmCircleColorSelling |
table |
yellow |
FarmCircleColorSlaughter |
table |
red |
FarmCircleColorAnimal |
table |
blue (spawned animals) |
WORLD DRAW MARKERS
| Setting | Default | What it does |
|---|---|---|
PreviewNativePrompts |
table |
Native preview controls remain available while the ranch NUI owns mouse focus. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ LeftControl |
0xDE794E3E |
Q |
↳ RightControl |
0xCEFD9220 |
E |
↳ LeftLabel |
"Rotate Left" |
left label 显示给玩家的文本。可修改以翻译或更名。 |
↳ RightLabel |
"Rotate Right" |
right label 显示给玩家的文本。可修改以翻译或更名。 |
↳ CameraStep |
1.8 |
camera step 的数值(默认 1.8)。 |
AnimalSpawnSpacing |
table |
Animal spawns (call / call all / purchase / barn) never land on another ped: the spot is shifted outward until it is MinSpacing metres from everything nearby. |
config/grazing_feed.lua - 94 个选项#
grazing_feed.lua : Feed wagon, hay handling and grazing mission
| Setting | Default | What it does |
|---|---|---|
FarmFeedMission |
table |
farm feed mission 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ WagonModel |
"cart06" |
Physical mission flow: hay pickup blip -> load wagon -> drive to resting zone -> unload -> graze. |
↳ WagonBlipSprite |
Config.RanchBlips.FeedWagon.... |
wagon blip sprite 的地图标记或图标设置。 |
↳ WagonBlipScale |
Config.RanchBlips.FeedWagon.... |
wagon blip scale 的地图标记或图标设置。 |
↳ HayBlipSprite |
Config.RanchBlips.HayPickup.... |
hay blip sprite 的地图标记或图标设置。 |
↳ HayBlipScale |
Config.RanchBlips.HayPickup.... |
hay blip scale 的地图标记或图标设置。 |
↳ HayModel |
"p_haybale03x" |
hay model 使用的游戏模型或实体。 |
↳ WagonCapacity |
3 |
Authoritative logical wagon capacity. For performance and a cleaner look, only ONE hay bale is rendered inside the wagon; the remaining loaded bales are tracked logically and are spawned only when the player unloads them. |
↳ ShowSingleWagonHay |
true |
Shows single wagon hay:true = 是,false = 否(默认 true)。 |
↳ SingleActivePerFarm |
true |
prevents duplicate long grazing rewards when several ranchers are online |
↳ HayCount |
3 |
legacy fallback only |
↳ DeleteWagon |
table |
Player can remove the spawned feed wagon anywhere by walking next to it and holding F. During the grazing/waiting phase only the wagon is removed and grazing continues; before grazing, removing it cancels the delivery run. |
↳ AutoDeleteWagonOnComplete |
false |
Keeping the wagon after grazing avoids a heavy vehicle teardown at the same moment animal AI and hay props are being released. The player can remove it safely at any location with the F prompt above. |
↳ HayMarkerSnapToGround |
true |
Mission hay marker. It is terrain-snapped and intentionally very flat so the yellow/orange marker sits on the ground instead of floating. |
↳ HayMarkerZOffset |
-0.08 |
hay marker z offset 的数值(默认 -0.08)。 |
↳ HayMarkerHeight |
0.18 |
hay marker height 的数值(默认 0.18)。 |
↳ HayMarkerSize |
1.15 |
hay marker size 的数值(默认 1.15)。 |
↳ HayMarkerAlpha |
155 |
hay marker alpha 的数值(默认 155)。 |
↳ RestingMarkerEnabled |
false |
Resting-zone world DrawMarker is disabled. Feed mission blips, arrival checks, prompts and the actual Resting Zone radius continue to work. |
↳ RestingMarkerUseFullZone |
true |
resting marker use full zone 的开关:true = 开,false = 关(默认 true)。 |
↳ RestingMarkerRadius |
100.0 |
resting marker radius 的游戏内距离。 |
↳ RestingMarkerZOffset |
-0.08 |
resting marker z offset 的数值(默认 -0.08)。 |
↳ RestingMarkerHeight |
0.16 |
resting marker height 的数值(默认 0.16)。 |
↳ RestingMarkerAlpha |
95 |
resting marker alpha 的数值(默认 95)。 |
↳ PermanentHayEnabled |
true |
Always-visible hay prop at each farm's hay pickup blip. This prop is decorative and separate from the physical mission bales, so it remains visible before, during and after the Feed Mission. |
↳ PermanentHayModel |
"p_haybale03x" |
permanent hay model 使用的游戏模型或实体。 |
↳ PermanentHayHeading |
0.0 |
permanent hay heading 的数值(默认 0.0)。 |
↳ PermanentHayZOffset |
-0.72 |
permanent hay z offset 的数值(默认 -0.72)。 |
↳ PermanentHayCollision |
true |
permanent hay collision 的开关:true = 开,false = 关(默认 true)。 |
↳ PermanentHayRespawnMs |
12000 |
permanent hay respawn ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ PermanentHayCheckMs |
12000 |
Client-side streaming: decorative hay piles exist only near the player. |
↳ PermanentHayStreamDistance |
150.0 |
permanent hay stream distance 的游戏内距离。 |
↳ PermanentHayDespawnDistance |
220.0 |
permanent hay despawn distance 的游戏内距离。 |
↳ PermanentHayStack |
table |
Large always-visible pile at the hay blip. Each entry is: { localX, localY, localZ, headingOffset } |
↳ SourceBaleOffset |
table |
Mission bale appears beside the permanent pile so it is easy to grab. |
↳ ConsumeInventoryHay |
false |
The physical hay bales are the mission cost. Keep this false unless you ALSO want the server to remove hay items from the player's inventory. |
↳ HayPurchase |
table |
Hay is purchased with the rancher's own cash when the feed mission starts. The price scales with the actual number of bales required by farm level. |
↳ FeedAllSpawned |
true |
Feed every spawned farm animal after the physical delivery. Set false to keep the old single-species behaviour. |
↳ RequireAllAnimalsOutside |
true |
after the required animals already exist outside. They can then walk to the delivered hay from wherever they are, unless the optional zone rule below is enabled. |
↳ RequireAnimalsInRestingZone |
false |
Requires animals in resting zone:true = 是,false = 否(默认 false)。 |
↳ MinAnimalsInRestingZone |
1 |
min animals in resting zone 的最低值或等级要求。 |
↳ AnimalRestingCheckRadius |
150.0 |
animal resting check radius 的游戏内距离。 |
↳ SourceInteractDistance |
2.5 |
Interaction distances. |
↳ WagonInteractDistance |
3.5 |
wagon interact distance 的游戏内距离。 |
↳ RestingArrivalDistance |
140.0 |
resting arrival distance 的游戏内距离。 |
↳ RestingDropRadius |
100.0 |
resting drop radius 的游戏内距离。 |
↳ HayPlacementSpread |
8.0 |
hay placement spread 的数值(默认 8.0)。 |
↳ DynamicGrazingSpots |
table |
and more developed ranches stay easier to manage without forcing every animal into one pile. The server uses this to calculate the paid hay requirement and the client distributes the bales around the resting zone. |
↳ UtilityRoute |
table |
During grazing the herd rotates between delivered hay, the built Animal Feeder and the built Water Trough. Missing utilities are skipped safely. |
↳ AnimalSpawnWaitMs |
900 |
farm level: level 1 starts at 40 minutes and progressively drops to 15 minutes at the configured maximum level. The legacy GrazingDurationMs is retained only as a fallback when DurationByFarmLevel is disabled. |
↳ AnimalWalkSpeed |
1.0 |
animal walk speed 使用的游戏模型或实体。 |
↳ GrazingTravelTimeoutMs |
90000 |
grazing travel timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ NetworkControlTimeoutMs |
250 |
network control timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ GrazingDurationMs |
2400000 |
grazing duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DurationByFarmLevel |
table |
duration by farm level 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ GrazingArrivalDistance |
2.25 |
grazing arrival distance 的游戏内距离。 |
↳ GrazingRetaskIntervalMs |
5000 |
grazing retask interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ GrazingThinkIntervalMs |
1500 |
Long 15-40 minute grazing sessions do not need a 5Hz AI loop. |
↳ GrazingStartThinkIntervalMs |
500 |
grazing start think interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ GrazingTargetSpread |
1.10 |
grazing target spread 的数值(默认 1.10)。 |
↳ GrazingStayRadius |
3.25 |
grazing stay radius 的游戏内距离。 |
↳ GrazingFaceHayMs |
700 |
grazing face hay ms 的数值(默认 700)。 |
↳ ServerCompletionSafetyMs |
1500 |
server completion safety ms 的数值(默认 1500)。 |
↳ GrazingCleanupDelayMs |
1200 |
grazing cleanup delay ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ GrazingAnimalReleaseStepMs |
90 |
Release animal tasks gradually at mission end instead of clearing every animal on the same frame. This is especially useful on large ranches. |
↳ SafeCleanup |
table |
Staged end-of-mission cleanup. Props are removed after animal tasks are released, and the wagon is never deleted while the local player is using it. |
↳ UseSpeciesGrazingAnimations |
true |
hay bale. The client first verifies that the dictionary loaded, then verifies that the animation really started. A failed animation falls back to the conservative standing behaviour instead of trying unknown hashes. |
↳ GrazingAnimationLoadTimeoutMs |
2200 |
grazing animation load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ GrazingAnimationRestartMs |
9000 |
grazing animation restart ms 的动画设置。 |
↳ GrazingAnimations |
table |
grazing animations 条目表。按文件中的示例添加、删除或修改条目。 |
↳ UseNativeGrazingScenarios |
false |
Scenario hashes stay disabled by default. They remain available only as an optional fallback for server owners who explicitly enable them. |
↳ PlayGrazingAnimation |
true |
WORLD_ANIMAL_GRAZE fallback has been removed because sending an invalid scenario hash to an animal ped can hard-crash the RDR2 client instead of producing a catchable Lua error. |
↳ UseGenericGrazingScenarioFallback |
false |
开启或关闭 generic grazing scenario fallback(默认 false)。 |
↳ ServerCooldownSeconds |
30 |
Server-side anti-spam after a successful feed mission. |
↳ CarryAnimDict |
'amb_wander@code_human_hay_b... |
Two-hand hay carry pose from the game's dedicated hay-bale locomotion set. The prop is anchored to the right hand but centered across the torso so both hands visually support it instead of the bale floating above the head. |
↳ CarryAnimName |
"base" |
carry anim name 显示给玩家的文本。可修改以翻译或更名。 |
↳ CarryAnimFlag |
31 |
carry anim flag 的动画设置。 |
↳ CarryAnimBlendIn |
6.0 |
carry anim blend in 的动画设置。 |
↳ CarryAnimBlendOut |
-6.0 |
carry anim blend out 的动画设置。 |
↳ CarryAnimCheckMs |
900 |
carry anim check ms 的动画设置。 |
↳ AttachBone |
"SKEL_R_Hand" |
attach bone 的设置。 |
↳ AttachOffset |
table |
attach offset 条目表。按文件中的示例添加、删除或修改条目。 |
↳ HayActionAnimations |
table |
Short standing bale transitions. No crouch/sit scenario is used. The bale remains physically attached to the player during the one-shot, then the mission code attaches it to the wagon or snaps it to the ground. |
↳ WagonAttachBone |
"" |
bale is attached visually; extra capacity is stored logically. Empty bone name uses the wagon root, which is more stable than cart06's body bone and keeps the bale centered inside the cargo bed. |
↳ WagonHayZOffset |
-0.72 |
Only this one physical bale is rendered. It sits low inside cart06's cargo bed; the rest of the configured capacity remains logical only. |
↳ WagonHaySlots |
table |
wagon hay slots 的上限。 |
↳ WagonHayLayerHeight |
0.0 |
wagon hay layer height 的数值(默认 0.0)。 |
↳ Keys |
table |
Context-sensitive RedM controls: C pick up hay / take hay from wagon SPACE load hay into wagon / place hay in resting zone |
↳ EatScenarios |
table |
Grazing/eating scenarios that match the existing resting profiles and do not use trough/carcass-only scenario names near loose hay bales. |
↳ FoodGain |
40 |
Stat rewards after grazing completes. |
↳ WaterGain |
30 |
water gain 的数值(默认 30)。 |
↳ HappyGain |
10 |
happy gain 的数值(默认 10)。 |
↳ XpReward |
25 |
xp reward 的金额。奖励会经过 jrs_core 的经济倍率。 |
Notes from the README#
# jrs_ranch
Complete RedM ranch management resource converted to run directly on **jrs_core** and **jrs_inventory**.
## Requirements
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
Verified compatibility target for this package:
- `jrs_core` **1.0.10**
- `jrs_inventory` **1.5.4**
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_ranch
'''
## REDEMPIRE integration
The runtime integration is centralized in `shared/jrs.lua`.
- Character identity, jobs, cash and gold come from `jrs_core`.
- Inventory grants/removals/carry checks and usable items use `jrs_inventory:jrs_inventoryApi()`.
- Shared ranch storage uses the native `inventory_storage` format and `jrs_inventory` open/close events.
- Client RPC requests wait for the REDEMPIRE character-ready state before requesting character-dependent data.
- Ranch jobs are configured in `config/jrs_jobs.lua` and assigned through `jrs_core`.
No multi-core bridge is required by the resource.
## Database
Run:
'''text
install/sql/jrs_ranch.sql
'''
The resource also performs safe `CREATE TABLE IF NOT EXISTS` / column migrations at startup.
`jrs_ranch.sql` includes the ranch items using the current `jrs_inventory` item schema. If you only want the item rows, use:
'''text
install/sql/jrs_inventory_items.sql
'''
New ranch item definitions use `limit = 0.10` as their inventory weight. `INSERT IGNORE` is used so existing item rows are not overwritten.
**Important for jrs_inventory 1.5.4:** import the SQL before starting `jrs_inventory`. If `jrs_ranch` has to auto-insert a missing item while the server is alre
## Inventory images
Copy the PNG files from:
'''text
install/inventory_images/jrs_inventory/
'''
to:
'''text
jrs_inventory/html/images/items/
'''Paid (server only) jrs_randomquests
jrs core Random Quests - random quest system for jrs_core / jrs_inventory
| Resource | jrs_randomquests |
| Folder | [ACTIVITIES] |
| Version | 2.8.5 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 7,617 Lua lines |
config.lua - 223 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Settings |
table |
settings 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Dist |
110.0 |
Activation scan radius around each configured mission location. |
↳ Dist1 |
80.0 |
Rescue warning distance. |
↳ Dist2 |
60.0 |
Rescue enemies may engage the player inside this distance. |
↳ Dist3 |
30.0 |
Rescue enemies may threaten/attack the hostage inside this distance. |
↳ InteractDist |
3.0 |
Native prompt interaction distance for rescue/escort/help NPCs. |
↳ Refresh |
1800 |
Mission cooldown in seconds after completion/failure/abandon. |
↳ Button |
0x760A9C6F |
G: primary native interaction prompt. |
↳ Button1 |
0x24978A28 |
H: secondary native interaction prompt (decline). |
↳ SpawnRate |
90 |
Seconds between escort ambush-wave attempts after acceptance. |
Missions |
table |
missions 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1 |
table |
FOR EVERY TYPE OF MISSION, SOME SETTINGS ARE DIFFERENT (IF YOU WANNA CREATE MORE, JUST COPY THE SAME TYPE OF MISSION AND CHANGE WHAT YOU NEED) |
↳ 2 |
table |
2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 3 |
table |
3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 4 |
table |
4 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 5 |
table |
5 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 6 |
table |
6 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 7 |
table |
7 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 8 |
table |
8 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 9 |
table |
9 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 10 |
table |
10 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 11 |
table |
11 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 12 |
table |
12 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 13 |
table |
13 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 14 |
table |
14 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 15 |
table |
15 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 16 |
table |
16 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 18 |
table |
18 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 19 |
table |
19 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 20 |
table |
20 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 21 |
table |
21 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 22 |
table |
22 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 23 |
table |
23 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 24 |
table |
24 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 25 |
table |
25 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 26 |
table |
26 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 27 |
table |
27 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 28 |
table |
28 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 29 |
table |
29 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 30 |
table |
30 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 31 |
table |
31 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 32 |
table |
32 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 33 |
table |
33 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 34 |
table |
34 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 35 |
table |
35 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 36 |
table |
36 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 37 |
table |
37 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 38 |
table |
38 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 39 |
table |
39 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 40 |
table |
40 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 41 |
table |
41 条目表。按文件中的示例添加、删除或修改条目。 |
BlacklistCities |
table |
Town areas where escort ambush waves are suppressed. |
Texts |
table |
texts 条目表。按文件中的示例添加、删除或修改条目。 |
↳ rq_rescue |
"Someone in this area needs ... |
rq rescue 的设置。 |
↳ rq_escort |
"Someone in this area needs ... |
rq escort 的设置。 |
↳ rq_help |
"Someone in this area needs ... |
rq help 的设置。 |
↳ rq_rescueblip |
"Rescue" |
rq rescueblip 的设置。 |
↳ rq_escortblip |
"Escort" |
rq escortblip 的设置。 |
↳ rq_helpblip |
"Assistance" |
rq helpblip 的设置。 |
↳ rq_gonetoofar |
"You moved too far away. The... |
rq gonetoofar 的设置。 |
↳ rq_takecare |
"Careful. If you get too clo... |
rq takecare 的设置。 |
↳ rq_rescuefailed |
"The hostage was killed. Mis... |
rq rescuefailed 的设置。 |
↳ rq_button |
"Rescue" |
rq button 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ rq_escbut1 |
"Accept Escort" |
rq escbut1 的设置。 |
↳ rq_escbut2 |
"Decline" |
rq escbut2 的设置。 |
↳ rq_helpbut1 |
"Give Item" |
rq helpbut1 的设置。 |
↳ rq_helpbut2 |
"Decline" |
rq helpbut2 的设置。 |
↳ rq_thankyou |
"Thank you for saving me. Yo... |
rq thankyou 的设置。 |
↳ rq_finishesc |
"Thank you for getting me he... |
rq finishesc 的设置。 |
↳ rq_finishhelp |
"Thank you. That is exactly ... |
rq finishhelp 的设置。 |
↳ rq_needescort |
"I need an escort to another... |
rq needescort 的设置。 |
↳ rq_deniedescort |
"Understood. I will find som... |
rq deniedescort 的设置。 |
↳ rq_acceptescort |
"Good. Let us move. Outlaws ... |
rq acceptescort 的设置。 |
↳ rq_escorthogtied |
"You brought me here hogtied... |
rq escorthogtied 的设置。 |
↳ rq_escortdead |
"The person you were escorti... |
rq escortdead 的设置。 |
↳ rq_spawnedoutlaws |
"Outlaws are closing in. Def... |
rq spawnedoutlaws 的设置。 |
↳ rq_escort_abandoned |
"You moved too far away from... |
rq escort abandoned 的设置。 |
↳ rq_needitem |
"I urgently need " |
rq needitem 的设置。 |
↳ rq_needitem1 |
"Can you help me?" |
rq needitem1 的设置。 |
↳ rq_noneeditem |
"You do not have the request... |
rq noneeditem 的设置。 |
↳ rq_deniedhelp |
"Understood. I will ask some... |
rq deniedhelp 的设置。 |
rq_rescue |
"شخص في هذه المنطقة يحتاج إل... |
rq rescue 的设置。 |
rq_escort |
"شخص في هذه المنطقة يحتاج إل... |
rq escort 的设置。 |
rq_help |
"شخص في هذه المنطقة يحتاج إل... |
rq help 的设置。 |
rq_rescueblip |
"Rescue" |
rq rescueblip 的设置。 |
rq_escortblip |
"Escort" |
rq escortblip 的设置。 |
rq_helpblip |
"Help" |
rq helpblip 的设置。 |
rq_gonetoofar |
"ابتعدت كثيراً عن الموقع. فُ... |
rq gonetoofar 的设置。 |
rq_takecare |
"احذر. إذا اقتربت كثيراً، قد... |
rq takecare 的设置。 |
rq_rescuefailed |
"قُتلت الرهينة. فشلت المهمة." |
rq rescuefailed 的设置。 |
rq_button |
"إنقاذ" |
rq button 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
rq_escbut1 |
"قبول المرافقة" |
rq escbut1 的设置。 |
rq_escbut2 |
"رفض" |
rq escbut2 的设置。 |
rq_helpbut1 |
"إعطاء الغرض" |
rq helpbut1 的设置。 |
rq_helpbut2 |
"رفض" |
rq helpbut2 的设置。 |
rq_thankyou |
"شكراً لإنقاذي! مكافأتك هي " |
rq thankyou 的设置。 |
rq_finishesc |
"شكراً لإيصالي بأمان إلى هنا... |
rq finishesc 的设置。 |
rq_finishhelp |
"شكراً لك. هذا بالضبط ما كنت... |
rq finishhelp 的设置。 |
rq_needescort |
"أحتاج إلى مرافقة إلى منطقة ... |
rq needescort 的设置。 |
rq_deniedescort |
"مفهوم. سأبحث عن شخص آخر." |
rq deniedescort 的设置。 |
rq_acceptescort |
"حسناً، دعنا نتحرك. الخارجون... |
rq acceptescort 的设置。 |
rq_escorthogtied |
"لقد جلبتني إلى هنا مقيداً ب... |
rq escorthogtied 的设置。 |
rq_escortdead |
"توفي الشخص الذي كنت ترافقه.... |
rq escortdead 的设置。 |
rq_spawnedoutlaws |
"الخارجون عن القانون يقتربون... |
rq spawnedoutlaws 的设置。 |
rq_escort_abandoned |
"ابتعدت كثيراً عن الشخص المط... |
rq escort abandoned 的设置。 |
rq_needitem |
"أحتاج بشكل عاجل إلى " |
rq needitem 的设置。 |
rq_needitem1 |
"هل يمكنك مساعدتي؟" |
rq needitem1 的设置。 |
rq_noneeditem |
"ليس لديك الغرض المطلوب، أحت... |
rq noneeditem 的设置。 |
rq_deniedhelp |
"مفهوم. سأطلب من شخص آخر." |
rq deniedhelp 的设置。 |
Currency |
0 |
jrs_core: 0 cash / 1 gold / 2 rol / 3 dirty money. |
PersistCooldowns |
true |
Persist per-mission cooldowns in resource KVP across restarts. |
ActivationRetryMs |
15000 |
Minimum client retry delay after a denied/failed activation attempt. |
MissionTimeout |
1800 |
Hard active-mission timeout in seconds. |
EscortArrivalDistance |
8.0 |
Player-side destination arrival radius. |
EscortFollowDistance |
3.5 |
Desired NPC follow distance behind the player. |
EscortFollowSpeed |
2.25 |
NPC follow movement speed. |
EscortCatchupDistance |
14.0 |
Distance where stronger catch-up behavior begins. |
EscortTargetArrivalDistance |
12.0 |
Escort NPC must be this close to destination to complete. |
EscortAcceptServerDistance |
12.0 |
Server acceptance distance from player to the escort offer NPC. |
EscortAcceptTimeoutMs |
6500 |
Client waits this long for the server accept/deny response. |
Notes from the README#
# jrs_randomquests 2.5.0
Random rescue, escort, and assistance missions for RedM using **REDEMPIRE Core** and **jrs_inventory**.
## Required resources / start order
'''cfg
ensure jrs_core
ensure jrs_inventory
ensure jrs_randomquests
'''
No VORP, RSG, RedEM, SSReputation, or external progression/stress resource is required.
## Controls
- **G** — primary native RedM mission prompt (rescue / accept escort / give item).
- **H** — secondary native RedM mission prompt (decline escort/help).
- **/rqadmin** — opens the server-authorized admin menu. There is no key mapping/F6 binding.
- **/rqtest** — runs integrated server/client diagnostics for authorized admins.
## Mission types
### 1. Rescue
The mission activates near its configured `coords`, creates the mission blip/GPS route, spawns the hostage and configured enemies, and only allows rescue comple
### 2. Escort / person transport
1. The mission activates and shows only the **escort offer/person blip**.
2. **No GPS route is rendered before acceptance.**
3. Near the person, native prompts show **G = Accept Escort** and **H = Decline**.
4. G sends a server-side acceptance request. The server checks the active token, player, mission, target readiness, and distance.
5. Only after the server confirms acceptance does the client remove the offer blip, create the destination blip, and render the **yellow GPS route**.
6. The NPC follows the player with catch-up/stuck recovery. Ambush waves are limited and cleaned.
7. Completion requires the player and escorted NPC to reach the destination, and the server validates the session/destination again.
### 3. Assistance / requested item
The server selects only an item that currently exists in the live `jrs_inventory` item catalog. The server checks the exact quantity, removes the exact item sta
## NUI scope
Gameplay interaction does **not** use NUI prompts or NUI focus.
NUI is restricted to:
- supplied UI notifications;
- the admin menu;
- reset/cleanup messages.
Mission interaction and navigation use native RedM prompts, blips, and GPS natives.
## Admin authorization
Admin identifiers/groups are server-only in:
`server/admin_config.lua`
The supplied full-access identifier is:
(line hidden)
Every admin menu action is checked again on the server. Editing browser/NUI state cannot grant admin permission.
## Configuration guide
The main configuration is `config.lua`.
### `Config.Settings`
- `Dist` — mission activation scan radius.
- `Dist1` — rescue warning distance.Paid (server only) jrs_tablegames
Saloon table games: Liar
| Resource | jrs_tablegames |
| Folder | [ACTIVITIES] |
| Version | 1.0.0 |
| Author | jrs team |
| Depends on | jrs_core |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 514 行 Lua |
config.lua - 13 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Key |
0x760A9C6F |
G at a table |
TableRadius |
2.5 |
to open a table |
StayRadius |
6.0 |
walking further than this forfeits a running game |
MinBuyIn |
1 |
min buy in 的最低值或等级要求。 |
MaxBuyIn |
100 |
max buy in 的上限。 |
HouseCutPercent |
5 |
house cut percent 的比率或倍数。 |
MinPlayers |
2 |
min players 的最低值或等级要求。 |
MaxPlayers |
6 |
max players 的上限。 |
LiarsDice |
table |
liars dice 条目表。按文件中的示例添加、删除或修改条目。 |
↳ StartingDice |
5 |
starting dice 的数值(默认 5)。 |
↳ TurnSeconds |
30 |
out of time: you call "liar" (or open with 1x random) |
Blip |
table |
blip 的地图标记或图标设置。 |
Tables |
table |
Saloon dice tables (Saint Denis tables from the RDO game spots, Valentine saloon card table). |
Paid (server only) jrs_trash
jrs core Trash - trash collection, searchable bins, worker routes, levels and admin tools for jrs_core / jrs_inventory
| Resource | jrs_trash |
| Folder | [ACTIVITIES] |
| Version | 4.5.2 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 7,389 Lua lines |
Commands
/fixbag
Exports
GetTrashBin, GetTrashBins, IsTrashBinReady, RollTrashLoot, SetTrashBinReady
Database tables
IF, jrs_trash_bin_state, jrs_trash_career, jrs_trash_config, jrs_trash_depots, jrs_trash_player_bins
config/recycling.lua - 9 个选项#
JRS TRASH: RECYCLING & SMELTING CONFIGURATION
| Setting | Default | What it does |
|---|---|---|
Recycling |
table |
recycling 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
false |
开启或关闭 enabled(默认 false)。 |
↳ InteractionKey |
0xCEFD9220 |
[E] Key |
↳ InteractionDistance |
2.5 |
interaction distance 的游戏内距离。 |
↳ SpawnProps |
true |
Spawn thematic 3D props (workbench & furnace) at stations |
↳ Blips |
table |
blips 的地图标记或图标设置。 |
↳ Markers |
table |
markers 条目表。按文件中的示例添加、删除或修改条目。 |
STATIONS ACROSS THE MAP
| Setting | Default | What it does |
|---|---|---|
↳ Stations |
table |
محطات تدوير الخردة وأفران الصهر في جميع مدن الريدم |
RECIPES: RECYCLING & SMELTING
| Setting | Default | What it does |
|---|---|---|
↳ Recipes |
table |
وصفات التدوير والصهر المتنوعة |
config/settings.lua - 160 个选项#
General
| Setting | Default | What it does |
|---|---|---|
General |
table |
general 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Locale |
"ar" |
此脚本的界面语言(en 或 ar)。 |
↳ Dev |
false |
dev 的开关:true = 开,false = 关(默认 false)。 |
↳ ResourceLabel |
"Trash" |
resource label 显示给玩家的文本。可修改以翻译或更名。 |
Interaction |
table |
interaction 条目表。按文件中的示例添加、删除或修改条目。 |
↳ OpenKey |
0xCEFD9220 |
[E] Key (Standard interaction key) |
↳ LookKey |
0x760A9C6F |
[G] Key (Stash / secondary key) |
↳ JobOpenKey |
0xCEFD9220 |
[E] Key to open depot menu |
↳ PickupKey |
0xCEFD9220 |
[E] Key to pickup trash bags |
↳ DumpKey |
0x760A9C6F |
[G] Key to dump trash |
↳ RightClickKey |
0xCEFD9220 |
[E] fallback |
↳ WagonLoadKey |
0x760A9C6F |
[G] Key: load the carried trash bag into the wagon |
↳ WagonReturnKey |
0xB2F377E8 |
[F] Key: return/remove the owned work wagon |
↳ BinMode |
"menu" |
bin mode 的设置。 |
↳ BinDistance |
4.0 |
bin distance 的游戏内距离。 |
↳ JobDistance |
4.5 |
job distance 的游戏内距离。 |
↳ WagonDepositDistance |
6.5 |
wagon deposit distance 的游戏内距离。 |
↳ WagonManageDistance |
7.5 |
wagon manage distance 的游戏内距离。 |
↳ WagonManageArmedDistance |
12.0 |
removal F stays visible while you remain clearly near the wagon |
↳ WagonLoadArmedDistance |
7.0 |
loading G stays armed within server deposit range |
↳ DumpWagonDistance |
25.0 |
dump wagon distance 的游戏内距离。 |
↳ SearchDurationMs |
7000 |
search duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ PickupDurationMs |
2500 |
pickup duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DepositDurationMs |
1500 |
deposit duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ DumpDurationMs |
3500 |
dump duration ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ UseActionAnimations |
true |
finite RedM action animations; sprint is restored immediately after each action |
↳ SearchScenario |
"WORLD_HUMAN_CROUCH_INSPECT" |
search scenario 的动画设置。 |
↳ SearchAnimation |
table |
search animation 的动画设置。 |
↳ PickupAnimation |
table |
pickup animation 的动画设置。 |
↳ DepositAnimation |
table |
deposit animation 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ DumpAnimation |
table |
dump animation 的动画设置。 |
Client |
table |
client 条目表。按文件中的示例添加、删除或修改条目。 |
↳ SpawnConfiguredBinProps |
true |
spawn configured bin props 的开关:true = 开,false = 关(默认 true)。 |
↳ BinBlipSprite |
1109348405 |
bin blip sprite 的地图标记或图标设置。 |
↳ BinBlipScale |
0.20 |
bin blip scale 的地图标记或图标设置。 |
↳ ShowDepotBlips |
true |
Shows depot blips:true = 是,false = 否(默认 true)。 |
↳ RouteBlips |
true |
route blips 的开关:true = 开,false = 关(默认 true)。 |
↳ RouteBlipSprite |
-184692826 |
route blip sprite 的地图标记或图标设置。 |
↳ WagonBlip |
true |
wagon blip 的开关:true = 开,false = 关(默认 true)。 |
↳ WagonBlipSprite |
-1747775003 |
wagon blip sprite 的地图标记或图标设置。 |
↳ WagonBlipScale |
0.35 |
wagon blip scale 的地图标记或图标设置。 |
↳ GpsRoute |
"COLOR_RED" |
gps route 的设置。 |
↳ MenuAlign |
"right" |
menu align 的设置。 |
↳ ModelLoadTimeoutMs |
8000 |
model load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ BagModelLoadTimeoutMs |
4500 |
bag model load timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CancelIfPlayerMoves |
true |
cancel if player moves 的开关:true = 开,false = 关(默认 true)。 |
↳ CancelDistance |
4.25 |
cancel distance 的游戏内距离。 |
↳ WagonLostDistance |
1500.0 |
wagon lost distance 的游戏内距离。 |
↳ WagonCheckMs |
8000 |
wagon check ms 的数值(默认 8000)。 |
↳ WagonBlipUpdateMs |
2500 |
wagon blip update ms 的地图标记或图标设置。 |
↳ SpawnClearRadius |
7.0 |
spawn clear radius 的游戏内距离。 |
↳ SpawnCandidateOffset |
7.0 |
spawn candidate offset 使用的世界坐标(x, y, z)。 |
Markers |
table |
markers 条目表。按文件中的示例添加、删除或修改条目。 |
↳ CurrentRouteBin |
table |
current route bin 条目表。按文件中的示例添加、删除或修改条目。 |
↳ WagonDeposit |
table |
wagon deposit 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ DumpArea |
table |
dump area 条目表。按文件中的示例添加、删除或修改条目。 |
Job |
table |
允许谁:job 的职业、组或权限。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ WagonModel |
"coal_wagon" |
wagon model 使用的游戏模型或实体。 |
↳ FallbackWagonModels |
table |
fallback wagon models 使用的游戏模型或实体。 |
↳ MaxTrashBags |
30 |
max trash bags 的上限。 |
↳ AllowedJobs |
table |
允许谁:allowed jobs 的职业、组或权限。 |
↳ FullAccessBypassesJobRequirement |
true |
full access bypasses job requirement 的开关:true = 开,false = 关(默认 true)。 |
↳ ForceDeleteWagon |
true |
Forces delete wagon:true = 是,false = 否(默认 true)。 |
↳ RequireRouteCompleteToFinish |
false |
Requires route complete to finish:true = 是,false = 否(默认 false)。 |
↳ BinCooldownAfterDeposit |
false |
لا تعطل الحاوية عن اللاعبين الآخرين عند إيداع الكيس |
↳ TrashBagProps |
table |
Compact loot sacks are designed as carried props and avoid oversized cargo sacks. |
↳ TrashBagAppearance |
table |
trash bag appearance 条目表。按文件中的示例添加、删除或修改条目。 |
↳ TrashBagAttach |
table |
trash bag attach 条目表。按文件中的示例添加、删除或修改条目。 |
↳ WagonVisuals |
table |
wagon visuals 条目表。按文件中的示例添加、删除或修改条目。 |
↳ RandomRoute |
table |
random route 条目表。按文件中的示例添加、删除或修改条目。 |
↳ WorkUniform |
table |
work uniform 条目表。按文件中的示例添加、删除或修改条目。 |
Leveling |
table |
leveling 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Command |
"trashlevel" |
command 的设置。 |
↳ MaxLevel |
100 |
max level 的上限。 |
↳ BaseXP |
100 |
base xp 的数值(默认 100)。 |
↳ Growth |
1.035 |
growth 的数值(默认 1.035)。 |
↳ XPOnPickup |
15 |
xp on pickup 的数值(默认 15)。 |
↳ DeferPickupXPToDeposit |
false |
defer pickup xp to deposit 的开关:true = 开,false = 关(默认 false)。 |
↳ XPOnDeposit |
25 |
xp on deposit 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ XPPerDump |
20 |
xp per dump 的数值(默认 20)。 |
↳ XPPerDumpedBag |
5 |
xp per dumped bag 的数值(默认 5)。 |
↳ XPRouteComplete |
100 |
xp route complete 的数值(默认 100)。 |
↳ XPFinish |
50 |
xp finish 的数值(默认 50)。 |
↳ PayBonusPerLevel |
0.003 |
pay bonus per level 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ MaxPayBonus |
0.30 |
max pay bonus 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ ActionSpeedBonusPerLevel |
0.002 |
action speed bonus per level 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ MaxActionSpeedBonus |
0.20 |
max action speed bonus 的金额。奖励会经过 jrs_core 的经济倍率。 |
↳ Ranks |
table |
ranks 条目表。按文件中的示例添加、删除或修改条目。 |
Bins |
table |
bins 条目表。按文件中的示例添加、删除或修改条目。 |
↳ RefillWindows |
table |
refill windows 条目表。按文件中的示例添加、删除或修改条目。 |
↳ RefillSeconds |
table |
refill seconds 条目表。按文件中的示例添加、删除或修改条目。 |
↳ LootSlots |
5 |
loot slots 的上限。 |
Rewards |
table |
rewards 条目表。按文件中的示例添加、删除或修改条目。 |
↳ LootEnabled |
true |
loot enabled 的开关:true = 开,false = 关(默认 true)。 |
↳ JobLootEnabled |
true |
job loot enabled 的开关:true = 开,false = 关(默认 true)。 |
↳ PayWhenCollect |
false |
pay when collect 的开关:true = 开,false = 关(默认 false)。 |
↳ PayWhenDump |
false |
pay when dump 的开关:true = 开,false = 关(默认 false)。 |
↳ PreventDoubleJobPayout |
true |
If collect + dump are both enabled, pay each bag once (at dump by default). |
↳ PaymentPerTrashBin |
table |
قيمة كل كيس تفريغ (20 إلى 30 سنتاً وفق اقتصاد ريد ديد أونلاين 1899) |
↳ FinishBasePayment |
0.35 |
مكافأة إكمال كامل المسار (35 سنتاً) |
↳ FinishPaymentPerStop |
0.00 |
finish payment per stop 的数值(默认 0.00)。 |
↳ EarlyReturnBasePayment |
0.00 |
العودة المبكرة تحتسب فقط قيمة الأكياس المجمعة بدون بونص إضافي |
↳ EarlyReturnPaymentPerStop |
0.00 |
early return payment per stop 的数值(默认 0.00)。 |
↳ EarlyReturnMinStops |
1 |
early return min stops 的最低值或等级要求。 |
↳ EarlyReturnXPPerStop |
10 |
early return xp per stop 的数值(默认 10)。 |
↳ EarlyReturnMaxXP |
60 |
early return max xp 的上限。 |
↳ JobRandomLootSlots |
5 |
job random loot slots 的上限。 |
↳ LootPools |
table |
loot pools 条目表。按文件中的示例添加、删除或修改条目。 |
Security |
table |
security 条目表。按文件中的示例添加、删除或修改条目。 |
↳ RequireProximity |
true |
Requires proximity:true = 是,false = 否(默认 true)。 |
↳ ProximityTolerance |
3.5 |
proximity tolerance 的数值(默认 3.5)。 |
↳ RequestCooldownMs |
400 |
request cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CompletionGraceMs |
1500 |
completion grace ms 的数值(默认 1500)。 |
↳ PendingTimeoutMs |
30000 |
pending timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ WagonRegisterTimeoutMs |
30000 |
wagon register timeout ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ WagonRegisterDistance |
45.0 |
wagon register distance 的游戏内距离。 |
↳ StrictWagonOwnership |
false |
strict wagon ownership 的开关:true = 开,false = 关(默认 false)。 |
↳ RequireWagonNearby |
false |
Requires wagon nearby:true = 是,false = 否(默认 false)。 |
config/xp.lua - 6 个选项#
Set Enabled = false to switch this script's XP off without touching code.
| Setting | Default | What it does |
|---|---|---|
XP |
table |
xp 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Job |
"trachboy" |
Per-job level key in jrs_core. Matches trachboy from jrs_multijob. |
↳ Multiplier |
1.0 |
Scales every reward below. Raise it for a boosted weekend, drop it to slow this job down relative to the others. |
↳ Default |
0 |
Used when a reward name is awarded that is not listed here. |
↳ Rewards |
table |
rewards 条目表。按文件中的示例添加、删除或修改条目。 |