Jump to content
Sign in to follow this  
G-Force49

Server Password

Recommended Posts

I setup a server and gave myself admin rights. I started the server and assigned a password to the server using the adminsetserverpassword in the console.  I logged out of the server and the server showed it was password protected on the server list.  I joined the server it prompted me for the password. I logged out of the server and left the game. A few hours later I went to rejoin the server and there was no password associated with the server on the server list and it did not prompt me for a password when I went to join the server.

I think the password should stay with the server until the server is restarted.

Share this post


Link to post
Share on other sites

I think the map change resets the password, unless you set it via the config file. As in, the server looks to the config each map change and, since you set the password via command, it's not actually in the config file. 

 

I agree--it should stick once it's assigned in-game.

Share this post


Link to post
Share on other sites

I could not find any documentation on how to set it in the config file. I tried to add  adminsetserverpassword in the server.cfg but it did nothing.

Thanks for your quick reply

Edited by G-Force49

Share this post


Link to post
Share on other sites
1 hour ago, He Hate Me said:

Try this in the server.cfg

 


ServerPassword="passwordgoeshere"

 

Thanks, That worked

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×