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

[TF2] [Engineer] Teleporter Filter


Post New Thread Reply   
 
Thread Tools Display Modes
Author
nergal
Veteran Member
Join Date: Apr 2012
Plugin ID:
5277
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    allows engies to filter who can go through their teles or not.
    Old 07-09-2016 , 20:50   [TF2] [Engineer] Teleporter Filter
    Reply With Quote #1

    Sometimes we're playing Engineer and that damn Scout takes the Teleporter over the Medic or Heavy.

    I was playing on a pub and I had 4 bad snipers on my team and I really wished they could switch classes. Another man overheard me bitching about said 4 sniper and blurted out "if only you could filter teleporters..."

    Little did he know that I code plugins for tf2

    Thus, I present the Teleporter Filter!

    this plugin allows Engineers to filter who can take their teleporters whether by name or by class.

    Commands list
    PHP Code:
    sm_admin_telefilterresetan Admin commandforcefully resets player's Teleporter Filter.
    sm_telefilter: let'
    s you filter players by name or class from using your teleporters.
    sm_resettelefilterLet's you reset your Teleporter Filter. 
    For the sake of preventing trolling or griefing, I'd added some precautions to the plugin.

    One precaution is that Engineers cannot block over 50% (by default, is a cvar) of their team

    Another precaution is that Admins can forcefully reset any or all Engineer tele filters back to nothing.

    Example usage: "!telefilter scouts" - this command will block all the scouts on your team from using your teleporter
    another one: "!telefilter asshole" - this will block the player named asshole from using your teleporter

    Cvars
    PHP Code:
    telefilter_enabled "1.0"
    telefilter_blockpercentage "0.5" 
    Attached Files
    File Type: sp Get Plugin or Get Source (tele_filter.sp - 773 views - 8.0 KB)
    __________________

    Last edited by nergal; 07-09-2016 at 21:20.
    nergal 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 19:12.


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