Pular para o conteúdo principal

How to Create a FiveM Server from Scratch: Complete Guide for Beginners

How to Create a FiveM Server from Scratch: Complete Guide for Beginners


Introduction

In this tutorial, we'll learn how to create a FiveM server from scratch, configure scripts, and customize the server to your liking. At the end of the course, I will provide a free base for download so you can follow along with the tutorial. If you're not subscribed to the channel, make sure to subscribe for more tutorials and updates.

Step 1: Installing the Necessary Software

1.1 XAMPP

XAMPP is a free and open-source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. To install:

  1. Go to the official XAMPP website and download it.
  2. Run the installer and follow the steps (next, next, install).
  3. After installation, open XAMPP and click “Start” on the Apache and MySQL options.

1.2 Visual Studio Code

Visual Studio Code is a powerful and free text editor. To install:

  1. Go to the official Visual Studio Code website and download it.
  2. Run the installer and follow the steps (next, next, install).

Step 2: Setting Up the Server

2.1 Download and Set Up TXAdmin

  1. Go to the TXAdmin link in the official FiveM documentation.
  2. Download the recommended version.
  3. Extract the contents of the ZIP file to a folder of your choice (e.g., "base_server").
  4. Inside the extracted folder, run the fxserver.exe file.
  5. In the window that opens, click “Link Account” and create an account on the FiveM forum.
  6. Verify the account through the email sent.
  7. After verification, log in and create a password for the server administrator.
  8. Click “Next” and choose a name for the server.
  9. Select the SX Legacy server base.
  10. Save the file location and continue.

2.2 Creating the Server Key (Keymaster)

  1. Go to the Keymaster website.
  2. Click “Register a new server”.
  3. Enter a name for the server and the IP address (if using a VPS, use the VPS IP; otherwise, use your local computer's IP).
  4. In the server type, choose the “Other” option.
  5. Generate and copy the key.
  6. Paste the key into the appropriate field in the TXAdmin configuration.

Step 3: Database Configuration

  1. If using XAMPP, no changes to the database configuration are necessary.
  2. Click the green button to continue.

Step 4: Server File Configuration

  1. Set the server name, description, and the maximum number of players (clients).
  2. Choose the free option for up to 10 players, or purchase a subscription on the FiveM Patreon for more slots.
  3. Finalize the configuration and start the server.

Step 5: Connecting to the Server

  1. In the FiveM console, type connect localhost if hosting on your computer, or connect [VPS IP] if using a VPS.
  2. Open the firewall ports on your VPS:
    • Go to the advanced firewall settings.
    • Create new rules for TCP and UDP ports (30120).

Demonstration of the Final Result

After following all the steps, you should see the server running successfully. You can access the server in FiveM and start customizing it as desired.

Next Steps

In upcoming episodes, we will cover how to add and modify scripts, change the loading screen, and further customize the server. Leave comments on what you would like to learn so we can tailor the tutorials to your needs.

Conclusion

You have learned how to set up a FiveM server from scratch. Continue following the series to learn how to effectively customize and manage your server. Subscribe to the channel to not miss the upcoming videos!


Note: This guide is a starting point for beginners. Advanced customization and ongoing server management require additional knowledge that will be covered in future tutorials.

Comentários

Postagens mais visitadas deste blog

ADOBE Firefly AI: FULL Prompts and Features Tutorial

  Adobe's new AI image generator tool. This tool is currently in beta and you will need an invite to access it. In this video, I'll demonstrate how to request access, understand basic requests, explore different image types, styles, and additional features. Next, we'll generate some anime art, and finally, we'll try out the text effects generator. Record To use Adobe Firefly, you will need to request access. Go to firefly.adobe.com, click the "Request Access" button and enter your details. Make sure you have an Adobe ID with the same email address you used to register. In my experience, it took 4 business days to receive the invite. After receiving the invitation email, go to firefly.adobe.com and sign in with your Adobe ID. Adobe Firefly is more than just an AI image generator; is comprehensive image editing software with features like text to image generator, text effects generator, and more. You can access the community gallery to learn from other users...

ChatGPT: “Job destruction is fast and visible, creation is slow and invisible

  The phrase "job destruction is fast and visible, creation is slow and invisible" is a common sentiment among economists and policymakers. The idea behind this phrase is that when jobs are lost due to automation, globalization, or other factors, it happens quickly and is often highly visible in the news. However, when new jobs are created, it often happens slowly and is not as visible to the public. In this article, we'll discuss why this phenomenon occurs and what it means for the economy. Why is Job Destruction Fast and Visible? Job destruction happens quickly and is highly visible for a number of reasons. For one, it is often caused by large-scale changes in the economy, such as the introduction of new technology or the outsourcing of jobs to other countries. These changes can have an immediate and noticeable impact on the workforce, leading to mass layoffs or plant closures that make headlines in the news. Another reason why job destruction is fast and visible is tha...

Weather: The Science Behind Nature's Phenomenon

Weather is a natural phenomenon that has fascinated humans for centuries. It is the state of the atmosphere at a particular time and place, including temperature, humidity, wind, and precipitation. Weather affects every aspect of our lives, from what we wear to how we travel, and even our mood. The study of weather is called meteorology. Meteorologists use a variety of tools to measure and track the weather, such as thermometers, barometers, anemometers, and rain gauges. With the help of advanced technology, such as satellites and radar systems, meteorologists can make accurate predictions about the weather for days, weeks, and even months in advance. One of the key factors that influence the weather is the sun. The sun's energy drives the Earth's weather systems, creating wind, rain, and snow. The Earth's atmosphere also plays a crucial role in shaping the weather. It is made up of several layers, including the troposphere, stratosphere, mesosphere, and thermosphere. Each ...