πŸ’ΏInstallation

Requirements

  • 0bug-core (Latest Version)

  • ESX/QBCore/QBox Framework

  • Default framework multicharacter tables

Installation Steps

1. Dependencies First

ensure oxmysql 
ensure qb-core/es_extended/qbx_core
ensure 0bug-core

2. Resource Installation

  • Download 0bug-multicharacter-v2

  • Place in your [0bug] folder

  • Add to your server.cfg:

ensure 0bug-core
  1. Database Setup

Keep the same players/users table that your framework has.

4. Load Order

5. Required Discord Setup

  1. Create a Discord Bot at Discord Developer Portal

  2. Get your Bot Token

  3. Enable required bot permissions

  4. Get your Discord Server (Guild) ID

  5. Add these to server_Config.lua

  6. Check this tutoriel and take it as an example

6. Core Configuration

Configure 0bug-core/shared/config.lua

Configure 0bug-core/shared/scriptConfig.lua

Configure 0bug-core/shared/server_Config.lua

Once you are done with that but you have a different Clothing or Apartments and Housing System than the ones pre-configured by us you will have to visit these paths

  • 0bug-core/client/Apartment_Houses

  • 0bug-core/client/Clothes

  • 0bug-core/server/Clothes

7. Visit Script Configuration Page.

Tebex Slot Purchase Integration

1. First enable Tebex integration in your config:

  1. In your Tebex store:

  • Create the character slot package

  • Go to the package settings

  • Choose Game Server Commands as deliverables for this package

  • Under "Game Command", add:

The {transaction} parameter will automatically be replaced with the transaction ID

  1. When a player purchases a slot:

  • They will receive an email with the transaction ID

  • They can enter this ID in the "Extra Slot" menu in-game

  • The system will verify the purchase and grant the additional slot

Important Notes

  • Make sure your Tebex store is properly connected to your FiveM server

  • The command must match exactly what you set in Tebex_Buy_Slot_Command

  • Keep Tebex_Buy_Slot_Enable = true to allow this functionality

Verify Installation

  1. Start your server

  2. Create new character

  3. Check if all features work properly

DATABASE FOR ESX

Last updated