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 databaseYou can import it using:
phpMyAdmin: Import the
db.sqlfileMySQL 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:
Check the server console for any errors
Join your server as a player
Type the command
/tablet(or the command you configured)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.luamatches what you're typingβ Check the server console for errors
Database errors
β Ensure
db.sqlwas imported correctlyβ Check your database credentials
β Verify all tables were created
Configuration errors
β Make sure your
config.luasyntax is correctβ Verify all required fields are filled
β Enable
DebugMode = trueto see detailed logs
Next Steps
Now that Madonne DOJ is installed, you should:
Configure your services - Set up your police and justice departments
Learn how to use it - Understand the tablet interface
Set up language - Configure your preferred language
Need help? Check our Support page or join our Discord.
Last updated
Was this helpful?