Mod Shop
Breakdown on the mod shop marker, config options and so on.
Configuration
enable
Set to false to completely disable the boss marker. Admins in-game will not be able to create this marker.
interact
title: title in ox_lib context menu
keybind: to open menu, default 38 (E)
dist: distance for keybind to work
drawDist: distance for marker to draw or being visible
textUi: string to display in the ox_lib textUi pop-up
icon: font-awesome icon to display in the textUi
style: configure the style of the textUi
blip
Configure the blip settings of the duty marker.
In the marker creation or management you can choose to enable or disable the blip.
sprite: set the default blip sprite, see blip sprite ids here
display: set the default blip behavior, see blip behaviours here
scale: set the default size of the blip on the map.
color: set the default blip color, see blip color ids here
repair
allow: players to repair the vehicle in the mod shop menu. Set to false to force people to roleplay with mechanics to fix their vehicles.
price: cost to quick repair the vehicle in the mod shop menu. Price will be deducted from the player's bank account.
moneyToAccount: if true, paid fees goes to the shop's account. If false, the money disappears from the server.
menu
title: string to be used as the mod shop main menu title.
position: decide where on the screen the main menu of the mod shop should be.
payToAccount
Decimal value from 0.0 - 100.0. This is equivalent to percentage 0%-100%. When a customer purchases a mod in the mod shop menu and pays the cost, decide how many % of the paid price goes into the shop's account. Setting to 50.0, means that half of the paid amount, goes into the shop's account. Setting to 0.0 will disable the feature and nothing from the paid amount goes into the shop account.
incentivizedPricing
This option allows you to set a higher price in the mod shop marker menus for all mods and in that way force players to RP with tuners to get their cars customized/upgraded.
enable: determine whether to enable/disable incentivized pricing. true/false
percent: set a percentage value between 0-100 to increase the mod price in the mod shop marker.
Mod price for front bumper (3) is $2,500.00 and the increase percentage is set to 20%, then $2,500.00 + 20% = $3,000.00, which will be the new price displayed in the menu
Last updated