---
title: How to Enable Vegan/Vegetarian Mode for The Forest
description: Learn how to enable vegan or vegetarian mode for The Forest dedicated server.
source: "https://nodecraft.com/support/games/the-forest/how-to-enable-vegan-vegetarian-mode-for-the-forest"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMXg1NTEvNzNlZmM4ODlkYi90aGUtZm9yZXN0LWxhbmRpbmcucG5nL20vIn0seyJuYW1lIjoiZ2FtZV9sb2dvIiwiaW1hZ2VfdXJsIjoiaHR0cHM6Ly9jbXMtYS5ub2RlY3JhZnQuY29tL2YvMTMzOTMyLzgzNngyNjAvNDljOGViZTA2Yy90aGUtZm9yZXN0LWxvZ28ucG5nL20vIn0seyJuYW1lIjoiY3RhX3RleHQiLCJ0ZXh0IjoiQ3JlYXRlIHlvdXIgb3duIHNlcnZlciEifSx7Im5hbWUiOiJ0ZXh0IiwidGV4dCI6IkhvdyB0byBFbmFibGUgVmVnYW4vVmVnZXRhcmlhbiBNb2RlIGZvciBUaGUgRm9yZXN0In1d&s=f70452d39ba1a6aa4bfbe0830d66ec7884771ef4bd466f5ffa5a4d0d6b4496cd"
updated: "2024-09-05T14:51:00.000Z"
---

# How to Enable Vegan/Vegetarian Mode for The Forest

Learn how to enable vegan or vegetarian mode for The Forest dedicated server.

To enable Vegan or Vegetarian Mode for The Forest here at Nodecraft, you need to edit the server’s config file. These modes alter the behavior of enemies in the game, with Vegan Mode disabling enemies entirely and Vegetarian Mode spawning enemies only at night.

## Nodecraft Pro

If you don’t have access to Nodecraft’s Control Panel, please skip ahead to the Editing Manually section.

### Game Settings

Click the Game Settings tab on the left-hand side and locate the following:

![Enable Vegan or Vegetarian settings for The Forest in Nodecraft Pro](https://cms-a.nodecraft.com/f/133932/1347x738/3347183219/vegetarian.png/m/1000x0/smart)

### Save and Restart the Server

After making your desired changes, make sure you click the Save button and then Restart the server for the changes to apply.

## Editing Manually

### Locate the Server Configuration Files

Go to the Server Files tab in Nodecraft Pro on the left-hand side, and locate the `server.cfg` file.

![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)

If your server is not with us here at Nodecraft, or you’re using Windows, this is usually located at `C:\\Users\\YourUsername\\AppData\\LocalLow\\SKS\\TheForestDedicatedServer`.

### Edit the `server.cfg` File

Select the `server.cfg` file and click the Edit button.

> **Important:** You can only use either Vegan Mode or Vegetarian Mode, not both simultaneously. Make sure only one of them is enabled (`on`) in the `server.cfg` file to avoid conflicts.

### Enable Vegan Mode

To disable all enemies, add or change the following line in the `server.cfg` file:

```
VeganMode on
```

This ensures that no enemies will spawn in the game.

### Enable Vegetarian Mode

To only have enemies spawn at night, add or change the following line in the `server.cfg` file:

```
VegetarianMode on
```

With this setting, enemies will appear only during nighttime.

### Save and Restart the Server

After making your desired changes, make sure you click the Save button and then Restart the server for the changes to apply.

## Verify the Changes

After you’ve restarted your server, verify that the modes are working as expected by playing on the server and checking enemy behavior.

If you encounter any issues or need further customization please reach out to our [Support Team](https://nodecraft.com/support).
