This command advances the game by one day.
In Valheim, the sleep
command is used to simulate the passage of time by advancing the in-game progression to the next day. Upon using this command, the game will behave as if you have just woken up from a good night's rest.
This command can be especially helpful in a number of situations. For instance, if you're doing some construction or exploration and you're hindered by the nighttime darkness, you can use the sleep command to immediately change it to morning.
Furthermore, it can also aid in quickly advancing time-dependent events such as the growth of cultivated crops or the respawn of certain resources.