Skip to content
FiveM & Roleplay

FiveM Server Commands — Console, Resources & txAdmin (2026)

8 min read Updated 10 August 2026 ESAGAMES Team

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.

Where to run them

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

CommandWhat 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.
refreshRescan the resources folder for new/changed resources (run before starting a newly added one).
statusShow running resources and server status.

Server control

CommandWhat it does
quitShut 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 onEnable 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:

FeatureWhat it does
Kick / ban / warnFull player moderation with reason and history.
Player historySee a player's past bans, warns and notes.
Live consoleSend any of the console commands above from the browser.
Start / stop / restartControl the server instance or individual resources.
Scheduled restartsAutomate restarts and announcements.
ensure vs start vs refresh

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

FiveM hosting
FAQ

Frequently asked questions

How do I restart a resource in FiveM?

Use ensure — it restarts the resource if it's running, or starts it if it isn't. It's the safest command after editing a script. restart also works for an already-running one.

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 to start it. Add ensure to your server.cfg so it also loads on the next boot.

How do I set the max players on a FiveM server?

Set sv_maxclients in server.cfg. For more than 48 players you also need set onesync on, which most modern RP servers run anyway for the newer scripts.

Further reading

Go deeper on this

Guides and explainers that pair with this fix — from our guides and blog.

Knowledge base

Related articles

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.

Payments Secure checkout with cards, banking apps and digital wallets.

Choose the payment flow that fits your stack and region without leaving the platform.

Pay by Zen Visa Mastercard Paysafecard PaysafeCash Skrill Trustly Bancontact UnionPay iDeal WebMoney