|
| 1 | +--- |
| 2 | +title: it-scripts - How to update my server |
| 3 | +description: Here’s a step-by-step guide to updating your server. |
| 4 | +--- |
| 5 | + |
| 6 | +import { Steps } from 'nextra/components' |
| 7 | + |
| 8 | +# How to update my server |
| 9 | +To ensure your FiveM server runs smoothly and avoids critical issues, it’s essential to keep your framework, artifacts, and gamebuild up to date. Here's a detailed guide: |
| 10 | + |
| 11 | +<Steps> |
| 12 | +### Framework |
| 13 | +Your server framework is the most important thing, we will always recommend the great ESX, but here is a small guide on how to update it correctly. |
| 14 | + |
| 15 | +### Artifacts |
| 16 | +Artifacts are everything on our server, they are the brain of it. |
| 17 | + |
| 18 | +### Gamebuild |
| 19 | +The gamebuild is the version of the game or DLC that we will run, we always recommend the latest version. |
| 20 | + |
| 21 | +</Steps> |
| 22 | + |
| 23 | +## Framework Update |
| 24 | +Updating your framework is a crucial step before proceeding with artifacts and gamebuild updates. Follow these steps carefully: |
| 25 | + |
| 26 | +<Steps> |
| 27 | +### Download the Official Framework |
| 28 | +- For **es_extebded (ESX)**, visit the official [**ESX GitHub repository**]() |
| 29 | +- For **QBCore**, visit the official [**QBCore GitHub repository**]() |
| 30 | +- For **Obox Framework**, visit the official [**Obox GitHub repository**]() |
| 31 | +- For **ND_Core**, visit the official [**ND_Core GitHub repository**]() |
| 32 | + |
| 33 | +### Replace Your Current Framework Folder |
| 34 | +Completely remove your existing framework folder and replace it with the latest version from GitHub. Avoid merging files as this may cause unexpected issues. |
| 35 | + |
| 36 | +### Do Not Rename the Framework Folder |
| 37 | +Keep the folder name exactly as provided by the official repository (e.g., qb-core or es_extended). |
| 38 | +Renaming it can lead to severe compatibility problems with scripts, as they rely on specific folder names for proper integration. |
| 39 | +Renaming your framework does not make it "custom"—it makes it dysfunctional. |
| 40 | + |
| 41 | +</Steps> |
| 42 | + |
| 43 | +### Update Artifacts |
| 44 | +Artifacts are the core files needed to run your server. Keeping them updated is essential for compatibility with the latest FiveM features. |
| 45 | + |
| 46 | +<Steps> |
| 47 | + |
| 48 | +### Remove Old Artifacts |
| 49 | +Delete the current `artifacts` folder from your server directory. This ensures that no outdated files remain that could cause conflicts. |
| 50 | + |
| 51 | +### Download Latest Artifacts |
| 52 | +Get the latest version of artifacts for your operating system from the official FiveM links: |
| 53 | +- [Windows Artifacts](https://runtime.fivem.net/artifacts/fivem/build_proot_win64/master/) |
| 54 | +- [Linux Artifacts](https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/) |
| 55 | + |
| 56 | +### Extract and Replace |
| 57 | +Extract the downloaded artifacts and replace your old artifacts folder completely. |
| 58 | + |
| 59 | +</Steps> |
| 60 | + |
| 61 | +## Update Gamebuild |
| 62 | +Updating the gamebuild is the final step in ensuring your server is running the latest version of FiveM. Follow these steps: |
| 63 | + |
| 64 | +<Steps> |
| 65 | +### Open Your server.cfg File |
| 66 | +Find the `server.cfg` file in your server directory. This file contains all the configuration settings for your server. |
| 67 | + |
| 68 | +### Edit Your Server Configuration |
| 69 | +Open the `server.cfg` file in a text editor and locate the line that specifies the gamebuild. It should look something like this: |
| 70 | +```plaintext |
| 71 | +set sv_enforceGameBuild "3258" |
| 72 | +``` |
| 73 | + |
| 74 | +Replace the number with the latest gamebuild version. You can find the latest gamebuild version on the official [FiveM website](https://runtime.fivem.net/artifacts/fivem/build_proot_win64/master/). |
| 75 | + |
| 76 | +</Steps> |
| 77 | + |
| 78 | +## Why Is This Important? |
| 79 | +- Keeping your framework, artifacts, and gamebuild updated ensures your server is compatible with the latest scripts and features. |
| 80 | +- Not updating can lead to crashes, bugs, or incomplete functionality. |
| 81 | +- Avoid renaming folders or using unofficial versions of frameworks, as this often causes critical errors. |
| 82 | + |
| 83 | +By following these steps, you ensure a stable, well-functioning server that minimizes common issues. |
0 commit comments