Skip to content

Commands & permissions

Commands and keys of Cuxial Appearance, and who counts as staff.

Two commands are open to every player; the rest are for staff. The names below are the defaults and can be changed in the commands block of shared/config.lua.

Commands ​

CommandWhoWhat it does
/vestuarioEveryoneOpens the wardrobe to take garments off and put them on. In inventory mode it opens the clothing panel of the inventory.
/fixpjEveryoneReloads your saved appearance and removes objects stuck to your character. 10 second cooldown.
/adminclothingStaffOpens the staff panel.
/ropa [id] [type]StaffOpens an appearance menu on yourself or on the player with that server id. type: appearance (default), outfits, clothing, barber or surgeon.
/doblecx <id> [target]StaffCopies a look onto you, or onto the target server id. id is the server id of an online player or the character identifier of a stored character.
/givetrimmer <drawableM> <textureM> [drawableF] [textureF]StaffGives you a trimmer with a custom haircut: hair drawable and texture for men and for women. Without the female values, the male ones are used for both.
/fotosropa [gender]StaffOpens the photo studio for male (default) or female.
/migrarapariencia [source] [target] [mode]Staff, server consoleImports skins and outfits from another appearance script.

<value> is required and [value] is optional. A menu opened with /ropa outside a shop charges prices.outfitPrice when the look is saved.

Migration ​

/migrarapariencia reads the tables of crm-appearance and illenium-appearance and writes them in the format of Cuxial Appearance. Back up your database before running it.

ArgumentValuesDefault
sourceauto, crm or illenium. auto detects the format of each row.auto
targetA character identifier, or all.all
modeoverwrite replaces appearances that already exist. Without it, only characters with no appearance are imported.only new
migrarapariencia auto all
migrarapariencia illenium ABC12345 overwrite

The summary is printed in the server console. Only one migration runs at a time.

With compat.legacySkins = true you do not have to run it: the old skin of a character is imported the first time that character needs it.

Keys ​

KeyWhat it does
EOpens the shop you are standing in. Default from menu.openControl; each player can rebind it in the GTA key settings.

Permissions ​

A player is staff for this script when your framework grants them the permission set in admin.permission ('admin' by default).

The permission is checked with the permission system of the framework. A player with the admin permission is staff.

Staff can:

  • use the staff commands and the staff panel;
  • skip the whitelist while Staff mode is on in the panel. It starts off and turns off when they disconnect;
  • wear restricted garments: staff are exempt from the blacklist and from the ACE garment restrictions;
  • open the photo studio.
FeatureRequirement
Shop limited to jobsHave one of the jobs of the shop
Job outfitsSaved by the boss of the job, with a minimum rank. Members with that rank or higher see them.
Models and garments in acesHold the ACE permission set for that entry

To add an ACE restriction on top of a staff command, set restricted in its entry:

shared/config.lua
lua
admin = { name = 'adminclothing', restricted = 'group.admin' },

© Cuxial