sighsorry-NoDrowsyDragonDriving icon

NoDrowsyDragonDriving

Prevents players falling off from mounts on SleepSkip sleep vote

Last updated 6 hours ago
Total downloads 11
Total rating 0 
Categories Mods Client-side AI Generated
Dependency string sighsorry-NoDrowsyDragonDriving-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333
Azumatt-SleepSkip-1.3.0 icon
Azumatt-SleepSkip

Server and Client mod that allows players to skip the night when a percentage of players agree to skip.

Preferred version: 1.3.0

README

NoDrowsyDragonDriving

NoDrowsyDragonDriving is a companion client mod for SleepSkip.

Prevents players falling off from mounts on SleepSkip sleep vote

What It Does

  • Hooks SleepSkip.SleepSkipPlugin.OpenMenuOnClient.
  • If the local player is saddle-riding:
    • AlwaysAccept: sends VoteYes automatically, no popup.
    • AlwaysDecline: sends VoteNo automatically, no popup.
    • Ask: allows the popup, but protects riding state from detach during sleep-stop flow.
  • Hooks Game.SleepStop and blocks the sleep-triggered detach calls for a short guarded window.

If you still fall off, it is said that increasing config values would help


## Enable/disable riding detach guard during sleep-stop flow. This setting updates live.
# Setting type: Boolean
# Default value: true
Enable Riding Detach Guard = true

## Extra post-SleepStop guard window in milliseconds for off-stack detach calls. 0 disables.
# Setting type: Int32
# Default value: 300
# Acceptable value range: From 0 to 2000
Detach Guard Extra Window (ms) = 300

## How many detach calls can be blocked during the extra post-SleepStop window. 0 disables.
# Setting type: Int32
# Default value: 2
# Acceptable value range: From 0 to 8
Detach Guard Extra Blocks = 2

## Maximum frame distance from SleepStop for extra off-stack guard blocks. Lower values reduce false positives.
# Setting type: Int32
# Default value: 6
# Acceptable value range: From 0 to 120
Detach Guard Extra Window (frames) = 6