This guide explains the files and folders on a FiveM server at Imperial Hosting, what each one does, and which ones are safe to change.
For general instructions on browsing, uploading, and editing files, see Files.
The layout below is for servers set up with txAdmin. If you have not finished txAdmin setup yet, your server will only contain
alpine,cache, andlogs. See Setting Up txAdmin.
Your server's files start in /home/container/.

| File or folder | What it is | Safe to change? |
|---|---|---|
alpine/ |
The FiveM server software, also called the server artifacts. | No. Replaced when you reinstall or update artifacts. |
logs/ |
Log files from your server. Useful for finding errors after a crash. | Yes. Old logs can be deleted to free up space. |
txData/ |
txAdmin's data and your actual FiveM server. See below. | Only the files described below. |
run.sh |
The script the panel uses to start your server. | No. |
Do not edit or delete
alpineorrun.sh. Changes to them can stop your server from starting.
txData
| File or folder | What it is | Safe to change? |
|---|---|---|
<name>.base/ |
Your FiveM server, including its resources and server.cfg. The name comes from the recipe you chose during txAdmin setup, such as vMenu_CA79EC.base. |
Yes. This is where you install and configure resources. |
default/ |
txAdmin's own settings, logs, and player database, such as bans and warnings. | No. Change these settings from txAdmin instead. |
admins.json |
The txAdmin admin accounts for your server. | No. Manage admins from txAdmin instead. |
.base)This is the folder you will work in most often.

| File or folder | What it is | Safe to change? |
|---|---|---|
resources/ |
Your scripts, maps, vehicles, and other resources. | Yes. See Installing a Resource. |
server.cfg |
Your server's main configuration file. | Yes, carefully. See Editing server.cfg. |
server.cfg.bkp |
A backup copy of server.cfg that txAdmin saves when it changes the file. |
Yes. You can use it to restore an earlier version of server.cfg. |
cache/ |
Cached copies of your resources' files. | Yes. Clearing it can fix resources that are not updating. See Clearing the Cache. |
.replxx_history |
A history of commands sent from the console. | Safe to ignore. |
Inside resources/, folders with names in square brackets, such as [gameplay] or [local], are category folders. They only exist to keep resources organized, and FiveM finds resources inside them automatically.
You can create your own, such as [vehicles] or [jobs], to organize the resources you add.
server.cfgserver.cfg controls how your server starts. Common settings include:
| Setting | What it controls |
|---|---|
sv_maxclients |
The maximum number of players. |
endpoint_add_tcp / endpoint_add_udp |
The port your server listens on. These must match your primary allocation. See Network & Ports. |
sv_licenseKey |
Your server registration key from the Cfx Portal. |
set mysql_connection_string |
Your database connection details. See Connecting a Resource to a Database. |
ensure |
Starts a resource when the server launches. |
Your server's name, description, and tags in the FiveM server list are no longer set in server.cfg. See Changing Your Server's Name.
server.cfgcontains your server registration key and database password. Do not share it or post screenshots of it publicly.
Before making large changes, download a copy of server.cfg from its More Options (...) menu so you can restore it if something goes wrong. Restart your server after saving for your changes to take effect.
Your server's maximum number of players is set by the sv_maxclients line in server.cfg:
sv_maxclients 48
| Player limit | What you need |
|---|---|
| 31 or fewer | Nothing extra. |
| 32 to 48 | OneSync turned on. |
| More than 48 | OneSync turned on, plus a Cfx.re Element Club subscription, starting with Argentum, on the account that created your server registration key. Higher tiers allow more players. |
OneSync is on by default in txAdmin. To check it, open txAdmin's Settings, then the FXServer tab, and select Show Advanced. Set OneSync to On (recommended).
txAdmin controls OneSync itself. If your
server.cfghas aset onesyncline, txAdmin turns it off and uses its own setting instead. On servers without txAdmin, addset onesync ontoserver.cfg.
Restart your server after changing sv_maxclients. Higher player limits also use more memory and CPU, so check your server's usage on the Console page as your community grows.
Identifiers are the IDs FiveM uses to recognize each player, such as their Rockstar license or Discord account. You need them to give someone admin permissions, or to add them to a script's list of admins or staff.
| Identifier | What it is |
|---|---|
license: |
The player's Rockstar Games license. Every player has one. |
fivem: |
The player's Cfx.re account. Only shown if they are signed in to FiveM. |
discord: |
The player's Discord account. Only shown if Discord is open on their computer when they join. |
steam: |
The player's Steam account. Only shown if Steam is open on their computer when they join. |
To find a player's identifiers in txAdmin:

When you use an identifier in a permission line in server.cfg, put identifier. in front of it:
add_principal identifier.license:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b group.admin
The IDs tab also lists the player's hardware IDs, or HWIDs. txAdmin uses these for bans, and they are not used in permission lines.
If a resource is not picking up changes you made to its files, clearing your server's cache can help.
txData, then your .base folder, then cache.cache.
Only delete the contents of the
cachefolder. Do not deleteresourcesorserver.cfg.
| Action | What happens to your files |
|---|---|
| Reinstall Server or updating artifacts | Only alpine is replaced. Your txData folder, including your resources, server.cfg, and txAdmin data, is not changed. |
| Creating a backup | Always include txData. A backup without it cannot restore your server. |
See Updating Server Artifacts and Backups.
Browse, upload, and edit files in the Game Server Panel.
Install scripts, maps, vehicles, and other resources.
Update the FiveM server software in the alpine folder.
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.