Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

lolmaj

Uploaded by

lolmaj

Virus scan

Safe to use

About this mod

Stop time for multiplayer if each player on server should have time stopped.

Requirements
Permissions and credits
Changelogs
Donations
Stop time if each player on server should have time stopped.
Install

How it works
Whenever player not free to act on the world (menu is displayed, cutscene is in progress, etc) he sends message to other players. When host see, that every player in game send message game freeze (time, NPCs, monsters, animals, health, buff timers, regeneration, bombs). If player is free to act, they send message to start clock. Players can see clock in cutscenes, minigames and while buying new buildings or animals.

This mod also fixes time flow in Skull Cavern if every player is inside and health loss from entering shaft.

There is new feature: a bar that contains a information how many players meet the condition of pause. Green color shown how many players should have time stopped, blue shows how many players should not have game stopped and red (only host can see it) shows that some players don't have mod installed or are not loaded yet. Player can also click on this bar to get message with list of blue/red players. This mouse click will be ignored by non modded part of game, so you don't need to worry that it will close dialogbox or cutscene.

U can turn on/off mod by pressing F3 button. You can change this button in config. If you are using UI Info Suite mod then set it's config value to true. You can also disable UI bar.

Compatibility
  • Works with Stardew Valley 1.5.6 on Linux/Mac/Windows.
  • Works with Generic Mod Info Menu 1.11.0
  • Works with Smapi 3.18
  • Works in single player but is useless.
  • Works in multiplayer but every player have to have this mod. Otherwise it doesn't work.

My thoughts
It is my first mod so be forgiving. Information if time should freeze depends on things like: Game1.activeClickableMenu, Game1.dialogueUp, Game1.eventUp, Game1.isFestival() which aren't assigned to player, but to his Game1 object, and can't be checked by other player. I want this mod to be balanced and fair with game rules. Time should work like in single player. All frauds, that you can do in singiel player to manipulate time, should also exist in multiplayer, but this mod shouldn't add any more ways to do this.

Source Code
My other mods
Bar was created by my Friend Zedarrrr. Check out his Twitter