txAdmin is a web-based management interface for FiveM servers that provides tools for server configuration, monitoring, and administration.
We recommend using txAdmin for most FiveM servers because it simplifies initial setup and ongoing server management. However, txAdmin is optional, and you can configure your server to run without it if you prefer.
This guide walks you through enabling and configuring txAdmin on Imperial Hosting.
If you want to run your server without txAdmin, follow the Setting Up a FiveM Server Without txAdmin guide instead.
Before beginning the setup process, keep the following in mind:
alpine, cache, and logs folders.Enable txAdmin in the Startup settings before starting your server for the first time.
Every FiveM server needs a server registration key, sometimes called a license key. It links your server to your Cfx.re account, and you enter it during txAdmin setup. Keys are free.
When you create a key, you also fill in the details players see in the FiveM server list. You can change them at any time afterwards, so do not worry about getting them perfect now.
| Field | What to enter |
|---|---|
| Name | Your server's name in the server list. Up to 40 characters. |
| Tagline | A short line shown with your name. Up to 120 characters. |
| Description | A longer description of your server. Up to 250 characters. |
| Language | The main language spoken on your server. |
| Tags | Up to five keywords players can search for, such as roleplay or police, separated by commas. |
| Banner Image | The wide image on your server's listing. See Image Sizes. |
| Icon | The square image next to your server's name. See Image Sizes. |
| Discord | A link to your Discord server, under Social. |
You can have up to three active servers at a time. If you already have three, drag one you no longer use to Inactive first. Inactive servers keep their details but do not show in the server list.

Create the key with the same Cfx.re account you use to buy paid resources and any Element Club subscription. Escrowed resources and higher player limits only work with keys created by that account. See Escrowed Resources.
Imperial Hosting assigns two port allocations to your server.
The secondary allocation does not automatically receive a note. We recommend adding one so you can easily identify the port used by txAdmin later.

For more information, see Network.
Before starting your server, you must enable txAdmin through the Startup settings.

Once txAdmin is enabled, you can start your server.
Open the Console page.
Start your server.
Wait for txAdmin to finish initializing.
Look in the console for the txAdmin setup message containing the web address and registration PIN.
The message will look similar to this:
All ready! Please access:
http://your-public-ip:your-txadmin-port/
Use the PIN below to register:
XXXX
Your server's IP address, txAdmin port, and registration PIN will be different. Use the address and PIN displayed in your own server console.
Open the provided address in your web browser.
Enter the registration PIN displayed in your server console.

Keep your registration PIN private. Always use the PIN displayed in your own server console.
Follow the prompts in txAdmin to complete the initial account registration.


Once registration is complete, txAdmin will prompt you to configure your server.
txAdmin will ask you to provide a server name and select a deployment type.
Enter a name for your server. This name is used within the txAdmin interface and may appear in chat or Discord messages.
Replace the default change-me value with a name that identifies your server.
Choose the option that matches your situation.
server.cfg.
If you are migrating an existing server, follow the Migrating an Existing Server guide for help preparing your files and database.
Continue through the setup wizard after entering your server name and selecting the appropriate deployment type.
The next steps depend on the deployment type you selected.
If you selected a recipe or template, txAdmin will guide you through its setup process.
If you do not have a server registration key yet, see Getting a Server Registration Key.

Keep your server registration key private. Do not include it in screenshots or public support requests.
The available parameters depend on the recipe you selected. Follow the wizard's prompts to finish configuring your new server.
If you selected Existing Server Data, prepare your existing server files before selecting the data directory in txAdmin.
server.cfg.
Make sure you select the correct folder. The selected directory must contain the server.cfg file for the server you want to run.
server.cfg and Verify the Server PortAfter configuring your deployment, review the server configuration. For a recipe-based deployment, txAdmin may generate a server.cfg; for an existing server, you should review the configuration you uploaded.
Depending on your deployment, the configuration may include:
Review the configuration and update any values that need to be customized for Imperial Hosting.
Some recipes also add lines such as sv_hostname, sets sv_projectName, and sets tags. These are deprecated, and your server's name and other server list details are now set in the Cfx Portal. See Changing Your Server's Name.
The TCP and UDP endpoints must use your primary port allocation from the Network page. Do not use the secondary allocation, as it is reserved for txAdmin.
Some recipes use 30120 as the default server port. If your primary allocation is different, update the endpoint_add_tcp and endpoint_add_udp settings in server.cfg.
For example, if your primary port allocation is 30143, the settings should be:
endpoint_add_tcp "0.0.0.0:30143"
endpoint_add_udp "0.0.0.0:30143"
Replace 30143 in both lines with the primary port assigned to your server.
If you migrated an existing server, also verify that the configuration contains the correct server registration key and database connection information for your Imperial Hosting setup.

Once your configuration is ready:

If the server fails to start, review the console output for errors. For artifact-related issues, see Updating Server Artifacts.
Give your staff their own txAdmin accounts so they can manage your server without using yours.
Only give All Permissions to people you fully trust. Admins with full permissions can change settings, delete data, and remove other admins, including you.
server.cfg file, rather than a parent folder or unrelated directory.Learn how to migrate an existing FiveM server to Imperial Hosting.
Learn how to upload server files using SFTP.
Manage your server's startup settings.
Find your server's address and port allocations.
Monitor your server and review startup errors.
Update or troubleshoot your FiveM server artifacts.
If you run into any issues or need support, our team is here to help.
Join our Discord.
Open a support ticket through our Help Desk.