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

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #105 on: June 10, 2011, 10:05:14 PM »
so any idea why the whitelist doesn't work for him?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: banlist plugin
« Reply #106 on: June 10, 2011, 10:11:49 PM »
again provide a full b3.log showing the bot starting and the guy connecting and the whitelist file content

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #107 on: June 12, 2011, 08:05:06 AM »
okay here it is... what I did was set up a new server that I could easily control and have a clean log. I had my buddy be the test subject

name: [BN]Reaper
His IP is 70 94 241.33

I put in the 187rangebanlist.txt 70.94.241.0 and it banned him properly
after he was kicked as you can see in the log... I added his exact IP to the whitelist and it didn't help him he was kicked again at the end of the log

In fact as you will see in the log it says the whitelists were loaded but before kicking there was nothing about checking a whitelist at all.


B3 LOG HERE

the 187rangebanlist.txt (minus all of the IP's... just a couple)
Code: [Select]
70.94.241.0
187.0.1.0
187.0.2.0
187.0.3.0
187.0.4.0
187.0.5.0
187.0.6.0
187.0.7.0
187.0.8.0
187.0.9.0

the whitelist.txt:
Code: [Select]
70.94.241.33      //[BN]Reaper
« Last Edit: June 12, 2011, 08:07:40 AM by PsYc0TiC »

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: banlist plugin
« Reply #108 on: June 12, 2011, 11:11:14 AM »
from your log file :

Quote
110612 00:32:04   ERROR   BanlistPlugin: "file '/home/banlistss/ipwhitelist.txt' not found or not a file."
110612 00:32:04   DEBUG   BanlistPlugin: 0 whitelists loaded

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: banlist plugin
« Reply #109 on: June 12, 2011, 11:19:43 AM »
I know xlr made this plugin ( a whitelist ) for someone way back when (CoD4).
Wondering if it will be released?
Great memory pal!

I indeed made a plugin some time ago for someone who never came through after sending him the first draft... It is a private server plugin based on B3-level, guid, ip or even XLRstats minimum skill ;)

I will release it one of these days.

Offline PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #110 on: June 12, 2011, 06:44:12 PM »
from your log file :


too many "s" at the end of the filename.... I see... will try again

it is loading the whitlist now but I will have to wait until someone caomes on that I can test with.

thanks for the heads up on the spelling snafoo
« Last Edit: June 12, 2011, 09:44:25 PM by PsYc0TiC »

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Re: Re: banlist plugin
« Reply #111 on: June 12, 2011, 09:56:31 PM »
Great memory pal!

I indeed made a plugin some time ago for someone who never came through after sending him the first draft... It is a private server plugin based on B3-level, guid, ip or even XLRstats minimum skill ;)

I will release it one of these days.

It was for tiger shark at ca, and it was used last i checked, worked well too. It was for a tournament server...

I remember asking tiger about it when we had a tournament...

Sent from my HTC Glacier
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 PsYc0TiC

  • Full Member
  • ***
  • Posts: 131
  • Owner of BitchNipples Servers (Running B3)
Re: banlist plugin
« Reply #112 on: June 15, 2011, 03:41:01 AM »
works now.... thanks for putting up with my stupidity

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: banlist plugin
« Reply #113 on: June 25, 2011, 05:56:51 AM »
just this repeatedly
Code: [Select]
Line 90821: 110606 04:01:13	VERBOSE	Parsing Event: Client Authenticated: BanlistPlugin

you told me to paste anything that come sup with banlist plugin ill find more

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: banlist plugin
« Reply #114 on: June 30, 2011, 03:26:33 PM »
all i see is the plugin loading. nothing else.


ok.. so . for example my euro server has this in the banlist.xml


Code: [Select]
<ip_banlist>
    <name>KJ EURO</name>
    <file>/service195/UrbanTerror/q3ut4/banlist.txt</file>
    <force_ip_range>no</force_ip_range>
    <message>^4$name^7 is ^1BANNED^7 by ^6[KJ Banlist]</message>
    <url>http://nyc2.wildcatsclan.net/KJ/echelon/banlist.php</url>
  </ip_banlist> 



all my servers post their bans here "http://nyc2.wildcatsclan.net/KJ/echelon/banlist.php" through echelon.

am i doing this part right?


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: banlist plugin
« Reply #115 on: June 30, 2011, 05:51:19 PM »
this looks ok. What's in your b3.log ?

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: banlist plugin
« Reply #116 on: July 04, 2011, 07:32:01 AM »
i already posted anything related to banlist plugin. just the msg when it loads the  plugin :/


what should i look for? i could sho wmy entire log if you lie but it gets pretty big

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: banlist plugin
« Reply #117 on: August 24, 2011, 05:20:36 PM »
Code: [Select]
110824 10:13:17	BOT    	Loading Plugin #3 banlist [/home/party2/BigBrotherBot-big-brother-bot-9722011/b3/extplugins/conf/banlist.xml]
110824 10:13:17 INFO Could not load built in plugin banlist (No module named banlist)
110824 10:13:17 INFO trying external plugin directory : /home/party2/BigBrotherBot-big-brother-bot-9722011/b3/extplugins
110824 10:13:17 BOT    BanlistPlugin: Loading config /home/party2/BigBrotherBot-big-brother-bot-9722011/b3/extplugins/conf/banlist.xml for BanlistPlugin
110824 10:13:17 DEBUG BanlistPlugin: method onLoadConfig()
110824 10:13:17 DEBUG AdminPlugin: Command "banlistinfo (blinfo)" registered with cmd_banlistinfo for level (100, 100)
110824 10:13:17 DEBUG AdminPlugin: Command "banlistupdate (blupdate)" registered with cmd_banlistupdate for level (100, 100)
110824 10:13:17 DEBUG AdminPlugin: Command "banlistcheck (blcheck)" registered with cmd_banlistcheck for level (100, 100)
110824 10:13:17 INFO BanlistPlugin: immunity level : 100
110824 10:13:17 INFO BanlistPlugin: auto update : True
110824 10:13:17 ERROR BanlistPlugin: 'NoneType' object is unsubscriptable
110824 10:13:17 DEBUG BanlistPlugin: 0 banlist loaded
110824 10:13:17 DEBUG BanlistPlugin: 0 whitelists loaded
110824 10:13:17 INFO BanlistPlugin: checking all connected players
110824 10:13:17 DEBUG Register Event: Stop Process: BanlistPlugin
110824 10:13:17 DEBUG Register Event: Program Exit: BanlistPlugin
110824 10:13:17 BOT    Plugin banlist (2.2 - Courgette) loaded




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>KJ BANLIST</name>
    <file></file>
    <force_ip_range>no</force_ip_range>
    <message>^4$name^7 is ^1BANNED^7 by ^6[KJ Banlist]</message>
    <url>http://killjoyclan.com/echelon/banlist.php</url>
  </ip_banlist> 

</configuration>


isnt banning anyone :( says banlist is unsubscriptable.  help?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: banlist plugin
« Reply #118 on: August 24, 2011, 05:31:17 PM »
Code: [Select]
 <file></file> 
should not be left empty. Specify the path to where you want the banlist file to be saved at.

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: banlist plugin
« Reply #119 on: August 26, 2011, 06:09:15 PM »
so /pathtourbanterror/q3ut4/banlist.txt?

 


Rate this page +1 at Google Search

anything