Trying to make a private dedicated server.
-
I set up everything and the servers are running perfectly but I cant put a password on the server.
-
In your server configuration file "dedicated_zm" or "dedicated" there is a line that says:
// g_password ""
That line remove the "//" and make it look like this
g_password "your_password"Save the file and restart your server.
-
Be sure to change "your_password" to something else.
When connecting, on the main menu you need to open the console and type
password thepasswordyouchose
and then press enter and then connect to the server as normal. -
If you connect with IP in console, you can type connect 1.1.1.1:port;password your_password
Replace 1.1.1.1 with your external ip, port with your port, and your_password with the password you have chosen.
-
I set up everything and the servers are running perfectly but I cant put a password on the server.
sv_offline 1 and you don't need a password as it doesn't register itself to the server list anymore.
-
If you connect with IP in console, you can type connect 1.1.1.1:port;password your_password
Replace 1.1.1.1 with your external ip, port with your port, and your_password with the password you have chosen.
Mathy so is it like this connect 1.1.1.1:4976:password
like that? -
BadBane not exactly, let's assume your external ip is 94.32.54.21, your port is 4976 (default) and your password is strongpassword33
connect 94.32.54.21;password strongpassword33if your port is something else however (or if you're running game + server on the same pc in which case you need to change the server's port to 4977):
connect 94.32.54.21:4977;password strongpassword33: is used to separate ip and port
; is used to separate commands
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login