Raised This Month: $12 Target: $400
 3% 

[CS GO] Clear Chat for Staff


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Lantejoula
Senior Member
Join Date: Mar 2021
Location: Portugal
Plugin ID:
7586
Plugin Version:
1.6
Plugin Category:
Admin Commands
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    [CS GO] Clear Chat with Command for STAFF
    Old 04-02-2021 , 22:49   [CS GO] Clear Chat for Staff
    Reply With Quote #1

    [CS GO] Clear Chat for STAFF

    Description

    Clear Chat with Command for STAFF (Print Screen below)

    You can change the messages and the tag in translations and you can disable the messages in the cfg


    Commands that Clear Chat

    • !clear
    • !clearchat
    • !cc


    ConVars

    • sm_clearchat_message - Enable/Disable the Message when STAFF Clear Chat (1 - Enable | 0 - Disable)
    • sm_clearchat_join_message - Enable/Disable the Message when STAFF Join (1 - Enable | 0 - Disable)
    • sm_clearchat_chat_prefix - Chat Prefix

    Changelog

    07-09-2021 (v1.6)

    • BUG: Admin Menu - Compatibility with other my plugins
    • Change Default ConVars Values

    25-06-2021 (v1.5)

    • New ConVar Chat_Prefix: Change Prefix for Cfg and Remove Prefix from Translations
    • Improving and Fix Bug on Translations with Languages

    20-04-2021 (v1.4) - Requested by people that use the plugin

    • Added Clear Chat on Admin Menu (!admin). See PrintScreen Bellow

    08-04-2021 (v1.3)

    • Added ConVar for Disable the Chat Cleaner Message

    06-04-2021 (v1.2) - Requested by people that use the plugin

    • Added Auto Message for Only Staff - Can edit the message in Translations
    • Added ConVar to remove the Auto Message
    • Improving the Translations

    04-04-2021 (v1.1)

    • Improving Translations
    • Added 2 PrintScreens

    03-04-2021 (v1.0)

    • Initial release.

    Plugin tested in CSGO with:

    Sourcemod 1.10
    Metamod:Source 1.10


    Instalation

    • Upload the files (.smx for plugins folders and .txt for translations folder)
    • Restart your Server or Change the Map
    • [Optional] Configure the file cfg (csgo/cfg/sourcemod/.cfg)


    Print Screens

    English Print Screen (CHAT)
    Portuguese Print Screen (CHAT)
    Admin Menu


    Attached Files
    File Type: zip Clear Chat for Staff_1.3.zip (43.3 KB, 152 views)
    File Type: zip Clear Chat for Staff 1.4.zip (44.9 KB, 209 views)
    File Type: zip Clear Chat for Staff 1.5.zip (42.2 KB, 176 views)
    File Type: zip Clear Chat for Staff 1.6.zip (42.3 KB, 363 views)
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!

    Last edited by Lantejoula; 09-07-2021 at 15:20.
    Lantejoula is offline
    SmokieCS
    AlliedModders Donor
    Join Date: Nov 2019
    Location: Denmark
    Old 04-03-2021 , 02:05   Re: [CS GO] Clear Chat
    Reply With Quote #2

    Nice one!

    Will test it out a bit later, and give some feedback.
    SmokieCS is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 04-03-2021 , 21:44   Re: [CS GO] Clear Chat
    Reply With Quote #3

    Changelog

    04-04-2021 (v1.0)

    • Improving Translations
    • Added 2 PrintScreens
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!
    Lantejoula is offline
    SmokieCS
    AlliedModders Donor
    Join Date: Nov 2019
    Location: Denmark
    Old 04-04-2021 , 01:25   Re: [CS GO] Clear Chat
    Reply With Quote #4

    Getting an error when trying to compile the plugin.

    Code:
    Plugin failed to compile! Please try contacting the author.
    SourcePawn Compiler 1.10.0.6453
    Copyright (c) 1997-2006 ITB CompuPhase
    Copyright (c) 2004-2018 AlliedModders LLC
    
    188547.attach(9) : fatal error 183: cannot read from file: "multicolors"
    
    Compilation aborted.
    1 Error.
    __________________
    Server Manager & Chairman of the Board - https://esportharte.dk/
    Freelance Server Support
    Former Co-Owner - https://tfrag.dk/
    SmokieCS is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 04-04-2021 , 19:44   Re: [CS GO] Clear Chat
    Reply With Quote #5

    Quote:
    Originally Posted by SmokieCS View Post
    Getting an error when trying to compile the plugin.

    Code:
    Plugin failed to compile! Please try contacting the author.
    SourcePawn Compiler 1.10.0.6453
    Copyright (c) 1997-2006 ITB CompuPhase
    Copyright (c) 2004-2018 AlliedModders LLC
    
    188547.attach(9) : fatal error 183: cannot read from file: "multicolors"
    
    Compilation aborted.
    1 Error.
    You need multicolors include!
    Download below

    If you have any more problems, let me know!
    Attached Files
    File Type: inc multicolors.inc (10.4 KB, 134 views)
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!
    Lantejoula is offline
    SmokieCS
    AlliedModders Donor
    Join Date: Nov 2019
    Location: Denmark
    Old 04-05-2021 , 06:08   Re: [CS GO] Clear Chat
    Reply With Quote #6

    Quote:
    Originally Posted by Lantejoula View Post
    You need multicolors include!
    Download below

    If you have any more problems, let me know!
    I could see that, but if you could include in the first post, so when people press the "Get Plugin" it will compile correctly for them. Otherwise it will show this error every time.
    __________________
    Server Manager & Chairman of the Board - https://esportharte.dk/
    Freelance Server Support
    Former Co-Owner - https://tfrag.dk/
    SmokieCS is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 04-05-2021 , 06:24   Re: [CS GO] Clear Chat
    Reply With Quote #7

    Quote:
    Originally Posted by SmokieCS View Post
    I could see that, but if you could include in the first post, so when people press the "Get Plugin" it will compile correctly for them. Otherwise it will show this error every time.
    I already put the include and continues to give the same problem!
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!
    Lantejoula is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 04-05-2021 , 07:38   Re: [CS GO] Bate-papo claro
    Reply With Quote #8

    Search "multicolors include" on google and download all files
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    PyNiO
    Junior Member
    Join Date: Feb 2017
    Old 04-06-2021 , 15:57   Re: [CS GO] Clear Chat for Staff
    Reply With Quote #9

    Polish translations for you
    Attached Files
    File Type: txt clearchatforstaff.phrases.txt (1.3 KB, 131 views)
    PyNiO is offline
    Lantejoula
    Senior Member
    Join Date: Mar 2021
    Location: Portugal
    Old 04-06-2021 , 18:49   Re: [CS GO] Clear Chat for Staff
    Reply With Quote #10

    New Version

    06-04-2021 (v1.2) - Requested by people that use the plugin

    • Added Auto Message for Only Staff - Can edit the message in Translations
    • Added ConVar to remove the Auto Message
    • Improving the Translations
    __________________
    Discord ➜ Lantejoula#0064 | Steam | Want Help? Add Me!!
    Lantejoula 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 12:49.


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