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

[ANY] Block Kill Feed


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Plugin ID:
6079
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Simply blocks the kill feed from being displayed.
    Old 04-09-2018 , 09:49   [ANY] Block Kill Feed
    Reply With Quote #1

    [ANY] Block Kill Feed


    I was actually shocked that such a simple plugin doesn't exist on here (at least from what I could find). The only plugin close to this that I could find was blocking bot kills from the kill feed, not all player kills.

    Anyways, this plugin does as the title says and has a ConVar to enable/disable the functionality of the plugin. It generates a config file in cfg/sourcemod called blockkillfeed.cfg. Please delete the old plugin.blockkillfeed.cfg if you plan on updating the plugin. If you want the latest version of the plugin, click the Get Plugin button for blockkillfeed. Otherwise, if you want the first version which is barebones and doesn't have features such as blocking kills for a specific team, click Get Plugin for blockkillfeed_v1.

    Also big thank you to Visual77 for informing me about a string of code necessary to allow the event to broadcast to other plugins that hook the player_death event.
    Attached Files
    File Type: sp Get Plugin or Get Source (blockkillfeed.sp - 1159 views - 1.6 KB)
    File Type: sp Get Plugin or Get Source (blockkillfeed_v1.sp - 968 views - 887 Bytes)

    Last edited by ThatKidWhoGames; 04-15-2018 at 23:44.
    ThatKidWhoGames is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 04-09-2018 , 10:09   Re: [TF2/ANY] Block Kill Feed
    Reply With Quote #2

    Improper use. When you block events, you also block plugins who listen to these events. That's why event.BroadcastDisabled = true; exists.
    Visual77 is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 04-09-2018 , 10:29   Re: [TF2/ANY] Block Kill Feed
    Reply With Quote #3

    Quote:
    Originally Posted by ThatKidWhoGames View Post
    So do I set it equal to true or false?
    True should do the trick.
    Visual77 is offline
    ThatKidWhoGames
    Veteran Member
    Join Date: Jun 2013
    Location: IsValidClient()
    Old 04-09-2018 , 10:31   Re: [TF2/ANY] Block Kill Feed
    Reply With Quote #4

    Quote:
    Originally Posted by Visual77 View Post
    True should do the trick.
    Thanks! Post updated.
    ThatKidWhoGames is offline
    JoinedSenses
    Senior Member
    Join Date: Sep 2013
    Old 04-09-2018 , 18:49   Re: [TF2/ANY] Block Kill Feed
    Reply With Quote #5

    Nice, thanks.
    JoinedSenses is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 04-09-2018 , 22:01   Re: [TF2/ANY] Block Kill Feed
    Reply With Quote #6

    I recall that doing this causes Strange weapons to not count kills. Something to look at.
    __________________
    ddhoward is offline
    Dr.Doctor
    AlliedModders Donor
    Join Date: Feb 2017
    Location: Hong Kong
    Old 04-10-2018 , 07:58   Re: [TF2/ANY] Block Kill Feed
    Reply With Quote #7

    Quote:
    Originally Posted by ddhoward View Post
    I recall that doing this causes Strange weapons to not count kills. Something to look at.
    Strange weapons should still count kills
    __________________
    Dr.Doctor is offline
    ThatKidWhoGames
    Veteran Member
    Join Date: Jun 2013
    Location: IsValidClient()
    Old 04-10-2018 , 08:30   Re: [TF2/ANY] Block Kill Feed
    Reply With Quote #8

    Quote:
    Originally Posted by JoinedSenses View Post
    Nice, thanks.
    You're welcome
    Quote:
    Originally Posted by ddhoward View Post
    I recall that doing this causes Strange weapons to not count kills. Something to look at.
    Quote:
    Originally Posted by Dr.Doctor View Post
    Strange weapons should still count kills
    Would any of you guys be able to test this for me? If that is the case that it doesn't count strange weapon kills, I will try to push out a hotfix as soon as possible.

    EDIT: Strange kills are still counted, tested it.

    Thanks,
    Grant

    Last edited by ThatKidWhoGames; 04-10-2018 at 22:34.
    ThatKidWhoGames is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 04-11-2018 , 00:36   Re: [ANY] Block Kill Feed
    Reply With Quote #9

    Alright, awesome. I tried this same thing back in the day (like four years ago) for a private plugin on an idle server, and it definitely stopped Strange leveling... Maybe back then I wasn't experienced enough to know that I shouldn't return Plugin_Stop the event but instead set the broadcast bool? idklol
    __________________
    ddhoward is offline
    ThatKidWhoGames
    Veteran Member
    Join Date: Jun 2013
    Location: IsValidClient()
    Old 04-11-2018 , 21:37   Re: [ANY] Block Kill Feed
    Reply With Quote #10

    Quote:
    Originally Posted by ddhoward View Post
    Alright, awesome. I tried this same thing back in the day (like four years ago) for a private plugin on an idle server, and it definitely stopped Strange leveling... Maybe back then I wasn't experienced enough to know that I shouldn't return Plugin_Stop the event but instead set the broadcast bool? idklol
    I used to do the exact same thing lol
    ThatKidWhoGames is offline
    Reply



    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:27.


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