Back to Docs
Documentation
Complete guide for setting up Multy Admin on your FiveM server
Multy Admin Setup Guide
Quick Start
Requirements
qb-core
orqbox
oxmysql
Installation
-
Download the resource from your CFX Portal
-
Add the following to your
server.cfg
:ensure multy-admin
Adding Permission Groups
Step 1: Edit config.lua
Add your groups to the groups
section:
Config.Permissions = {
groups = {
['mod'] = {
level = 1,
label = "Moderator",
color = "#f39c12",
description = "Basic moderation"
},
['admin'] = {
level = 2,
label = "Administrator",
color = "#e74c3c",
description = "Full admin access"
},
['god'] = {
level = 3,
label = "God/Owner",
color = "#9b59b6",
description = "Complete control"
},
-- Add custom groups here:
['example'] = {
level = 1,
label = "Example",
color = "#3498db",
description = "Example group"
}
}
}
Step 2: Framework Setup
QB-Core
-
Edit
qb-core/config.lua
:QBConfig.Server.Permissions = {'god', 'admin', 'mod', 'example'}
-
Add to
server.cfg
:add_principal identifier.discord:123456789 qbcore.example add_principal identifier.license:abc123def456 qbcore.admin
Qbox
-
Add ACE permissions to
permissions.cfg
:# Define ACE groups add_ace group.admin admin allow add_ace group.mod mod allow add_ace group.example example allow # Set inheritance (optional) add_principal group.admin group.mod add_principal group.mod group.example
-
Assign players to groups in
server.cfg
:add_principal identifier.discord:123456789 group.example add_principal identifier.license:abc123def456 group.admin
Step 3: Set Feature Permissions
Configure what each group can do in config.lua
:
Config.Permissions.features = {
playerInteraction = {
spectate = 'example', -- Minimum group needed
freeze = 'example',
heal = 'example',
kill = 'admin'
}
-- See config.lua for all features
}
Commands
/madmin
- Open admin menu (F9)/report
- Open report modal/reports
- View reports (admin only)F2
- Toggle noclip (if permitted)
Troubleshooting
Permission not working?
- QB-Core: Use
qbcore.
prefix in server.cfg - Qbox: Use
group.
prefix in server.cfg - Restart server after changes
- Enable
Config.Debug = true
to see permission checks
Group not appearing?
- Check spelling (case-sensitive)
- QB-Core: Ensure group is in
QBConfig.Server.Permissions
- Verify feature permissions match existing groups
Quick Reference
Identifier Formats
identifier.discord:123456789
identifier.license:abc123def456
identifier.steam:11000010a1b2c3d
identifier.fivem:123456