okokDocs
  • About Us
  • Scripts
    • okokVehicleControl
      • Config file
    • okokMechanicJob
      • Config file
    • okokPoliceJob
      • Config file
      • qb-inventory support
    • okokBossMenu
      • Config file
    • okokMulticharacter
      • Config file
    • okokPhone
    • okokSpawnSelector
      • Config file
      • qb-multicharacter support
    • okokLoadingScreen
      • Config file
    • okokVehicleSales
      • Config file
    • okokShop
      • Config file
    • okokGasStation
      • Config file
    • okokTuning
      • Config file
    • okokGarage
      • Config file
      • RGB vehicle colors
      • Inventories metadata
      • Housing integrations
      • qb-phone support
    • okokVehicleShop
      • Config file
      • Common errors
    • okokBanking
      • Config file
      • Paycheck transactions
      • Registering transactions
    • okokMarketplace
      • Config file
      • Common errors
    • okokChat
      • Config file
      • Export
    • okokBilling
      • Config file
      • Snippets
    • okokCrafting
      • Config file
    • okokContract
      • Config file
    • okokTalkToNPC
      • Config file
    • okokReports
      • Config file
    • okokNotify
      • Config file
      • Snippets
    • okokTextUI
      • Config file
      • Snippets
    • okokRequests
    • okokDeleteVehicles
      • Config file
  • Others
    • Discord Webhook
Powered by GitBook
On this page
  • Installation Guide
  • Requirements:
  • Execute the following SQL code in your database:
  • Enable Purchased Character Slots (via Tebex)
  • ESX ONLY
  • Server artifacts
  1. Scripts

okokMulticharacter

YouTube Video

Installation Guide

Requirements:

  • ox_lib v3.16.2+ (https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip);

  • Disable qb-multicharacter/esx_multicharacter.

Execute the following SQL code in your database:

CREATE TABLE `okokmulticharacter_tebexids`(
    `identifier` varchar(255) NOT NULL PRIMARY KEY,
    `tebexids` longtext NULL
);

Enable Purchased Character Slots (via Tebex)

Go to your server.cfg and add setr sv_tebexSecret YOURSECRETKEY.

To obtain the Secret Key, go to https://creator.tebex.io/game-servers and hit the Edit button.

Now, you should set the package id in the config file (Config.PackageID).

Once you've created the package on Tebex, you'll find a link similiar to this one: https://creator.tebex.io/packages/1726354; simply copy the final numbers and paste them after the Config.PackageID.

ESX ONLY

Navigate to es_extended/config.lua and set Config.Multichar = true instead of Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing".

Server artifacts

Make sure your server artifacts version is up to date.

  • Windows: https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/

  • Linux: https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/

PreviousConfig fileNextConfig file

Last updated 1 year ago