Documentation
Optional Addon

Vcore-pcrepair

Optional PC-repair job with generated listings, parts purchasing, customer visits, diagnosis and server-authoritative rewards. Start `core` and `inventory` before `pcrepair`. Edit `shared/config.lua` for NPCs, zones, blips, money type, timings, difficulty, scam behaviour and admin permission. Edit `shared/jobs.lua` for parts, customer locations and job definitions. Required part items: `graphics_card` `ram_stick` `processor` `power_supply` `motherboard` `thermal_paste` These item definitions and images must exist in the shared Core catalogue and Inventory. `/pcrepairadmin info` shows listing and reservation counts. `/pcrepairadmin clearjobs` clears generated listings and reservations. The command and permission are configurable through `Config.AdminCommand` and `Config.AdminPermission`. Re

Introduction

Optional PC-repair job with generated listings, parts purchasing, customer visits, diagnosis and server-authoritative rewards. Start `core` and `inventory` before `pcrepair`. Edit `shared/config.lua` for NPCs, zones, blips, money type, timings, difficulty, scam behaviour and admin permission. Edit `shared/jobs.lua` for parts, customer locations and job definitions. Required part items: `graphics_card` `ram_stick` `processor` `power_supply` `motherboard` `thermal_paste` These item definitions and images must exist in the shared Core catalogue and Inventory. `/pcrepairadmin info` shows listing and reservation counts. `/pcrepairadmin clearjobs` clears generated listings and reservations. The command and permission are configurable through `Config.AdminCommand` and `Config.AdminPermission`. Re

Version: 1.0.0Optional Resource5 Lua files0 SQL files

Dependencies

DependencyStatus
coreIncluded Vcore resource
inventoryIncluded Vcore resource

Installation / Start Order

Install the resource with its required dependencies, then enable it in your resource start order.

server.cfg
ensure pcrepair

Configuration

Config files

  • shared/config.lua

Detected config keys

  • AdminCommand
  • AdminPermission
  • Anim
  • ComputerZoneRadius
  • DiagnoseDuration
  • DifficultyPay
  • DigitalDens
  • DoorZoneRadius
  • FixDuration
  • JobBoardBlip
  • JobBoardPed
  • JobBoardZone
  • JobCompletionTime
  • JobListingLifetime
  • KnockDuration
  • MaxActiveListings
  • MinActiveListings
  • MoneyType
  • NPCModels
  • NotifyLength
  • PurchaseDuration
  • RobberModel
  • RobberWeapon
  • ScamStealMax
  • ScamStealMin
  • ShopBlips
  • SoftwareFixDuration
  • TimerIcon
  • TimerTooltip

Events & Exports

Exports

No exports are documented for this resource.

Callbacks

servervcore-pcrepair:server:acceptJob

Callback available from this resource. Confirm parameters and return values before using it.

servervcore-pcrepair:server:checkHasPart

Callback available from this resource. Confirm parameters and return values before using it.

servervcore-pcrepair:server:completeJob

Callback available from this resource. Confirm parameters and return values before using it.

servervcore-pcrepair:server:getListings

Callback available from this resource. Confirm parameters and return values before using it.

servervcore-pcrepair:server:purchasePart

Callback available from this resource. Confirm parameters and return values before using it.

Registered network events

clientvcore-pcrepair:client:notify

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientvcore-pcrepair:client:scamCashTaken

Registered event for this resource. Confirm the expected payload and intended scope before using it.

servervcore-pcrepair:server:abandonJob

Registered event for this resource. Confirm the expected payload and intended scope before using it.

servervcore-pcrepair:server:scamRobbery

Registered event for this resource. Confirm the expected payload and intended scope before using it.

Commands

No registered commands were detected.

Database / SQL

SQL files

None detected in source.

Detected tables

None detected in source.

Troubleshooting

  • Confirm every manifest dependency above is started first.
  • Import the SQL where the resource includes database files.
  • Use the exact resource folder name shown on this page unless you intentionally change both the folder and configuration.
  • Do not copy internal event names into integrations without checking their implementation.