Raised This Month: $109 Target: $400
 27% 

[ANY] Suppress Manager [Updated 21-08-20] Version 0.4.2


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Teamkiller324
Member
Join Date: Feb 2014
Location: sverige, örebro
Plugin ID:
7188
Plugin Version:
0.4.2
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 [Updated 21-08-20] Version 0.4.2
    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.

    Suppress Manager

    Version 0.4.2


    Commands:
    sm_suppress_version - Suppression Version

    sm_suppress_teams - Allow/Block Player Joined Team Message
    0 = Allow [ default ]
    1 = Block

    sm_suppress_connect - Allow/Block Player Connected Message
    0 = Allow [ default ]
    1 = Block
    2 = Block only player connect
    3 = Block only bot connect

    sm_suppress_disconnect - Allow/Block Player Disconnected Message
    0 = Allow [ default ]
    1 = Block
    2 = Block only player disconnect
    3 = Block only bot disconnect

    sm_suppress_killfeed - Allow/Block Player Killfeed
    0 = Allow [ default ]
    1 = Block

    sm_suppress_namechange - Allow/Block Player Name Change Message
    0 = Allow [ default ]
    1 = Block

    sm_suppress_achievement - Allow/Block Player Achievement Get Message [TF2] (unsure if it works)
    0 = Allow [ default ]
    1 = Block

    sm_suppress_winpanel - Allow/Block Winpanel From Showing On Win [TF2]
    0 = Allow [ default ]
    1 = Block

    sm_suppress_annotation - Allow/Block Annotation From Showing [TF2]
    0 = Allow [ default ]
    1 = Block

    sm_suppress_voicesubtitles - Allow/Block Player Voice Subtitles [TF2]
    0 = Allow [ default ]
    1 = Block

    sm_suppress_cvar - Allow/Block Cvar value has changed to Message
    0 = Allow [ default ]
    1 = Block

    Version History
    Code:
    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 command sm_suppress_winpanel not working
    - Fixed command sm_suppress_annotation not working
    - Fixed command 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
    - Updates 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 Messag [Unsure if it works]
    - 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
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_suppress.sp - 39 views - 8.0 KB)
    __________________
    My Plugins

    Steam Profile
    Working on a large compact plugin.

    Last edited by Teamkiller324; 08-24-2020 at 15:57.
    Teamkiller324 is offline
    Send a message via Skype™ to Teamkiller324
    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
    Member
    Join Date: Feb 2014
    Location: sverige, örebro
    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
    __________________
    My Plugins

    Steam Profile
    Working on a large compact plugin.
    Teamkiller324 is offline
    Send a message via Skype™ to Teamkiller324
    Teamkiller324
    Member
    Join Date: Feb 2014
    Location: sverige, örebro
    Old 07-07-2020 , 12:32   Re: [TF2/ANY] Suppress Manager
    Reply With Quote #5

    There we go, updated it.
    __________________
    My Plugins

    Steam Profile
    Working on a large compact plugin.
    Teamkiller324 is offline
    Send a message via Skype™ to Teamkiller324
    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
    Member
    Join Date: Feb 2014
    Location: sverige, örebro
    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
    __________________
    My Plugins

    Steam Profile
    Working on a large compact plugin.
    Teamkiller324 is offline
    Send a message via Skype™ to Teamkiller324
    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
    Member
    Join Date: Feb 2014
    Location: sverige, örebro
    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?
    __________________
    My Plugins

    Steam Profile
    Working on a large compact plugin.

    Last edited by Teamkiller324; 07-07-2020 at 14:26.
    Teamkiller324 is offline
    Send a message via Skype™ to Teamkiller324
    Teamkiller324
    Member
    Join Date: Feb 2014
    Location: sverige, örebro
    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
    __________________
    My Plugins

    Steam Profile
    Working on a large compact plugin.

    Last edited by Teamkiller324; 07-07-2020 at 14:32.
    Teamkiller324 is offline
    Send a message via Skype™ to Teamkiller324
    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 17:25.


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