Skip to main content

Understanding the FiveM Server Layout

Understanding the FiveM Server Layout

Your FiveM server stores its files inside the /home/container directory. This directory contains both the server runtime files and your actual server files.

Main Server Directory

/home/container
├── .internal/        (FXServer runtime files)
├── nontxserver/      (server files when not using txAdmin)

Most users will interact with files through txAdmin rather than editing these folders directly.

Files inside .internal are part of the server runtime and should not be modified.

The nontxserver Folder

This folder contains the server files used when the server is started without txAdmin.

Typical contents include:

/home/container/nontxserver
├── server.cfg
├── resources/
└── other server files

If you are deploying your server using Git, the repository will normally be placed in this folder.

The server.cfg File

The server.cfg file is the main configuration file for your server.

This file controls:

  • Server name and description
  • Resource loading
  • Permissions and settings
  • Database configuration

When running without txAdmin, this file is loaded automatically from:

/home/container/nontxserver/server.cfg

The Resources Folder

Server scripts and mods are placed inside the resources folder.

/home/container/nontxserver/resources

Each resource must be started inside your server.cfg file.


Using Git Deployment

If Git deployment is enabled in the server settings, the server will pull files from the configured repository every time the server starts.

The repository is deployed to the folder defined in Git Target Path. By default this is:

/home/container/nontxserver

When Git deployment is enabled, local file changes inside the target folder will be overwritten on server start.

txAdmin Managed Servers

When txAdmin is enabled, the server configuration and resources are typically managed directly through the txAdmin interface.

txAdmin may create additional folders to store server profiles and configuration data.

For most users it is recommended to manage resources and server configuration through txAdmin rather than manually editing files.