
API Improvements
Closed this issue ยท 3 comments
- Ability to change server name at load time
- Ability to add own messaging service implementation
- Ability to add custom storage provider
Can you do this? Do you accept pull requests?
Your plugin is really cool, i want to use it in my minigames core module, but i need these 2 features.
The first is already do-able by setting the server to "global" in the config, and then registering your own ContextCalculator
to provide the variable at runtime.
I can see a custom messaging service implementation working - it's really just a two way string channel.
However, custom storage providers, I'm uhh, not so sure on. Although it has now stabilised a bit, that system is still subject to change, and I'm not sure including it in the API makes sense. If it ends up in the API, it makes it difficult to make changes to the LP implementation in the future.
For both messaging & storage, what custom implementations are you thinking of? If it's a fairly well known software, you could always just PR the implementations themselves.
For storage - cassandra
For custom messaging - http://nats.io/