For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Step-by-step guide to install the Tworst Admin Menu in-game resource on your FiveM server.

This page covers the in-game script only. To use the cloud panel, see Web Panel (Tworst Cloud). To set up the Discord bot, see Discord Bot.


Prerequisites

Before installing, make sure you have:

Requirement
Description

Framework

QBCore or ESX

oxmysql

Required — must start before tw-adminmenu

FiveM Server

Recent artifact build recommended


Step 1: Download the Script

  1. Navigate to Granted Assets

  2. Find tw-adminmenu in your purchased assets

  3. Click Download to get the latest version


Step 2: Extract Files

  1. Extract the downloaded archive

  2. Place the tw-adminmenu folder in your server's resources directory


Step 3: Database Setup

If you prefer a manual import (or disabled auto-migration), run the included sql/install.sql against your database.


Step 4: Configure the Framework

Open shared/config.lua and set your framework and language:

QBox users: set TW.Framework = "QBCore" — QBox is QBCore-compatible.

Most other integrations (inventory, garage, fuel, vehicle keys, clothing, jail, etc.) are left on "auto" and detected automatically. See Configuration for all options.


Step 5: Grant First (God) Access

Before anyone can use the menu, give yourself God access so you can manage staff and roles in-game.

In shared/config.lua:


Step 6: Discord Token & Webhooks

For full functionality, configure your Discord integrations in shared/server_config.lua and shared/webhooks.lua.

Discord Bot Token

Set your Discord bot token so the panel can resolve Discord avatars and member/role info:

Logging Webhooks

Open shared/webhooks.lua and fill in a webhook URL for every log category you want recorded. Anything left blank falls back to default — and if default is also empty, those logs are not sent anywhere.

A quick way to cover everything: set default first, then add dedicated channels for the categories you care most about (e.g. punishments, economy, security). See the full reference in Configuration → webhooks.


Step 7: Add to server.cfg

Add the following to your server.cfg:

The add_ace lines let the Admin Menu run server commands and the profiler (used by the dashboard/console features). Add them or those tools won't work.


Step 8: Restart & Open the Menu

  1. Save all configuration changes

  2. Restart your server completely

  3. Join the server with an account listed in TW.GodIdentifiers

  4. Open the admin menu (use your configured keybind/command — you can also bind a key in the FiveM Settings → Key Bindings → FiveM menu)


Verification

After starting the server, verify the installation:

Check Console

  • Database tables created successfully (first run only)

  • No error messages related to tw-adminmenu

In-Game Test

  1. Open the admin menu as a God user

  2. Confirm the dashboard loads with live server stats

  3. Open the Online Players page and confirm players are listed

  4. Open Admin → Staff/Roles and add your first staff member


Troubleshooting

  • Confirm your fivem: or discord: identifier is in TW.GodIdentifiers

  • Make sure you restarted the server after editing the config

Database errors

  • Verify oxmysql is started before tw-adminmenu

  • Confirm your database connection string in server.cfg is correct

Framework not detected

  • Make sure TW.Framework matches your framework ("QBCore" or "ESX")

  • Verify the framework resource starts before tw-adminmenu


Need Help?

Having installation issues? Join our Discord server and open a support ticket with:

  • Server console errors

  • Your TW.Framework setting

  • Screenshots of any issues

Last updated