XChat – Globalbans plugin
(This article has been written in english to get the biggest audience.)
General
Download Globalbans for XChat2
(Version 1.1 / 21th May 2007)
Globalbans is a XChat Plugin written in Python (www.python.org). It gives the user the ability to define an own -global- banlist. “Global” means, that joining users in any channel matching an entry on the banlist get banned from the channel (the user must have got operator rights). You can get more information about XChat and XChat Plugins on their homepage: www.xchat.org
Example:
- you’re in two channels: #help, #support
- you’ve operator status in both
- a user called ‘fuckor’ joins #help and insults many users
- you kickban the user ‘fuckor’ and add him to your own global banlist by typing: /addgban *fuckor*
- the user ‘fuckor’ wants to join #support, too, to insult more people
- cause you added him to your global banlist before the user gets immediately kickbanned
XChat Version
GB 1.0 has been written for XChat2 (2.6.8). GB 1.1 has been developed and tested under XChat2 (2.8.0). It should be compatible to most versions of XChat2.
Please check: During the installation you’ve been requested to install different scripting interfaces, e.g. Python, TCL, Ruby and so on. Of course you must have installed the Python scripting interface to get the plugin working.
Commands
The Plugin adds the following commands:
- /ADDGBAN [hostmask]
- Adds the hostmask to the global ban list
- /REMOVEGBAN [hostmask]
- Removes the hostmask from the global ban list
- /LISTGBANS
- Displays all banned hostmasks
- /REMOVEALLGBANS
- Deletes the whole global ban list
Please consider that you don’t have to specify a “real” hostmask. You can specify any string and a user which hostmask contains the string will be kickbanned. Wildcards are explicitly allowed! (To ban all users which nicknames contain ‘50cent’ you would have to type: /addgban *50cent*
Installation
Place the files globalbans.py and globalbans.txt in your xchat2 directory. In the most cases the xchat2 directory is placed in “/home/user/.xchat2″. If you want to update your globalbans plugin, you will have to overwrite the old files with the new files.
IMPORTANT: For additional instructions look into the Update section of the file “globalban_readme.txt”!
Uninstallation
Simply delete the files you copied (hopefully these have been globalbans.py and globalbans.txt)
to your xchat2 directory. In the most cases the xchat2 directory is placed in “/home/user/.xchat2″.
Any questions?
If you have any questions please leave a comment below and wait for my answer:
