Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.7.0
Added an optional setting for the host to pause time when any player is in a cutscene (disabled by default)
Fixed a minor synchronization display error when a player joins while the game is paused via voting or override
Version 1.6.3
Players who join have their vote to pause automatically set to match the host's current vote to pause (configurable)
Displays vote related messages to all players (locally configurable)
Added pause override functionality to host (configurable)
Added pause override hotkey for host (configurable)
Version 1.6.2
Added support for the Generic Mod Config Menu
Version 1.6.1
Disabled display of vote pauses for host when the feature is disabled
Version 1.6.0
Added vote pause toggle functionality, default binding is "Pause/Break", where if all players have voted to pause then time will be paused until one of them votes again
Version 1.5.1
Fixed double damage bug on Skull Cavern shaft drops when fully unpaused
Version 1.5.0
Added error message for host when a player joins without this mod
Added error message for host when a player joins with a mismatched version for this mod
Fixed bug causing health to not reduce when dropping down shafts in the Skull Cavern
Added configurable boolean to disable the Skull Shaft Fix for compatibility with certain mods
Automatically disables Skull Shaft Fix when SkullCavernElevator mod is loaded
Disabled invincibility parameters specifically during saving to prevent potential compatibility issues
Handled edge case errors in the shouldPause method for asynchronous checks before initialization
Version 1.4.3
Fixed a bug causing health to not increase in certain conditions (thanks zedqt!)
Version 1.4.2
Fixed the player blinking once after pause invincibility ends
Version 1.4.1
Made the invincibility logic more robust and less annoying if you happen to pause on top of an enemy
Version 1.4.0
Implemented monster and health locks while paused
Version 1.3.0
Implemented the Skull Cavern time fix, making game time last for longer if all players are in the Skull Cavern as it does in singleplayer
Revised the pause behavior regarding tool use to more accurately match singleplayer (thanks TylerDurdenMhm!)
Made the X graphic over the game clock subtler
Version 1.2.1
Fixed a bug causing the X to draw when the HUD wasn't being displayed
Version 1.2.0
Added a small X graphic over the game clock when time is paused that can be disabled via config.json
Version 1.1.3
Fixed a bug that was counting having the fishing rod cast as a pausable moment (sorry for anyone taking advantage of that ;-) )
Version 1.1.2
Fixed an occasional bug that would prevent food and drink buffs of the same type from being renewed when consuming the same while paused (thanks dagger!)
Version 1.1.1
Immensely reduced the amount of bandwidth the mod uses, on the order of about 99.99%.
Version 1.1.0
Completely revamped the netcode logic to manually control when data is synchronized. This should fix irregular behavior that was previously caused by relying on Stardew Valley to natively synchronize its fields across clients.
Donations
No donations accepted
This is a non-intrusive mod that pauses time in multiplayer games when all players meet the conditions that would pause time if they were in a single-player game. A few other mods exist on here with this functionality, but they had some bugs and lack of implementation that I wasn't happy with so I made this one.
Additional Features
Stops food and drink buffs from ticking down while the game is paused.
Locks monster positions and player health while paused.
Slows down clock time if all players are in the Skull Cavern as it does in single-player.
Displays a subtle X graphic over the game clock to better indicate when time is paused.
Vote pause function, where if all players vote to toggle pause (default key: Pause/Break) then the game will pause until one of them votes to toggle pause again.
Pause override hotkey (default: Scroll Lock), allowing the host to manually toggle pausing the game regardless of status or votes
Optional setting to pause time when any player is in a cutscene (disabled by default)
Each player must have this mod installed for it to function properly. If each player meets any of the following conditions then time is paused:
has a menu open
is engaged in dialogue
is shopping
is processing geodes
is in the animation of pulling crops
is changing map locations
is in an event
is reeling in fish
is playing an arcade game
is playing darts
is playing the crane game
is watching a movie
is gambling
is being asked to use an item (such as eating food)
Time will also pause while all players have voted to or while the host has used their pause override hotkey, in addition to these conditions. If the host has enabled it, time will also pause when any player is in a cutscene.
The game clock will stop advancing when time is paused. NPCs, farm animals, and monsters will lock positions.
Monsters and player hitpoints lock as of 1.4.0. This feature is new and while I've tested it, if you have any bugs please let me know!
Extract the contents of PauseInMultiplayer.zip to your StardewValley/Mods folder for every player (take care to use the same version for every player also)
Optional Configuration Included with the mod is config.json, which allows you to set different values depending on your preference. This may be configured by manually editing the file or by using Generic Mod Config Menu. { "ShowPauseX": true, //change to false if you don't want to display the X graphic when paused "FixSkullTime": true, //change to false to disable the Skull Cavern time fix (host only) "DisableSkullShaftFix": false, //change to true to disable hp fix for dropping down shafts "LockMonsters": true, //change to false to disable monster and hp locking (host only) "AnyCutscenePauses": false, //change to true to pause for all cutscenes (host only) "EnableVotePause": true, //change to false to disable pause voting (host only) "VotePauseHotkey": "Pause", //change to whatever hotkey you want to toggle vote pause "EnablePauseOverride": true, //change to false to disable pause override hotkey (host only) "PauseOverrideHotkey": "Scroll", //change to whatever hotkey to pause override (host only) "DisplayVotePauseMessages": true //change to false to disable showing vote messages }
Contact Bugs, questions, suggestions, comments, or just lonely? Hit me up!