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

sm_rehash wipes admins.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CsShadow
New Member
Join Date: Nov 2018
Old 11-23-2018 , 03:53   sm_rehash wipes admins.cfg
Reply With Quote #1

For some reason when I send sm_rehash to the server he wipes the admins.cfg to "admins" { }
when I do sm_reloadadmins its fine only sm_rehash doing that

how I can fix it?

thanks for helping!
CsShadow is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-23-2018 , 07:17   Re: sm_rehash wipes admins.cfg
Reply With Quote #2

Ok, to be clear/clarify. SourceMod base mod/plugins not have such thing like "sm_rehash".

Obviously, you have installed plugin what does this.
__________________
Do not Private Message @me

Last edited by Bacardi; 11-23-2018 at 07:18.
Bacardi is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-23-2018 , 07:51   Re: sm_rehash wipes admins.cfg
Reply With Quote #3

You have misconfigured SourceBans.
__________________
asherkin is offline
CsShadow
New Member
Join Date: Nov 2018
Old 11-23-2018 , 08:00   Re: sm_rehash wipes admins.cfg
Reply With Quote #4

Quote:
Originally Posted by Bacardi View Post
Ok, to be clear/clarify. SourceMod base mod/plugins not have such thing like "sm_rehash".

Obviously, you have installed plugin what does this.
seems its sourcebans


Quote:
Originally Posted by asherkin View Post
You have misconfigured SourceBans.
o ok so from where should i start checking ?
i cant see any problem with the settings that i did
CsShadow is offline
CsShadow
New Member
Join Date: Nov 2018
Old 11-23-2018 , 08:09   Re: sm_rehash wipes admins.cfg
Reply With Quote #5

Quote:
Originally Posted by asherkin View Post
You have misconfigured SourceBans.
I have 2 admins.cfg one inside sourceban folder and another one on configs folder

the admins.cfg inside the sourceban have nothing in it and when i do the command sm_rehash he wipe the admins.cfg on the configs folder

Last edited by CsShadow; 11-23-2018 at 08:09.
CsShadow is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 11-23-2018 , 08:22   Re: sm_rehash wipes admins.cfg
Reply With Quote #6

You can disable this by setting BackupConfigs to "0" in configs/sourcebans/sourcebans.cfg.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
CsShadow
New Member
Join Date: Nov 2018
Old 11-23-2018 , 08:23   Re: sm_rehash wipes admins.cfg
Reply With Quote #7

Quote:
Originally Posted by DJ Tsunami View Post
You can disable this by setting BackupConfigs to "0" in configs/sourcebans/sourcebans.cfg.
i already did that it only fixed sm_reloadadmins the sm_rehash still doing that
CsShadow 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 12:28.


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