Installing Ambitions

Step-by-step guide to install the Ambitions Framework on your development environment. Covers folder setup, dependencies, configuration, and integration tips to get started properly.

Prerequisites

Before starting, make sure your environment meets all the following requirements:

Functional FiveM Environment

  • You must already have a working FiveM server (localhost or hosted).

  • This guide assumes you followed the Environment Setup section correctly.

Artifact Requirements

  • Must use Windows artifacts newer than 12208

  • Linux is not officially supported, and no assistance will be given for Linux-related issues.

Database Setup

  • Recommended: MariaDB + HeidiSQL

  • Refer to the Database Setup section if unsure.

triangle-exclamation

Lua Version

  • Your environment must support Lua 5.4

  • All external scripts that connect with Ambitions must also be compatible with Lua 5.4

Basic Knowledge Required

  • You must understand:

    • Core Lua concepts (not just FiveM-specific ones)

    • How to debug, optimize, and configure scripts manually

circle-exclamation

Required Dependency

Ambitions only supports oxmysql as its database wrapper:

circle-exclamation

Database Connection

You must know how to connect your database to your FiveM server. If not, follow the documentation here: Connecting Database to FiveM

Also, know your stack: know what you're integrating and ensure compatibility.


Installing the Framework

  1. Ensure you're on the main branch (always stable)

  2. Download the ZIP or clone the repo:

    • ZIP: Extract it inside your server's resources/ folder

    • Git: git clone https://github.com/AmbitionsStudio/Ambitions resources/Ambitions

Option B - Release Package (coming soon)

For easier integration, Ambitions will provide release bundles. Not yet available.


Database Setup

  1. Go to Ambitions/sql

  2. Locate the .sql file (e.g. ambitions_schema.sql)

  3. Import it into your database manually

circle-exclamation
triangle-exclamation

Configuration

Navigate to Ambitions/config/ — you'll find:

  • client/ → client-side configurations

  • server/ → server-side configurations

  • shared/ → shared logic and constants

Configure each file according to your project needs.


Resource Startup Order

Open your server.cfg file and add the following in this exact order:

circle-exclamation

Final Step

Start your FiveM server and monitor the console:

  • No errors = you're good to go

  • Errors = debug them, check requirements, or ask in the (coming soon) Ambitions Studio Discord

You have now successfully installed the Ambitions Framework. You're ready to start building.

Last updated