Using MLAPI to host multiple instances of the game from one server

I’m working on a project that would have few players playing against each other in a match. My goal is to be able to run a single dedicated server for all requests from multiple machines in multiple matches. So far I’ve been able to run a single instance. Is there any way to make this happen with MLAPI?

1 Like

You can have a system where objects are in different network groups and objects of each group are only visible in that specific group.

When the clients connect to the server, it should send them back a message by basically creating their player and setting a network group NetworkVariable so they know which group they are in and then make them invisible to all objects of other groups (SetNetworkVisibility is the method to use).

Another option would be to just run one server application per match and run multiple applications on a single physical machine. You will need some system to orchestrate your servers though.

How can I host multiple channels on one server?
One Channel has several scenes where are several players.