TF2 Adblock

Discussion in 'Helpdeks' started by Kotsende Kat, Feb 22, 2013.

  1. Kotsende Kat

    Kotsende Kat Blop blop blop die Führung

    Messages:
    822
    Trophy Points:
    189
    Gender:
    Male
    Location:
    Enschede
    Minecraft:
    Resdayn
    Code:
    //------------------------------------------------
    // TF2 Adblock by Nigger
    //------------------------------------------------
    
    // Protection against server_can_execute bypass
    // Make your cfg/config.cfg read-only for extra protection
    cl_allowupload 0
    alias cl_allowupload "echo Blocked cl_allowupload!"
    alias clear "echo Blocked clear!"
    alias unbindall "echo Blocked unbindall!"
    
    // Adblock for motd, extra protection:
    // > Create an empty file in your tf directory named textwindow_temp.html and make it read-only (this prevents the motd from being saved & loaded)
    // > Add '127.0.0.1 motd.pinion.gg' to your hosts file. This prevents a well known motd advertising network to load
    cl_disablehtmlmotd 1
    alias closed_htmlpage "echo Blocked pinion!"
    
    // Gets rid of servers playing annoying sound files
    alias play "echo Blocked play!"
    alias sndplaydelay "echo Blocked sndplaydelay!"
    alias playgamesound "echo Blocked playgamesound!"
    alias soundfade "echo Blocked soundfade!"
    
    // Servers don't need this
    alias cl_spec_mode
    alias rpt_connect
    alias r_screenoverlay
    
    Make a nigger.cfg file and copypasta this in your created cfg file.
    Append "exec nigger.cfg" to your autoexec.cfg file to call the config on start.
    Extra protection: Make an empty html file named "textwindow_temp.html" in your "tf" folder. Make it Read-Only.

    No more Pinion Pot of Aids! O0
     

Share This Page