İçeriğe geç

FiveM Sunucu Artifact'ları

Hangi FXServer build'ini kullanmalısın? Önerilen artifact, sorunlu olduğu bilinen tüm build'ler ve Windows ile Linux için doğrudan indirmeler.

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

Artifact verileri, JG Scripts'in açık kaynakFiveM Artifacts DB projesinden. Build listesi citizenfx/fivem GitHub tag'lerinden.

Ücretsiz JSON API

Verileri kendi araçlarında kullan

Key yok, kayıt yok, CORS açık. Base URL https://artifacts.jgscripts.com

Önerilen artifact, Windows ve Linux indirme linkleri ve bilinen tüm bozuk artifact'lar.

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

Tek bir artifact numarasını kontrol et. OK ya da nedeniyle birlikte BROKEN döner.

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

Sunucun kendini kontrol etsin

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.

Artifact güncelleme

Sunucuyu durdur, artifacts klasörünün içeriğini (server-data'yı değil) yeni indirdiğinle değiştir, sonra tekrar başlat. Yukarıdaki güncelleme rehberi bunu adım adım anlatıyor.

Sorunlu bir build mi buldun?

Bildirmek için bildirim formunu kullan ya da GitHub'da issue aç, böylece tüm sunucu sahipleri uyarılsın.

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)