PrismarineJS / mineflayer

Create Minecraft bots with a powerful, stable, and high level JavaScript API.
https://prismarinejs.github.io/mineflayer/
MIT License
4.96k stars 904 forks source link

Create mineflayer-web-server #1158

Open rom1504 opened 4 years ago

rom1504 commented 4 years ago

Control mineflayer with a simple http server

Use case :

rom1504 commented 4 years ago

Could be a plugin and there could also be a mineflayer-web-client that would expose the same API as mineflayer

2 things to think about:

Nurutomo commented 4 years ago

Is blockly can be included? (For beginner use)

Pada tanggal Sab, 18 Jul 2020 18.50, Romain Beaumont < notifications@github.com> menulis:

Control mineflayer with a simple http server

Use case :

  • Prismarine-viewer
  • Bridge to other languages (python/go/Java/c++/etc)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/1158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOBD62BR2FHQ5HBJOQFGRLR4GD7XANCNFSM4O7Z4BEQ .

rom1504 commented 4 years ago

Can you explain how blockly is related to this ?

On Sat, Jul 18, 2020, 17:50 Nurutomo notifications@github.com wrote:

Is blockly can be included? (For beginner use)

Pada tanggal Sab, 18 Jul 2020 18.50, Romain Beaumont < notifications@github.com> menulis:

Control mineflayer with a simple http server

Use case :

  • Prismarine-viewer
  • Bridge to other languages (python/go/Java/c++/etc)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/1158, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AEOBD62BR2FHQ5HBJOQFGRLR4GD7XANCNFSM4O7Z4BEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/1158#issuecomment-660501391, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437U53YWDSZHO53WZACDR4HAFFANCNFSM4O7Z4BEQ .

Nurutomo commented 4 years ago

As bridge from other languages (blockly, visual programming)

Pada tanggal Sab, 18 Jul 2020 22.52, Romain Beaumont < notifications@github.com> menulis:

Can you explain how blockly is related to this ?

On Sat, Jul 18, 2020, 17:50 Nurutomo notifications@github.com wrote:

Is blockly can be included? (For beginner use)

Pada tanggal Sab, 18 Jul 2020 18.50, Romain Beaumont < notifications@github.com> menulis:

Control mineflayer with a simple http server

Use case :

  • Prismarine-viewer
  • Bridge to other languages (python/go/Java/c++/etc)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/1158, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AEOBD62BR2FHQ5HBJOQFGRLR4GD7XANCNFSM4O7Z4BEQ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/PrismarineJS/mineflayer/issues/1158#issuecomment-660501391 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAR437U53YWDSZHO53WZACDR4HAFFANCNFSM4O7Z4BEQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/1158#issuecomment-660501642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOBD63BLBUBLP5YUSGNNP3R4HANBANCNFSM4O7Z4BEQ .

d-513 commented 4 years ago

if you can make http requests in blockly then yes

d-513 commented 4 years ago

template for adding more routes https://gitlab.com/dada513/mineflayer-web-server

rom1504 commented 4 years ago

I advise you use https://github.com/PrismarineJS/prismarine-template when you create the github repo, to have a good repo structure

d-513 commented 4 years ago

I advise you use https://github.com/PrismarineJS/prismarine-template when you create the github repo, to have a good repo structure

ok