Synapse Music
Installation

How to install Synapse Music?

First Steps:

  1. Download the Asset:
    Go to keymaster.fivem.net (opens in a new tab), navigate to Granted Assets, and download Synapse Music.

  2. Add the Asset to Your Resources Folder:
    Drag and drop the syn-music folder into your server's resources directory.

  3. Ensure syn-music is in Your server.cfg:
    Add the following line to your server.cfg file:

ensure syn-music

Step 1: Create a Google Cloud Project

Go to Google Cloud Console:

Visit the Google Cloud Console (opens in a new tab). and login in using your Google Account

Create a New Project:

  • At the top-left corner of the page, click on the Select a project dropdown.

  • In the window that appears, click New Project.

  • Enter a project name and, optionally, an organization or location, then click Create.

Select Your Project:

  • After creating the project, select it from the dropdown menu at the top of the page.

Step 2: Enable YouTube Data API

Search for YouTube Data API:

In the search bar, type "YouTube Data API v3" and click on the result.

Enable the API:

Click the Enable button. This will activate the YouTube Data API for your project.

Step 3: Create Credentials for the API

Go to Credentials:

On the left-hand side, click APIs & Services → Credentials.

Click “Create Credentials”:

In the Credentials page, click Create Credentials at the top and select API key.

Get Your API Key:

⚠️ To verify your roles, make sure you are the buyer of the asset and not a re-purchase from a third party.

Your new API key will appear in a pop-up window. Copy it and add it to the config.json file under the "api_keys" section in the following format:

"api_keys": {
    "1": "AIzaSyBZWdh2zc5fTm-YAuo-JdOUdQoqJI-4eZA",
    "2": "AIzaSyC_WLd298Kj-p-WQyqw7wAq-RP8nKLP7Q0"
}

Step 2: Open Firewall port

To ensure the optimal functionality of this resource, port 5000 must be opened in your firewall configuration. The process to open this port will vary depending on the operating system in use, such as Windows or Linux. Each system has its own method for managing firewall rules and allowing specific ports for incoming and outgoing traffic.

If you're unsure how to do this, consult your network administrator to assist with the configuration.

⚠️ Failure to open port 5000 will prevent the resource from operating as intended within the specified parameters.