Saltar al contenido

Artifacts de servidor FiveM

¿Qué build de FXServer deberías usar? El artifact recomendado, todos los builds con problemas conocidos y descargas directas para Windows y Linux.

Recommended artifact

How the recommendation works

A new artifact is not recommended straight away. It waits a short period so server owners have time to report problems. The recommended artifact is the newest one that has cleared that window with no reported issues.

No reported issues

Datos de artifacts del proyecto open sourceFiveM Artifacts DB de JG Scripts. Lista de builds sacada de los tags de GitHub de citizenfx/fivem.

API JSON gratis

Usa los datos en tus propias herramientas

Sin key, sin registro, con CORS activado. URL base https://artifacts.jgscripts.com

Artifact recomendado, enlaces de descarga para Windows y Linux y todos los artifacts rotos conocidos.

{
  "recommendedArtifact": "35945",
  "windowsDownloadLink": "https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/35945-…/server.zip",
  "linuxDownloadLink": "https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/35945-…/fx.tar.xz",
  "brokenArtifacts": [
    { "artifact": "12078-12083", "reason": "Some clients will fail to connect…" }
  ]
}

Comprueba un número de artifact. Devuelve OK, o BROKEN con el motivo.

{ "status": "BROKEN", "reason": "voip-server-mumble.dll server crash (citizenfx/fivem#3054)" }
Autochequeo

Deja que tu servidor se compruebe solo

Drop this into any server script. On start it reads the running build from the version convar, asks the API about it and prints a warning in the console if the build has known issues.

Actualizar artifacts

Para el servidor, reemplaza el contenido de tu carpeta de artifacts (no tu server-data) con la nueva descarga y vuelve a arrancarlo. La guía de actualización de arriba lo explica paso a paso.

¿Encontraste un build roto?

Repórtalo en el formulario de reporte o abre una issue en GitHub para avisar a todos los dueños de servidores.

server/artifact_check.lua
-- server.lua: warn in the console when this server runs a broken artifact.
CreateThread(function()
    local build = GetConvar('version', ''):match('v1%.0%.0%.(%d+)')
    if not build then return end

    PerformHttpRequest('https://artifacts.jgscripts.com/check?artifact=' .. build, function(code, body)
        if code ~= 200 or not body then return end
        local data = json.decode(body)
        if data and data.status == 'BROKEN' then
            print(('^1[artifacts] Build %s has known issues: %s^0'):format(build, data.reason or 'unknown'))
            print('^3[artifacts] Recommended build: https://fivemad.com/artifacts^0')
        else
            print(('^2[artifacts] Build %s has no reported issues.^0'):format(build))
        end
    end, 'GET')
end)