Hi there!
I am a game and backend dev for 15 years now. So not a newbie in development but in multiplayer games development I am.
I plan to use Mirror for my first multiplayer game. The game should run small maps - something like “catch the flag” with 10 players. So far, so clear.
My architecture looks like that:
Auth server → Matchmaking server → Gameserver (fleets)
I want the game-logic run on a dedicated server. But the maps are very small with 10 players. So a Server easily can host more than one instance of the game. My idea is to start a new game-server on the same machine where other games are running using different ports for each game instance.
My servers running Ubuntu. So I like to do something like that to start a new game-server instance: ./server.x86_64 -port 6666
I think I am not the first with this approach. I couldnt find anything on the docs or on the web. Is this a good way to handle this problem? Are there anywhere docs how to launch a game server with arguments?