This is a Main Menu command - it should be typed when in the game's main menu (similar to 'developermodeon'), not into the developer console. Typing this into the main menu will enable Vegetarian Mode, which makes it so that enemies only spawn at nighttime. Type vegetarianmode into the main menu again to disable this mode.
The syntax for the vegetarianmode command is as follows:
vegetarianmode
Search our database of 108 The Forest commands...
By Your Command