Skip to main content
  • Instant digital delivery
  • Lifetime updates on selected products
  • Trusted by server owners

Start building your server today.

Curated FiveM resources, instant delivery, free starter mods, and practical guides in one calm marketplace.

support@fivemx.com

Shop

Frameworks

Community

Legal

Server Templates

Β© 2026 FiveMX. All rights reserved.Β·FiveMX is not affiliated with Rockstar Games, Take-Two Interactive, or CFX.re. All trademarks are property of their respective owners.
DiscordDocs
FiveMX
Browse the shop
Shop
FiveM Mods
All Products
Free Mods
Best Scripts & Mods
FiveM Scripts
QBCore Scripts
ESX Scripts
QBox
Standalone
Blog
Support
Creators
Affiliate
Privacy Policy
Terms of Service
Refund Policy
Digital Delivery
Cookie Policy
GDPR Compliance
DMCA
Imprint
Editorial Policy
QBCore Server Template
ESX Server Template
NoPixel Server Template
Server Packs
Free Server Templates
Tebex Alternative
Shop
Full ServersBundlesNew releases
FiveMX
  1. Home
  2. Blog
  3. Tutorials & Guides
Table of Contents
How ESX permissions workBecoming an admin on your own server (the SQL trick)Player management commands

ESX Admin Commands β€” Complete 2026 Reference

Published on April 27, 2026Β·by Lars Miller(Founder & Lead Editor)Β·CredentialsΒ·3 min readΒ·Updated on May 18, 2026
Tutorials & Guidesesx admin commands

Complete reference of ESX admin commands for FiveM RP servers β€” player management, vehicle spawning, money & jobs, world manipulation, plus a self-hosting setup guide for setting your first admin.

Share
ESX Admin Commands β€” Complete 2026 Reference
ESX Admin Commands β€” Complete 2026 Reference

Key Takeaways

  • Set your admin group via SQL `UPDATE users SET `group` = 'admin'` β€” this is the only way to become an ESX admin on a server you own.
  • ESX admin commands run via the F8 console or in-game chat with a leading `/`, not in txAdmin's web console.
  • QBCore servers do not understand ESX admin commands β€” `/setgroup`, `/setjob`, and `/setmoney` are ESX-only.
  • `/showmyperms` is the fastest way to confirm whether your ESX permissions actually loaded.

ESX is still one of the most-deployed FiveM frameworks in 2026, and every server admin needs a working knowledge of its built-in commands. This is the practical reference: every command that ships with esx-legacy, what it does, the syntax that actually works, and the gotchas that waste hours when they bite you. We'll also walk through the one piece nobody tells you up front β€” how to set yourself as the first admin on a fresh ESX install β€” and explain how to extend ESX with custom commands when the built-ins aren't enough.

How ESX permissions work

ESX uses a group field on every user row in the users table. The group string maps to a permission tier:

  • user β€” every regular player. Cannot run any admin command.
  • mod β€” moderation tier. Player utilities (kick, freeze, teleport).
  • admin β€” full day-to-day administration. Money, jobs, vehicles, ban.
  • superadmin β€” unrestricted. Includes commands that can wipe player data.

When a player joins, their group is read from the database into ESX's player object. The framework checks that group before allowing any /command to run. If you change a player's group while they're online, they need to rejoin for it to take effect.

You will not see ESX admin commands work in the txAdmin web console β€” txAdmin runs its own command layer. ESX commands are typed in the F8 client console (the FiveM in-game console) or the chat box with a leading /.

Becoming an admin on your own server (the SQL trick)

This is the single most-asked ESX question and the one official docs are vague on. After installing esx-legacy on a fresh server, every player including you defaults to group = 'user'. To become an admin:

Frequently Asked Questions

How do I become an ESX admin on my own server?

Run the SQL `UPDATE users SET `group` = 'admin' WHERE identifier = 'YOUR_LICENSE'` on your server database, then rejoin. Your steam license appears in your `txAdmin` player list. After that, every ESX admin command works for you.

Why aren't my ESX admin commands working?

Three common causes: (1) your ESX user `group` is still 'user' in the database, (2) the `es_extended` resource is older than 1.10 and your command syntax is from a newer guide, (3) you're typing the command in chat without the leading `/`. Verify your group with `/showmyperms` and ensure you're on esx-legacy.

Are ESX admin commands the same on QBCore?

No. QBCore uses its own command system based on `qb-admin` and the `permissions.cfg` file. ESX commands like `/setgroup` won't work on QBCore. If you migrated, install qb-admin and follow the QBCore admin guide.

Can I add custom admin commands to ESX?

Yes. Use `ESX.RegisterCommand` server-side with a permission level (e.g. `admin`, `superadmin`). Pass arguments, suggestions, and a callback. Custom commands inherit ESX's group-based permission gating automatically.

What's the difference between superadmin and admin in ESX?

Table of Contents

How ESX permissions workBecoming an admin on your own server (the SQL trick)Player management commands

More on This Topic

Turn framework research into a launch-ready script stack

Use this guide to narrow the framework decision, then move into the core commercial hubs for verified scripts, curated bundles, and a faster server launch path.

Framework hub

Use the ESX landing page to compare framework-specific resources, launch guidance, and premium products that fit ESX-first servers.

Open ESX hub

Framework hub

Move into the QBCore landing page to compare verified scripts, framework fit, and install-ready products built for modern FiveM servers.

Open QBCore hub

Premium catalog

Move from research into the main shop to compare real products, framework labels, screenshots, and production-ready quality signals.

Open premium shop

Disclosure: Some links below are affiliate links to FiveMX products. We may earn a commission at no extra cost to you.

Premium Scripts You Might Like

Free Scripts You Might Like

Related Articles

Complete QBCore admin command reference for FiveM servers: permissions, admin menu commands, player moderation, vehicle tools, money/job commands, reports, warnings, and troubleshooting.

May 13, 2026

The best FiveM phone scripts for QBCore, ESX, and QBox in 2026 β€” LB Phone, GKSPhone, S4 Phone, CrewPhone and more. Features, prices, and framework compatibility compared.

April 9, 2026

The best FiveM police scripts for ESX, QBCore, and QBox in 2026 β€” police jobs, MDT, dispatch, handcuffs, ANPR, and more. With prices, features, and setup recommendations.

April 9, 2026
  • Join your server once so a row is created in the users table.
  • Find your license in the row β€” it looks like license:abc123def456... (steam_hex on older versions).
  • Run this SQL against your server database:
  • UPDATE users SET `group` = 'admin' WHERE identifier = 'license:YOUR_LICENSE_HERE';
    
    1. Rejoin the server. Your group is now admin.

    If you have access to your server's MySQL container or HeidiSQL/phpMyAdmin, this takes 30 seconds. If you only have FTP, you can SSH into your VPS and run the same query via mysql -u user -p database. txAdmin can also expose a query runner if you've enabled the database integration.

    Verify with /showmyperms in chat or the F8 console β€” it should print your group and ESX permission flags.

    Player management commands

    These are the commands you'll use 95% of the time. All assume you're at least admin group.

    | Command | Syntax | What it does | |

    `superadmin` has access to every command including ones that can wipe player data; `admin` is restricted to day-to-day moderation. Lower groups (`mod`, `helper`) only get player utility commands. Configure tiers in your `es_extended` config or via `/group` command.

    Launch faster

    Compare curated bundles

    Bundles shorten the path from planning to launch by grouping the highest-leverage scripts into a cleaner commercial starting point.

    View bundles
    Previous Article

    Best FiveM Phone Scripts 2026: Complete Comparison Guide

    Next Article

    Best QBCore Scripts 2026: Essential Server Stack

    How to Set Up txAdmin from Scratch (2026 Guide)
    ESX vs QBCore vs QBOX: Technical Framework Comparison 2026
    ESX Legacy Guide 2026: Is It Still Worth Using?
    How to Connect txAdmin to Discord (2026 Guide)
    FiveMX 90-Day Roadmap: Q3 2026 β€” What We're Shipping and Why
    Review the ESX script path
    Browse QBCore-ready scripts
    Browse premium FiveM scripts
    ESX Menu Design

    ESX Menu Design

    $5.49
    ESX Inventory HUD V16

    ESX Inventory HUD V16

    $8.49
    ESX Plugin For EasyAdmin

    ESX Plugin For EasyAdmin

    $4.49
    ESX Enhanced Barber

    ESX Enhanced Barber

    $13.49
    QuantV Download

    QuantV Download

    13,955 downloads
    Realism Beyond 2.0

    Realism Beyond 2.0

    4,432 downloads
    Police EUP Mega Pack V2

    Police EUP Mega Pack V2

    2,536 downloads
    Quasar Smartphone (Free)

    Quasar Smartphone (Free)

    2,239 downloads
    QBCore Admin Commands β€” Complete FiveM Reference
    QBCore Admin Commands β€” Complete FiveM Reference
    Best FiveM Phone Scripts 2026: Complete Comparison Guide
    Best FiveM Phone Scripts 2026: Complete Comparison Guide
    Best FiveM Police Scripts 2026: Complete LEO Resource Guide
    Best FiveM Police Scripts 2026: Complete LEO Resource Guide

    No time to configure everything yourself?

    Start with a pre-built, tested FiveM server pack. Framework-optimized, all scripts pre-installed.

    Super ESX Server
    esxstandalone

    Super ESX Server

    The Super ESX Server is one of the best FiveM server templates - over 1.000 purchases! Want to know why we call it our Super Server? Check out our video to find out some of the basics details of the world. Update 10 is included, make sure to install v7 first and then use content of v10 yo

    $400.00
    ESX Server Base (by RibSosay)
    esxstandalone

    ESX Server Base (by RibSosay)

    Prebuilt FiveM server with ESX framework GUARANTEE : We offer a guarantee ensuring compatibility with your setup.

    $150.00
    View all server packs