Configuration
The settings are in config.lua. Config.Language can also be set from server.cfg, without touching the file.
| Setting | Default | What it does | In server.cfg |
|---|---|---|---|
Config.Language | 'en' | The language of the designs' names, en, es, pt, fr or de, the same for every player. The console messages and /zaiderstattoos are in Spanish with es and in English otherwise. Another value uses en. | setr zaiders_tattoos_language es |
Config.FixTattooSort | true | Keep it true. It turns on the stable tattoo order on every player's game (game_enableStableOverlaySort), so the others see the right designs, the same as the setr line in server.cfg; keep that line too. false: the pack leaves it alone, and without the line the console asks for it (required in server.cfg). See What other players see. | — |
Config.DiagCommand | false | Off unless true. Adds /zaiderstattoos in the chat or F8: it says how many ZAIDERS designs your character wears (and fade copies, if any), that the game draws at most 63 drawings per character (tattoos, fades, every layer, blood and wounds), and whether the stable order is on. It only reads your own character. | — |
Config.StartChecks | true | Warnings in the server console when ZAIDERS Appearance older than 2.3.2 runs, and when the pack starts while players are online. false: no warnings. | — |
Config.Sync, Config.SyncDistance, Config.SyncInterval, Config.HoldWhileMenus | — | Ignored since 1.0.3, and so are the setr zaiders_tattoos_sync, zaiders_tattoos_distance and zaiders_tattoos_interval lines: you can delete them. | — |
Config.AutoInstall | false | Installs the lists when the server starts, without typing zaiders_tattoos_install, in the tattoo scripts already started (ensure zaiders_tattoos after them). It takes effect from the next server restart. | — |
Config.EditOtherScripts | false | Also adds the line that script needs. Every Lua file it edits is compiled, never run, before it is saved. If the line can't be placed safely, the console prints it instead. Every file the installer changes keeps its original as <file>.zaiders_backup and the version it replaced last as <file>.zaiders_backup_last. | — |
Config.InstallCommand | true | The zaiders_tattoos_install command in the server console. | — |
Config.ListsLanguage | 'en' | The language of the names in the lists for other scripts: en or es (the folder of integrations/ the installer uses; anything else uses en). | — |
Config.Price | 200 | The price of each design in the lists for other scripts: the installer writes it when it installs them. After changing it (or Config.ListsLanguage), zaiders_tattoos_install force rewrites the installed lists. The lists for qb-tattooshop and xnTattoos carry it × 20, because they show and charge it divided by 20. A price of 0 is charged as 100 there: use 1 for almost free. | — |
Config.SetShopZonePrices | false | For tattoo shops that charge per zone instead of per tattoo (dx_clothing): sets Config.Price in every zone. It writes the price of each ZONE_* in dx_clothing's config/languages/<language>.json files and needs add_filesystem_permission zaiders_tattoos write dx_clothing. | — |
Don't change Config.Collections or Config.Key: they are the pack's collection and the name its scripts use.
After changing config.lua, restart the whole server, not only the pack: a tattoo pack restarted with players online rebuilds their tattoo list. See What other players see.
config.lua and the lists in integrations/ stay readable and editable with Cfx.re escrow (they are in the pack's escrow_ignore). exports.zaiders_tattoos:setBusy does nothing, and is kept so scripts that call it don't break.
Prices
The price is set by your tattoo shop. In ZAIDERS Appearance, addon tattoos cost what their zone costs (Config.Tattoos.addonPrice), and the panel changes each zone's price and each tattoo's. In other scripts, the lists come with Config.Price.
