Complete guide for setting up Multy Admin on your FiveM server
Multy Admin Setup Guide
What You Need
- FiveM server
- MySQL database
- Discord server (for webhook logs)
Step 1: Install Resource
- Put
multy-admin
folder in your server'sresources
folder - Add this line to your
server.cfg
:
ensure multy-admin
Step 2: Set Permissions
IMPORTANT: First add the permission groups to QB-Core config
- Open
qb-core/config.lua
- Find the line
QBConfig.Server.Permissions = {'god', 'admin'}
- Change it to:
QBConfig.Server.Permissions = {'god', 'admin', 'mod'}
Note: These are the default groups. If you want additional custom groups, add them here and in multy-admin config.
Then add these lines to your server.cfg
:
# Give god permissions (highest level)
add_principal identifier.fivem:YOUR_FIVEM_ID qbcore.god
add_principal identifier.discord:YOUR_DISCORD_ID qbcore.god
# Give admin permissions
add_principal identifier.fivem:ADMIN_FIVEM_ID qbcore.admin
add_principal identifier.discord:ADMIN_DISCORD_ID qbcore.admin
# Give mod permissions (lowest level)
add_principal identifier.fivem:MOD_FIVEM_ID qbcore.mod
add_principal identifier.discord:MOD_DISCORD_ID qbcore.mod
Example:
add_principal identifier.fivem:7220920 qbcore.god #Blaxe
add_principal identifier.discord:493865592323833861 qbcore.god #Blaxe
Step 3: Configure Discord Webhooks
- Go to your Discord server
- Right-click on the channel you want logs in
- Click "Edit Channel" > "Integrations" > "Webhooks" > "Create Webhook"
- Copy the webhook URL
- Open
server/webhooks.lua
- Replace
YOUR_MAIN_WEBHOOK_URL_HERE
with your webhook URL - Replace
YOUR_SCREENSHOT_WEBHOOK_URL_HERE
with your webhook URL (can be same)
Step 4: Test Setup
- Start your server
- Join the server
- Type
/madmin
or press F9 - If menu opens, setup is complete
Commands
/madmin
- Open admin menu/report
- Open report system (for players)
Keybinds
- F9 - Open admin menu (configurable in config.lua)
- F2 - Toggle noclip (when enabled in menu)
Permission Levels
- god (Level 3) - Full access to everything
- admin (Level 2) - Most features except god-only functions
- mod (Level 1) - Basic moderation and player management (lowest level)
Adding Custom Permission Groups
The default groups (god, admin, mod) are already included. Only follow these steps if you want ADDITIONAL custom groups:
-
First, add to QB-Core config:
- Open
qb-core/config.lua
- Add your custom group to:
QBConfig.Server.Permissions = {'god', 'admin', 'mod', 'yourgroup'}
- Open
-
Then add to Multy Admin config:
- Open
multy-admin/config.lua
- Add to
qbGroups
array:
qbGroups = { 'mod', 'admin', 'god', 'yourgroup' -- Add your custom group here },
- Add to
groups
section:
['yourgroup'] = { level = 4, -- Higher number = more permissions label = "Your Group", -- Display name color = "#ff0000", -- Color for admin chat description = "Custom admin group" }
- Open
-
Add permissions in server.cfg:
add_principal identifier.fivem:123456 qbcore.yourgroup
Important: The group name must be EXACTLY the same in all three places:
- QB-Core config
- Multy Admin qbGroups
- Multy Admin groups section
Configuration
Edit config.lua
to change:
- Menu keybind
- Permission requirements for features
- Vehicle spawn settings
- Teleport locations
- Feature toggles
Database
The resource creates its own database tables automatically. No manual database setup needed.
Troubleshooting
Menu won't open:
- Check you have correct permissions in server.cfg
- Restart server after adding permissions
- Check F8 console for errors
No webhook logs:
- Check webhook URLs are correct in server/webhooks.lua
- Test webhook URL in browser
- Check Discord channel permissions
Permission errors:
- Restart server after changing server.cfg permissions
- Check Steam hex is correct (use
steam:
prefix) - Enable debug mode in config.lua to see permission checks
Support
Make sure you have:
- QB-Core framework installed
- oxmysql resource running
- Correct permissions in server.cfg
- Valid Discord webhook URLs
That's it! The admin menu should now work on your server.