terça-feira, 4 de junho de 2024

Free FiveM Base 2024 - How to Create a FiveM Server

 Free FiveM Base 2024 - How to Create a FiveM Server

Introduction

In this tutorial, I'll show you how to create a FiveM server using a free SX base. The download link for the base will be available in our Discord channel, which is linked in the video description. This base, created by "Boina Verde," will be demonstrated here, and I'll guide you through the installation process.

Step 1: Prerequisites

Before we begin, you need to install a few essential programs:

  1. XAMPP - A free and open-source cross-platform web server solution stack package developed by Apache Friends.
  2. Text Editor - You can use Notepad or Visual Studio Code (recommended).

Installing XAMPP:

  • Download XAMPP from its official website.
  • Run the installer and follow the prompts to complete the installation.

Installing Visual Studio Code:

  • Download Visual Studio Code from its official website.
  • Run the installer and follow the prompts to complete the installation.

Step 2: Setting Up the Server

  1. Download the Base:

    • Join the Discord server linked in the description and download the SX base file.
  2. Prepare Your Workspace:

    • Create a new folder on your desktop or any desired location.
    • Extract the contents of the downloaded base into this folder.
  3. Configure the Server:

    • Open the server.cfg file located in the server-data folder using Visual Studio Code.
    • Modify the settings as required, such as setting the maximum number of players and configuring server resources.

Important Configurations:

  • Max Players: Ensure your server can handle the desired number of players. Note that custom clothing and features may require higher plans from FiveM's Patreon.
  • Server License Key: Obtain this from the FiveM keymaster and paste it into the server.cfg.

Step 3: Registering and Obtaining Keys

  1. Get Your Server License Key:

    • Go to FiveM keymaster.
    • Log in and create a new server key.
    • Enter your server name, IP address, and other details, then generate the key.
    • Copy this key and paste it into the server.cfg file under the sv_licenseKey entry.
  2. Steam Web API Key:

    • Go to the Steam API Key registration page.
    • Log in with your Steam account and generate an API key.
    • Copy this key and paste it into the server.cfg file under the steam_webApiKey entry.

Step 4: Importing the Database

  1. Start XAMPP:

    • Open XAMPP Control Panel.
    • Start Apache and MySQL services.
  2. Access phpMyAdmin:

    • Open your browser and go to http://localhost/phpmyadmin.
    • Create a new database.
  3. Import the SQL File:

    • Select the new database and click on the Import tab.
    • Choose the boina_verde.sql file from the extracted base files.
    • Click on Go to import the database.

Step 5: Running the Server

  1. Set File Paths:

    • Open the run.bat file located in your server folder using a text editor.
    • Ensure the file paths match the location of your FiveM server files.
  2. Start the Server:

    • Double-click on the run.bat file to start the server.

Step 6: Connecting to the Server

  1. Open FiveM:
    • Launch FiveM on your computer.
  2. Connect to Your Server:
    • Use the direct connect option and enter your server's IP address.

Step 7: Admin Commands and Setup

  1. Creating Your Character:

    • Follow the in-game prompts to create your character.
  2. Admin Commands:

    • Set yourself as an admin using in-game commands or through the database.
    • Example commands:
      • setgroup [your ID] admin - Sets your admin group.
      • giveitem [your ID] weapon_pistol 1 - Gives you a pistol.

Conclusion

You have now successfully set up a FiveM server using the free SX base. Feel free to explore and customize your server further. If you have any questions or need additional help, leave a comment or join the Discord server linked in the description. More tutorials and free bases will be shared, including how to create and customize your own FiveM server from scratch.

Nenhum comentário:

Postar um comentário