Home FiveM Installing a Custom Vehicle Dealership on Your FiveM Server

Installing a Custom Vehicle Dealership on Your FiveM Server

Last updated on Feb 13, 2025

In this tutorial, you'll learn how to install a custom vehicle dealership resource on your FiveM server using the Pterodactyl panel (VolticHost Game Panel). A vehicle dealership allows players to browse, preview, and purchase vehicles in-game—enhancing your roleplay environment with a dynamic and interactive feature. 🚀


📌 Prerequisites

  • A FiveM server purchased at VolticHost.com

  • Pre-installed FiveM with txAdmin, accessible via the VolticHost Game Panel

  • Basic knowledge of file management and server configuration

  • Custom vehicle dealership resource files (downloaded from reputable FiveM community sources)


1️⃣ First Step - Preparing and Organizing Your Dealership Resource Files

  1. Download the Custom Vehicle Dealership Files:

    • Obtain the dealership resource package, which typically includes client and server scripts, a user interface, and a manifest file.
  2. Organize Files in a Folder:

    • Create a folder (e.g., vehicle_dealership) and ensure it contains all necessary files, including images, scripts, and a resource manifest file.
  3. Verify the Manifest File:

    • Open or create the manifest file (using fxmanifest.lua or __resource.lua). A basic example for fxmanifest.lua might be:

      fx_version 'cerulean'
      game 'gta5'
      
      author 'YourName'
      description 'Custom Vehicle Dealership Resource'
      version '1.0.0'
      
      client_script 'dealership_client.lua'
      server_script 'dealership_server.lua'
      ui_page 'html/index.html'
      
      files {
          'html/index.html',
          'html/style.css',
          'html/script.js'
      }
      
  4. Save Your Files:

    • Once organized, your dealership resource is ready for upload.

Dealership resource files prepared and organized successfully!


2️⃣ Next Step - Uploading the Dealership Resource via the Pterodactyl Panel

  1. Log in to the Panel:

  2. Navigate to the Resources Directory:

    • Go to the /resources/ directory, where all FiveM resources are stored.
  3. Upload Your Dealership Folder:

    • Upload your vehicle_dealership folder into the /resources/ directory.
  4. Confirm the Upload:

    • Verify that the folder structure, including all scripts, UI files, and the manifest, has been correctly uploaded.

Custom vehicle dealership resource uploaded successfully!


3️⃣ Next Step - Activating the Dealership Resource in server.cfg

  1. Open the server.cfg File:

    • In the File Manager, locate and open the server.cfg file in the root directory of your FiveM server.
  2. Add the Startup Command:

    • Insert the following line to ensure your dealership resource starts with your server:

      start vehicle_dealership
      
    • Ensure this line is placed with other resource startup commands to maintain proper load order.

  3. Save Your Changes:

    • Save and close the server.cfg file.

server.cfg updated to activate the custom vehicle dealership resource!


4️⃣ Next Step - Restarting Your Server and Testing the Dealership

  1. Restart Your Server:

    • Return to the txAdmin dashboard and click the Restart Server button to apply your changes.
  2. Monitor the Logs:

    • Watch the live console logs to ensure that the dealership resource loads without errors.
  3. Test In-Game:

    • Once your server is running, join your FiveM server.

    • Use the in-game command or keybind specified by the dealership resource (often documented in the resource's instructions) to open the dealership menu.

    • Verify that the user interface displays correctly, vehicles are listed for preview, and purchase functionality works as expected.

Custom vehicle dealership tested and functioning successfully!


🎉 Conclusion

You have now successfully installed a custom vehicle dealership on your FiveM server using the Pterodactyl (VolticHost Game) panel! By preparing your resource files, uploading them to the /resources/ directory, updating your server.cfg, and testing in-game, you've added an exciting feature that enhances player interaction and immersion. Enjoy your enhanced roleplay environment, and if you need further assistance, contact VolticHost Support. 🚀