New plugin not showing steam's profile pictureSolved

Hi there!

I'm working on a plugin that sends in-game chat messages, and it's almost complete. However, I'm running into an issue where the plugin doesn't display the Steam profile picture. Instead of showing the Steam avatar, it defaults to the Rust icon.

Methods I've Tried:

  • SendConsoleCommand("chat.add", SteamId, Prefix, Message)
  • SendConsoleCommand("chat.add2", SteamId, Prefix, Message)
  • BasePlayer.ConsoleMessage
  • IPlayer.Message

Steam Profile Details:

  • The Steam account I'm using is public.
  • The avatar displays correctly in the browser without any issues.

Other Notes:

  • The server has no problem displaying other players' Steam profile pictures in chat.
  • I also tried hardcoding the avatar URL directly into the plugin, but this didn't impact the in-game display.

Does anyone know why this might be happening or have suggestions for other methods to try? Any guidance would be greatly appreciated!

Nice! I was able to implement their logic into my plugin. Now looks way better. Thanks for the tip!