Can You Make a FiveM Server Private?


Scott Campbell

Can You Make a FiveM Server Private?

If you’re a gamer who enjoys the freedom and customization offered by FiveM, you may be wondering if it’s possible to make your server private. The good news is that with a few simple steps, you can indeed make your FiveM server private and keep it exclusively for your friends or community.

In this tutorial, we will guide you through the process of making your FiveM server private.

Step 1: Server Configuration

To make your FiveM server private, you need to modify the server.cfg file. This file contains various settings and options for your server.

Open the server.cfg file using a text editor such as Notepad++ or Sublime Text.

Step 1.1: Set Password

To set a password for your server, add the following line to the server.cfg file:

sv_password "yourpassword"

Replace “yourpassword” with the desired password for your server. Make sure to choose a strong password to ensure security.

Step 1.2: Whitelist Players (Optional)

If you want to restrict access to only specific players, you can set up a whitelist. To do this, add the following lines to the server.cfg file:

sv_enforceGameBuild 2189
add_ace resource.serverstarter command.allow
add_principal identifier.steam:[steamid] group.admin
add_ace group.admin command.quit deny
add_principal identifier.stop deny

Replace “[steamid]” with the Steam ID of each player you want to whitelist. You can find a player’s Steam ID by using tools like or

Step 2: Restart the Server

After making the necessary changes to the server.cfg file, save it and restart your FiveM server. The changes will take effect upon restarting, and your server will now be private.

Step 3: Share the Password or Whitelist with Players

To allow your friends or community members to join your private FiveM server, you need to share the password or whitelist them. Make sure to securely share the password with trusted individuals only.


In conclusion, making a FiveM server private is a straightforward process that involves modifying the server.cfg file and restarting the server. By setting a password or implementing a whitelist, you can ensure that only authorized players can access your server.

Remember to keep your password secure and share it only with trusted individuals. Now you can enjoy your own private gaming experience on FiveM!

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy