Skip to content

Lobbies and Auto Join/Start #13

@mdsimmo

Description

@mdsimmo

What problem does the feature solve

  • Joining a random game cannot be done without command blocks
  • Joining the game with the most players waiting is very difficult
  • Automatically starting a game when enough players have joined requires weird commands in the message.yml file
  • Wait lists are difficult to implement

Describe the solution you'd like
Add lobbies.

Lobbies have a list of possible games (configured by server admins)

Players join the lobby, then, when a game becomes available, players will automatically jump into the game and start playing

Describe alternatives you've considered
Use command blocks to build complex circuits which sense players in games and select the appropriate game. But this complex for server admins, inefficient, cannot be executed by players from a command. It also is highly inflexible once built.

Use the code execution ability of the messaging system to execute code when a player joins a game or attempts to join a game. For instance, create a game called "lobby" with zero spawns. Then alter the "no spawns remaining" message to choose a random game and send the player there. This is an ugly though.

Additional information
Some questions:

  • Can a player directly join a game; or must they first join the lobby? Answer: Must join to the lobby first
  • Can multiple lobbies join to the same game? Answer: no
  • Do players teleport to a lobby and then only teleport to a game when there's enough players.? Answer: No. Teleported immediately
  • If a new player joins a lobby and there's room in a game that counting but not started, does the new player join the counting game immediately? Answer: yes
  • Should there be a count down before teleporting to a game? Answer: No
  • How should players know where they are in the lobby queue? Answer: ?
  • If a player leaves during count down, what happens? Answer: Next player takes their spot. If no next player, countdown cancelled.
  • How to handle games with a different number of spawns? Answer: target game sequentially.
  • When a game ends, do the players go back to the lobby? Answer: No

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions