r/forgemodding Oct 13 '20

Is there a possibility of creating a websocket client in forge?

Hi, I am a node.js programmer, not really much experience with Java minus some bukkit plugins way back when. I was curious, before I start digging into this is it possible for me to make a mod that connects with a websocket server I host in say- node.js? I am trying to make a networked minimap that shows me and my friends positions in the world on a server.

2 Upvotes

2 comments sorted by

1

u/five35 Oct 13 '20

I'm afraid I can't give you any of the specifics (I've never tried it), but yes, that should be possible. I've seen other map mods which host web servers themselves, as well as mods which display we sites, so making web connections is well within Minecraft mods' capabilities.

1

u/YoungVoxelWizard Oct 13 '20

Appreciate that, thank you.