Skip to main content

Installation

Step-by-step installation guide for Code9 Event Creator

This section

Installation

Requirements

DependencyRequired?Notes
oxmysql / mysql-async / ghmattimysqlYes (one)Database driver — auto-detected
FiveM Server 5848+YesMinimum artifact version
es_extended / qb-core / qbx_coreOptionalAny framework — auto-detected, standalone works

Steps

1. Extract Resource

Extract the code9_eventCreator folder into your server's resources/ directory.

2. Add to server.cfg

ensure oxmysql
ensure code9_eventCreator

3. Database Setup

Import the SQL file located at:

install.sql

This creates 4 tables: code9_eventcreator_events, code9_eventcreator_categories, code9_eventcreator_creators, and code9_eventcreator_earnings.

4. Configure

Edit config.lua to set your admin groups, creator groups, feature toggles, earnings percentages, and event limits.

5. Start Server

Restart your server. The script auto-detects your framework and database provider.