Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

357
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda