Steam name and avatar not showing
Instead of “Welcome, Alex” it only says “Player” or shows an empty image. Here is how to find the cause.
In short
The address in server.cfg must contain steamid=%s. Only then does Garry's Mod pass the player's SteamID, and the loading screen can look up the name and profile picture on Steam.
%s is missing from the address
If the line was shortened or rewritten by hand, the &steamid=%s part is often missing. Copy the line again from the generator and replace the old one.
sv_loadingurl "https://tools.nexthosting.app/loadingscreen.php?s=DEINCODE&steamid=%s&mapname=%m"You are testing in the browser
No player connects in a browser, so there is no SteamID. The preview therefore shows an example name. You only see the real name when connecting in the game.
Steam isn't responding right now
If the lookup fails, the loading screen shows “Player” and a neutral image. This does not hold up the loading of the game. It usually works again the next time you connect.
The name is out of date
Name and picture are cached for up to 24 hours so that Steam isn't queried on every connection. A name change therefore shows up with a delay.
For custom loading screens
If you build the page yourself, you get the SteamID through %s in the address or as the fifth value of GameDetails. The name and picture come from the Steam Web API. The API key belongs on your server, never in the page's JavaScript, because every player could read it out otherwise.
Frequently asked questions
Are private profiles shown too?
Yes. Display name and profile picture are always public on Steam, even if the rest of the profile is private.
Does the generator store player data?
Only the name and picture of a profile, for 24 hours at most. No list of players is created.
A finished loading screen without writing HTML
The generator builds the page and the line for your server.cfg, and takes care of progress, music and the Steam name. You pick a design and enter your texts.
Free. Sign in with your Nexthosting account; creating one costs nothing.