I’m trying to create an authoritative match, but I’m not sure how to do that using defold sdk.
When I search on the github the term “authoritative”, it only shows the option to list_matches, but that it’s not what I’m looking for. Code search results · GitHub
Also, on the socket.lua file, on the match_create function it only accepts the match name:
To create an authoritative match you need to register an implementation of the match handler functions and create a custom RPC to call match_create on the server. Please have a look at the authoritative multiplayer docs.
So in this example here, the server calls the function nk.create_matchFunction Reference - Heroic Labs Documentation passing the module defined on the runtime, but I was not able to find this function create_match.