Back to Docs
Documentation

Multy Admin Setup

Complete guide for setting up Multy Admin on your FiveM server

Multy Admin Setup Guide

Quick Start

Requirements

  • qb-core or qbox
  • oxmysql

Installation

  1. Download the resource from your CFX Portal

  2. 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

  1. Edit qb-core/config.lua:

    QBConfig.Server.Permissions = {'god', 'admin', 'mod', 'example'}
    
  2. Add to server.cfg:

    add_principal identifier.discord:123456789 qbcore.example
    add_principal identifier.license:abc123def456 qbcore.admin
    

Qbox

  1. 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
    
  2. 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