[ADMIN/SEC/CHAT] MaddyAdvert v1.9 2015-12-14

Say unanimous "no" advertising! [ 1.5.2-1.8.3 ]

  1. BlodehBunny
    Contributors:
    Say unanimous "no" advertising! [ 1.5.2-1.8.3 ]
    Description:
    Lightweight, small plugin for the global protection of instant messaging from any nedopiarschikov and other advertising.

    The plugin checks the set of symbols through which the IP address can PR / Link / Domain

    List separated by:
    . -; :, / [Space] | \> <? ! [] {} + = () # $% ^ * ~ `@ ''

    How it works:
    •, ¶, ∞, etc. (other unicode characters) changes to the message from the config. By default - deletes the character.
    127.0.0.1 or 127.0.0.1:25565 etc. Changing to a message from the config. By default - "AD DETECTED OMG!"
    mc.localhost.net or mc.localhost.net:25565 etc. Changing to a message from the config. By default - "AD DETECTED OMG!"
    Just a little problem:
    If the domain name will be written in the chat / command as
    m c. l o c a l h o s t. c o m: May 2 5 6 5
    The plugin will erase all the messages and replace it with a message from the config

    Config features:
    In config you do not find something supernatural. A small plug after

    Code (Text):
    unicode-check: true # Enable / disable checks for Unicode in messages
    custom-message: 'AD DETECTED OMG! '# Message to which you want to replace the IP / Domain
    custom-message-unicode: '' # message to which you want to replace Unicode.
    domain-list: # List of domains to test
    - Com
    - Org
    - Net
    - At
    - Mil
    - Nu
    - Es
    - Ar
    - Cc
    - Cz
    - Co
    - Uk
    - Tk
    - Ru
    - De
    - Pp
    - Us
    - Su
    - As
    - RF
    - Sk
    - Ws
    - Ca
    - Biz
    - Mobi
    - Xxx
    - Tv
    - Eu
    - Info
    - Me
    no-ad-commands: # Team, which responds to a plug-in finding advertising / Unicode
    - / W
    - / M
    - / T
    - / Pm
    - / Emsg
    - / Epm
    - / Msg
    - / Tell
    - / Etell
    - / Whisper
    - / Ewhisper
    - / R
    - / Er
    - / Reply
    - / Ereply [/ COLOR]
    whitelist: # IP / Domains White sheet
    - 127.0.0.1
    - Mc.localhost.com

    Log file:
    Log files will be stored for you all the information about nedopiarschikah c:
    File:
    Code (Text):
    May 1, 2015 3:05:10 AM com.maddygap.advert.Core checkForAD
    INFO: Player MaddyGAP tried to type IP address - '127.0.0.11'
    May 1, 2015 3:11:12 AM com.maddygap.advert.Core checkForAD
    INFO: Player MaddyGAP tried to type IP address - '127.0.0.11'

    Teams:
    The plug has only one command - / maddyadvert, / mad, / ma ...

    After writing this command, you can see what it does. Displays help and reloads the plugin.
    To use the EST team, you need permishen MaddyAdvert.Admin (Write in exactly the same way, drawing attention to the case of letters.)