饥荒联机版

饥荒联机版

62 个评价
Pre-game lobby
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
412.466 KB
2023 年 4 月 10 日 上午 4:32
2023 年 6 月 19 日 上午 3:29
3 项改动说明 ( 查看 )

订阅以下载
Pre-game lobby

描述
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.
热门讨论 查看全部(1)
0
2023 年 9 月 27 日 上午 12:02
Excuse me, would you mind moving this module to the Wegame platform
阿巴阿巴
19 条留言
Maxi 3 月 15 日 下午 12:51 
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)
온 세상이 무비자짱깨 2024 年 9 月 13 日 下午 6:16 
after latest version, can't work :
我不是蜻蜓队长 2024 年 6 月 18 日 上午 6:55 
找到解决方案了,让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.
我不是蜻蜓队长 2024 年 6 月 17 日 上午 3:09 
-HERO-LuoBo 2023 年 8 月 7 日 上午 12:54 
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.
-HERO-LuoBo 2023 年 8 月 7 日 上午 12:54 
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?
bottomcoded 2023 年 7 月 11 日 上午 10:56 
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 River 'Ness 🦎💜 2023 年 7 月 1 日 上午 2:52 
@cameron-
Sounds good, hopefully it's a easy enough fix! <3
cameron-  [作者] 2023 年 6 月 29 日 上午 4:25 
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.