Does Nakama have a maintenance mode?

I’m trying to find a way to have Nakama fully running but prevent players from connecting to it at all. I’m calling this ‘maintenance mode’ as it would allow us to do a bit of database work/admin while we are sure no records are changing due to player connections.

I haven’t seen a configuration option that would allow for that yet.

Not sure if there is one, but you could maybe, do it by using own “config” file to mark if server is in maintenance mode, and then check it in Before hookrs for Authenticate requests?
At least that is how i would implement it…

2 Likes

Indeed there is no config to do this but, depending on your deployment method, this is typically done higher up the network stack, e.g. in the Load Balancers.

1 Like