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
-
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.
-
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.
- Create a folder (e.g.,
-
Verify the Manifest File:
-
Open or create the manifest file (using
fxmanifest.lua
or__resource.lua
). A basic example forfxmanifest.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' }
-
-
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
-
Log in to the Panel:
- Access the VolticHost Game Panel and navigate to the File Manager.
-
Navigate to the Resources Directory:
- Go to the
/resources/
directory, where all FiveM resources are stored.
- Go to the
-
Upload Your Dealership Folder:
- Upload your
vehicle_dealership
folder into the/resources/
directory.
- Upload your
-
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
-
Open the server.cfg File:
- In the File Manager, locate and open the
server.cfg
file in the root directory of your FiveM server.
- In the File Manager, locate and open the
-
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.
-
-
Save Your Changes:
- Save and close the
server.cfg
file.
- Save and close the
✅ server.cfg updated to activate the custom vehicle dealership resource!
4️⃣ Next Step - Restarting Your Server and Testing the Dealership
-
Restart Your Server:
- Return to the txAdmin dashboard and click the Restart Server button to apply your changes.
-
Monitor the Logs:
- Watch the live console logs to ensure that the dealership resource loads without errors.
-
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. 🚀