AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Solved Banned ips (https://forums.alliedmods.net/showthread.php?t=325338)

r4f4w 06-17-2020 08:58

Banned ips
 
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?

TomL. 06-17-2020 10:20

Re: Banned ips
 
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.

r4f4w 06-26-2020 09:38

Re: Banned ips
 
Quote:

Originally Posted by TomL. (Post 2706178)
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.


All times are GMT -4. The time now is 15:31.

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