QBCore Framework Setup
This guide will help you install SW Multicharacter on the QBCore framework.
Note:
This guide is based on QBCore. Some minor differences may occur in other versions.
Setup Steps
1. Firstly
-
Change the
web > build > logo.pngfile with your own server logo (This logo will be visible when a player creates a character for the first time) -
Then open the
config.luafile and configure it as you wish.
2. sw-multicharacter > config.lua needs to be set important ones
Config.Framework = 'qbcore'
Config.Prefix = 'char' -- Don't change this
3. qb-multicharacter
- Delete
qb-multicharacterfile (delete your different multicharacter script if you have one)
4. SQL [sw_multichar]
- Add the database in the
sw_multichar > sqlfolder to your server's database
Server.cfg
It is very important to load the source files in the correct order. The order should be as follows:
Note:
You must make the correct order (sw-multicharacter must always be at the end)
ensure oxmysql
ensure ox_lib
-------------------
ensure qb-core
ensure [standalone]
-------------------
ensure sw-multichar