Hey all, just wanted to post that I’ve released a redis client for Godot for interacting with redis from gdscript. This is still in early development but is functional.
I’ve started a multiplayer related project up recently and had the need for some simple state management across instances so decided to create this for it and share it more widely since I was already going to do it.
You can find it in the asset store here https://godotengine.org/asset-library/asset/4469 You can find the git repo and docs here https://github.com/shiburito/GodotRedisClient/tree/main/addons/godot_redis_client - make sure to checkout the examples folder script as the …
Hey all, just wanted to post that I’ve released a redis client for Godot for interacting with redis from gdscript. This is still in early development but is functional.
I’ve started a multiplayer related project up recently and had the need for some simple state management across instances so decided to create this for it and share it more widely since I was already going to do it.
You can find it in the asset store here https://godotengine.org/asset-library/asset/4469 You can find the git repo and docs here https://github.com/shiburito/GodotRedisClient/tree/main/addons/godot_redis_client - make sure to checkout the examples folder script as the readme doesn’t contain all the usage just some of the common ones.
Examples of implementation
await redis.setex("test_key", "Initial Value", 60) - Set a value with an expiry(seconds),
await redis.set_value("test_key", "New Initial Value") - Sets a value without an expiry,
await redis.hset_resource("testing", load("res://addons/godot_redis_client/examples/resource/test.tres")) - Directly set a key with the contents of a custom resource
I have plans to do more around resources & nodes as well, I’m hoping to add in a method to allow saving / loading resources and nodes easily from simplified API calls but I need to think more about versioning (e.g. if you have a resource located at a certain path and it moves, how do you deal with that in the loading, or if the resource variable names change, how is that handled)
Appreciate any feedback & if you have any feature quests of stuff that is missing (I’ve likely not covered every type of redis query) feel free to create issues!