Database Setup
This page explains the database tables used by 0r-multicharacterv3 and how to set them up.
๐ Required Tables
Table: 0r_multicharacterv3
0r_multicharacterv3CREATE TABLE IF NOT EXISTS `0r_multicharacterv3` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`identifier` VARCHAR(100) NOT NULL,
`character_slot` INT(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `identifier` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;Column
Type
Description
Table: 0r_multicharacterv3_code
0r_multicharacterv3_codeCREATE TABLE IF NOT EXISTS `0r_multicharacterv3_code` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`code` VARCHAR(100) NOT NULL,
`slot` INT(11) NOT NULL DEFAULT 1,
PRIMARY KEY (`id`),
UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;Column
Type
Description
๐ Quick Setup
Using the SQL File
Manual Creation
๐ฎ Framework-Specific Tables
QBCore / QBox
Table
Usage
ESX
Table
Usage
๐ Optional: House Data (QBCore Only)
๐ง Character Deletion Tables
QBCore Tables
ESX Tables
๐ Adding Custom Codes
Last updated