Wait For Players System

A very simple plugin that lets the server listen for players to send ready requests and replicates the status to all clients.

  • 支持的平台
  • 支持的引擎版本
    5.1 - 5.3
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

This system can be used to let the server listen for players to send ready requests and replicate the status to all players.

It can also be used to let the server decide who is ready and then replicate to players.

Customization allows a time limit to be added and how exactly many players that need to send requests.

Example project included.

See documentation for more information.

Documentation: Google Document

技术细节

Features:

  • One GameState Component, the server side code. Players that are ready is replicated to all.
  • One PlayerController Component, so the player can send a request when it´s ready.
  • One GameInstance Subsystem, For easy access to the system both for clients and the server.
  • Four Delegates/Events that are called on both server and on all clients. OnAllPlayersReady, OnPlayerReady, OnTimeoutReached, OnServerStartWaiting.
  • The components will automatically be added if they do not exist. They can also be added directly in the editor.


Code Modules:

  •  WaitForPlayers, Runtime


Number of Blueprints: 10

Number of C++ Classes: 3

Network Replicated: Yes

Supported Development Platforms: Windows, Mac, Linux, IOS, Android. (Only Windows tested, should work on other platforms)

Supported Target Build Platforms: Windows, Mac, Linux, IOS, Android. (Only Windows tested, should work on other platforms)

Documentation: https://docs.google.com/document/d/e/2PACX-1vT-jShq6rdrPH5iblWn_ue9ktoaOAW-9TF7Ojypa66wsNnTkDhR4nqzlv_6nKgKEry7iYl39m6_P3M-/pub

Example ProjectEngine->Plugins->WaitForPlayers->ExampleLevel

Important/Additional Notes: This plugin is using unreal engine´s plugin ModularGameplay.

You can contact me here: https://discord.gg/azWURcymGY