Housing, stables, doors and everything players own.
此文件夹有 10 个脚本。在下方标签中选择。
Paid (server only) alfepanda
| Resource | alfepanda |
| Folder | [PROPERTIES] |
| Interface | No |
| Code size | 11 行 Lua |
Paid (server only) house_model
| Resource | house_model |
| Folder | [PROPERTIES] |
| Version | 1.0.0 |
| Interface | No |
| Code size | 29 行 Lua |
Free (included in JRS Core) jrs_housing
Housing
| Resource | jrs_housing |
| Folder | [PROPERTIES] |
| Version | 1.12.0 |
| Author | jrs team |
| Depends on | /assetpacks, jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 31,096 Lua lines |
Commands
/edithouse/findhouse/fixdeeds/fixkeys/housedoordebug/housefarmlimit/housestash/housestashes/housingowners/housingrobberyaudit/searchhouse/setboxweight/sethousecapacity/sethouseslots/sethouseweight/setstashcapacity/setstashsize/setstashslots/setstashweight
Exports
AdminPropertyStashPlaced, CanAdminPlacePropertyStash, CanCarryWeaponsInHouse, CanPlacePropertyStash, CanRobProperty, CanUseHousingDoor, CanUsePropertyStash, CloseRobberyDoor, EnsurePlayerDeeds, GetFertilizerAtCoords, GetHouseSafeZones, GetHousingDoors, GetLandAtCoords, GetNearestBathroomFurniture, GetOwnedLandAtCoords, GetPropertyAtCoords, GetPropertyStashInfo, GetPropertyStashWeight, GetRobberyProperties, GetRobberyProperty, GrantProperty, HasPropertyKey, HasPropertyPermission, HousingDeedsOwnershipChanged, HousingOpenGuarmaDeed, HousingOpenPlayerDeed, IsLandRegistryReady, IsPropertyOwner, IsPropertyOwnerOrKeyholder, MayUsePropertyStash
Database tables
jrs_constructed_houses, jrs_housing_blip_preferences, jrs_housing_deeds, jrs_housing_doors, jrs_housing_farm_limits, jrs_housing_fertile_plots, jrs_housing_keys, jrs_private_lands, jrs_properties, jrs_property_definitions, query
config/config.lua - 133 个选项#
General
| Setting | Default | What it does |
|---|---|---|
DevMode |
true |
dev mode 的开关:true = 开,false = 关(默认 true)。 |
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
PropertyPurchaseIdentity |
table |
Requires an issued identity for the buyer's character in jrs_idcard. This is a registry check, not possession of somebody else's inventory card. |
↳ Required |
true |
required 的开关:true = 开,false = 关(默认 true)。 |
↳ MissingMessage |
'يجب إصدار هوية لشخصيتك قبل ... |
missing message 显示给玩家的文本。可修改以翻译或更名。 |
↳ UnavailableMessage |
'تعذر التحقق من الهوية. حاول... |
unavailable message 显示给玩家的文本。可修改以翻译或更名。 |
PromptKeys |
table |
prompt keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ SELL |
table |
sell 条目表。按文件中的示例添加、删除或修改条目。 |
↳ MENU_OPEN |
table |
menu open 条目表。按文件中的示例添加、删除或修改条目。 |
↳ STORAGE |
table |
storage 条目表。按文件中的示例添加、删除或修改条目。 |
↳ WARDROBE |
table |
wardrobe 条目表。按文件中的示例添加、删除或修改条目。 |
↳ TELEPORT |
table |
teleport 条目表。按文件中的示例添加、删除或修改条目。 |
MenuActionZone |
table |
menu action zone 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
false |
开启或关闭 enabled(默认 false)。 |
↳ ShowOnlyForOwners |
true |
Shows only for owners:true = 是,false = 否(默认 true)。 |
↳ DrawDistance |
6.0 |
draw distance 的游戏内距离。 |
↳ Radius |
0.65 |
radius 的游戏内距离。 |
↳ Height |
0.08 |
height 的数值(默认 0.08)。 |
↳ GroundOffset |
-0.95 |
ground offset 的数值(默认 -0.95)。 |
↳ MarkerType |
0x94FDAE17 |
marker type 的设置。 |
↳ Red |
214 |
red 的数值(默认 214)。 |
↳ Green |
174 |
green 的数值(默认 174)。 |
↳ Blue |
90 |
blue 的数值(默认 90)。 |
↳ Alpha |
70 |
alpha 的数值(默认 70)。 |
↳ BobUpAndDown |
false |
bob up and down 的开关:true = 开,false = 关(默认 false)。 |
UsersDatabase |
table |
What is your main characters table name in the database? |
↳ tableName |
"jrs_characters" |
table name 显示给玩家的文本。可修改以翻译或更名。 |
↳ identifierName |
"identifier" |
identifier name 显示给玩家的文本。可修改以翻译或更名。 |
↳ characterIdentifierName |
"charidentifier" |
character identifier name 显示给玩家的文本。可修改以翻译或更名。 |
StartQueryDelay |
1 |
Time in seconds (5-10 will fix your problem) |
RestartHours |
table |
The following option is saving all the data before server restart hours (2-3 Minutes atleast before server restart is mostly preferred). |
SaveDataRepeatingTimer |
table |
As default, we save all data every 15 minutes to avoid data loss in case for server crashes. @Duration = Time in minutes. |
MaxHouses |
3 |
How many houses should each player have on their character? |
ReadyPropertyPurchase |
table |
and charges house + land without asking the buyer to select the area again. The legacy manual-selection settings below remain only as a fallback for any non-dynamic property definition. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ AutoOpen |
false |
Do not show the large property image/card just because a player walks close. Only a small E interaction hint is shown; the full card opens after pressing E. |
↳ OpenKey |
Keys["E"] |
open key 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ OpenKeyLabel |
"E" |
open key label 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ OpenDistance |
2.25 |
open distance 的游戏内距离。 |
↳ PromptText |
"VIEW PROPERTY" |
prompt text 显示给玩家的文本。可修改以翻译或更名。 |
↳ RequireEntranceInsideLand |
true |
The existing house entrance must be inside the selected four corners. |
↳ EntrancePadding |
0.25 |
entrance padding 的数值(默认 0.25)。 |
↳ RequireKnownPropertyPointsInsideLand |
true |
Also validate known points that belong to the ready-made house (menu position and configured door positions) so a tiny plot around only the entrance cannot be used as the property's land. |
↳ KnownPointPadding |
0.10 |
known point padding 使用的世界坐标(x, y, z)。 |
↳ ServerStartDistance |
4.0 |
Extra server-side tolerance for starting the purchase interaction. |
↳ DefaultDescription |
"Ready-made property with pr... |
Optional defaults used by the property-sale UI. Individual properties may override these with displayName and description fields. |
↳ Text |
table |
text 显示给玩家的文本。可修改以翻译或更名。 |
MaxHouseKeyHolders |
3 |
How many players should have access to a property? |
RealEstateJob |
table |
@ReceivePercentage the percentage real estate job will receive when selling a property. Ex. If a property costs $300, and ReceivePercentage is 5%, the seller will receive $15. |
UpgradeHouses |
true |
Set to false if you don't want the player's to upgrade their house inventory capacities. |
ResetUpgrades |
true |
Set it to false if you don't want the property upgrades to reset when placing the property for sale. |
ResetPropertyLedger |
false |
Reset all the property ledger account money when a property has been placed for sell. |
RenderNPCDistance |
30 |
The distance for rendering NPC Models. |
TeleportOutsideOnJoin |
table |
Set it to false if you don't want the players to be teleported outside of their property after selecting a character. We provide this system in case they bug inside or other players who left inside that property to be teleported o |
WardrobeEventTrigger |
"jrs_clothes:openWardrobe" |
to open their wardrobe, change the event trigger below. |
ManagementMenu |
table |
Options in the property management menu to display / not based on your personal and server preferences. (!) DO NOT MODIFY THE TYPE NAMES. |
PropertyStashes |
table |
property stashes 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Resource |
"jrs_stashes" |
resource 的设置。 |
↳ MaxSlots |
50 |
Highest value an admin can set per house. |
↳ MaxWeight |
1000000.0 |
max weight 的上限。 |
↳ Tiers |
table |
property area wins. Weight is the capacity (KG) of EACH stash in that house. Each placed stash is its own separate storage. Admins can customize slots and weight per house in /propertyadmin -> property -> House Stashes or via SQL/ |
↳ PlaceDistance |
4.0 |
Stashes must stay this close to the player placing them (server check). |
DoorKey |
Keys['G'] |
G Key |
DoorInteractionDistance |
3.50 |
Horizontal interaction radius for locking/unlocking property doors. The old hardcoded value was 1.25m and used 3D distance, which made the player stand almost against the door before the door key would register. |
DynamicProperties |
table |
Ready-made properties are stored and loaded from SQL only. Create and edit them in-game with /createproperty and /propertyadmin. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ CreateCommand |
"createproperty" |
create command 的设置。 |
↳ AdminCommand |
"propertyadmin" |
允许谁:admin command 的职业、组或权限。 |
↳ AdminAcePermission |
"jrs_housing.property.admin" |
允许谁:admin ace permission 的职业、组或权限。 |
↳ AdminGroups |
table |
允许谁:admin groups 的职业、组或权限。 |
↳ AdminIdentifiers |
table |
允许谁:admin identifiers 的职业、组或权限。 |
↳ RequireArea |
true |
Requires area:true = 是,false = 否(默认 true)。 |
↳ RequiredAreaPoints |
4 |
required area points 使用的世界坐标(x, y, z)。 |
↳ AllowOwnedStructureEdit |
true |
Admins may change the area/doors of an OWNED house (enlarge, add a building, add/remove doors, merge another house). The owner keeps the house; their land boundary follows the new area. false = old behaviour (reset first). |
↳ AreaGrowStep |
5.0 |
"Enlarge Area" step size in meters (each corner moves this far outward). |
↳ MinimumArea |
25.0 |
minimum area 的最低值或等级要求。 |
↳ MaximumArea |
10000.0 |
maximum area 的上限。 |
↳ DoorCaptureDistance |
6.0 |
door capture distance 的游戏内距离。 |
↳ DoorMatchDistance |
1.75 |
door match distance 的游戏内距离。 |
↳ ForceDoorClosedOnCapture |
true |
When an admin captures a world door, force it fully closed first so the saved objYaw is the real closed heading, never the current open angle. |
↳ DoorCloseCaptureDelay |
350 |
door close capture delay 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ Defaults |
table |
defaults 条目表。按文件中的示例添加、删除或修改条目。 |
NativeDoorlocks |
table |
native doorlocks 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ AutoInstallBundledProperties |
true |
Seed/merge every bundled ready-made house and its known doors into SQL. Existing customized definitions are preserved; only missing data/doors are merged. |
↳ ForceBundledDoorAccessMode |
true |
Forces bundled door access mode:true = 是,false = 否(默认 true)。 |
↳ ImportLegacyDoorlockIds |
true |
One-time migration for older properties that saved jrs_doorlocks door IDs. The parts are copied directly from SQL into jrs_housing property doors. |
↳ RemoveImportedDoorlockIds |
true |
remove imported doorlock ids 的开关:true = 开,false = 关(默认 true)。 |
↳ DoorlockDatabaseTables |
table |
doorlock database tables 条目表。按文件中的示例添加、删除或修改条目。 |
↳ RegisteredDoorPickerResource |
"jrs_doorlocks" |
Optional admin convenience: /createproperty can use the jrs_doorlocks world picker when that resource is running, then copies the selected door. |
↳ EnforceExclusiveDoorHashes |
true |
Native validation/security. |
↳ RequireDoorInsidePropertyArea |
true |
Requires door inside property area:true = 是,false = 否(默认 true)。 |
↳ DoorAreaTolerance |
12.0 |
door area tolerance 的数值(默认 12.0)。 |
↳ ServerDistanceValidation |
true |
server distance validation 的开关:true = 开,false = 关(默认 true)。 |
↳ ServerValidationDistance |
6.0 |
server validation distance 的游戏内距离。 |
↳ LockWhenUnowned |
true |
State policy. |
↳ UnlockWhenUnowned |
false |
unlock when unowned 的开关:true = 开,false = 关(默认 false)。 |
↳ LockOnOwnershipTransfer |
true |
lock on ownership transfer 的开关:true = 开,false = 关(默认 true)。 |
↳ DefaultLocked |
true |
default locked 的开关:true = 开,false = 关(默认 true)。 |
↳ LockOnResourceStart |
true |
lock on resource start 的开关:true = 开,false = 关(默认 true)。 |
↳ LockpickSessionMilliseconds |
120000 |
Short-lived server lockpick session. The final unlock still requires this server-issued session, the correct door, proximity and item checks. |
↳ WorldStatus |
table |
Door interaction presentation. This is drawn in world-space directly on the selected door and does not steal NUI focus. Red = locked, green = unlocked. |
↳ KeyAnimation |
table |
Character key animation for both LOCK and UNLOCK. The animation falls back to facing the saved door coordinates when a streamed MLO door does not expose a usable entity handle. |
DoorlockIntegration |
table |
Deprecated compatibility switch. Keep disabled: housing no longer delegates its doors to jrs_doorlocks. |
↳ Enabled |
false |
开启或关闭 enabled(默认 false)。 |
↳ Resource |
"jrs_doorlocks" |
resource 的设置。 |
RenderDoorStateDistance |
30 |
The following rendering checks for near locked states / doors. |
Lockpicking |
table |
lockpicking 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Key |
0xE30CD707 |
R Key |
↳ Item |
"lockpick" |
item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ Stages |
1 |
(3) By Default, all Lockpicking stages must be successfull to unlock the property door. Stages also must be the required item quantity to have for lockpicking. That means, a player must have X3 hardlockpick items. |
↳ NotEnoughLockpicksNotify |
"~e~You do not have enough l... |
not enough lockpicks notify 显示给玩家的文本。可修改以翻译或更名。 |
↳ RequiredOnlineJob |
table |
允许谁:required online job 的职业、组或权限。 |
↳ NotifyMessage |
table |
TP Notify Support. |
↳ Duration |
10 |
Time in minutes |
PropertyLights |
table |
SQL definition ( { on = true, points = { { x=.., y=.., z=.., prop=".." }, .. } } ). Properties without that field are completely unaffected by this feature. House lights are controlled from the inventory-key management menu only. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ DefaultProp |
"p_kerosenetablelamp01x" |
Default prop used for a light point that does not specify its own prop. |
↳ StreamDistance |
40.0 |
How far away (in the world) a light point is streamed in and kept spawned. |
config/config_construction.lua - 26 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Construction |
table |
construction 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Commands |
table |
commands 条目表。按文件中的示例添加、删除或修改条目。 |
↳ EveryoneCanCreate |
false |
Set true to let every player place a new construction plot. |
↳ OwnersCanBuild |
false |
Owners can contribute materials and advance their own construction. Set to false so only the Builder rank can build/advance construction stages. |
↳ StrictJobOnly |
true |
Strict job restriction: when true, nobody (not even admins/superadmins/mods) can purchase the book, use the book, create houses or build stages without having the allowed builder job in AllowedJobs. |
↳ RequiredJobGrade |
0 |
Minimum job grade required (0 = any grade of builder) |
↳ AllowedJobs |
table |
Jobs/groups below can create and build any plot. |
↳ AllowedGroups |
table |
允许谁:allowed groups 的职业、组或权限。 |
↳ AcePermission |
"jrs_housing.construction" |
ACE permission also works: add_ace group.admin jrs_housing.construction allow |
↳ PropertyIdBase |
50000 |
property id base 的数值(默认 50000)。 |
↳ MinimumHouseDistance |
20.0 |
minimum house distance 的游戏内距离。 |
↳ InteractionDistance |
4.0 |
interaction distance 的游戏内距离。 |
↳ RenderDistance |
220.0 |
render distance 的游戏内距离。 |
↳ DespawnDistance |
260.0 |
despawn distance 的游戏内距离。 |
↳ Placement |
table |
placement 条目表。按文件中的示例添加、删除或修改条目。 |
↳ BuildMarker |
table |
Visible construction point spawned after confirming the house position. |
↳ PropertyDefaults |
table |
property defaults 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Text |
table |
text 显示给玩家的文本。可修改以翻译或更名。 |
↳ SkipDoorModelsForTeleport |
false |
Spawn physical, interactive doors for completed constructed houses. The normal REDEMPIRE teleport entry remains available as a fallback. |
↳ DoorModels |
table |
door models 使用的游戏模型或实体。 |
↳ DoorModelPairs |
table |
Do not replace a visible door with guessed left/right model names. Both hinge sides use the known working model; the client mirrors only the swing direction and interaction point. |
↳ LeftHingeDoorModels |
table |
left hinge door models 使用的游戏模型或实体。 |
↳ RightHingeDoorModels |
table |
right hinge door models 使用的游戏模型或实体。 |
↳ InteractiveDoors |
table |
interactive doors 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Presets |
table |
presets 条目表。按文件中的示例添加、删除或修改条目。 |
config/zz_config_land.lua - 24 个选项#
General
| Setting | Default | What it does |
|---|---|---|
LandSystem |
table |
land system 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ PricePerSquareMeter |
1.20 |
One RedM world unit is treated as one square meter for pricing. Base rate (first bracket). The real price is progressive: see PriceBrackets. |
↳ PriceBrackets |
table |
only to the m2 inside its bracket, so big estates cost far more per m2 than a small lot. Tuned to the jrs_core economy tiers (Tier 1 $4-9/h, Tier 3 $30-55/h): 100 m2 = $120, 300 = $360, 1000 = $1,620, 2500 = $5,670, 5000 = $15,045 |
↳ CurrencySymbol |
"$" |
currency symbol 的设置。 |
↳ MoneyAccount |
0 |
jrs_core account used for land payments. 0 is the normal cash account. |
↳ Standalone |
table |
Standalone private lands are created by administrators and sold to players from an in-world sale board. |
↳ RequiredPoints |
4 |
The player walks to four corners and left-clicks at each corner. |
↳ PlacePointControl |
0x07CE1E61 |
INPUT_ATTACK / left mouse button |
↳ MinimumPointSpacing |
2.0 |
minimum point spacing 的最低值或等级要求。 |
↳ MinimumArea |
100.0 |
minimum area 的最低值或等级要求。 |
↳ MaximumArea |
5000.0 |
maximum area 的上限。 |
↳ PreventZoneOverlap |
true |
Prevent a purchased plot from intersecting another purchased plot. |
↳ OverlapBuffer |
1.0 |
overlap buffer 的数值(默认 1.0)。 |
↳ RequireHouseInsideZone |
true |
The house origin and its calculated client footprint must remain inside. |
↳ HouseEdgePadding |
0.0 |
house edge padding 的数值(默认 0.0)。 |
↳ PlacementFootprint |
table |
Several streamed shells have invisible collision/LOD bounds much larger than the visible building. This clamped footprint prevents false rejections. |
↳ MaximumSelectionDistance |
120.0 |
Server-side safety limits. |
↳ SelectionSeconds |
300 |
selection seconds 的数值(默认 300)。 |
↳ ZoneMinZOffset |
-20.0 |
The private-property zone is vertical so hills and multi-floor homes work. |
↳ ZoneMaxZOffset |
40.0 |
zone max z offset 的上限。 |
↳ EntryCheckIntervalMs |
500 |
entry check interval ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ BoundaryDisplay |
table |
boundary display 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Text |
table |
text 显示给玩家的文本。可修改以翻译或更名。 |
config/zz_config_property_keys.lua - 22 个选项#
General
| Setting | Default | What it does |
|---|---|---|
PropertyKeys |
table |
property keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ HouseItem |
"housekey" |
house item 使用的背包物品。名称必须存在于 jrs_items 表中。 |
↳ KeyOnlyDoors |
false |
Allow validated robbery lockpicking; normal access still requires a house key. |
↳ BoundaryAccessPadding |
5.0 |
Meters outside the saved polygon; key/menu access only. |
↳ DoorwayAccessDistance |
3.0 |
Access only: does not expand farming boundaries. |
↳ InteriorAccessDistance |
40.0 |
Meters from the interior entry point; lets owners use their key inside teleport houses. |
↳ AutoRelockSeconds |
15 |
auto relock seconds 的数值(默认 15)。 |
↳ LocksmithDistance |
3.0 |
locksmith distance 的游戏内距离。 |
↳ GiveDistance |
5.0 |
give distance 的游戏内距离。 |
↳ Locksmith |
table |
locksmith 条目表。按文件中的示例添加、删除或修改条目。 |
FertilePlots |
table |
fertile plots 条目表。按文件中的示例添加、删除或修改条目。 |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ DefaultRadius |
3.0 |
Legacy circle plots (pre-polygon) kept only so older saved rows still work. |
↳ MinimumRadius |
1.0 |
minimum radius 的游戏内距离。 |
↳ MaximumRadius |
8.0 |
maximum radius 的游戏内距离。 |
↳ MinimumPoints |
4 |
Corners: each plot is a walked-and-clicked polygon, so its shape can differ from house to house instead of always being the same circle. |
↳ MinimumPointSpacing |
1.5 |
minimum point spacing 的最低值或等级要求。 |
↳ MinimumArea |
4.0 |
minimum area 的最低值或等级要求。 |
↳ MaximumArea |
200.0 |
maximum area 的上限。 |
↳ MaximumPlots |
8 |
maximum plots 的上限。 |
↳ InitialFertilizer |
250 |
Light starter soil (25%). Plot crops also get reduced care bonuses - see jrs_farming Config.FertilePlotSoil. |
config/zz_config_wardrobe_prop.lua - 14 个选项#
General
| Setting | Default | What it does |
|---|---|---|
WardrobeProp |
table |
wardrobe (clothes change prompt at it). One wardrobe per house - setting a new one replaces the old prop. Enabled = false restores the plain point. Range = the house furnitureRange from its entrance (same as furniture). |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Models |
table |
models 使用的游戏模型或实体。 |
↳ SpawnDistance |
60.0 |
spawn distance 的游戏内距离。 |
↳ Blip |
table |
Map blip on the owner's wardrobe (any wardrobe point, prop or not). |
↳ DespawnDistance |
75.0 |
despawn distance 的游戏内距离。 |
↳ Keys |
table |
Every other key is the furniture placement set (client_furnitures.lua). |
StorageProp |
table |
Same furniture placement as the wardrobe above (C = next prop). Its capacity is the house defaultStorageWeight + bought upgrades, written to the storage row every time the box is opened (zz_server_property_keys.lua). |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Models |
table |
models 使用的游戏模型或实体。 |
↳ SpawnDistance |
60.0 |
spawn distance 的游戏内距离。 |
↳ Blip |
table |
blip 的地图标记或图标设置。 |
↳ DespawnDistance |
75.0 |
despawn distance 的游戏内距离。 |
↳ Keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
Paid (server only) jrs_redempire_mountain
jrs core RP S4 - 40m x 30m mountain wooden sign
| Resource | jrs_redempire_mountain |
| Folder | [PROPERTIES] |
| Version | 1.0.2 |
| Author | jrs team |
| Interface | No |
| Code size | 499 行 Lua |
config/config.lua - 31 个选项#
General
| Setting | Default | What it does |
|---|---|---|
ModelName |
"redempire_mtn_s4_40x30" |
Unique model/resource naming so this version can run beside the old road sign. |
SignDimensions |
table |
sign dimensions 条目表。按文件中的示例添加、删除或修改条目。 |
↳ width |
40.0 |
width 的数值(默认 40.0)。 |
↳ height |
30.0 |
height 的数值(默认 30.0)。 |
↳ plankWidth |
38.6 |
Two narrower horizontal timber boards between the posts. |
↳ plankHeight |
1.35 |
plank height 的数值(默认 1.35)。 |
↳ plankDepth |
0.82 |
plank depth 的数值(默认 0.82)。 |
↳ upperPlankZ |
18.60 |
Mountain sign: the boards sit high on the 30m posts. |
↳ lowerPlankZ |
12.70 |
lower plank z 的数值(默认 12.70)。 |
Lighting |
table |
Lighting is fully client-side and follows each spawned sign. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ onlyAtNight |
false |
Keep false while testing so the lights can be checked at any time. Set true later if you only want them during night hours. |
↳ nightStartHour |
18 |
night start hour 的数值(默认 18)。 |
↳ nightEndHour |
6 |
night end hour 的数值(默认 6)。 |
↳ renderDistance |
900.0 |
Do not draw lights for very distant signs to keep the script light. |
↳ propEnabled |
true |
Real RedM/RDR game props. The script tries them in order and uses the first model that loads successfully, so one missing variant will not break the resource. |
↳ propModels |
table |
prop models 使用的游戏模型或实体。 |
↳ color |
table |
Warm frontier light. |
↳ spotlight |
table |
Spotlight settings. Four lamps cover both giant text rows. |
↳ lamps |
table |
Local coordinates relative to the 40x30 sign model. +Y is the visible/front side of the sign. |
FixedPlacement |
table |
Fixed placement for the mountain sign. Set enabled = true and paste the exact coords/full 3-axis rotation you want. The Z value is used exactly as written; it is NOT auto-adjusted to the ground. |
↳ enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ spawnOnStart |
true |
spawn on start 的开关:true = 开,false = 关(默认 true)。 |
↳ coords |
vector3(-57.79999923706055, ... |
coords 使用的世界坐标(x, y, z)。 |
↳ rotation |
vector3(0.0, 0.0, 115.0) |
rotation 的设置。 |
Commands |
table |
commands 条目表。按文件中的示例添加、删除或修改条目。 |
↳ spawn |
"redempire_mtn_sign_spawn" |
spawn 使用的世界坐标(x, y, z)。 |
↳ remove |
"redempire_mtn_sign_remove" |
remove 的设置。 |
↳ lights |
"redempire_mtn_lights" |
lights 的设置。 |
↳ coords |
"redempire_mtn_sign_coords" |
coords 使用的世界坐标(x, y, z)。 |
↳ transform |
"redempire_mtn_sign_transform" |
transform 的设置。 |
Paid (server only) jrs_stable
JRS Stable v5.11.0: horse Health/Stamina now use the game\
| Resource | jrs_stable |
| Folder | [PROPERTIES] |
| Version | 5.26.6 |
| Depends on | /onesync, /server:6231, jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 80,274 Lua lines |
Commands
/-jrs_stable_callwagon/-jrs_stable_horse_dance/-jrs_stable_lean_left/-jrs_stable_lean_modifier/-jrs_stable_lean_right/OpenBreedingMenu/callhorse/checkStow/dancehorse/fixstable/jrs_stable_brushhorse/jrs_stable_callhorse_key/jrs_stable_callwagon_key/jrs_stable_feedhorse/jrs_stable_showhorseinfo/jrshorsestats/jrsstablepromptdebug/resetstablename/setstablename/spawnPelt/trainingadmin
Exports
AddHorseXP, GenerateHorseStatisticsForMenu, GetHorseHudSource, GetHorseNameForMenu, GetMetabolismHorse, GetPlayerLevel, GetServerTimer, GetStableHorseCondition, GiveHorse, GiveWagon, HasLocalStablePermission, HasStablePermission, IsStablePermissionAdmin, IsStableUiOpen, OpenFlamingHoovesDeed, PlayerOwnsFlamingHooves, RegisterAction, RegisterFilter, ReloadHorseTrainingRoutes, SetPlayerFlamingHoovesOwned, ShowMenu, SpawnHorse, StopAddon, getCallbackAPI, getConfig, getConfigs, getCurrentStable, getHorses, getMyHorses, getMyWagons
Database tables
IF, jrs_horse_breeding, jrs_horse_training_npcs, jrs_horse_training_routes, jrs_horse_training_service, jrs_horses, jrs_horses_stats, jrs_stable_admin_actions, jrs_stable_admin_horse_grants, jrs_stable_admin_horse_templates, jrs_stable_bought, jrs_stable_breeder_market_wallet, jrs_stable_color, jrs_stable_custom_names, jrs_stable_flaming_hooves_owners, jrs_stable_market_stock, jrs_stable_market_transactions, jrs_stable_permissions, jrs_stable_team_cooldowns, jrs_wagon_crafting
Notes from the README#
# JRS Stable v5.9.0 — Production
A complete RedM stable system for JRS Core. The resource is designed around server-authoritative horse ownership, equipment, breeding, training, storage and mar
## Required resources
- `oxmysql`
- `jrs_core`
- `jrs_inventory`
- OneSync
Recommended start order:
'''cfg
ensure oxmysql
ensure jrs_core
ensure jrs_inventory
ensure jrs_stable
'''
## Horse interaction
Horse interaction is prompt-only. The old `ENTER Horse Options` path is disabled for horses.
Use Left Arrow / Right Arrow to move between the four prompt pages. The current page is remembered while actions temporarily take focus or drop Rockstar lock-on
- Care: Show Info, Brush, Feed, Lead, Pat, Flee
- Equipment: Storage, Saddlebag, Lantern, Remove Saddle, Flaming Hooves and equipment actions
- Needs: Drink, Graze/Eat, Clean Hoof, Rest, Sleep, Stand Up
- Commands: Rename, Lock/Unlock, Transfer, Follow, Stay, Dance (trained horse)
Horse level remains in the target prompt title. Full stats are available through Show Info.
## Storage and equipment
Horse storage is tied to the equipped `horse_saddlebags` component. The legacy independent horse cargo container is disabled. The server validates horse ownersh
The active accessory category is `horse_accessories`. `horse_masks` is retained only as a legacy compatibility alias where required by old data.
## Breeding
Breeding opens from the stable menu, not a separate world prompt. Valentine is enabled by default and additional stables can be enabled later in `shared/config_
The flow uses a separate breeding view and camera, lets the player choose an eligible stallion and mare, performs server-side checks, starts pregnancy, and reve
## Markets
- Horse Market: stable supplies and standard stable commerce.
- Breeder Market: player-to-player horse listings with server-authoritative purchase, seller proceeds and commission handling.
## Training
Horse Training Service uses the stable-themed UI and can be opened from the stable menu. Training requests, trainer acceptance, activities, return and payment a
## Metabolism integration
The resource exposes active/current horse lookup methods and emits stable-horse lifecycle events used by `jrs_metabolism`. It also uses `SetStableHorse` / `Clea
## Database
For a fresh installation import the SQL files in `sql/`:
1. `jrs_stable.sql`
2. `jrs_stable_items.sql`
3. `jrs_horse_training_service.sql`
4. `jrs_horse_training_routes.sql`
5. `jrs_horse_training_npcs.sql`
Back up your existing database before importing or migrating an existing server.
## Notes
The resource does not use runtime ItemSet creation/clear/destroy natives. Final native, OneSync and database behavior should still be smoke-tested on the live RFree (included in JRS Core) jrs_stables
JRS Core stables - buy, name and call horses, tack shop, saddlebags, brushing and feeding
| Resource | jrs_stables |
| Folder | [PROPERTIES] |
| Version | 2.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | Yes (NUI) |
| Code size | 5,729 Lua lines |
config/main.lua - 129 个选项#
General
| Setting | Default | What it does |
|---|---|---|
defaultlang |
"en_lang" |
Language |
devMode |
false |
Default: false / Do Not Run on a Live Server |
currencyType |
2 |
Default: 2 |
keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ shop |
0x760A9C6F |
[G] Open Stable Menu |
↳ call |
0x80F28E95 |
[L] Call Horse at Stable |
↳ ret |
0x27D1C284 |
[R] Return Horse at Stable |
↳ sell |
0x80F28E95 |
[L] Sell Tamed Horse at Sell Point |
↳ keep |
0x27D1C284 |
[R] Keep Tamed Horse at Sell Point |
↳ trade |
0x27D1C284 |
[R] Trade Horse to Player |
↳ drink |
0xD8F73058 |
[U] Horse Drink when in Water |
↳ rest |
0x620A6C5E |
[V] Horse Rest |
↳ sleep |
0x43CDA5B0 |
[Z] Horse Sleep |
↳ wallow |
0x9959A6F0 |
[C] Horse Wallow |
↳ loot |
0x27D1C284 |
[R] Loot Horse |
horsebrush |
table |
Horse Items |
↳ item |
"horsebrush" |
Item Name in Database |
↳ durability |
true |
Enable or disable durability for the brush item |
↳ maxDurability |
100 |
Maximum durability for the item |
↳ durabilityPerUse |
1 |
Durability decrease per use |
lantern |
table |
lantern 条目表。按文件中的示例添加、删除或修改条目。 |
↳ item |
"oil_lantern" |
Item Name in Database |
↳ durability |
true |
Enable or disable durability for the lantern item |
↳ maxDurability |
100 |
Maximum durability for the item |
↳ durabilityPerUse |
1 |
Durability decrease per use |
horseFood |
table |
horse food 使用的游戏模型或实体。 |
reviver |
"consumable_horse_reviver" |
reviver 的设置。 |
flamingHooves |
table |
Horse Flaming Hooves |
↳ active |
false |
off in the light edition |
↳ item |
"diamond" |
Item Name in Database |
↳ duration |
2 |
Duration in Minutes for Flaming Hooves Effect |
↳ durability |
true |
Enable or disable durability for the flaming hooves item |
↳ maxDurability |
100 |
Maximum durability for the item |
↳ durabilityPerUse |
5 |
Durability decrease per use |
commands |
table |
Change / Translate Stables Commands |
↳ horseRespawn |
"horseRespawn" |
Respawn Horse if Stuck or Unable to Reach |
↳ horseSetWild |
"horseSetWild" |
Dev Mode: Make a Horse Wild |
↳ horseWrithe |
"horseWrithe" |
Dev Mode: Set Horse to Writhe State |
maxPlayerHorses |
5 |
Default: 5 |
maxTrainerHorses |
10 |
Default: 10 |
horseDistance |
table |
If Distance to Horse is too Far, Horse is Returned to Stable |
↳ enabled |
true |
Default: true / If You Notice Horse Spawn Issues, Set to False |
↳ radius |
150 |
Default: 150 / Distance from Player to Horse |
whistleSpawn |
true |
Default:true / Set to false to only Use 'Call Horse' Button at Stable to Spawn Horse |
fleeEnabled |
true |
Default: true / Set to false to Return Horse at Stable Only |
closedCall |
true |
Default: true / 'Call Horse' Button at Stable |
closedReturn |
true |
Default: true / 'Return Horse' Button at Stable |
death |
table |
Horse Death Management Wrihe State: Horse is Down and Unable to Move |
↳ writheEnabled |
true |
Default: true / If false, Horse will skip Writhe State and go directly to Dead |
↳ persistentWrithe |
true |
Default: true / If true, Writhe State will be Saved to Database and Set on Spawn Until Revived or Killed |
↳ deselect |
false |
Default: false / If true, Player Must Return to Stable to Select Horse to Spawn (Requires "writheEnabled" to be true) |
↳ permanent |
false |
Default: false / If true, Horse is Permanently Dead (Requires "writheEnabled" to be true) |
↳ health |
20 |
Default: 20 / Max: 100 / Core Health Level for First Spawn After Death |
↳ stamina |
20 |
Default: 20 / Max: 100 / Core Stamina Level for First Spawn After Death |
useSaddlebags |
true |
Default: true / Require Saddlebags for Inventory |
shareInventory |
false |
Default: false / Share with All Players / Allows Looting Player Horses |
allowWeapons |
true |
Default: true / Allow Weapons |
whitelistWeapons |
false |
Default: false / Set to true to Enable White List for Weapons |
weaponsLimitWhiteList |
table |
weapons limit white list 的上限。 |
useBlackList |
false |
Default: false / Set to false to Disable |
itemsBlackList |
table |
items black list 使用的背包物品。名称必须存在于 jrs_items 表中。 |
ignoreItemStackLimit |
true |
Default: true / Set to true to Ignore Item Stack Limit |
useWhiteList |
false |
Default: false / Set to true to Enable White List |
itemsLimitWhiteList |
table |
items limit white list 的上限。 |
usePermissions |
false |
Default: false / Set to true to Enable Permissions |
permissions |
table |
允许谁:permissions 的职业、组或权限。 |
↳ allowedJobsTakeFrom |
table |
允许谁:allowed jobs take from 的职业、组或权限。 |
↳ allowedJobsMoveTo |
table |
允许谁:allowed jobs move to 的职业、组或权限。 |
boost |
table |
Health and Stamina Boosts (Set to 0 to Disable Boost - Animations Still Work) |
↳ brushHealth |
10 |
Increase for Brushing Horse |
↳ brushStamina |
10 |
brush stamina 的数值(默认 10)。 |
↳ feedHealth |
20 |
Increase for Feeding Horse |
↳ feedStamina |
20 |
feed stamina 的数值(默认 20)。 |
↳ drinkHealth |
20 |
Increase for Horse Drinking |
↳ drinkStamina |
20 |
drink stamina 的数值(默认 20)。 |
saveInterval |
60 |
Default: 60 / Time in Seconds / Set to 0 to Disable |
drinkLength |
20 |
Default: 20 / Time in Seconds for Animation to Run |
horseTag |
true |
Default: true / Set to false to disable |
tagDistance |
15 |
Default: 15 / Distance from Horse the Tag is Visible |
trainerOnly |
false |
Default: false / Only Trainers can Tame and Keep/Sell Wild Horses / Only Trainers can Train Horses |
trainerJob |
table |
允许谁:trainer job 的职业、组或权限。 |
horseXpPerCheck |
1 |
Default: 1 / XP Earned per 'trainingDistance' Achieved |
horseXpPerBrush |
1 |
Default: 1 / Set to 0 to Disable / Amount of XP Earned when Brushing Horse |
horseXpPerFeed |
1 |
Default: 1 / Set to 0 to Disable / Amount of XP Earned when Feeding Horse |
horseXpPerDrink |
1 |
Default: 1 / Set to 0 to Disable / Amount of XP Earned When Horse Drinks |
showXpMessage |
true |
Default: true / Show XP Increase Message on Screen |
trainingDistance |
100 |
Default: 100 / Distance to Travel to Earn XP |
displayHorseBreed |
true |
Default: true / Display Breed of Horse Player Mounted |
allowKeep |
false |
Default: true / Allow to Register Tamed Horse |
regCost |
25 |
Default: 25 / Cost of Registering a Tamed Horse in Cash |
allowSale |
false |
Default: true / Allow Player to Sell Tamed Horse |
tamedSellPrice |
0.30 |
Default: 0.30 / Sell Price is 30% of Horse cashPrice in Stable |
cooldown |
table |
cooldown 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ sellTame |
15 |
Cooldown for Selling Tamed Horses in Minutes |
disableKick |
false |
Default: false / Disable Kick from Horse |
sellPrice |
0.70 |
Default: 0.70 |
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 的设置。 |
Paid (server only) jrs_transportbox
Transport crate: place it, load it on a horse or wagon, open its storage anywhere it goes
| Resource | jrs_transportbox |
| Folder | [PROPERTIES] |
| Version | 1.0.0 |
| Author | jrs team |
| Depends on | jrs_core, jrs_inventory, oxmysql |
| Interface | No |
| Languages | ar, en |
| Code size | 482 行 Lua |
Database tables
jrs_transport_crates
config.lua - 16 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Item |
"transport_crate" |
auto-created in jrs_items on start |
ItemLabel |
table |
item label 使用的背包物品。名称必须存在于 jrs_items 表中。 |
Model |
"p_crate03x" |
model 使用的游戏模型或实体。 |
StorageSize |
120 |
jrs_inventory storage capacity |
MaxDeployedPerCharacter |
2 |
max deployed per character 的上限。 |
Access |
"owner" |
Who can open a crate: 'owner' (the character who placed it) or 'anyone'. |
AllowPickupByOthers |
true |
Anyone can pick a crate up off the ground (theft RP). Contents travel with it. |
InteractDistance |
2.2 |
interact distance 的游戏内距离。 |
LoadDistance |
3.5 |
load distance 的游戏内距离。 |
Keys |
table |
keys 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
↳ Open |
0x760A9C6F |
G |
↳ Pickup |
0xCEFD9220 |
E (hold) |
↳ Load |
0xE30CD707 |
R |
Attach |
table |
Where the crate sits when loaded. Bone name on the target + offset/rotation. |
↳ horse |
table |
horse 使用的游戏模型或实体。 |
↳ wagon |
table |
wagon 条目表。按文件中的示例添加、删除或修改条目。 |
Free (included in JRS Core) jrs_trapdoors
JRS Core trapdoors - synced trapdoors with an optional 4-digit passcode
| Resource | jrs_trapdoors |
| Folder | [PROPERTIES] |
| Version | 1.0.0 |
| Author | JRS TEAM |
| Depends on | jrs_core, oxmysql |
| Interface | No |
| Code size | 1,305 Lua lines |
Database tables
jrs_trapdoors
config.lua - 12 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Language |
"en" |
'en' or 'ar' |
MoveDuration |
2000 |
ms the open/close animation takes |
AutoCloseTime |
30000 |
ms before an open trapdoor closes itself (0 = never) |
PlayerCooldown |
1000 |
ms between toggle requests per player |
StreamDistance |
100.0 |
distance at which clients look for / sync the prop |
MaxCodeAttempts |
3 |
wrong guesses before a player is locked out of that door |
CodeLockoutTime |
60000 |
ms lockout after too many wrong guesses |
AdminResetCommand |
"resettrapdoorcode" |
/resettrapdoorcode <door id> (admins) |
Trapdoors |
table |
Each entry is one physical trapdoor. The key is its unique id. rotations are pitch/roll/yaw in degrees (rotation order 2) |
↳ rhodes_gunsmith |
table |
rhodes gunsmith 条目表。按文件中的示例添加、删除或修改条目。 |
↳ strawberry |
table |
strawberry 条目表。按文件中的示例添加、删除或修改条目。 |
↳ clothing_case |
table |
clothing case 条目表。按文件中的示例添加、删除或修改条目。 |
Free (included in JRS Core) jrs_wildhorse
Horse wild selling locations for jrs core framework
| Resource | jrs_wildhorse |
| Folder | [PROPERTIES] |
| Version | 1.2 |
| Author | JRS TEAM |
| Interface | No |
| Code size | 537 行 Lua |
config.lua - 126 个选项#
General
| Setting | Default | What it does |
|---|---|---|
Language |
table |
此脚本的界面语言(en 或 ar)。 |
↳ NoMount |
"You aren't mounted on a hor... |
no mount 的设置。 |
↳ NotInTheTrainer |
"I won't buy that animal" |
not in the trainer 的设置。 |
↳ AnimalSold |
"Thanks for the deal!" |
animal sold 使用的游戏模型或实体。 |
↳ notatrainer |
"You Dont Have The Right Job" |
notatrainer 的设置。 |
↳ NotBroken |
"Your horse is not broken" |
not broken 的设置。 |
aiTrainerped |
true |
spawn ai trainer ped set to false if you dont want an ai trainer ped to spawn |
joblocked |
false |
lock the trainer so only people with the job can access. u can change access to each trainer by editing this trainerjob= "trainer" |
trainers |
table |
trainers 条目表。按文件中的示例添加、删除或修改条目。 |
SkillName |
"HorseTaming" |
you need to add this skill to jrs_core config skills |
SkillsLevel |
table |
jrs core must have the same amount of skills for this |
↳ 1 |
table |
1 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2 |
table |
2 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 3 |
table |
3 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 4 |
table |
4 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 5 |
table |
5 条目表。按文件中的示例添加、删除或修改条目。 |
Animals |
table |
animals 使用的游戏模型或实体。 |
↳ -1963397600 |
table |
XP WILL BE DO INCREASE SKILL LEVEL EVERYTIME THEY SELL A HORSE |
↳ -450053710 |
table |
450053710 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1792770814 |
table |
1792770814 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -167968797 |
table |
167968797 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1250098797 |
table |
1250098797 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -318278790 |
table |
318278790 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1883159941 |
table |
1883159941 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 55096099 |
table |
55096099 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -458397856 |
table |
458397856 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -444810976 |
table |
444810976 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 705691988 |
table |
705691988 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 746627200 |
table |
746627200 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1028075925 |
table |
1028075925 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2130094044 |
table |
2130094044 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1029277326 |
table |
1029277326 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 604357666 |
table |
604357666 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1140650519 |
table |
1140650519 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1554827654 |
table |
1554827654 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1999198818 |
table |
1999198818 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 84224102 |
table |
84224102 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1496579364 |
table |
1496579364 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -403470324 |
table |
403470324 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1576849913 |
table |
1576849913 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -925223936 |
table |
925223936 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -157438906 |
table |
157438906 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -2026265047 |
table |
2026265047 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -635239558 |
table |
635239558 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -586898625 |
table |
586898625 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 937246805 |
table |
937246805 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1717674545 |
table |
1717674545 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1441144351 |
table |
1441144351 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1544366970 |
table |
1544366970 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -619132373 |
table |
619132373 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 337109765 |
table |
337109765 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -683592019 |
table |
683592019 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1138427579 |
table |
1138427579 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2147082926 |
table |
2147082926 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 766293155 |
table |
766293155 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1720251851 |
table |
1720251851 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 506887890 |
table |
506887890 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1825358734 |
table |
1825358734 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1772321403 |
table |
1772321403 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 687445866 |
table |
687445866 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 861505058 |
table |
861505058 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1593035738 |
table |
1593035738 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1356425746 |
table |
1356425746 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1142861801 |
table |
1142861801 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -390136947 |
table |
390136947 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -417416199 |
table |
417416199 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1460773772 |
table |
1460773772 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1476007840 |
table |
1476007840 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1104566530 |
table |
1104566530 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -819697512 |
table |
819697512 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1705182311 |
table |
1705182311 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1896838685 |
table |
1896838685 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -78273782 |
table |
78273782 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -247265944 |
table |
247265944 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1516219602 |
table |
1516219602 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1265030920 |
table |
1265030920 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2024948086 |
table |
2024948086 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1696286663 |
table |
1696286663 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1616287563 |
table |
1616287563 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1846319726 |
table |
1846319726 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1881155818 |
table |
1881155818 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -955237712 |
table |
955237712 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -647020346 |
table |
647020346 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -127412252 |
table |
127412252 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1342159303 |
table |
1342159303 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -420588285 |
table |
420588285 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1154406788 |
table |
1154406788 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2030804811 |
table |
2030804811 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1230359523 |
table |
1230359523 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1038436471 |
table |
1038436471 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 96930969 |
table |
96930969 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1063137731 |
table |
1063137731 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 594040097 |
table |
594040097 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1230516683 |
table |
1230516683 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 478986344 |
table |
478986344 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1180427609 |
table |
1180427609 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 43825738 |
table |
43825738 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2119038574 |
table |
2119038574 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 107013696 |
table |
107013696 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1261814606 |
table |
1261814606 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2145697477 |
table |
2145697477 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1007570567 |
table |
1007570567 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -156439156 |
table |
156439156 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -217135948 |
table |
217135948 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1029339151 |
table |
1029339151 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 134401125 |
table |
134401125 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1066034872 |
table |
1066034872 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 36009259 |
table |
36009259 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 802784330 |
table |
802784330 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1693870200 |
table |
1693870200 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1599683008 |
table |
1599683008 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1072019803 |
table |
1072019803 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1074477367 |
table |
1074477367 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -85890205 |
table |
85890205 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -166778945 |
table |
166778945 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 446670976 |
table |
446670976 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -727455979 |
table |
727455979 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 1048964673 |
table |
1048964673 条目表。按文件中的示例添加、删除或修改条目。 |
↳ 2120708491 |
table |
2120708491 条目表。按文件中的示例添加、删除或修改条目。 |
↳ -1924405794 |
table |
1924405794 条目表。按文件中的示例添加、删除或修改条目。 |
Paid (server only) rl_prop_items
REDEMPIRE prop items, admin manager, and owned-item native melee model replacement.
| Resource | rl_prop_items |
| Folder | [PROPERTIES] |
| Version | 3.2.4 |
| Author | jrs |
| Depends on | jrs_core, jrs_inventory |
| Interface | Yes (NUI) |
| Languages | ar, en |
| Code size | 2,640 Lua lines |
Commands
/propweapdebug
Exports
ClearPropItems, ClearReplacementAppearance, EquipPropItem, GetEquippedPropItems, GetReplacementAppearances, IsJRSIntegrationReady, OpenAdminObjectManager, SelectReplacementAppearance, TogglePropItem, UnequipPropItem
config/config.lua - 88 个选项#
General
| Setting | Default | What it does |
|---|---|---|
REDEMPIRE |
table |
redempire 条目表。按文件中的示例添加、删除或修改条目。 |
↳ CoreResource |
"jrs_core" |
core resource 的设置。 |
↳ InventoryResource |
"jrs_inventory" |
inventory resource 的设置。 |
↳ UseCoreNotifications |
true |
开启或关闭 core notifications(默认 true)。 |
↳ NotificationDuration |
3000 |
notification duration 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ CloseInventoryOnUse |
true |
close inventory on use 的开关:true = 开,false = 关(默认 true)。 |
↳ InitialRegistrationDelay |
1500 |
initial registration delay 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
↳ RegistrationAttempts |
10 |
registration attempts 的数值(默认 10)。 |
↳ RegistrationRetryDelay |
1000 |
registration retry delay 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
StateBagName |
"rl_prop_items" |
state bag name 显示给玩家的文本。可修改以翻译或更名。 |
RefreshInterval |
1500 |
refresh interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
ModelLoadTimeout |
8000 |
model load timeout 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
DisableCollision |
true |
Turns off collision:true = 是,false = 否(默认 true)。 |
MakeInvincible |
true |
make invincible 的开关:true = 开,false = 关(默认 true)。 |
HammerReplace |
true |
The player must already own/equip the native RedM weapon. This script never gives, removes, or forces the native weapon. It only hides its model and attaches an owned prop item while that weapon is selected. |
WeaponHammerReplace |
"weapon_melee_hammer" |
weapon hammer replace 使用的游戏模型或实体。 |
SwordReplace |
true |
sword replace 的开关:true = 开,false = 关(默认 true)。 |
WeaponSwordReplace |
"weapon_melee_machete_collector" |
weapon sword replace 使用的游戏模型或实体。 |
KnifeReplace |
true |
knife replace 的开关:true = 开,false = 关(默认 true)。 |
WeaponKnifeReplace |
"weapon_melee_knife_rustic" |
weapon knife replace 使用的游戏模型或实体。 |
ReplacementStateBagName |
"rl_prop_item_skins" |
Replacement state synchronization. |
HideReplacementWeapon |
true |
Hides replacement weapon:true = 是,false = 否(默认 true)。 |
ReplacementRefreshInterval |
100 |
replacement refresh interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
AutoSelectOwnedReplacement |
true |
When a native weapon is equipped, automatically choose the first owned prop from the matching category if the player has not selected a preferred one. |
UseReplacementItemToSelect |
true |
Using a hammer/sword/knife prop item selects it as the preferred appearance. It does not directly attach the prop and does not give the native weapon. |
UseCooldownMs |
500 |
use cooldown ms 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
RemoveIfItemMissing |
true |
remove if item missing 的开关:true = 开,false = 关(默认 true)。 |
OwnershipCheckInterval |
5000 |
ownership check interval 的时间设置。单位(秒、分钟或毫秒)通常写在选项名或相邻选项的注释里。 |
ExportsRequireInventoryItem |
true |
exports require inventory item 的开关:true = 开,false = 关(默认 true)。 |
EnableTestCommands |
true |
开启或关闭 test commands(默认 true)。 |
TestCommandsRequireInventoryItem |
false |
test commands require inventory item 的开关:true = 开,false = 关(默认 false)。 |
TestCommand |
"propitem" |
test command 的设置。 |
ClearCommand |
"propclear" |
clear command 的设置。 |
ListCommand |
"proplist" |
list command 的设置。 |
TestCommandAce |
nil |
test command ace 的设置。 |
ShowChatMessages |
true |
Shows chat messages:true = 是,false = 否(默认 true)。 |
Debug |
false |
Debug output for debug:true = 是,false = 否(默认 false)。 |
AdminUI |
table |
Admin object manager UI. |
↳ Enabled |
true |
开启或关闭 enabled(默认 true)。 |
↳ Command |
"propadmin" |
command 的设置。 |
↳ AllowedGroups |
table |
Any matching REDEMPIRE group may open and use the panel. |
↳ AcePermission |
nil |
Optional ACE permission. Set to nil to use REDEMPIRE groups only. |
↳ SaveFile |
"saved_props.json" |
save file 的设置。 |
↳ OpenKey |
nil |
open key 使用的按键或控制。控制是游戏输入列表中的 hash 值。 |
ItemAliases |
table |
Compatibility for the typo used in some old installation notes. |
↳ crowbar |
"crowbar01" |
crowbar 的设置。 |
Items |
table |
One weapon can occupy right_hand and one shield can occupy left_forearm. Every item may contain one or more objects. |
↳ sword01 |
table |
sword01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sword02 |
table |
sword02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ spear01 |
table |
spear01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sword03 |
table |
sword03 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sword04 |
table |
sword04 条目表。按文件中的示例添加、删除或修改条目。 |
↳ sword05 |
table |
sword05 条目表。按文件中的示例添加、删除或修改条目。 |
↳ saber01 |
table |
saber01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ saber02 |
table |
saber02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ saber03 |
table |
saber03 条目表。按文件中的示例添加、删除或修改条目。 |
↳ cleaver01 |
table |
cleaver01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ hammer01 |
table |
hammer01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ hammer02 |
table |
hammer02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ clamp01 |
table |
clamp01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ club01 |
table |
club01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ club02 |
table |
club02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ club03 |
table |
club03 条目表。按文件中的示例添加、删除或修改条目。 |
↳ club04 |
table |
club04 条目表。按文件中的示例添加、删除或修改条目。 |
↳ club05 |
table |
club05 条目表。按文件中的示例添加、删除或修改条目。 |
↳ club06 |
table |
club06 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bat01 |
table |
bat01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ bat02 |
table |
bat02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ crowbar01 |
table |
crowbar01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pan01 |
table |
pan01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ pan02 |
table |
pan02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ stake01 |
table |
stake01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ stake02 |
table |
stake02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ knife01 |
table |
knife01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shield01 |
table |
shield01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shield02 |
table |
shield02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shield03 |
table |
shield03 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shield04 |
table |
shield04 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shield05 |
table |
shield05 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shield06 |
table |
shield06 条目表。按文件中的示例添加、删除或修改条目。 |
↳ shield07 |
table |
shield07 条目表。按文件中的示例添加、删除或修改条目。 |
↳ katana01 |
table |
katana01 条目表。按文件中的示例添加、删除或修改条目。 |
↳ katana02 |
table |
katana02 条目表。按文件中的示例添加、删除或修改条目。 |
↳ katana03 |
table |
katana03 条目表。按文件中的示例添加、删除或修改条目。 |
↳ katana04 |
table |
katana04 条目表。按文件中的示例添加、删除或修改条目。 |
↳ katana05 |
table |
katana05 条目表。按文件中的示例添加、删除或修改条目。 |
↳ katana06 |
table |
katana06 条目表。按文件中的示例添加、删除或修改条目。 |
↳ katana07 |
table |
katana07 条目表。按文件中的示例添加、删除或修改条目。 |