Documentation
Base Resource

clothing

The supplied manifest describes this resource as “VCore - Clothing”.

v1.0.0VCore FrameworkVCORE foundation

Introduction

The supplied manifest describes this resource as “VCore - Clothing”.

2Client Lua
6Server Lua
6Exports
36Events
4SQL tables

No manifest UI page detected.

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
logsManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite
utilsReferenced by sourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject
inventoryCreateClothingItem, GetPlayerItems, RemoveItemAtSlot
logsLog
utilsRegisterAdminAction

Installation / Start Order

The supplied server.cfg enables this resource in the VCORE foundation stage at enabled-resource position 21. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure clothing

Configuration

Config files

  • No dedicated config file detected.

Top-level config keys detected

AdjustClothingBlacklistAllowModelsBarberStoresBlacklistedPlayerModelsCategoryButtonsCategoryMenuOrderClothingStoresClothingToggleClothingWardrobesColourOptionsCreatorCommandCurrencyDefaultClothingGlovePresetsHairFadesJobOutfitLocationsJobOutfitsManPlayerModelsMenuControlsPlayerRuntimeScarListStyleItemsTattooCatsTattooCommissionTattooListTattooMenuCategoriesTattooMenuControlsTattooPaymentAccountTattooRemovalFeeTattooShopWardrobeAccessWearablesWhitelistedClothingWomanPlayerModels

Events, Exports & Callbacks

Exports

Client exports2
  • GetClothingInfo
  • GetTattooData
Server exports4
  • ExecuteUtilsAdminAction
  • GetAppearance
  • GetSkin
  • GetTattooCatalog

Callbacks

Server callbacks1
  • clothing:canUseWardrobe

Registered network events

Client registered events23
  • VCORE:Client:OnPlayerLoaded
  • VCORE:Client:OnPlayerUnload
  • VCORE:PlayerSkinLoaded
  • clothing:client:adjustClothing
  • clothing:client:cacheOutfits
  • clothing:client:createClothingItem
  • clothing:client:hatHair
  • clothing:client:loadPlayerClothing
  • clothing:client:loadPlayerSkin
  • clothing:client:loadPlayerSkinFromCache
  • clothing:client:openBarberShop
  • clothing:client:openClothesShop
  • clothing:client:openJobOutfits
  • clothing:client:openJobOutfitsOnly
  • clothing:client:openManagedSkinCreator
  • clothing:client:openOutfitMenu
  • clothing:client:openSkinCreator
  • clothing:client:openWardrobe
  • clothing:client:setOutfit
  • clothing:client:shoesStolen
  • clothing:client:skinSaveResult
  • tattoos:client:openMenu
  • tattoos:client:returnPlayerTattoos
Server registered events13
  • clothing:server:addOutfit
  • clothing:server:createClothingItem
  • clothing:server:getOutfitData
  • clothing:server:getOutfits
  • clothing:server:loadOtherSkin
  • clothing:server:removeOutfit
  • clothing:server:renameOutfit
  • clothing:server:requestPlayerSkin
  • clothing:server:saveSkin
  • clothing:server:updateOutfit
  • clothing:server:wearItem
  • tattoos:server:getPlayerTattoos
  • tattoos:server:updateTattoos

Commands

Client commands1
  • hatglue

Database / SQL

FileType
database/install.sqlResource SQL file
database/optional_whitelist.sqlResource SQL file
clothing_whitelistoutfitsskinsstyles

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua2
Server Lua6
Other/shared Lua5
JavaScript0
HTML0
CSS0
SQL2

Troubleshooting

  • Confirm all manifest dependencies are started before clothing.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.