FiveM Server Quick Setup

Hey FiveM Community,

We all know how time-consuming it can be to set up new workspaces for FiveM servers, so I decided to build something that makes it easier—my first Python script! :rocket:

This script automates everything needed to get a new FiveM server up and running quickly. Here’s what it handles:

  • Cross-platform compatibility: Works on both Linux and Windows, with platform-specific adjustments (like using unzip on Linux or 7-Zip on Windows).
  • Automatic server setup: Downloads and extracts the latest FiveM server artifacts and sets up the cfx-server-data folder.
  • Effortless server.cfg generation: Just input details like server name, port, license key, and database info, and the script will create a fully-configured server.cfg file for you.
  • Database integration: Option to configure MySQL/MariaDB settings automatically for seamless database connection.
  • Resource folder setup: Prepares the resources folder so you can start adding custom scripts or mods immediately.

No more manually configuring files or worrying about missing steps—this script takes care of it all. It’s my first script, so I’d love to hear your feedback and suggestions to make it even better!

Give it a try and let me know what you think. :bulb:

Do not hesitate to improve the script through pull requests or motivate me with some stars. :star2:

Thanks for checking it out!

5 Likes

I don’t want to sound rude but why would anyone use this instead of txAdmin?

Hey !

You’re right, I added an option to complete the setup through TxAdmin, but it still helps to :

  • Download automatically the artifact, delete archive and unzip
  • Open your network ports
  • Helps or create a database for your server

You can still complete the setup with Tx for even faster setup, but we use this on our project and everyone is happy with it.

PS : This script is very useful when used on a existing FiveM Server Github project because you can avoid pushing the artifacts and configuration files from FiveM while keeping your own server architecture.

Thanks for the feedback,
Zoooral.

nice release brozer

Ty, appreciate it mate !

You can still complete the setup with Tx for even faster setup,

so what is the point?

the only benifit this provides over what already comes with the server, is opening the ports, which is super simple anyway

PS : This script is very useful when used on a existing FiveM Server Github project because you can avoid pushing the artifacts and configuration files from FiveM while keeping your own server architecture.

This also makes 0 sense.

This also doesnt have the validation to make sure you enter valid details, or the ablity to go back and change something, so… yeah

Like I said, the point is to have a very fast setup when you have recurrent setup to do. This might be “useless” if you setup a server every year.

With this you don’t have to download, unzip, configurate, and then launch the executor.

Also, avoid telling to anyone that what they did is useless if it has a purpose, I learned some new concepts through this very small project.

Thanks for the feedback,
Zoooral.

Nice suggestion, i’ll add this when I have some time.

Indeed, your just blinding installing the latest, which is a very bad idea, considering Cfx break things, very often and they do not remove builds that break, doing this on linux espically , is not a good idea.

Also:

his might be “useless” if you setup a server every year.

I install a server atleast once per week, its literally 3 clicks to download, and 6 clicks to install, it already is as simple and easy as it gets. Hell once you know what your doing, you can install a cfx default server within 2 minutes, so I dont really see the point in this at all

What would you recommend instead of dowloading the very latest ?
As the recommended one is very old ?

Also, you might be experimented with FiveM, this script is also intended to try to help newcomers to start their FiveM Development Server.

Finally like I said, the main objective was to learn some python. I wanted to share this script and if it can help at least one person, I would be happy :slight_smile:

What would you recommend instead of dowloading the very latest ?

Latest is usually fine, however automatically assuming its fine isnt.

this script is also intended to try to help newcomers to start

The fact it requires knowledge on setting up python and Git correctly, goes completely agianst that

You have some good points, i’ll try to look towards upgrading the system to be more user friendly and auto install required tools.

What would the script need for you to use it?