Before you start#
- OneSync has to be on. The server measures the distance to every counter itself, without OneSync every store answers "too far".
- Pick a mode in
config.lua:Config.Takeover = false(default, Beside mode): the stores run next toillenium-appearanceorqb-clothingand save through it. Needs oxmysql. Your appearance resource keeps its standard folder name, it's found by that name.Config.Takeover = true(Takeover mode): this resource is your character creator and stores the looks itself. Remove the old appearance resource. oxmysql is optional. In this mode the server accepts an outfit save or a convert save from the client without the store distance check or a price. TheSaveLookexport and the qb-clothing and esx_skin save stand-ins need that. A modded client can put on any valid clothes for free, anywhere.Config.Outfit.saveLook = falseturns the outfit save off.
- Beside mode can't save through
fivem-appearanceoresx_skin. On a server with one of those, use Takeover mode. - On ND_Core and ox_core use Takeover mode. Beside mode's save check only knows the
playerskins(QBCore, QBox) andusers.skin(ESX) tables. - Standalone has no money system, so only free visits work there (set the prices in
Config.Pricingto 0).
Steps#
- Copy the
ncore_characterfolder into your resources, for exampleresources/[ncore]/ncore_character. Don't rename the folder. - Takeover mode with oxmysql: import
sql/install.sql. The table is also created at start when oxmysql runs. Beside mode doesn't use it. - Add the
ensurelines toserver.cfg, in the order below for your framework. oxmysql and your framework go beforencore_character: the framework is detected once at start, and if oxmysql isn't up yet the looks of that whole session go to KVP. - Add the admin ace (for
appcreator,/appindexand the inventory admin panel):
add_ace group.admin ncore_character.admin allow- Open
config.luaand setConfig.Takeover,Config.Pricingand, if you want the creator to open for new players,Config.Creator.forceOnFirstLogin = true(Takeover only). - Leave
Config.Debug = falseon a live server.
You can also set both switches from server.cfg without touching config.lua. A convar wins over the config value:
setr ncore_character:takeover true
setr ncore_character:debug true- Restart the server and read the console. A red box means something is missing, and it says what.
server.cfg order#
Leave out the lines for resources you don't run. ncore_inventory is optional, it goes before ncore_character.
QBox, Beside mode#
ensure oxmysql
ensure qbx_core
ensure illenium-appearance
ensure ncore_inventory
ensure ncore_characterQBCore, Beside mode#
ensure oxmysql
ensure qb-core
ensure qb-clothing
ensure ncore_inventory
ensure ncore_characterBeside qb-clothing there is no tattoo parlor and GTA characters can't use the stores. That's a limit of qb-clothing's saved format.
ESX with illenium-appearance, Beside mode#
ensure oxmysql
ensure es_extended
ensure illenium-appearance
ensure ncore_inventory
ensure ncore_characterESX with esx_skin, Takeover mode#
Remove the esx_skin and skinchanger lines. ncore_character answers their events and exports while they're gone.
ensure oxmysql
ensure es_extended
ensure ncore_inventory
ensure ncore_characterQBox or QBCore, Takeover mode#
Remove the illenium-appearance or qb-clothing line. On QBCore with qb-multicharacter set Config.Database.mirrorPlayerskins = false.
ensure oxmysql
ensure qbx_core
ensure ncore_inventory
ensure ncore_characterND_Core, ox_core or standalone, Takeover mode#
ensure oxmysql
ensure ND_Core
ensure ncore_characterUse ox_core in place of ND_Core, or neither on standalone. On ox_core set Config.Pricing.account = 'bank', it's the only account ox_core charges.
Optional#
- ncore_inventory 1.0.25 or newer: clothes as items, bags, the Binco fitting room, the Sell clothes button, the admin panel menus and the key-hint stack. Keep both resources on their current release.
- screenshot-basic: only for
/appthumbs(your own clothing pictures)./appthumbsalso needsConfig.Debug = truewhile it runs, so turn debug off again when the pictures are done. - Language:
Config.Locale = 'auto'follows the first of the server'slr:locale,locale,ox:localeandesx:localeconvars that names a shipped language, English if none does, and the players get the same language. Or setConfig.Locale = 'en'or'hu'directly.
Moving looks from your old script (Takeover mode)#
From the server console, with oxmysql running:
appmigrate appearance dry
appmigrate appearance runappearance reads every skin in illenium-appearance's format (with a headBlend field) from both playerskins and users.skin. Use qb for qb-clothing skins and esx for ESX skinchanger skins in users.skin. Each source imports once, players who already have a look are skipped.
Updating#
Updates don't install themselves. Download the new version from intelnpc.com, keep your config.lua and the web/thumbs folder if you rendered pictures, and copy every other file over the old ones. Settings missing from an older config.lua get their default at start. CHANGELOG.md says when a version needs anything else.
If a store doesn't open#
Stand at the counter and type /appwhy. It prints the reason in F8 and on the server console.
nCore Character is made by nCore Development. It is not approved, sponsored or endorsed by Rockstar Games.
