Don't Starve Together

Don't Starve Together

61 ratings
Pre-game lobby
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
412.466 KB
10 Apr, 2023 @ 4:32am
19 Jun, 2023 @ 3:29am
3 Change Notes ( view )

Subscribe to download
Pre-game lobby

Description
Want all players to start a world at the same time?
This mod prevents anyone from spawning before all players are ready.
Can also be controlled by an administrator.
Or be set to require a minimum number of players.

Configuration
Mode
  • All Ready = Game starts when all connected players are ready and there must be more than the minimum number connected
  • Minimum Ready = Game starts when the minimum number of players are ready
  • Admin Controlled = Admin gets a start button, game starts when they click it
Minimum players
  • Minimum number of players required for the game to start, admin mode doesn't use this
Late join
  • Can new players join after the game has started

Defaults are All Ready, 2, and Yes. These defaults would create a lobby where there must be more than two players, and all connected players must be ready for the game to start. New players will still be able to join the server after the game has started.

Notes
An admin can force start the game with this command, even when the mode is not set to Admin Controlled:
require "usercommands".RunUserCommand("forcestartgame", {}, TheNet:GetClientTableForUser(TheNet:GetUserID()), nil)

Source: https://github.com/CameronTenTen/DSTLobbyMod

Untested with many players.
Popular Discussions View All (1)
0
27 Sep, 2023 @ 12:02am
Excuse me, would you mind moving this module to the Wegame platform
阿巴阿巴
19 Comments
Maxi 15 Mar @ 12:51pm 
Is it possible to set minimum players to one and all read, so if multiple players are connected they all need to be ready, but if only one player is connected that one player can start the world too? (in the situation of making a dedicated server, not hosting from client)
난딮기팬임상놈들아 13 Sep, 2024 @ 6:16pm 
after latest version, can't work :
我不是蜻蜓队长 18 Jun, 2024 @ 6:55am 
找到解决方案了,让Pre-game lobby比[API] Modded Skins优先加载就行了,[API] Modded Skins的priority = 2147483647,可以让Pre-game lobby的priority = 2200000000。
Let the Pre-game lobby load before [API] Modded Skins. [API] Modded Skins priority = 2147483647. You can make the Pre-game lobby's priority = 2200000000.
Cute_LuoBo 7 Aug, 2023 @ 12:54am 
Additionally, I hope the author can add a feature that after a player selects their character as ready on the preparation screen, it gives a notification to other players (server announcement/player list notification), or directly hides the player avatar in the player list (and also hide avatars in the player list shown in server selection), to avoid players unfamiliar with this mod from thinking certain players rushed ahead and leaving the server.
Cute_LuoBo 7 Aug, 2023 @ 12:54am 
I want to use this mod to restrict the issue of individual players rushing ahead while others wait for a new world generation in multiplayer, but also allow ignoring AFK players at the connection screen to start directly. So I set ADMIN_MODE=MIN, MIN_PLAYERS=8, LATE_JOIN=true. My expected correct workflow is:

1. Before the new save is opened, at least 8 players have gotten ready, so it will enter the new game after the countdown.
2. After the new save is opened, newly joined players can bypass the minimum player limit and directly join the game (or suicide if alone to reset the world).

But after the new save has started (day>1, player count=1), when I use an admin command to reselect character, it still requires 8 players to be ready before I can properly join. Is this behavior normal? Or is it because I added the mod after the save started?
Markiplier 11 Jul, 2023 @ 10:56am 
At the moment, this is just another starting screen. People wait on eachother anyway usually when starting worlds. It could be so much better if it worked mid-game, as a way to stop players from playing solo and to make sure everyone starts at the right time. No pressure, but consider it.
Daé The Dergbold 🦎💜 1 Jul, 2023 @ 2:52am 
@cameron-
Sounds good, hopefully it's a easy enough fix! <3
cameron-  [author] 29 Jun, 2023 @ 4:25am 
Re: players getting kicked
Under what conditions does this happen? How can I reproduce it?

Re: Modded skins
Maybe I need to make some changes for compatibility, I'll look into it.