View Single Post
Plugin Info:     Modification:          Category:         
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 03-19-2023 , 23:33   Steam Community Name
Reply With Quote #1

  • Description
    This plugin will override your name to steam community name
  • Cvars
    steam_api_key - mandatory for using the steam api
    - https://steamcommunity.com/dev/apikey
  • Modules
    If you're using async gRIP you need its module.
    Get it here https://github.com/In-line/grip
  • Install
    1. Compile on AMXX 1.9 and later
    2. Drag steam_community_name.sma to amxmodx/scripting folder
    3. Drag steam_community_name.amxx to amxmodx/plugins folder
    4. Type steam_community_name.amxx in amxmodx/configs/plugins.ini file
    5. Type steam_api_key "<API_KEY>" in amxmodx/configs/amxx.cfg file
  • Credits
    ConnorMcLeod - block name change
    VEN - dead name change
    swank - obtain steam64 from steamid
    Shadows Adi - only standard ascii characters in name
    (detailed credits inside script file)
  • Beware
    This plugin will collide with other plugins that may change player's name and the functionality and output may not be as expected.
  • Additional information
    Due to the rules of json formatting, using certain characters in a name is not possible as it would cause the json limitations to be exceeded, therefore they are replaced with random numbers. If the json name is left blank, it will automatically be assigned 8 random digits(not sure how).
    The removal of the characters [ and ] was a main reason for this to function seamlessly, as there was no other way around.
Attached Files
File Type: sma Get Plugin or Get Source (steam_community_name.sma - 146 views - 3.7 KB)
File Type: sma Get Plugin or Get Source (steam_community_name_grip.sma - 91 views - 3.6 KB)
__________________

Last edited by bigdaddy424; 03-21-2023 at 15:59.
bigdaddy424 is offline