Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | rud0lf | |
Old Version | Published before Godot 3 was released. |
I recently became interested in multiplayer games. Apparently, godot 2.2 (and as far as i know godot 3.0) provides no ability to kick/disconnect peer. Let’s say i start the server limited to 2 players, with address known to group of people, and i want to disconnect player that sent incorrect password (which is obtained with remote call). The idea of simply not registering player and assigning in-game object to them is not enough, because they gonna stall the available connection slots, so no more players will be able to join. I really, really don’t want to code networking logic by myself based on PacketPeer. Is there possibility do disconnect player basing on their peer_id ?