Method of Player
player:connect
Asks Minefort to move the player to another server by name: an instance's id, the network's name (its default member) or "hub". Minefort decides and does not answer; a player still here was not moved.
player:connect(server: string)Parameters
serverstringUsed in
player:connect("hub") -- ask Minefort to move them to another server, by its nameBody and movement- `player:connect(server)` asks Minefort's proxy to move the player: a BungeeCord `Connect` for a Java player, a `Transfer` to that name for a Bedrock player. It returns nothing and does not yield.Body and movementplayer:connect(arena.id)Networkfor _, player in waiting[instance.id] or {} do player:connect(instance.id) endNetwork