Artifacts de servidor FiveM
Qual build do FXServer usar? O artifact recomendado, todas as builds com problema conhecido e downloads diretos para Windows e Linux.
Dados de artifacts do projeto open sourceFiveM Artifacts DB da JG Scripts. Lista de builds pelas tags do citizenfx/fivem no GitHub.
Use os dados nas suas próprias ferramentas
Sem chave, sem cadastro, com CORS liberado. URL base https://artifacts.jgscripts.com
Artifact recomendado, links de download para Windows e Linux e todos os artifacts com problema conhecido.
{
"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…" }
]
}Verifica um número de artifact. Retorna OK, ou BROKEN com o motivo.
{ "status": "BROKEN", "reason": "voip-server-mumble.dll server crash (citizenfx/fivem#3054)" }Deixe o servidor se checar sozinho
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.
Atualizando artifacts
Pare o servidor, troque o conteúdo da pasta de artifacts (não a server-data) pelo novo download e inicie de novo. O guia de atualização acima mostra passo a passo.
Achou uma build ruim?
Reporte no formulário de report ou abra uma issue no GitHub para que todo dono de servidor fique sabendo.
-- 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)