Raised This Month: $51 Target: $400
 12% 

SM Admins keep resetting! Can anyone help?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
midimaxum
New Member
Join Date: Sep 2011
Old 09-18-2011 , 10:09   SM Admins keep resetting! Can anyone help?
Reply With Quote #1

Hello,

I'm a bit new with sourcemod. I uploaded an admins.cfg files with a list of admins. Later, I added two admins and overwrote the files on the server. For some reason, it keeps reverting back to the original admins.cfg file, removing the two new admins I added. It happens just a bit after I upload the new file, so I'm guessing it occurs when the map restarts.

Anyone have this problem? Anyone know how to fix it?

Attached is a screenshot of the sourcemod plugins I have installed.
Attached Thumbnails
Click image for larger version

Name:	plugin list.png
Views:	243
Size:	91.4 KB
ID:	92712  
midimaxum is offline
cybersquare420
Veteran Member
Join Date: Nov 2008
Old 09-18-2011 , 10:21   Re: SM Admins keep resetting! Can anyone help?
Reply With Quote #2

permissions. file is failing to be overwritten.
__________________
cybersquare420 is offline
midimaxum
New Member
Join Date: Sep 2011
Old 09-18-2011 , 10:28   Re: SM Admins keep resetting! Can anyone help?
Reply With Quote #3

I know it isn't that because I have full administrative FTP rights. When uploading the file, it successfully overwrites, and the files grants the two people their admins rights for a short time, then the files is soon reverted back to the original. It's very weird.
midimaxum is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 09-18-2011 , 11:01   Re: SM Admins keep resetting! Can anyone help?
Reply With Quote #4

If you use SourceBans, you have to use it to manage admins.
Fyren is offline
linglingftw
Member
Join Date: Aug 2010
Old 09-18-2011 , 11:58   Re: SM Admins keep resetting! Can anyone help?
Reply With Quote #5

Disable sourcebans.smx and add the basebans.smx (its in the disabled folder) if you wish to use the admins.cfg.
Otherwise SourceBans will rewrite the file with the admins from the sourcebans database (if there's no admins stored then nobody will have admin).
linglingftw is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-18-2011 , 12:49   Re: SM Admins keep resetting! Can anyone help?
Reply With Quote #6

SourceBans can configure to not re-write admins.cfg ?
Code:
        // Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
        "BackupConfigs"    "1"

        // Enable admin part of the plugin (1 = enabled, 0 = disabled)
        "EnableAdmins"    "1"
Quote:
  • BackupConfigs - Store the admins and groups on the gameserver for when the database is down. Will overwrite admins.cfg and admin_groups.cfg.
  • EnableAdmins - Enable the admins portion of SourceBans.
__________________
Do not Private Message @me

Last edited by Bacardi; 09-18-2011 at 12:51.
Bacardi is offline
Reply



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 13:31.


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