[ModAPI] Inter-Server Communications

IotaSphere shared this feedback 3 days ago
Not Enough Votes

Having a way for mods to communicate across SE servers may allow for more advanced

multi-server communication and player routing. Servers would be allowed a large degree of

control over the ISC, for example: setting whether it's enabled at all or specifying the types of

connections and how many are allowed. The ISC would basically be a pipe through which

raw information could be sent and received between registered mods.

An example of some possible features and server settings are outlined here:

InterServerCommunication.cs

This is not a functional implementation but just outlines how I think an implementation might work. This particular version is non-duplex and buffered.

The mod api already contains a method to connect a client with a server but no method to connect to said server before hand and do more specific validations. This would offer a way for mods to communicate with themselves or other mods between servers if the server owner allows anyway.

Leave a Comment
 
Attach a file
Access denied