FiveM servers used to need a Steam Web API Key when scripts and resources used Steam as an identifier. Since November 4, 2026, steam_webApiKey has had no effect. Instead, use sv_enforceSteamAuth to require players to have a Steam account linked to their Cfx.re account. This guide shows you how to set it up.
Open your server.cfg, for example through the txAdmin interface under CFG Editor or in the Files tab, and add this line:
set sv_enforceSteamAuth true
You need FXServer Build 38004 or later. You can choose the version your server starts with in the FXServer version card in the Configuration tab. When players without a linked Steam account connect, they’ll be prompted to link their Steam account to their Cfx.re account. Afterward, they’ll have a steam: identifier that your scripts and resources can use.
You can leave an existing set steam_webApiKey line in place; it no longer has any effect. However, some older resources won’t start if the value is empty. Update those resources before removing the line.
