Raised This Month: $32 Target: $400
 8% 

[ANY] User Tagging [@name](v1.2, June 28th, 2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sdz
Senior Member
Join Date: Feb 2012
Plugin ID:
5679
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Enable social media style tagging (@name) in chat, like Discord or Facebook.
    Old 06-28-2017 , 05:58   [ANY] User Tagging [@name](v1.2, June 28th, 2017)
    Reply With Quote #1

    Changelog:
    Quote:
    Version 1.2 (6/29/2017)
    • Added cvar: sm_tagging_symbol - Change the symbol to tag
      • This can be used with multiple characters or even a string, upto 8 letters.

    Version 1.1 (6/28/2017)
    • Added userid targeting
    • Added sound notification to tagged player
    • Added cvar: sm_tagging_sound - Change the sound when tagging

    Version 1.0 (6/28/2017)
    • Plugin Released
    Dependencies:
    This plugin is pretty self explanatory..
    type @name in chat, and it'll do something like so: (minus the second line.)


    Things to note: If you're an admin with at least the flag of Chat, you won't be able to start messages with a tag without modifying/unloading basechat.smx, this is a standard sourcemod plugin.

    Tested on Source 2009, not sure how it'll work on other games.

    Due to the nature of how this was made, you'll need a space after the tagging. This may be changed in future updates if demand is high enough.

    Server Variables:
    Code:
    // This file was auto-generated by SourceMod (v1.8.0.6009)
    // ConVars for plugin "user_tagging.smx"
    
    // Only admins can @tag players
    // -
    // Default: "0"
    sm_tagging_adminonly "0"
    
    // Color for the tagged player to see in the chat
    // -
    // Default: "green"
    sm_tagging_color "green"
    
    // Sound to play when tagged (omit sound/ in directory)
    // -
    // Default: "HL1/fvox/blip.wav"
    sm_tagging_sound "HL1/fvox/blip.wav"
    
    // Symbol which should be used to tag players
    // -
    // Default: "@"
    sm_tagging_symbol "@"
    Requests/Suggestions: Post here
    Attached Files
    File Type: sp Get Plugin or Get Source (user_tagging.sp - 313 views - 6.0 KB)
    File Type: smx user_tagging.smx (14.0 KB, 319 views)

    Last edited by sdz; 06-29-2017 at 08:21.
    sdz is offline
    MithatGuner
    Member
    Join Date: Sep 2016
    Location: Turkey
    Old 06-28-2017 , 07:03   Re: [ANY] User Tagging [@name](v1.0, June 28th, 2017)
    Reply With Quote #2

    Nice idea, thanks.
    MithatGuner is offline
    cigzag
    AlliedModders Donor
    Join Date: Nov 2014
    Location: NZ
    Old 06-28-2017 , 18:10   Re: [ANY] User Tagging [@name](v1.0, June 28th, 2017)
    Reply With Quote #3

    This is cool, I like it

    Last edited by cigzag; 06-28-2017 at 18:11.
    cigzag is offline
    ichiballs
    Member
    Join Date: Oct 2016
    Old 06-28-2017 , 18:28   Re: [ANY] User Tagging [@name](v1.0, June 28th, 2017)
    Reply With Quote #4

    it would be smart adding options to change the sign(in this case @) to something user would prefer, cause a lot of people use commands with @ for grouping like @dead, @alive, @ct,... and if someone with name alive would appear on the server, that could be a problem.
    ichiballs is offline
    sdz
    Senior Member
    Join Date: Feb 2012
    Old 06-29-2017 , 08:12   Re: [ANY] User Tagging [@name](v1.0, June 28th, 2017)
    Reply With Quote #5

    Quote:
    Originally Posted by ichiballs View Post
    it would be smart adding options to change the sign(in this case @) to something user would prefer, cause a lot of people use commands with @ for grouping like @dead, @alive, @ct,... and if someone with name alive would appear on the server, that could be a problem.
    Added and uploaded, v1.2.
    Thanks for the suggestion
    sdz is offline
    lugui
    Senior Member
    Join Date: Feb 2016
    Location: GetClientAbsOrigin();
    Old 07-21-2017 , 15:50   Re: [ANY] User Tagging [@name](v1.2, June 28th, 2017)
    Reply With Quote #6

    Is it possible to not conflict whith CustomChatColors?
    lugui is offline
    sdz
    Senior Member
    Join Date: Feb 2012
    Old 10-02-2017 , 10:41   Re: [ANY] User Tagging [@name](v1.2, June 28th, 2017)
    Reply With Quote #7

    Quote:
    Originally Posted by lugui View Post
    Is it possible to not conflict whith CustomChatColors?
    I could attempt to make a version that doesn't conflict at some point in the future
    sdz is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:05.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode