Skip to content

Escrow & editable files ​

ZAIDERS Appearance is protected with Cfx.re Asset Escrow. The scripts are encrypted and only run on servers whose license key belongs to the account that bought it. The things you are meant to change stay open: the config file, the language files and everything you set in the admin panel.

At a glance ​

OpenYou edit these files

In the zaiders_appearance folder:

  • shared/config.lua: every option of the script.
  • locales/*.json: every text, in each language. You can also add a language.

And outside it:

  • zaiders_fotos/fxmanifest.lua: only to change how players get the photos.
  • Appearancez.sql: the tables, run once.
Admin panelYou change these in the game
  • Shops on the map, their blips and their E sign.
  • Garment names, prices, stock, and who can buy each one.
  • Tattoo prices and stock.
  • The Peds shop: what's for sale, prices, owners and codes.
  • The menu's colors, brand name, logo and side.
  • The catalog photos.
ProtectedNot editable
  • The client and server scripts (client/, server/ and the shared scripts other than config.lua).
  • The menu's interface (web/).
  • The game data files (data/) and the E sign pictures (prompt/). They are generated.

I want to change... ​

I want to change...Where
The prices of clothes and the barberConfig.Prices. For a single garment, right click it in the shop or use the panel's Catalog editor.
Tattoo pricesPanel → Tattoos → Prices. The defaults are in Config.Tattoos.
Where the shops are, their blips and their E signPanel → Shops. See Map shops & blips.
The menu's colors, logo, brand name or sidePanel → Theme. See ZAIDERS Studio.
Any text of the menu or the noticeslocales/<language>.json. See Languages & texts.
The languageConfig.Locale.
Who is an adminConfig.AdminAces, Config.AdminQbPermissions, Config.AdminEsxGroups and your server.cfg.
The command and its subcommandsConfig.Command, Config.Subcommands, Config.CommandShortcuts.
VIP or job-only garmentsRight click a garment → Only for…, with the groups of Config.GarmentGroups.
The notificationsConfig.Notify, with your own notify function.
When the menu may openConfig.CanOpenMenu, with your own rule.
Hiding your server's HUD while a menu is openConfig.HideHud.
What a player wears when undressingConfig.Undress, Config.Naked, Config.UndressWithTop.
The camera and the poseConfig.Camera, Config.Poses.
Turning a feature offIts switch in the config: Config.Tattoos.enabled, Config.PedShop.enabled, Config.Wardrobe.shareCodes, Config.Sounds and more. See the Config reference.
Opening a menu from another scriptexports.zaiders_appearance:openShop(...). See Exports, events & hooks.

The config file ​

shared/config.lua is listed in the resource's escrow_ignore, so it stays readable and editable after escrow:

lua
escrow_ignore {
    'shared/config.lua',
}
  • Every option has a comment in English and Spanish right above it.
  • After editing it, restart the resource (ensure zaiders_appearance) or the server.
  • The resource checks it on start. A missing option or a value written the wrong way (a number in quotes, true where a table goes) doesn't stop it: the default is used and the console says what it fixed. See How the config is checked.
  • When you update, keep your config.lua. Options added by a new version take their defaults even if your file doesn't have them.

The language files ​

locales/en.json, locales/es.json and the rest are plain JSON. Escrow doesn't touch them. Change any text by editing its line, or add a new language by copying en.json. See Languages & texts.

Keep a copy of your edited texts

An update brings new language files with any new texts. If you changed some, keep a copy of your file and put your lines back after updating.

What the admin panel saves ​

Everything you save in ZAIDERS Studio goes to the zaiders_appearance/datos/ folder. The server writes it. Don't edit it by hand, and keep the folder when you update.

FileWhat it holds
tiendas.jsonThe map shops: place, radius, blip, E sign, and what each clothing store offers. Without it, the game's shops are used.
tatuajes.jsonTattoo prices per zone, each tattoo's own price and stock.
prendas.jsonGarment names, prices, stock and who can buy each one (Catalog editor and right click).
tema.jsonThe menu's look: colors, brand name, logo and side.
peds.jsonThe Peds shop: what is for sale, prices, one-owner rules and your addon peds.
identidades.jsonWhich garment is behind each number. An admin's game sends it.
idioma.jsonThe language the shops were named in, to rename them if Config.Locale changes.
estudio.jsonThe photo studio's choices, such as the hair color of the hair photos.
*.bakThe copy of each file before its last save. A broken file falls back to it.

The catalog photos live in another resource, zaiders_fotos, so updating the script never touches them.

What is protected, and why ​

  • The scripts are encrypted by Cfx.re. That keeps the product safe and makes updates simple: you replace the folder, keep your config and your datos/, and everything you set up stays.
  • The menu's interface (web/) is one compiled file. Cfx.re doesn't encrypt NUI, but editing that file isn't supported, and every update replaces it. To change the colors, logo, brand name or side, use the panel's Theme. To change a text, use the language files.
  • Keep the folder names. Other scripts call the menu by its name (exports.zaiders_appearance), and Config.Photos.resource points at zaiders_fotos.
  • Need something the config doesn't offer? Open a ticket and describe what you want to do. Many requests turn into a new config option.

Support for Zaiders Store FiveM clothing packs and scripts.