~/docs/tattoo-shop-v2/installation
tattoo shop v2 docs›
Tattoo shop V2
Installation
-- 5 steps · 3 code blocks · 1 min read
Var-TattooShop V2 installs like any other resource. The only real dependency is
oxmysql, and even that is optional.
01step
Connect to https://keymaster.fivem.net/ with the CFX account used for your purchase on https://www.var-fivem.com/.
02Go to Granted Assets and download the most recent version of Var-Tattoo_V2
03step
Unzip the file and drag the Var-Tattoo_V2 folder into your server resources folder.
04step
Add it to your server.cfg, after your framework:
ensure Var-Tattoo_V2
If you added the resource while the server was already running, run
refreshbeforeensure.
refresh
05(optional but recommended)
Start oxmysql before Var-Tattoo_V2. The three tables are created automatically on the first start, you have nothing to import:
vartattoo_player- the tattoo state of each charactervartattoo_config- the config editable in game (seeded once)vartattoo_pricesandvartattoo_group_prices- the price overrides
The SQL is shipped in install/vartattoo.sql as a reference if you prefer to create the tables yourself.
Without
oxmysqlthe script still runs, players can still get tattooed, but nothing is saved between sessions.
Framework
Nothing to configure. Config.Framework = 'auto' detects ESX (es_extended), QBCore (qb-core) or falls back to Standalone. Force it only if the detection is wrong:
Config.Framework = 'esx' -- 'esx' | 'qb' | 'standalone' | 'auto'