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
| Command | Who | What it does |
|---|---|---|
/vestuario | Everyone | Opens the wardrobe to take garments off and put them on. In inventory mode it opens the clothing panel of the inventory. |
/fixpj | Everyone | Reloads your saved appearance and removes objects stuck to your character. 10 second cooldown. |
/adminclothing | Staff | Opens the staff panel. |
/ropa [id] [type] | Staff | Opens an appearance menu on yourself or on the player with that server id. type: appearance (default), outfits, clothing, barber or surgeon. |
/doblecx <id> [target] | Staff | Copies 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] | Staff | Gives 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] | Staff | Opens the photo studio for male (default) or female. |
/migrarapariencia [source] [target] [mode] | Staff, server console | Imports 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.
| Argument | Values | Default |
|---|---|---|
source | auto, crm or illenium. auto detects the format of each row. | auto |
target | A character identifier, or all. | all |
mode | overwrite replaces appearances that already exist. Without it, only characters with no appearance are imported. | only new |
migrarapariencia auto all
migrarapariencia illenium ABC12345 overwriteThe 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
| Key | What it does |
|---|---|
| E | Opens 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.
| Feature | Requirement |
|---|---|
| Shop limited to jobs | Have one of the jobs of the shop |
| Job outfits | Saved by the boss of the job, with a minimum rank. Members with that rank or higher see them. |
Models and garments in aces | Hold the ACE permission set for that entry |
To add an ACE restriction on top of a staff command, set restricted in its entry:
admin = { name = 'adminclothing', restricted = 'group.admin' },