Config
FRKN Boosting — Configuration Documentation (EN)
This guide explains every key in your FRKN configuration for the FRKN Boosting script. It’s written to be copy-paste friendly and practical for server owners.
0) Quick Start
Pick interaction system:
Target = 'ox_target' | 'qb-target' | 'interact'.Set language:
language = 'en' | 'fr'.Choose phone app:
Phone = 'qb' | 'qs' | 'lb'and ensure the chosen phone is installed.Hook your dispatch: set
dispatchNameand updatesendAlert.Check items: make sure
boosting_tablet,gps_hacking_deviceand all reward/loot item names exist in your inventory (QB/OX).Place locations: verify spawn, drop-off, chop shop, and crusher coordinates match your map.
Vehicles: tune the
boostingVehicleslist to your economy and progression.
1) Core
Target
TargetType: string —
'ox_target' | 'qb-target' | 'interact'Purpose: Selects your interaction framework.
language
languageType: string —
'en' | 'fr'Purpose: Localization key.
debug
debugType: boolean
Purpose: Enables debug prints/logging.
2) Gameplay & Timers
gpsHack
gpsHackType: number
Default:
3Meaning: Number of successful minigames required to remove the GPS tracker device from a vehicle.
policeNeedToStart
policeNeedToStartType: number
Default:
1Meaning: Minimum on-duty police count required to start a boosting contract.
cooldown
cooldownType: number (minutes)
Meaning: Global cooldown between starting new contracts for a player.
contractTimer
contractTimerType: table of minutes
Meaning: Maximum time limit to complete each contract class.
3) Security NPCs
Per class overrides for guards:
weapons: array of weapon names (hash keys).guardAmount: number of guards to spawn.
If a class is omitted, no guards are spawned for that class.
4) Dispatch Integration
dispatchName
dispatchNameType: string —
"ps"or"other"Meaning: Which dispatch to use.
sendAlert(vehicle)
sendAlert(vehicle)Type: function
Default behavior:
If
dispatchName == "ps"→ callsexports['ps-dispatch']:CarBoosting(vehicle)Else → no-op (add your custom dispatch trigger here)
How to extend: Replace the else block with your dispatch export/event.
5) Car Crusher Mapping
Purpose: World placement for the crusher and its door.
Note: Keep models consistent with your map resource.
6) In-Game Shop
Fields:
id: unique integername: display titleitemName: inventory item key (must exist)price: Script-defined semantics (token/currency).In your config, Boosting Tablet comment indicates this price may represent “races” tokens to be removed/consumed.
For the GPS device, it likely represents money. Keep it consistent with your economy logic.
7) Crusher Stash Rewards
Meaning: Items granted after using the car crusher.
Format:
{ [itemName] = quantity }Ensure: All item names exist in your inventory system.
8) Chop Shop
chopShopProgressBarTime = 5Type: seconds
Meaning: Duration of chop-shop progress bar.
chopShopCoords = vector3(2342.2974, 3052.9194, 48.1518)Meaning: Main chop shop location.
chopShopProcess = vector3(2336.9192, 3050.2510, 48.1517)Meaning: Interaction/processing spot.
chopShopReward = { "metalscrap","plastic","copper","iron","aluminum","steel","glass" }Meaning: Reward pool for chop actions (actual drops/amounts handled by script logic).
9) Spawn & Delivery Points
Trailer Spawn
Type:
vector4(x,y,z,heading)Meaning: Where trailers may appear.
Drop-Off Points
Vehicle Spawn Points
Tip: Keep these points free of props and with clear road access.
10) Progression & Generation
eachLevelMaxReputation
eachLevelMaxReputationType: number
Meaning: Reputation required per level (script-specific leveling uses this as a threshold).
contractGenerator
contractGeneratorType: number (minutes)
Meaning: Interval to delete old and generate new contracts for the player.
Note: Your sample value
60implies 60 minutes. Keep comments aligned with actual units you use in code.
11) Phone Integration
Phone
PhoneType: string —
'qb' | 'qs' | 'lb'Meaning: Which phone resource to use for notifications/mail.
sendMail(message)
sendMail(message)Type: function
Behavior:
'qb': triggersqb-phone:server:sendNewMail'qs': triggersqs-smartphone:server:sendNewMail'lb': calls a custom server event to send via lb-phoneElse: no-op (add your phone integration)
Action: If you use a different phone, implement its mail export/event in the else branch.
12) Vehicle Catalog (Contracts)
Fields:
class: Contract class (A,B,C,D).car: spawn name (GTA model key).model: Display label for UI/logs.reputation: Rep requirement or value tied to progression (script-specific).races: Token cost/weight used by the economy (higher class ⇒ higher value).
Add new vehicle: Append a new table with the same fields. Ensure the car spawn name exists in your game build.
13) Minigames
Signature: Each function receives a
callback(cb) and calls the respective exported minigame.Common params:
25: Duration/timeout (seconds).Text parameters: UI headers/prompts.
Last numbers: difficulty/rounds/speed depending on the game.
Swap a minigame: Replace the export call with your own minigame resource and keep the same
callbackcontract.
14) Economy & Balance Tips
Tokens vs. Money: If your server uses “races” as a token economy (as your comments imply), keep:
Higher-class vehicles with higher
races.Shop prices consistent, e.g. Boosting Tablet costs token(s), GPS device costs money.
Reputation curve:
Use
eachLevelMaxReputationto control level pacing.Keep
reputationof A-class entries above lower classes to enforce progression.
Timers:
contractTimertoo short ⇒ more fails; too long ⇒ trivializes risk.cooldowncontrols contract spam—tune with your player count.
15) Extending the Config
Add a new shop item
Add guards for a class not covered
Add a new vehicle
Plug in a different dispatch
Plug in a different phone
16) Dependencies Checklist
Target system chosen in
Targetis installed and started.Inventory contains all item names used in:
shopItems,carCrusherStashReward,chopShopReward.
Phone app (
qb-phone,qs-smartphone, orlb-phone) matchesPhone.Minigame resources:
frkn-riddlegame,frkn-sosgame,frkn-stickgame(or your replacements).
Mapping/models for the car crusher are present and streamed.
Dispatch resource if using
ps-dispatchor your custom one.
17) Troubleshooting
No interaction prompts: Check
Targetvalue and the resource is running.No mail sent: Verify
Phonesetting and that the chosen phone’s server events/exports exist.No guards spawning: Ensure class key exists under
guardNpcand weapon names are correct.Items not awarded: Confirm item names exist in your inventory system exactly (case-sensitive).
Contracts not refreshing: Verify
contractGeneratorunit (minutes) matches how the server code consumes it.
Last updated