Gmod loadingurl show avatar and username

Hello, I have a gmod 13 dedicated server, and I’m wondering if it’s at all possible to use PHP to get and echo the current username of the client connecting, as well as showing their avatar on the loading screen? I’ve seen it on other servers, such as resonancegaming’s deathrun server.

I’ve also read the documentation on the steam website regarding the Steam Web API, but i’m unable to make sense of the avatar and username segments. I also know HTML, CSS, and some PHP (doubt that’s important, but oh well.)

bump

What exactly aren’t you getting?

How to use the Steam API, or just specifically how to retrieve the Avatar Image, and their Steam Username?

Their avatar and steam username in particular

bump

You can get their community ID when they connect and then using the Steam API to get name and avatar.