Raised This Month: $7 Target: $400
 1% 

[CS:S/CS:GO] Chat/Scoreboard Tag Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
WatchDogs
Senior Member
Join Date: Oct 2015
Location: Iran
Plugin ID:
5732
Plugin Version:
1.6.0
Plugin Category:
All
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
An advanced tag menu with scoreboard and chat support for players
Old 07-24-2017 , 07:43   [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #1

Chat/Scoreboard Tag Menu
Version: 1.6.0 SCP/CP



Note:

Hi, I saw some other plugins on the forum like this but they weren't what some people want.
So I wrote this plugin from Original Idea By trzmielu.
Also a special thanks to Mayor Gamer for his Set Tag plugin for config file and comments.


Description:

This plugin creates a tag menu that loaded from a config file located in configs/tagmenu.cfg.
Which makes players able to choose their scoreboard and chat tag from the menu and save it for them by SteamID (clientprefs).


Required:

SourceMod 1.7 or higher
MultiColors
for chat colors (Just needed for compile)
Simple Chat Processor Redux OR Chat Processor
(Included in attachments - Optional, for chat tag usage)


ConVars:

sm_tagmenu_enable "1" - "Enable / Disable tag menu"
sm_tagmenu_antispam "3" - "Max chat messages for flood detection (0 = Disabled)" - (Removed In 1.6.0)
sm_tagmenu_antispam_time "2.0" - "The time in seconds to -1 every client spam value" - (Removed In 1.6.0)


Commands:

sm_tag | !tag - "Opens tag menu"
sm_tags | !tags - "Opens tag menu"
sm_tagmenu | !tagmenu - "Opens tag menu"
sm_reloadtags - "Reloads tags from config file (Admin flag generic)"


Config:

Here is an example of config file so you can add up to 100 tags in file:
PHP Code:
"TagMenu"        // Main key. Don't change it.
{
    
"1"        // Indexes. They must be in order from 1 and on. Maximum is 100.
    
{
        
"tag"                "[Pro-Player]"        // "tag" is identifier. Don't change it. Change the next string like "[Pro-Player]".
        
"flag"                "b"                 // "flag" is identifier. Don't change it. Set a flag for tag access (empty = everyone)
        
"steamid"            "STEAM_XX"            // "steamid" is identifier. Only if "flag" was empty plugin uses this. Make tag special for a steamid only.
        
"tag_color"            "{green}"            // "tag_color" is identifier. Set client chat tag color. (Default is "{default}")
        
"name_color"        "{teamcolor}"        // "name_color" is identifier. Set client chat name color. (Default is "{teamcolor}")
        
"text_color"        "{default}"            // "text_color" is identifier. Set client chat text color. (Default is "{default}")
        
"mode"                "both"                // "mode" is identifier. Set tag mode (valid values are: "both" - "scoreboard" - "chat", Default is "both")
    
}
    
"2"
    
{
        
"tag"                "[Noob]"
        "flag"                ""
        "tag_color"            "{green}"
        "name_color"        "{teamcolor}"
        "text_color"        "{purple}"
        "mode"                "chat"
    
}
    
"3"
    
{
        
"tag"                "[Expert]"
        "flag"                "a"
        "mode"                "scoreboard"
    
}
    
"4"
    
{
        
"tag"                "[Owner]"
        "steamid"            "STEAM_0:1:123456789"
        "mode"                "both"
    
}

Note: Chat colors are supported with MultiColors.

Note 2: I highly recommend you to use the newest version with scp support because the old version may not compatible with other plugins.

Note 3: If you are upgrading the plugin please replace all of the files (except config file) and restart your server. (Some changes in translations made)


Change Log:


1.2.0 - Initial release

1.2.1 - Fixed chat colors (Plugin now uses Multi Colors)

1.2.2 - Fixed printing quotes with player chat

1.3.0 - Fixed chat tag bugs & menu empty item

1.3.1 - Fixed another known bug and added some chat messages.

1.3.2 - Fixed scoreboard tag problem

1.4.0 - Added steam id support, Added translation file (Need someone to translate from English) & Fixed some bugs

1.5.0 - Fixed some chat bugs, Fixed translation file and added users languages (Thanks to all translators), Added chat anti-spam feature (with new cvars), Added gag & silence check for chat, Fixed empty chat messages, Added a cfg file (cfg/sourcemod/TagMenu.cfg), Some code improvements

1.6.0 - Changed the chat handler from plugin to SCP (Simple Chat Processor) or CP (Chat Processor). Use which you prefer. Now all chat bugs are fixed. Removed anti-spam cvars and cfg file because not needed anymore.
Attached Files
File Type: zip TagMenu 1.5.0.zip (43.2 KB, 2914 views)
File Type: zip TagMenu 1.6.0 + SCP 2.0.2.zip (62.2 KB, 3659 views)
File Type: zip Tag Menu 1.6.0 - Chat Processor.zip (178.0 KB, 4873 views)

Last edited by WatchDogs; 12-27-2018 at 13:21.
WatchDogs is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 07-24-2017 , 07:48   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #2

Thanks for sharing dude

And I have an idea for this plugin. You can add SteamID. If dont put flag (so flag is empty), tags working with SteamID.
__________________

Last edited by vortex.; 07-24-2017 at 07:50.
vortex. is offline
WatchDogs
Senior Member
Join Date: Oct 2015
Location: Iran
Old 07-24-2017 , 07:56   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #3

Thanks ;),

Good idea, Working on it
WatchDogs is offline
Wacci
AlliedModders Donor
Join Date: May 2017
Location: Hungary
Old 07-24-2017 , 10:35   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #4

I do not want to say it does not work.
But unfortunately, I am now problematic.


Can you tell me what's the problem ?

https://pastebin.com/5ttRc8qy
Wacci is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 07-24-2017 , 11:16   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #5

Umm, I think; You can not color codes in chat. Try include colors like this: {green}
__________________
vortex. is offline
Wacci
AlliedModders Donor
Join Date: May 2017
Location: Hungary
Old 07-24-2017 , 11:29   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #6

Did you watch my pastebin link ?

Sasuke used [Admin] Tag with green on this picture, but it didn't work.
Wacci is offline
WatchDogs
Senior Member
Join Date: Oct 2015
Location: Iran
Old 07-24-2017 , 11:38   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #7

Thanks for reporting and testing.

Fixed the problems, It was because of More Colors only supports 2009 source games so I didn't read that before.

Now it's fixed in update: 1.2.1

Last edited by WatchDogs; 07-24-2017 at 11:38.
WatchDogs is offline
vortex.
AlliedModders Donor
Join Date: Jan 2017
Location: OnGameFrame()
Old 07-24-2017 , 11:42   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #8

Quote:
Originally Posted by Wacci View Post
Did you watch my pastebin link ?

Sasuke used [Admin] Tag with green on this picture, but it didn't work.
Sorry, I didnt see
__________________
vortex. is offline
Wacci
AlliedModders Donor
Join Date: May 2017
Location: Hungary
Old 07-24-2017 , 12:11   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #9

It's better previous version. (Colors working)

But still one more blank option in menu.
{team} word in chat, and quotations everywhere.

Wacci is offline
WatchDogs
Senior Member
Join Date: Oct 2015
Location: Iran
Old 07-24-2017 , 12:37   Re: [CS:S/CS:GO] Chat/Scoreboard Tag Menu
Reply With Quote #10

Yes you are right, Sorry I did some mistakes in chat tag.


Updated to 1.3.0 | Fixed chat bugs and colors


EDIT: Now download the latest version I also fixed the empty item.

Last edited by WatchDogs; 07-24-2017 at 12:43. Reason: Uploaded a new version a second ago
WatchDogs 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:51.


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