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

Server password change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OneMore
Senior Member
Join Date: Feb 2019
Old 04-18-2019 , 16:28   Server password change
Reply With Quote #1

Hi,

I set server password in server.cfg (sv_password). Then after the restart, I try to change it with rcon command like
Code:
rcon sv_password "newpass"
I see a message like "server cvar sv_password changed to ***PROTECTED***

However, if I disconnect from the server and connect again, the password is the same as I set in server.cfg

Can someone point out what's wrong? As I understand, I can't set the password without a restart, but it can be changed by sv_password command without a restart if it is already set...
OneMore is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 04-18-2019 , 16:31   Re: Server password change
Reply With Quote #2

server.cfg is executed every time the map changes or starts. Disconnecting and reconnecting "restarts" the map, and re-executes server.cfg.
__________________
sneaK is offline
OneMore
Senior Member
Join Date: Feb 2019
Old 04-19-2019 , 09:41   Re: Server password change
Reply With Quote #3

So you mean I need to set the new password in server.cfg and change the map instead of using command sv_password? Ok, I will try, thanks!
OneMore 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 10:10.


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