Shop
t1ger_mechanic/shared/shop.lua
Job
The Config.Shop.Job
section defines the default output of a newly created job in runtime during shop creation.
defaultGrades
(table) — these grades will be automatically created with the newly created job. Make sure they are index properly, starting from 0. The script will automatically convert the grades to match the compatible framework.defaultDuty
(boolean) — only relevant forqb-core
andqbx_core
defaultPay
(boolean) — only relevant forqb-core
andqbx_core
Job Account
JobAccount
(boolean) — determines whether to use society/shared account to manage funds in the shop or to use our built-in system to manage shop funds.
Please refer to Job Account for properly setting up your shared/society banking script.
Sale
Sale
(boolean) — Allow shops being listed for sale by admins and purchasable by players?
Admin
The Config.Shop.Admin
section defines the important settings for admins.
menu
(table) — controls the admin menu to create & manage mechanic shopsenable
(boolean) — determines whether to utilize the admin-menucommand
(table) — enable command with given command name to open the admin-menukeybind
(table) — enable keybind with given default key to open the admin menu
Creation
The Config.Shop.Creation
section defines the basic shop-creator settings.
command
(table) — enable command with given command name to open the shop-creator interfaceblip
(table) — default blip settings for mechanic shopsinput (boolean) — allow admins to modify sprite and color?
Management
The Config.Shop.Management
section defines the basic admin management perms.
command
(table) — enable command with given command name to open the management interfacemarkerEdit
(boolean) — allow admins to edit a placed marker?markerTeleport
(boolean) — allow admins to teleport to a marker?
Storage
The Config.Shop.Storage
section defines the storage settings.
slots
(integer) — default slots for a created storage/stashweight
(number) — default weight for a created storage/stashmaxSlots
(integer) — the max slots size admins can set when editing a storage/stash markermaxWeight
(number) — the max weight admins can set when editing a storage/stash marker.
Marker Settings
The Config.Shop.MarkerSettings
section defines the default settings for shop markers.
keybind
(integer) — default (E) keybind for interacting with a shop markerdistance
(number) — default distance to marker in order to draw the marker graphicstextUi
(table) — settings for textUiposition (string)
style (table)
Last updated