zardoy/prismarine-web-client

Make the viewer its own package #236

wozhendeai posted onGitHub

Would love to use it on a personal project but has proven to be difficult to extract just the prismarine-viewer logic & render world data off streamed world data


What is your case? Do you want it to be used with your mineflayer bot as a plugin? I can try to provide a better solution that would be easier for me and you to use

posted by zardoy 3 months ago

@wozhendeai do you still need it? Can you elaborate?

posted by zardoy 3 months ago

Yeah I still need it. For example, I was particularly struggling with trying to setup a mineflayer bot using your viewer/world rendering implementation. I can provide an example of what I tried if you want.

I was streaming world data from a mineflayer bot and attempting to render it on a react app but I couldn't get it to work

posted by wozhendeai 3 months ago

I will make a callback url support on mcraft.fun and mineflayer plugin for it. It will be redirecting you to mcraft.fun with the special link so the website will connect to your plugin via websocket that would stream world data to website. Would it be okay for you?

posted by zardoy 3 months ago

@wozhendeai thats my plan. Would it work for you?

posted by zardoy 3 months ago

Yeah that would be awesome, thanks

posted by wozhendeai 3 months ago

Ok, just tracking the task for now

posted by zardoy 3 months ago
posted by zardoy 3 months ago

Yeah that would be awesome, thanks

@wozhendeai it was done in this package: https://npmjs.com/mcraft-fun-mineflayer. if s.mcraft.fun doesn't load for you try s.pcm.gg , thanks!

posted by zardoy 3 months ago

thanks!! Working with it now

posted by wozhendeai 3 months ago

thanks!! Working with it now

@wozhendeai Don't you mind sharing a screenshot or video if it works in your case? I would highly appreciate it, will use as showcase if you don't mind (no worries I will attach the credits)

posted by zardoy 3 months ago

Fund this Issue

$0.00
Funded

Pull requests