Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

355
Views
Is there any way of connecting minecraft javaPlugin to discord javaScript bot?

So basiclly, I was making a minecraft plugin, and I want to add function that alows you to log in into serwer in minecraft only if you are on discord. But i dont really know how can i call js from java.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Assuming your JS bot is written using a backend framework like NodeJS, There are many ways you could achieve this. The best way being to use WebSockets.

https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API

about 4 years ago · Juan Pablo Isaza Report

0

basically the only way i can do this is like that:

First of all, you have to get a database, and make a command in your js discord bot, for example !link <code>, so basically what does that mean, after the player enters the Minecraft server it will automatically kick him and the display the code for link his discord account, and he just has to use the command that I mentioned before to link his account, this is really simple things you can easily make it with HashMap in java.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!