JJM Modifications

Installation

Step-by-step guide to installing JM-AdminMenu on your FiveM server.

Follow these steps to get JM-AdminMenu running on your server. The resource requires oxmysql and a running MySQL or MariaDB database.

Prerequisites#

  • A FiveM server with txAdmin or direct server.cfg access
  • MySQL or MariaDB database
  • oxmysql installed and configured

Step 1 — Place the Resource#

  1. Download the resource from your purchase.
  2. Extract and rename the folder to jm-adminmenu (all lowercase, no spaces).
  3. Place it inside your server's resources folder.

Step 2 — Set Up the Database#

Import the included database.sql file into your MySQL/MariaDB database. This creates all required tables, views, and stored procedures automatically.

phpMyAdmin: Select your database → Import → choose database.sql → Go.

Command line:

mysql -u username -p database_name < database.sql

After importing, verify the tables exist:

SHOW TABLES LIKE 'jm_%';

You should see: jm_admin_logs, jm_admin_sessions, jm_bans, jm_commendations, jm_kicks, jm_player_notes, jm_screenshots, jm_warnings, jm_whitelist.

Step 3 — Configure Your Database Connection#

In your server.cfg, add your connection string before the resource is ensured:

set mysql_connection_string "mysql://username:password@localhost/database_name?charset=utf8mb4"

Alternatively, use individual parameters:

set mysql_host "localhost"set mysql_database "your_database_name"set mysql_user "your_username"set mysql_password "your_password"

Step 4 — Add to server.cfg#

Ensure oxmysql is started before jm-adminmenu:

ensure oxmysqlensure jm-adminmenu

Step 5 — Configure ACE Permissions#

Add the appropriate ACE permission blocks to your server.cfg. See the Permissions page for full details and role examples.

Step 6 — Restart and Verify#

Restart your server (or run restart jm-adminmenu in the console). You should see a confirmation message in the server console indicating the database integration is ready.

Tip

On every start, the resource automatically checks for a newer version and logs a message to the console if one is available.