A) Map and Skill-Based Matchmaking In EG2, I found code for await Rivet.lobbies.find_or_create, which takes a JSON parameter. I set tags and createConfig.tags to { "map": "sandstorm", "difficulty": "hard" }, but the server threw an error.
I referred to DOC, but it didn’t clarify the purpose of JSON keys. Then, I checked MOD, where I found two useful pieces of information: - To enable tags, set taggable to true.
Next, I looked at EG1 and found that rivet.json defines matchmaker.game_modes.default. Based on this, I added the following to the rivet.json of EG2: "matchmaker": { "game_modes": { "default": { "taggable": true } } }
After deploying the server (not sure if this was necessary), the client weren't able to connect to server due to server error.
Build and scale stateful backends. Rivet Actors is a library for long-lived processes with durable state, realtime, and scalability. Easily self-hostable and works with your infrastructure.