For installation anywhere other than ZAP-Hosting, use the steps outlined here.
Warning: SQLite is not working for a lot of people on servers provided by ZAP-Hosting. Make sure to use a MySQL database!
ZAP-Hosting Installation (Video)
ZAP-Hosting Installation (Text)
- A functioning FiveM ZAP-Hosting server is required. ZAP-Hosting does not provide free servers.
- Download the latest release of FivePD from here.
- Extract the FivePD folder from the downloaded file.
- From the ZAP-Hosting dashboard, click on your server's name:
-
If the server is currently running, stop it. If it is stopped, you should see this on the dashboard:
-
Scroll down to the Tools section and click on the FTP-Browser button:
-
Download FivePD from this link and an FTP client application such as FileZilla.
-
FTP is the recommended way to directly connect to your server for installing FivePD. Open your FTP client (in this tutorial, we use FileZilla). Your FTP credentials can be seen on this page:
-
Copy and paste the credentials into the FTP client and connect.
-
In many FTP clients, your computer's files are located on the left side of the screen, while your server's files are located on the right side. Click on the resources folder on the right side, right click on the FivePD folder, and select upload. Upload the folder you extracted in step 3.
-
Click on the server-data folder and in the bottom right click on the server.cfg, click on edit:
-
Add start FivePD to the end of the section with similar "start" lines:
-
Install the database following the steps shown below.
Database: ZAP-Hosting Installation
- From the ZAP-Hosting dashboard, click on your server's name:
-
If the server is currently running, stop it. If it is stopped, you should see this on the dashboard:
-
Scroll down to the Tools section and click on the Databases button:
- Click on the Create button to create a new database.
- Click on the Manage button, you should see this:
-
If you have created the database successfully you should see this in the top left corner:
-
Click on the fivepd button, you will be redirected to the database's set up page. Click on the Import button:
-
Now you should see again the same thing as the image. Click on the Choose file button and select the fivepd.sql file. After that click on the Go button:
-
Next, reconnect to your server via FTP as done when initially setting up FivePD. Click on the FivePD folder, right click on the config.json file, and click edit:
- On the Databases dashboard from step 5, your database credentials are available, copy and paste them into the correct line. Look out that you need to put them between double quotes, as seen below. If the double quotes are removed, FIVEPD WILL NOT WORK.
-
Change the "db" key's value to your liking. Possible values "mysql" or "sqlite", it's not case sensitive.
FivePD has now been installed. If everything has been followed correctly, you should be able to start your FiveM server and play.
Warning: SQLite is not working for a lot of people on servers provided by ZAP-Hosting. Make sure to use a MySQL database!
-
4