#How can my mod comunicate with a custom webserver?

5 messages · Page 1 of 1 (latest)

rigid blade
#

I guess the question is pretty simple.
I have a VPS as backend and I'd like to make the fabric client/server send and receive packets.

tidal socket
#

use any http/rest api for java and use CompletableFutures in your code to send/retrive data. Study how CompleableFuture works and always keep in mind that you can't access most of the came code off the designed main thread

rigid blade
tidal socket
#

any game object is offlimits

#

you need to study the particular bit of code to check if it support multithreading or not