txAdmin: your control panel
txAdmin is the web panel that already ships inside FXServer. With it you create, start, monitor and administer your FiveM server without touching the console by hand.
So far you've seen resources, manifests and a bit of Lua. But before you program anything you need a server to test it on. That's where txAdmin comes in: the web control panel that already ships inside FXServer (the FiveM server executable). You don't have to install it separately; it's a resource called monitor that starts on its own. From its web interface you create the server, start it, monitor it and administer the whole thing without wrestling with the console.
What txAdmin is and why you'll always use it
txAdmin is a web interface that connects to your FXServer. From the browser you can start and stop the server, watch the live console, manage players (kick, ban, warn), administer resources, edit the server.cfg, schedule restarts and make backups. In practice it's the command center of any FiveM server, from the first one you set up on your PC to a production one with hundreds of players.
- It's included in FXServer as the monitor resource: it isn't downloaded separately.
- You control it from the browser, not from the terminal.
- It manages one or several servers from the same panel.
- It restarts the server automatically if it hangs (monitor mode).
First boot
Download the FXServer artifact of the recommended version from the official Cfx.re website, unzip it into a folder and run it. On Windows you double-click FXServer.exe; on Linux you launch it with run.sh.
# Windows (from the artifact folder)
FXServer.exe
# Linux
./run.shStarting FXServer for the first time
On boot, the console will show you a message with an address and a PIN, something like "http://localhost:40120" and a one-time code. Open that URL in the browser, enter the PIN and txAdmin will guide you through creating your admin account (username and password). This account is the panel's, not the game's: keep it safe.
Linking the license (cfx.re / keymaster)
Every FiveM server needs a free license key. Go to keymaster.fivem.net (the Cfx.re website), create a new key for your IP or server type and copy it. txAdmin will ask you to paste it during setup; internally it stores it as sv_licenseKey in your server.cfg. Without that key the server won't accept players.
# txAdmin writes this line for you in the server.cfg
sv_licenseKey "your_keymaster_key_here"The license in server.cfg
The license key is secret. Don't push it to GitHub or show it on streams: if it leaks, anyone can spin up a server in your name and Cfx.re may revoke it.
Deploying with a recipe (template)
When you create a server, txAdmin offers you two paths. The first is a "deployment" with a recipe: a recipe that automatically downloads and configures a complete, ready-to-play base, like ESX Legacy or QBCore, with its database included. The second is a "blank" server, an empty folder where you decide which resources to add. If you're just starting out, the recipe saves you hours of manual setup.
- ESX Legacy or QBCore recipe: a complete roleplay framework downloaded and configured for you.
- Blank server: you start from scratch and add your resources one by one.
- The recipe usually asks you for the MySQL connection details (host, user, password, database).
Managing the day-to-day
With the server up, txAdmin gives you everything you need from the web. You can start, stop or restart specific resources without touching the console; watch the live console (the server's real-time output) and type commands into it; manage connected players by their identifiers (kick, ban, warn); and edit the server.cfg from the panel's own editor.
- Resources: start, stop and restart any resource with one click.
- Players: view IDs, kick, ban or warn.
- Live console: the server console in real time, to read errors and run commands.
- Config editor: modify the server.cfg without opening the file by hand.
Backups, restarts and auto-recovery
This is where txAdmin shines for production. You can schedule automatic restarts at set times to keep the server fresh, with advance warnings to players ("the server restarts in 5 minutes"). Monitor mode watches the process and, if the server hangs or crashes, restarts it on its own. txAdmin also keeps backups of its own configuration, though the game database (MySQL) is something you must back up separately.
Admin roles and permissions
Not all of your staff need full access. txAdmin lets you create several admin accounts with granular permissions: one person can only moderate players, another manage resources, and only you have full access to the configuration. Give each person the minimum permissions they need for their job.
Security best practices: don't expose the txAdmin port (40120 by default) to the internet without protection; use it locally or behind a proxy with HTTPS. Back up your MySQL database yourself. And don't hand out txAdmin admin to just anyone: with it you control the whole server.
Put it into practice
Got a question about this? The AI chat knows all of it and answers with code.
Ask the AI