This is a mod for game Stardew Valley, with which you can use an unmanned account as the host to be online 24 hours a day, and players can join the game at any time. The game will automatically pause when no other players are on the farm. In multiplayer games, the host player will automatically go to sleep immediately after waking up every day to prevent hindering the progress of real players.
- Install SMAPI.
- Download the latest release (both
AutoHost.zip
and source code) of AutoHost mod, and unzipAutoHost.zip
to the game mod directory, e.g.D:\path\to\steam\steamapps\common\Stardew Valley\Mods
. - Start your game with SMAPI console.
- Unzip the source code to anywhere you like, setup a Python environment with
pyautogui
library, and runpython server.py
in the\path\to\Python
directory. - Use the command
ah r zoom/sleep/unsleep
in SMAPI console to localize the buttons of the game and its window. - Now other players can join in the game.
- Manually control the host player to sleep, minimize the game window, and this system will then work stably.
MIT © Leohh