thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Chat IP Filter  (Read 3593 times)

Offline Spoon

  • Moderator
  • Sr. Member
  • *
  • Posts: 255
    • EHD Gaming
Chat IP Filter
« on: January 29, 2012, 03:52:12 AM »
IP Filter v1.0

Picks up IP's being said in chat and team chat then does the desired action (warn/kick/tempban/permban).

You can change the action, reason and duration in the plugin_ipfilter.xml.
You can also add safe ips (ips that you allow to be said eg: your server ip).

Installation:

1. Place the ipfilter.py in  ../b3/extplugins and the plugin_ipfilter.xml in your ../b3/extplugins/conf folders.
2. Open your B3.xml file  and add the next line in the <plugins> section of the file:

<plugin name="ipfilter" config="@b3/extplugins/conf/plugin_ipfilter.xml"/>

Download:
http://forum.bigbrotherbot.net/downloads/?sa=view;down=178
http://ehdfiles.co.uk/spoon/plugin_ipfilter.rar
« Last Edit: February 04, 2012, 03:57:13 PM by Spoon »

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Chat IP Filter
« Reply #1 on: January 30, 2012, 02:59:10 PM »
Cool plugin.
Awaiting approval for download.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Father Goose

  • Jr. Member
  • **
  • Posts: 16
Re: Chat IP Filter
« Reply #2 on: February 04, 2012, 04:27:06 AM »
neat plugin!
I'm wondering (if it doesn't already do this) if it can be made to pick up IPs that aren't numerical, but subdomain, like example (sry to advertise) chicago.wildcatsclan.net:27965.

also, besides team and public chat, maybe in the xml an optional setting to pick up also private messaging?

;)

Offline Spoon

  • Moderator
  • Sr. Member
  • *
  • Posts: 255
    • EHD Gaming
Re: Chat IP Filter
« Reply #3 on: February 04, 2012, 03:54:20 PM »
Anti Website Advertiser should pick up .net I run the both of them so no need for it in this plugin.

Offline Father Goose

  • Jr. Member
  • **
  • Posts: 16
Re: Chat IP Filter
« Reply #4 on: February 04, 2012, 07:51:44 PM »
to save enabling extra plugins if a server already has a bunch enabled, IP filter and Anti Website could be worked into the Censor plugin xml lol, if censor is already enabled. that'd be a little work for the manager, but not much.
though safeIPs would be an invaluable feature. delicate balance.

 


Rate this page +1 at Google Search

anything