2
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: banlist plugin  (Read 84729 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
banlist plugin
« on: July 03, 2008, 11:56:03 PM »
Description:

This plugin has been made to allow easy sharing of cheater banlists between clans.
It also has the advantage of not requiring any game server reboot after banlist updates.

IP banlists / whitelists :
 * specify as many banlist files as you want.
 * understands range ip ban. (ie: banlist having IP addresses ending with '.0', '.0.0' or '.0.0.0')
 * option to enforce range ip ban as if all ip addresses where ending with ".0"
 
GUID banlists / whitelists  :
 * specify as many guid banlist files as you want.

Punkbuster banlists / whitelists  :
 * specify as many PBID banlist files as you want.

Rules of Combat banlists  :
 * specify Homefront banlist from www.rulesofcombat.com


For all banlists :

 * an url can be specified for hourly updates.
 * a specific message can be set to be displayed upon kick. (keywords understood: $id, $ip, $guid, $name)


Download
Documentation


Urban Terror banlists : Urban terror cheaters banlists can be found on the Urban Terror Admin Alliance and on the Powerban website.


config example for Urban Terror
This config defines two ip banlists that are updated hourly from the given url.
Those two banlist are cheaters only banlists maintained by the Urban Terror Admin Alliance and the Powerban project.
Code: [Select]
<configuration plugin="banlist">

    <settings name="global_settings">
        <!-- level from which players won't be checked, thus never be kicked. (default: 100) -->
        <set name="immunity_level">100</set>
        
        <!-- do you want to update banlists that provide an URL automatically every hour ? (default: yes) -->
        <set name="auto_update">yes</set>
    </settings>

    <settings name="commands">
        <!-- Command to list all loaded lists -->
        <set name="banlistinfo-blinfo">100</set>
        
        <!-- Command to update all lists from their URL (if any) -->
        <set name="banlistupdate-blupdate">100</set>
        
        <!-- Command to force checking of connected players -->
        <set name="banlistcheck-blcheck">100</set>
    </settings>

<!--
You can define as much banlist files as you want.
banlists can be of 4 types : ip banlist, ip whitelist, guid banlist or guid whitelist
Each banlist definition contains the following information :
* name : the name of the banlist, will be used as a reason for the kick (useful to find them in Echelon)
* file : the path to the banlist file.
- ip banlist : a file containing ip to ban, compatible with quake3 banlist format. If an ip ends with ".0", the full range will be banned. Lines stating with "//" will be ignored.
- guid banlist : a file containing guid to ban. Lines stating with "//" will be ignored.
* message : an optional message that will be displayed in game. Keywords that can be used : $id, $ip, $guid, $name
- NOTE:  the ban message is only visible to other players. The banned player WILL NOT SEE that message as it is kicked before having a chance to load the map.
* url : an optional url from where the banlist file will be updated hourly
* force_ip_range : yes/no. If yes all IPs will be read as if they were ending with '.0'
-->

  <ip_banlist>
    <name>UAA</name>
    <file>@conf/banlist-uaa.txt</file>
    <force_ip_range>no</force_ip_range>
    <message>^4$name^7 is ^1BANNED^7 on [UAA]</message>
    <url>http://www.urtadmins.net/banlist/UAA-banlist.txt</url>
  </ip_banlist>

  <ip_banlist>
    <name>Powerban</name>
    <file>@conf/banlist-powerban.txt</file>
    <force_ip_range>no</force_ip_range>
    <message>^4$name^7 is ^1BANNED</message>
    <url>
      <![CDATA[http://powerban.urban-terror.fr/?banlist=powerban_all]]>
    </url>
  </ip_banlist>

</configuration>




config example for Homefront
This config defines a banlist that is updated hourly from the Rules of Combat (RoC)
Code: [Select]
<configuration plugin="banlist">

    <settings name="global_settings">
        <!-- level from which players won't be checked, thus never be kicked. (default: 100) -->
        <set name="immunity_level">100</set>
        
        <!-- do you want to update banlists that provide an URL automatically every hour ? (default: yes) -->
        <set name="auto_update">yes</set>
    </settings>

    <settings name="commands">
        <!-- Command to list all loaded lists -->
        <set name="banlistinfo-blinfo">100</set>
        
        <!-- Command to update all lists from their URL (if any) -->
        <set name="banlistupdate-blupdate">100</set>
        
        <!-- Command to force checking of connected players -->
        <set name="banlistcheck-blcheck">100</set>
    </settings>


    <rules_of_combat>
        <name>Rules of Combant</name>
        <file>@conf/rules_of_combat.txt</file>
        <message>$id is BANNED (RoC)</message>
        <url><![CDATA[http://gbl.rulesofcombat.com/gbl.php]]></url>
    </rules_of_combat>

</configuration>



If you know other banlist sources for other games, feel free to post your config here.

Banlist list : If you maintain a banlist of cheaters, please let us know on http://www.bigbrotherbot.net/forums/configurations/post-your-banlist-url's-here/
« Last Edit: April 27, 2014, 08:41:01 PM by Courgette »

Offline koko

  • Newbie
  • *
  • Posts: 3
Re: banlist plugin
« Reply #1 on: July 05, 2008, 03:27:45 PM »
good job Courgette

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin
« Reply #2 on: July 22, 2008, 12:02:13 AM »
new version : v1.0.0
provides banlists hourly auto-update via URL

Offline flinkaflenkaflrsk

  • Sr. Member
  • ****
  • Posts: 238
Re: banlist plugin v1.0.0
« Reply #3 on: July 25, 2008, 12:12:44 AM »
this plugin uses the format of the UAA so it can be a direct referal to that or does it not understand the -1?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin v1.0.0
« Reply #4 on: July 25, 2008, 09:23:07 AM »
it just ignores whatever is after the ip, so the :-1 won't be interpreted.

If you want to comment out an IP , you have to make the line start with "//"

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin v1.1.0
« Reply #5 on: July 26, 2008, 01:09:40 AM »
release v1.1.0 is out
release v1.1.1 is out
« Last Edit: July 26, 2008, 08:04:16 PM by tomdesinto »

Offline flinkaflenkaflrsk

  • Sr. Member
  • ****
  • Posts: 238
Re: banlist plugin v1.1.1
« Reply #6 on: July 27, 2008, 07:29:08 PM »
yay \0/ testing paid off  ;)

Offline Anubis

  • Sr. Member
  • ****
  • Posts: 228
    • g4g.pl
Re: banlist plugin v1.1.1
« Reply #7 on: August 06, 2008, 12:45:40 AM »
Hi,
what is the format of ipbanlist and gidbanlist files? Does it contain only list of IPs/GUIDs in the separate lines (without ban duration)? So its like:
IP:
192.192.192.1
192.193.191.1
...
...

GUIDs:
2131242354235252151252355235
1235423523525123542352352352
...

am I right?

ps. I understand my question could be silly, but ... well, I'm not really familiar with python ;)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin v1.1.1
« Reply #8 on: August 06, 2008, 09:30:28 AM »
For both files the format is :

  • One IP/GUID per line
  • A line starting with '//' will be ignored (commented out)

For the IP file only:

banlist plugin ignores whatever is after the ip, so you can safely use a banlist file generated by your game.
That's also mean that even if ban durations are written in the file, banlist plugin will ignore that info and consider all ip as permanent ban.

Offline Anubis

  • Sr. Member
  • ****
  • Posts: 228
    • g4g.pl
Re: banlist plugin v1.1.1
« Reply #9 on: August 07, 2008, 11:56:43 PM »
Thanks for description.
Well... usefull plugin. I'll try it :) Thanks for sharing.

regards

Offline Anubis

  • Sr. Member
  • ****
  • Posts: 228
    • g4g.pl
Re: banlist plugin v1.1.1
« Reply #10 on: August 08, 2008, 11:27:52 PM »
« Last Edit: August 08, 2008, 11:37:54 PM by Anubis »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin v1.1.2
« Reply #11 on: August 09, 2008, 12:46:41 PM »
Fix released : v1.1.2
see first post for download link
« Last Edit: August 24, 2008, 11:24:25 PM by Courgette »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin v2.0.0
« Reply #12 on: March 28, 2009, 12:08:57 AM »
New major release v2.0

main new features are ip_whitelist and guid_whitelist
but there are many other additions.

See changelog in top message
« Last Edit: March 28, 2009, 12:11:37 AM by Courgette »

Offline Anixter

  • Jr. Member
  • **
  • Posts: 10
Re: banlist plugin v2.0.0
« Reply #13 on: August 22, 2009, 07:35:58 PM »
Any way this will work with COD4?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: banlist plugin v2.0.0
« Reply #14 on: August 22, 2009, 07:41:31 PM »
Well, I've never tried, but it should work on COD.

If you have error, please post the log

 


Rate this page +1 at Google Search

anything