Server password not working


(delta616) #1

Hey SD forums. I am having a hard time setting up a passworded server. The server is all setup and works just fine. But when I password it. It doesn’t allow me access even with the correct password.


(impulse) #2

There are only a couple of password commands. The reserved spots password is only if you have any spots reserved. In the below setting I have 2 reserved spots that can only be grabbed if you have that password.

//Password for your server - si_needpass NEEDS to be set to 1 for passwords to work
si_needpass 0
g_password “passhere”

//Reserved spots
si_privateClients “2”
g_privatePassword “passhere”

Now if you are trying to connect via the console to a server with a password there is a couple of ways of doing that.

Method 1

>Password passhere

>connect 10.10.10.10:27015

Method 2

>connect 10.10.10.10:27015;password passhere


(delta616) #3

Yeah I figured out my problem. I was useing a sting as a password and not " " usually the string command for it works.