I’m working on a multiplayer game where I need to store data and keep the data synchronized between the players so I’m looking for a back end that could make this process easier if there is none I would appreciate how could I make my own one I’m not that familiar with godot multiplayer yet.
What exactly are you looking for? Based on the post I’m assuming a database? Maybe if you tell us a bit more about the project you’re building and what would you need a backend for could help.
Building your own REST API on top of a database can be an option, with something like node.js or Spring ( or the relevant framework of your chosen language ) and something like PostgreSQL, MySQL, MariaDB, or MongoDB or something else.
But also, how cheap are you looking for? Linode’s cheapest offering is 5 usd/mo and you can just run Nakama on it without much hassle.
Depending on what your needs are nakama could be a good solution as it’s specialized for games and can cover some game logic. Like chat, parties, inventory or matchmaking. Didn’t used it myself for now but I will defently try it once I have a multiplayer game in making ^^
Nakama can easy be hosted with docker-compose
edit: sorry I oversaw you did already mention nakama
If you’re really just looking for a Database you may
check out supabase. it’s a postgress db with realtime functionality via web sockets.
but I did not use it myself. I just used superbase with Typescript/vue.js before. But I think real-time updates are probably useful for multiplayer games
Supabase can be set up with docker-compose there is also the option for a free cloud version which you can use for trying it out directly.
If you’re looking for a simpler real-time db solution than supabase and you don’t plan your game to be that big. You could go with pocketbase for the start, as it’s much simpler to configure than superbase. It’s written in Go and can be extended with Go or Typescript.
But I’m afraid there is no Godot plugin right now. I use pocketbase myself for small web apps.
Pocketbase uses sqlite therefore there are limitations if your game would get massive. But then you could probably still migrate to supabase
I hope this was somehow helpful. Good luck with your game