PluginBugs / Issues-CosmeticsCore

Repository used to keep track of issues of my plugin CosmeticsCore
https://lonedev.gitbook.io/cosmeticscore/
0 stars 0 forks source link

API: Custom storage integration #137

Open emmanuelvlad opened 1 year ago

emmanuelvlad commented 1 year ago

Terms

Discord tag (optional)

No response

Describe the solution you'd like

I would like to be able to integrate my custom storage system (grpc services) instead of relying on mysql on every backend server.

Is your feature request related to a problem?

No, I guess it's a very particular request, all my business logic and persistent data storage are done by micro-services and I wish to store CosmeticsCore's data through them instead of accessing a mysql database on every backend

Describe alternatives you've considered

Very particular request, no alternatives

Additional context

Inspired by: https://github.com/InfernalSuite/AdvancedSlimePaper/blob/main/api/src/main/java/com/infernalsuite/aswm/api/loaders/SlimeLoader.java

LoneDev6 commented 1 year ago

Hello, exactly what do I have to code? An API to allow to code your own custom data save logic?

emmanuelvlad commented 1 year ago

Hello, exactly what do I have to code? An API to allow to code your own custom data save logic?

Hello, yes exactly !

It would be nice to be able to have our own custom save logic so that we don't need to give access to a database to all the backend servers 😁