---
title: How to Set a Server Password for The Forest
description: Learn how to add a server join password to your The Forest dedicated server.
source: "https://nodecraft.com/support/games/the-forest/how-to-set-a-server-password-for-the-forest"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMXg1NTEvNzNlZmM4ODlkYi90aGUtZm9yZXN0LWxhbmRpbmcucG5nL20vIn0seyJuYW1lIjoiZ2FtZV9sb2dvIiwiaW1hZ2VfdXJsIjoiaHR0cHM6Ly9jbXMtYS5ub2RlY3JhZnQuY29tL2YvMTMzOTMyLzgzNngyNjAvNDljOGViZTA2Yy90aGUtZm9yZXN0LWxvZ28ucG5nL20vIn0seyJuYW1lIjoiY3RhX3RleHQiLCJ0ZXh0IjoiQ3JlYXRlIHlvdXIgb3duIHNlcnZlciEifSx7Im5hbWUiOiJ0ZXh0IiwidGV4dCI6IkhvdyB0byBTZXQgYSBTZXJ2ZXIgUGFzc3dvcmQgZm9yIFRoZSBGb3Jlc3QifV0&s=80d4c5601e75cc86375c46ec24474ca44b5aa10c4219966573d90e754f746305"
published: "2024-09-29T23:47:24.000Z"
updated: "2024-09-29T19:53:00.000Z"
---

# How to Set a Server Password for The Forest

Learn how to add a server join password to your The Forest dedicated server.

To add a password to your The Forest server, you'll need to follow a series of steps within your server's control panel. We'll walk you through that process with this guide!

## Set the Server Password

If you have access to Nodecraft’s Control Panel, follow the **Nodecraft Pro** steps. If not, skip ahead to the **Edit **`server.cfg` File section.

### Nodecraft Pro

Click on the “Game Settings” tab on the left-hand side.

Locate the “Server Password” setting, provide a password you want to use, and then click “Submit” at the bottom of the panel.

![The Server Password setting for The Forest in Nodecraft Pro](https://cms-a.nodecraft.com/f/133932/1051x703/9291d829d1/server-pass.png/m/1000x0/smart)

### Edit the `Server.cfg` File

Locate your server’s `server.cfg` file, this will be where your server’s `-configfilepath` is set to.

At Nodecraft, you can find this file in the **Main Folder** of the “Server Files” tab.

Select the file and click the “Edit” button.

![Editing the server.cfg file for The Forest in Nodecraft Pro](https://cms-a.nodecraft.com/f/133932/1898x660/5b6c57c7ce/servercfg-edit.png/m/1000x0/smart)

Find the `serverPassword` setting, add your desired password, and then “Save Changes”.

![The serverPassword setting for The Forest in Nodecraft Pro's file editor](https://cms-a.nodecraft.com/f/133932/1914x663/b1a023d80d/serverpassword.png/m/1000x0/smart)

## Start the Server

From here, be sure to Start your server up, or Restart it if you made any edits while the server was running.

## Join the Server

From here you can connect to your server. Please refer to our How To Join article if you’re not sure of the process.

The only additional step you want to do is, before you join completely, you’ll provide the Server Password you set for your server.
