Raised This Month: $32 Target: $400
 8% 

Solved Banned ips


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
r4f4w
Member
Join Date: Jul 2019
Old 06-17-2020 , 08:58   Banned ips
Reply With Quote #1

The csgoserver cfg folder have this cfg called "banned_ip".

I use SourceBans to ban players in my servers, but i don't know why this cfg are including more and more ip's to it.

I've tryed to delete this cfg, but every this that i shutdown and open my server again, this cfg is always recreated with all the ip's that was before.

I don't know what plugin is adding this ip's on that cfg (if is not the server by it self), because this is happening way before i added SourceBans.

And where the cfg is getting the ip's when i delete the file?

Last edited by r4f4w; 06-26-2020 at 09:39.
r4f4w is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 06-17-2020 , 10:20   Re: Banned ips
Reply With Quote #2

The game server stores bans in memory by default until you shutdown the server and the memory gets cleared.
You can write those bans to cfg/banned_user.cfg and cfg/banned_ip.cfg by adding writeid and writeip to your config.
By having exec banned_user.cfg and exec banned_ip.cfg in your config those bans will be reapplied after a shutdown.
TomL. is offline
r4f4w
Member
Join Date: Jul 2019
Old 06-26-2020 , 09:38   Re: Banned ips
Reply With Quote #3

Quote:
Originally Posted by TomL. View Post
The game server stores bans in memory by default until you shutdown the server and the memory gets cleared.
You can write those bans to cfg/banned_user.cfg and cfg/banned_ip.cfg by adding writeid and writeip to your config.
By having exec banned_user.cfg and exec banned_ip.cfg in your config those bans will be reapplied after a shutdown.
Thanks for the reply!

Turns out that i had the execs on my server cfg and i haven't noticed.
r4f4w is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode