Przejdź do treści

Artifacts serwera FiveM

Jaki build FXServera odpalić? Polecany artifact, wszystkie buildy ze znanymi błędami i bezpośrednie linki na Windows i 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

Dane o artifactach z otwartoźródłowego projektuFiveM Artifacts DB od JG Scripts. Lista buildów z tagów citizenfx/fivem na GitHubie.

Darmowe API JSON

Użyj tych danych we własnych narzędziach

Bez klucza, bez rejestracji, z włączonym CORS. Bazowy URL https://artifacts.jgscripts.com

Polecany artifact, linki do pobrania na Windows i Linux oraz wszystkie znane zepsute artifacty.

{
  "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…" }
  ]
}

Sprawdza jeden numer artifactu. Zwraca OK albo BROKEN z powodem.

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

Niech serwer sprawdza się sam

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.

Aktualizacja artifactów

Zatrzymaj serwer, podmień zawartość folderu z artifactami (nie server-data) na nowo pobrane pliki i uruchom go ponownie. Poradnik aktualizacji powyżej prowadzi krok po kroku.

Trafiłeś na zły build?

Napisz nam przez Discord i ostrzeżemy każdego właściciela serwera.

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)