Artifacts pro FiveM server
Jaký build FXServeru máš spustit? Doporučený artifact, každý build se známými problémy a přímé odkazy ke stažení pro Windows a Linux.
Data o artifacts z open source projektuFiveM Artifacts DB od JG Scripts. Seznam buildů z GitHub tagů citizenfx/fivem.
Použij data ve vlastních nástrojích
Bez klíče, bez registrace, CORS povolený. Základní URL https://artifacts.jgscripts.com
Doporučený artifact, odkazy ke stažení pro Windows a Linux a každý známý rozbitý artifact.
{
"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…" }
]
}Zkontroluje jedno číslo artifactu. Vrátí OK, nebo BROKEN i s důvodem.
{ "status": "BROKEN", "reason": "voip-server-mumble.dll server crash (citizenfx/fivem#3054)" }Nech server, ať se zkontroluje sám
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.
Aktualizace artifacts
Zastav server, nahraď obsah složky s artifacts (ne server-data) novým stažením a spusť ho znovu. Návod na aktualizaci výše tě tím provede krok za krokem.
Našel jsi rozbitý build?
Napiš nám na Discord a varování uvidí každý majitel serveru.
-- 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)