SleepSkip
Server and Client mod that allows players to skip the night when a percentage of players agree to skip.
Date uploaded | a week ago |
Version | 1.2.1 |
Download link | Azumatt-SleepSkip-1.2.1.zip |
Downloads | 720 |
Dependency string | Azumatt-SleepSkip-1.2.1 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
Server and Client mod that allows players to skip the night when a percentage of players agree to skip.
The mod must be installed on the server to work properly. The client must have the mod, or they will be kicked for a version mismatch.
NOTE: This mod uses ServerSync and a File watcher. Changes to the server config file will sync to clients, no server reboot needed.
Changes via the BepInEx Configuration Manager by an admin will change the server config and sync to all clients. (Admin must be in game)
Popup will not appear if the player is in combat. This will automatically deny the sleep request. Configuration options are available for the amount of players needed in a bed to begin a vote as well as the amount needed to accept, the amount of warning time before a popup appears, and the ability to always accept/deny sleep requests.
Made at the request of Kysen#6031
on discord.
Installation Instructions
You must have BepInEx installed correctly! I can not stress this enough.
Windows (Steam)
- Locate your game folder manually or start Steam client and :
- Right click the Valheim game in your steam library
- "Go to Manage" -> "Browse local files"
- Steam should open your game folder
- Extract the contents of the archive into the BepInEx\plugins folder.
- Locate Azumatt.SleepSkip.cfg under BepInEx\config and configure the mod to your needs
Server
Must be installed on both the client and the server for syncing to work properly.
- Locate your main folder manually and :
- Extract the contents of the archive into the BepInEx\plugins folder.
- Launch your game at least once to generate the config file needed if you haven't already done so.
- Locate Azumatt.SleepSkip.cfg under BepInEx\config on your machine and configure the mod to your needs
- Reboot your server. All clients will now sync to the server's config file even if theirs differs.
Feel free to reach out to me on discord if you need manual download assistance.
Author Information
Azumatt
DISCORD:
Azumatt#2625
STEAM:
https://steamcommunity.com/id/azumatt/
For Questions or Comments, find me in the Odin Plus Team Discord or in mine:
CHANGELOG
Update Information (Latest listed first)
1.2.1
- Allow skipping time if one player is alone in bed and the only one on the server.
- Fix small issue with UI reset.
1.2.0
- Add a configuration option to always accept/deny sleep requests. (Client option, not synced with server)
- Add configuration option for the amount of players needed in a bed to begin a vote. Default 2 (Server option, synced with server)
- Add a configuration option to control the amount of warning time before a popup appears. Default: 15 seconds (Server option, synced with server)
- Update Localization files (English, Chinese, Dutch, French, German, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, Swedish)
1.1.1
- Recompile for Ashlands
1.1.0
- If you had fast enough FPS, the popup instance wouldn't be ready when the mod tried to use it, causing NRE spam. This should fix that issue.
1.0.9
- Move to using the game's UnifiedPopup system. This should fix the issue with the popup.
- Add some new translations for the new popup and a few that I left out.
1.0.8
- Fix issue with menu popup. Mouse now appears correctly.
- Prevent the popup from appearing if the player is in combat. This automatically denies the popup resulting in a denied sleep request.
1.0.7
- Update for Valheim 0.217.22
1.0.6
- Update for Valheim 0.216.9
1.0.5
- Revert the cooldown change. It was causing issues with the mod. I will look into it more in the future.
1.0.4
- Update to use a cooldown in minutes. This will prevent spamming the sleep request.
- Add localization support.
1.0.3
- Update ServerSync internally
1.0.2
- Update ServerSync internally
1.0.1
- Update ServerSync internally
v1.0.0
- Initial Release