FiveM Server Commands — Console, Resources & txAdmin (2026)
FiveM server commands manage your resources and players from the server console or txAdmin. Here's the list that matters — the resource lifecycle commands (start, ensure, restart), server control, and how txAdmin handles player management — with how to run each.
Run these from the server console (the FXServer window / live console) or through txAdmin's web console. Resource commands can also go in your server.cfg so they run on boot. Most player management (kick/ban/warn) is done through txAdmin rather than raw console.
Resource commands
| Command | What it does |
|---|---|
ensure <resource> | Start a resource (or restart it if already running) — the safest way to (re)load one. |
start <resource> | Start a stopped resource. |
stop <resource> | Stop a running resource. |
restart <resource> | Restart a running resource. |
refresh | Rescan the resources folder for new/changed resources (run before starting a newly added one). |
status | Show running resources and server status. |
Server control
| Command | What it does |
|---|---|
quit | Shut the server down. |
sv_maxclients <n> | Set the player slot limit (in server.cfg). |
sv_hostname "<name>" | Set the server name shown in the list. |
set onesync on | Enable OneSync (needed for 48+ slots and modern scripts). |
say <message> | Broadcast a message to the server. |
exec <file.cfg> | Run a config file. |
txAdmin — player management
txAdmin is the web dashboard bundled with FXServer. It's where you manage players and the server without in-game access:
| Feature | What it does |
|---|---|
| Kick / ban / warn | Full player moderation with reason and history. |
| Player history | See a player's past bans, warns and notes. |
| Live console | Send any of the console commands above from the browser. |
| Start / stop / restart | Control the server instance or individual resources. |
| Scheduled restarts | Automate restarts and announcements. |
Added a new resource? Run refresh first so the server sees it, then ensure <resource> to load it. ensure is preferred over start because it also restarts a resource that's already running — handy after editing scripts. Framework admin commands (like /car or /setjob) come from ESX/QBCore, not FiveM itself.
Related FiveM guides
Setting a server up? See how to set up a FiveM server, add the standard inventory with how to install ox_inventory, and check how much a FiveM server costs.
FiveM is a Cfx.re / Rockstar Games project. Grand Theft Auto V is a trademark of Rockstar Games / Take-Two Interactive. ESAGAMES is an independent hosting provider, not affiliated with or endorsed by Rockstar Games, Take-Two or Cfx.re. You must own a legitimate copy of the game.
FiveM hosting with txAdmin built in
Our FiveM hosting ships with txAdmin, a database and a fast dedicated core — run these commands and manage your RP server the easy way.
Frequently asked questions
How do I restart a resource in FiveM?
Use ensure
What's the difference between ensure, start and refresh in FiveM?
start launches a stopped resource; ensure starts it or restarts it if already running; refresh rescans the resources folder for new or changed resources. Add a new resource, run refresh, then ensure it.
How do I kick or ban a player in FiveM?
Through txAdmin, the web dashboard bundled with FXServer — it has kick, ban and warn with reasons and player history. That's the standard way rather than raw console commands.
How do I run FiveM commands without being in-game?
Use txAdmin's live console in your browser, or the server's own console window. Both let you run resource and server commands and manage players without joining the game.
How do I enable OneSync on a FiveM server?
Add set onesync on to your server.cfg. OneSync is required for servers above 48 slots and for many modern scripts, so most RP servers run with it on.
Are /car and /setjob FiveM commands?
No — those come from frameworks like ESX or QBCore, not FiveM itself. FiveM provides the resource and server commands; the RP admin commands are added by whatever framework and scripts you install.
How do I stop and start a FiveM server?
From txAdmin or the console: quit shuts the server down; to restart the whole server use txAdmin's restart button (or its scheduled restarts). To reload just one script without a full restart, use ensure
How do I add a new resource to a running FiveM server?
Drop the resource into the resources/ folder, run refresh so the server sees it, then ensure
How do I set the max players on a FiveM server?
Set sv_maxclients
Go deeper on this
Guides and explainers that pair with this fix — from our guides and blog.
How to Set Up a FiveM Server
Cfx.re key, FXServer artifacts, server.cfg and a framework.
ReadBest FiveM Scripts & Resources
ESX/QBCore, ox_lib, ox_inventory, pma-voice and more.
ReadESX vs QBCore vs Qbox
An honest comparison of the three main FiveM frameworks.
ReadFiveM vs RedM
What each is, and which suits your roleplay community.
ReadRelated articles
Fix AMX Mod X "Couldn't load library" / Plugin Failed in CS 1.6
AMXX plugin stuck on "bad load", "couldn't load library" or "failed"? The real causes and the exact fix.
Read fix Game ServersFix FiveM "Couldn't load resource" / Failed to Start
A FiveM resource won't start or throws "couldn't load resource"? Here are the real causes and fixes.
Read fix Game ServersFix Rust Oxide / uMod Plugins Not Loading
Oxide/uMod plugins not loading after a Rust update? The usual causes and the quick fix.
Read fix