Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: SuperMAn on April 07, 2009, 11:18:33 AM

Title: Easy bans
Post by: SuperMAn on April 07, 2009, 11:18:33 AM
Is there something like a ban.txt that would allow you to have a list of banned IP addresses in a text file that would load when the server starts?  Something like the rotation file.   If not move this to the feature request thread if it isnt there already.
Title: Re: Easy bans
Post by: T3RR0R15T on April 07, 2009, 11:20:21 AM
yes
Title: Re: Easy bans
Post by: SuperMAn on April 07, 2009, 11:22:31 AM
How do you use it?
Title: Re: Easy bans
Post by: FluKe on April 07, 2009, 11:22:48 AM
addip and put the ip that you want in it..


-Nick
Title: Re: Easy bans
Post by: SuperMAn on April 07, 2009, 11:23:12 AM
nick you fail.... go on your vacation.  Do you know terrorist?
Title: Re: Easy bans
Post by: KI3S on April 07, 2009, 03:30:27 PM
http://kb.globalscape.com/article.aspx?id=10402

Something like this?
Title: Re: Easy bans
Post by: SuperMAn on April 07, 2009, 04:54:21 PM
Hmmm... Is that the simplest way to do this atm?  Put this in feature request if it is....
Title: Re: Easy bans
Post by: b00nlander on April 07, 2009, 05:05:00 PM
check your configs folder, maybe its there already:  banlist<port>.cfg
insert the port number for <port>
Title: Re: Easy bans
Post by: SuperMAn on April 07, 2009, 05:17:37 PM
There is no banlist<port>.cfg in the configs folder.  If i make that the server would recognize it though?
Is there a command to put in the config? like for the rotation? 

set rot_file pball/configs/rotation.txt



set ban_file pball/configs/rotation.txt  ??
Title: Re: Easy bans
Post by: Cameron on April 07, 2009, 06:07:15 PM
Ban someone, and then it might appear, at least it did for me.

addip <ip here>
writeip

Those should add an IP into a ban list, then you can add more, because I believe that adds a ban file under what b00n said.  Then just open it up, and add more bans into it through the .txt file.  Also if you create that .txt file, i think you can just put an IP in there?  I can't check atm.
Title: Re: Easy bans
Post by: SuperMAn on April 07, 2009, 07:00:11 PM
If it does this automatically it should reload them every time the server is stopped no?  It doesn't right now.
Title: Re: Easy bans
Post by: Cameron on April 07, 2009, 08:55:45 PM
If its in the banlist<port>.txt file it should reload all of the bans everytime the server starts, I'm not sure why it wouldn't do that, its stored in a file.  Did you check after restarting it if they were still in that file?
Title: Re: Easy bans
Post by: SuperMAn on April 08, 2009, 02:37:07 AM
Ok.. just tested this, I added an IP ingame with addip command.  Then checked everywhere in the dpfolder,  no banlist27910.cfg.

If i make one will dp recognize it?

edit: well its late noone is probably on, i guess il try.
Title: Re: Easy bans
Post by: Eiii on April 08, 2009, 02:56:44 AM
addip <ip here>
writeip
Title: Re: Easy bans
Post by: SuperMAn on April 08, 2009, 03:06:42 AM
Oh, ty Eiii missed that.  Exactly what i was looking for.

Ty for the help everyone, locked