Installation

This guide will walk you through the installation process of Madonne DOJ on your FiveM server.

Prerequisites

Before installing Madonne DOJ, make sure you have:

  • βœ… A FiveM Server up and running

  • βœ… A MySQL Database configured

Installation Steps

Follow these steps to install Madonne DOJ on your server:

Step 1: Download the Resource

Download the MS_MaodonneDOJ resource and place it in your server's resources folder.

resources/
  └── MS_MaodonneDOJ/

Step 2: Import the Database

Execute the SQL file to create the necessary database tables:

-- Execute the db.sql file in your MySQL database

You can import it using:

  • phpMyAdmin: Import the db.sql file

  • MySQL Command Line:

  • HeidiSQL or any other database management tool

Step 3: Configure the Script

Open the config.lua file and configure it according to your server's needs.

At minimum, you should configure:

For detailed configuration options, see the Configuration Guide.

Step 4: Add to Server Configuration

Add the resource to your server.cfg file:

Make sure it's placed after your framework (ESX/QBCore) in the load order.

Example:

Step 5: Restart Your Server

Restart your FiveM server to load the resource:

Or restart the entire server if you prefer.

Verification

To verify the installation was successful:

  1. Check the server console for any errors

  2. Join your server as a player

  3. Type the command /tablet (or the command you configured)

  4. The tablet interface should open successfully

Troubleshooting

The tablet won't open

  • βœ… Check that you have the necessary permissions in your job/service

  • βœ… Verify the command in config.lua matches what you're typing

  • βœ… Check the server console for errors

Database errors

  • βœ… Ensure db.sql was imported correctly

  • βœ… Check your database credentials

  • βœ… Verify all tables were created

Configuration errors

  • βœ… Make sure your config.lua syntax is correct

  • βœ… Verify all required fields are filled

  • βœ… Enable DebugMode = true to see detailed logs

Next Steps

Now that Madonne DOJ is installed, you should:

  1. Configure your services - Set up your police and justice departments

  2. Learn how to use it - Understand the tablet interface

  3. Set up language - Configure your preferred language


Need help? Check our Support page or join our Discord.

Last updated

Was this helpful?