Jump to content

VSNats - Clustering for Vintage Story


Recommended Posts

I'm currently building a mod that exposes game events and APIs (currently only one) to other servers (and tools) through nats.

This makes it possible to use pub/sub messaging in your mods and even make communication with external services possible, as long as they are using nats as well.

Currently everything is still very much alpha status, but it's already possible to send chat messages from outside to one or all connected servers and each connected server will show chat messages that are written on other servers. The API is currently still considered unstable and will probably change a few times while I'm implementing more features and learning more about how the game works and what makes most sense.

If you want to try it out, the source code is available at: https://github.com/hardliner66/vsnats
Just follow the instructions in the readme and you should be able to see some messages arriving at your nats server.

If you have any questions or ideas, feel free to ask. :)

Cheers
hardliner

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.