Installation

Database

The database will be imported automatically for you when you start the resource for the first time.

Server config

Our script is using fivem ACE permission system so we need add permission for our resource to be able to add permission to our predefined groups.

❗ DO NOT CHANGE resource.rcore_clothing TO ANYTHING ELSE ❗ This part needs to have the exact name as the resource.

Insert this lines into your server.cfg / permissions.cfg (or wherever you store your ACE permissions)

add_ace resource.rcore_clothing command.add_ace allow
add_ace resource.rcore_clothing command.add_principal allow
add_ace resource.rcore_clothing command.remove_principal allow

Permissions

You can configure permissions in the root file permissions.lua.

For QBCore you may need to change group.superadmin to group.god.

Available permissions:

  • Permissions.USE_ADMIN_MODE

    • Access to turn on admin mode and use all permissions prefixed ADMIN below.

  • Permissions.ADMIN_STOCK_MANAGEMENT

    • Access to stock management feature used to choose which clothing will be available in which shop.

  • Permissions.ADMIN_EDIT_METADATA

    • Access to metadata editing feature used to change clothing names, prices, colors, etc.

  • Permissions.ADMIN_EDIT_ARMS

    • Arms editing feature, in case any torso sets incorrent matching arms, you can edit it using this feature.

  • Permissions.ADMIN_OUTFIT_EDITOR

    • With outfit editor, you can create outfits for players and employees to use in certain shops.

  • Permissions.TOGGLE_ID_ONLY_MODE

    • Toggle ID only mode, which allows players to toggle and use the old way of shopping with IDs of clothing.

Framework

ESX

Delete/disable skinchanger and esx_skin

QBCore

Delete/disable qb-clothing

Migration

In case you want to migrate player clothing and outfits from previous script, check Migration page.

Last updated