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

[ANY] Suppress Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Plugin ID:
7188
Plugin Version:
0.7.1
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Blocks specific message & outputs from showing.
    Old 07-06-2020 , 13:57   [ANY] Suppress Manager
    Reply With Quote #1

    Since Simple Message Suppression is having issues spewing out errors and issues, i decided to make my own version from scratch.

    [ANY] Suppress Manager

    Description
    Suppress messages & outputs from showin'.

    ConVars
    1. sm_suppress_version - Suppress Manager Version
    2. sm_suppress_teams - Allow/Block Player Joined Team Message. Default: 0 (Allow)
    3. sm_suppress_connect - Allow/Block Player Connected Message. Default: 0 (Allow)
    4. sm_suppress_disconnect - Allow/Block Player Disconnected Message. Default: 0 (Allow)
    5. sm_suppress_killfeed - Allow/Block Player Killfeed. Default: 0 (Allow)
    6. sm_suppress_namechange - Allow/Block Player Name Change Message. Default: 0 (Allow)
    7. sm_suppress_achievement - Allow/Block Player Achievement Get Message [TF2]. Default: 0 (Allow)
    8. sm_suppress_winpanel - Allow/Block Winpanel From Showing On Win [TF2]. Default: 0 (Allow)
    9. sm_suppress_annotation - Allow/Block Annotation From Showing [TF2]. Default: 0 (Allow)
    10. sm_suppress_voicesubtitles - Allow/Block Player Voice Subtitles [TF2]. Default: 0 (Allow)
    11. sm_suppress_cvar - Allow/Block Cvar value has changed to Message. Default: 0 (Allow)
    12. sm_suppress_chat - Allow/Block chat messages. Default: 0 (Allow)

    TODO
    1. Add global native support for plugins can rely on. Done.
    2. Replace the current connect, disconnect & team change events to rely on SayText2 usermessage function for a better way to block the messages.
    3. Fix messages being visible when set to be suppressed.

    Dependencies
    1. Suppress Manager Include to compile, comes with the zip file you download together with the plugin.

    Global Natives
    Spoiler


    Changelog
    Quote:

    Version 0.7.1 - Tuesday 4th January 2022
    + Added Updater support.
    + Cleaned up code.

    Version 0.7.0 - March 2nd, 2021
    + Added global native support for your plugins to be able to use.

    Version 0.6.1 - February 21st, 2021
    + Updated some codelines to newer syntax.
    + Fixed invalid event error on TF2 Classic upon loading plugin.

    Version 0.6.0 - January 22nd, 2021
    + Added sm_suppress_chat convar to block out chat messages.

    Version 0.5.0 - December 22nd, 2020
    + Updated code slightly.
    + Updated killfeed to include the slap notices.
    + Fixed errors related to invalid clients, will now be properly checked if it's a valid client or not.
    ~ I'm back from a while break.

    Version 0.4.2 - August 21st, 2020
    + Updated to new syntax and declarations.
    + Updated game detection
    + Cleaned up the code.

    Version 0.4.1 - July 10th, 2020
    + Fixed ConVar sm_suppress_winpanel not working.
    + Fixed ConVar sm_suppress_annotation not working.
    + Fixed ConVar sm_suppress_voicesubtitles not working.

    Version 0.4 - July 10th, 2020
    + Added sm_suppress_cvar - Allow/Block Server Cvar value has changed to Message.
    + Updated sm_suppress_connect - Added value 2 and 3 to specify to block bot or player connect message.
    + Updated sm_suppress_disconnect - Added value 2 and 3 to specify to block bot or player disconnect showing with the reason why they left.

    Version 0.3.1 - July 8th, 2020
    - Removed achievement_earned_local as a hook to prevent Game event does not exist. error

    Version 0.3 - July 7th, 2020
    + Added sm_suppress_namechange - Allow/Block Player Name Change Message (Credits: Bacardi).
    + Added sm_suppress_achievement - Allow/Block Player Achievement Get Message.
    + Added sm_suppress_winpanel - Allow/Block Winpanel From Showing On Win [TF2].
    + Added sm_suppress_annotation - Allow/Block Annotation From Showing [TF2].
    + Added sm_suppress_voicesubtitles - Allow/Block Player Voice Subtitles [TF2] (Credits: GORRageBoy).

    Version 0.2 - July 6th, 2020
    + Added sm_suppress_killfeed - Block player killfeed.

    Version 0.1 - July 6th, 2020
    + Initial Release.

    GitHub Repository | Latest Version
    __________________

    Last edited by Teamkiller324; 03-15-2024 at 16:10.
    Teamkiller324 is offline
    SkiPlix
    Member
    Join Date: Dec 2016
    Location: Argentina
    Old 07-07-2020 , 10:04   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #2

    Block name change from showing up in chat?
    SkiPlix is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 07-07-2020 , 11:36   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #3

    Quote:
    Originally Posted by SkiPlix View Post
    Block name change from showing up in chat?

    I need that as well.
    __________________

    Last edited by ph; 07-09-2020 at 19:53.
    ph is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 07-07-2020 , 12:13   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #4

    Quote:
    Originally Posted by ph View Post
    Suppress player and bot name change.

    I need that as well.
    Working on it
    __________________
    Teamkiller324 is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 07-07-2020 , 12:32   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #5

    There we go, updated it.
    __________________
    Teamkiller324 is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 07-07-2020 , 13:34   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #6

    Thank you.

    I will be using it on my TF2 server(s) and errors generated in the logs will be posted here.
    __________________
    ph is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 07-07-2020 , 13:42   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #7

    Quote:
    Originally Posted by ph View Post
    Thank you.

    I will be using it on my TF2 server(s) and errors generated in the logs will be posted here.
    No problem
    __________________
    Teamkiller324 is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 07-07-2020 , 14:19   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #8

    Can the warning messages be fixed?

    __________________
    ph is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 07-07-2020 , 14:24   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #9

    i don't know exactly why it is spewing out warnings for hooking SayText2. i tested compiling without it and the plugin compiles with 0 errors or warnings

    am fairly new to sourcemod coding so

    Does the plugin work otherwise?
    __________________

    Last edited by Teamkiller324; 07-07-2020 at 14:26.
    Teamkiller324 is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 07-07-2020 , 14:31   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #10

    nvm, found the cause for the warnings, uploaded a new version 0.3 to fix the compile error
    __________________

    Last edited by Teamkiller324; 07-07-2020 at 14:32.
    Teamkiller324 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 14:27.


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