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

[ANY] IP Advert Blocker 1.3 - 6/08/2012


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Plugin ID:
2309
Plugin Version:
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin prevents advertisement of IP addresses.
    Old 04-11-2011 , 12:17   [ANY] IP Advert Blocker 1.3 - 6/08/2012
    Reply With Quote #1

    Description:
    Just a quick something that I've created. It removes the IPs from players' name, prevents messages with IP in it and prevents map messages with IP in it.

    Console variables:
    sm_ads_chat 1/0 (default: 1) - if it's true, then it will block IPs in player messages
    sm_ads_names 1/0 (default: 1) - if it's true, then it will block IPs in player names
    sm_ads_whitelist "" - list of IP addresses to be whitelisted
    sm_ads_immunity "" (default: b) - list of admin flags, people with one of these flags can still advertise IPs
    sm_ads_chat_censoredmsg "" - (default: "") - the text to replace the ip with

    Changelog:

    1.3 - I have no idea, really
    1.2 - Fixed a lot of stuff
    1.1 - Fixed a bug
    Attached Files
    File Type: sp Get Plugin or Get Source (removeads.sp - 1875 views - 3.9 KB)

    Last edited by Zephyrus; 06-08-2012 at 12:45.
    Zephyrus is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 04-11-2011 , 19:01   Re: [CSS] Anti Server Advert
    Reply With Quote #2

    Would be cool if you made this so it allow players with admin flag to still post IPs.
    __________________
    Fearts is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 04-11-2011 , 21:56   Re: [CSS] Anti Server Advert
    Reply With Quote #3

    Quote:
    Originally Posted by Fearts View Post
    Would be cool if you made this so it allow players with admin flag to still post IPs.
    ill do it too, i just didnt have time yesterday as i was in a hurry
    Zephyrus is offline
    databomb
    Veteran Member
    Join Date: Jun 2009
    Location: california
    Old 04-12-2011 , 12:57   Re: [CSS] Anti Server Advert
    Reply With Quote #4

    Nice use of regex; I'll definitely use this. Although I'd change the RegConsoleCmd to AddCommandListener's for boosted performance. A white-list for certain IPs would also help out larger communities.
    __________________
    databomb is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 04-12-2011 , 13:07   Re: [CSS] Anti Server Advert
    Reply With Quote #5

    Quote:
    Originally Posted by databomb View Post
    Nice use of regex; I'll definitely use this. Although I'd change the RegConsoleCmd to AddCommandListener's for boosted performance. A white-list for certain IPs would also help out larger communities.
    noted, gonna include it in the update version
    Zephyrus is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 04-12-2011 , 14:29   Re: [ANY] IP Advert Blocker
    Reply With Quote #6

    Works perfect! nice one.
    __________________
    Fearts is offline
    xomp
    BANNED
    Join Date: Jul 2008
    Old 04-24-2011 , 20:43   Re: [ANY] IP Advert Blocker
    Reply With Quote #7

    Just installed this and gave it a try on my server. Tested by saying 127.0.0.1. It printed to chat like it ain't no thang. Guess you gotta either restart the server or change map huh?
    xomp is offline
    Send a message via Skype™ to xomp
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 04-24-2011 , 20:59   Re: [ANY] IP Advert Blocker
    Reply With Quote #8

    Quote:
    Originally Posted by xomp View Post
    Just installed this and gave it a try on my server. Tested by saying 127.0.0.1. It printed to chat like it ain't no thang. Guess you gotta either restart the server or change map huh?
    it only blocks them when its formatted as ip:port
    Zephyrus is offline
    Samantha
    SourceMod Donor
    Join Date: Feb 2010
    Location: Madagascar
    Old 04-25-2011 , 00:37   Re: [ANY] IP Advert Blocker
    Reply With Quote #9

    Soo this? http://forums.alliedmods.net/showthread.php?t=147987
    __________________
    "I give sopport and knolage in making extractions"
    "MASTER(D) - dun0: are you mocing me?" -Master the grate

    Plugins
    Godmode Until Attack | No Block Team Filter
    Extensions
    Rcon Hooks
    Samantha is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 04-25-2011 , 14:00   Re: [ANY] IP Advert Blocker
    Reply With Quote #10

    Quote:
    Originally Posted by Samantha View Post
    this one removes the ips from player names as well and can also block messages sent by the map
    Zephyrus 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 09:42.


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