Project Zomboid servers typically disable sleep for players by default. This also means that sleeping as a requirement is disabled. However, users may want to rest or recover from fatigue/injuries by sleeping, which can be done by allowing players to sleep while still keeping the requirement disabled. This provides an effective way to rest and remove negative moodlets, while avoiding making it a lengthy requirement, as fast-forwarding is not usually available on servers.
| Guide |
|---|
| Server Panel |
| Admin Menu |
How to Change the Sleep Settings on a Project Zomboid Server (Panel)
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Files tab.
4. Find the following directory: /home/container/.cache/Server
5. Open [SaveName].ini for editing. The .ini file is labeled depending on the Save/Config Name in the Startup tab.
6. On the SleepAllowed= line, change the value to true to let players sleep.
7. The SleepNeeded= setting can be set to true to require players to sleep.
Note: Because multiplayer servers often do not support fast forwarding, be cautious when making sleep a requirement.
8. Press Save.
9. Start the server.
How to Change the Sleep Settings on a Project Zomboid Server (Admin Menu)
1. Join the server as an admin.
2. Click the Admin icon.
3. Select See Server Options.
4. In the Filters bar, enter sleep.
5. Hover over SleepAllowed and click Change.
6. Choose true from the dropdown and hit Save.
7. Optionally, repeat the process for SleepNeeded to make sleeping a requirement.
Note: Because multiplayer servers often do not support fast forwarding, be cautious when making sleep a requirement.
8. Press Apply Changes.