Anybody have experience with connecting a JavaScript game to a java server?

I need help doing it, I'm trying to make a JS Minecraft game multiplayer, but I don't wanna refactor all the code for node js
4 Replies
JavaBot
JavaBot7mo ago
This post has been reserved for your question.
Hey @mochatitan! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
mochatitan
mochatitanOP7mo ago
And I have a lot of experience with java(not server but I can learn it) so i wanna use a java server
tjoener
tjoener7mo ago
I mean, if it's a singleplayer game right now, you get to choose what protocol you use, so probably something like websocket seems like a good fit? That's supported by most frameworks like spring boot etc, so you won't have too much trouble writing the server
JavaBot
JavaBot7mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server