View Single Post
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 11-01-2019 , 14:59   Re: MatterAMXX
Reply With Quote #4

Based on feedback a new version was released:
  • 1.1
    • Join and Quit messages will only be sent after the user has actually joined the server (putinserver). This will prevent Join/Leave spam.
    • Added new console variable: amx_matter_system_avatar
      • Url poiting to a picture that will be used as avatar image in system messages. (In protocols that support it)
    • Added new console variable: amx_matter_player_avatar
      • Url poiting to a picture that will be used as avatar image in player messages. (In protocols that support it).
      • Note that this is dynamic based on the user's Steam ID64, if it can't be retrieved the message won't have any avatar.
    • Added new console variable: amx_matter_bridge_outgoing_strip_colors
      • Strip color codes from player names.
      • It will only affect Half-Life and Adrenaline Gamer.
    • Added new console variable: amx_matter_bridge_outgoing_chat_no_repeat
      • Implement basic anti-spam filter. Useful for preventing taunt binds from sending multiple times.
    • Minor code cleanup

It's now possible to set up avatars for each user on protocols that support it. Unfortunately, due to limitations of AMXX and the GRIP module, user info from the Steam API can't be retrieved because it gets truncated.

However, you can host this simple PHP script to query for avatars to be used in this plugin, you just need a Steam API Key that you can obtain from the Steam Web API website.

Visit https://pastebin.com/p9aBm1pS to get the script (Because CloudFlare is blocking the script from being posted here)

This will also cache each avatar and they will be deleted after a while.

Remember to create the /avatars folder! The script won't do it for you.
__________________

Last edited by gabuch2; 11-08-2019 at 13:22.
gabuch2 is offline