PrismarineJS / prismarine-web-client

Minecraft web client running in your browser
https://prismarinejs.github.io/prismarine-web-client/
MIT License
449 stars 154 forks source link

Bot-like features #56

Open rom1504 opened 3 years ago

rom1504 commented 3 years ago

Have some buttons in the ui to:

Would be a cool demo for mineflayer and interesting as an user

rom1504 commented 3 years ago

https://gist.github.com/rom1504/b8530371c7407f790ca63717ee0f8932 + https://github.com/PrismarineJS/prismarine-web-client#some-debugging-examples is a good start

we could have an optional menu (press a key to show it) with some actions like this

rom1504 commented 3 years ago

put https://github.com/PrismarineJS/prismarine-viewer/blob/master/examples/clickmove.js under a key (point, press g, it goes there)

rom1504 commented 3 years ago

other idea of interface: in chat use mc command, for example /goto <player>

rom1504 commented 3 years ago

we can have a bot.js to put this kind of thing

u9g commented 3 years ago

other idea of interface: in chat use mc command, for example /goto <player>

i disagree with this because then you have chat conflicts

u9g commented 3 years ago

put https://github.com/PrismarineJS/prismarine-viewer/blob/master/examples/clickmove.js under a key (point, press g, it goes there)

I think this should only be done when we finish having remappable keys

u9g commented 3 years ago

https://gist.github.com/rom1504/b8530371c7407f790ca63717ee0f8932 + https://github.com/PrismarineJS/prismarine-web-client#some-debugging-examples is a good start

we could have an optional menu (press a key to show it) with some actions like this

yeah I think this sounds good

AwesomestCode commented 3 years ago

Maybe use a custom prefix like hacked clients? (We’re becoming more like one every day)

On Sun, Mar 14, 2021 at 5:12 PM, u9g @.***> wrote:

other idea of interface: in chat use mc command, for example /goto

i disagree with this because then you have chat conflicts — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or unsubscribe .
rom1504 commented 3 years ago

you have chat conflicts

what kind of conflict?

u9g commented 3 years ago

you have chat conflicts

what kind of conflict?

we don't now, but if we add /goto then what if the server had a /goto command too, imo we should stay away from the built in chat box

rom1504 commented 3 years ago

we can have our own prefix, but imo this is not an issue, it's unlikely to happen (and if it does we can always make it possible to configure the prefix)

u9g commented 3 years ago

we can have our own prefix, but imo this is not an issue, it's unlikely to happen (and if it does we can always make it possible to configure the prefix)

still theres just no reason to use chat commands when minecraft uses them aswell and we can and will have conflicts, just make a menu or something

rom1504 commented 3 years ago

I guess we could have a different button to open another bar for text commands, but that sounds really non intuitive

not sure what's the point of overengineer this when there are simple solutions

rom1504 commented 3 years ago

IMO this issue (along with #3 ) is the way to make mineflayer beat baritone, anyone to do it ? Plan:

rom1504 commented 3 years ago

it's about "all contained bot app that works for anyone that doesn't know computers" vs "mineflayer examples/ folder"

AwesomestCode commented 3 years ago

Mineflayer still needs some improvements when it comes to physics and movement. Baritone runs off the Vanilla client so that’s a nonissue for it

AwesomestCode commented 3 years ago

Also, why do we need to pack it in electron? IMO running in a browser is an asset, not a liability.

rom1504 commented 3 years ago

running in browser alone does not work

Heath123 commented 3 years ago

This makes it a hacked clientt hough which might make servers ban it and ruin things for people who just want to play the game in a browser

rom1504 commented 3 years ago

Yeah, that's worth it to make it a mineflayer demo

rom1504 commented 3 years ago

But anyway that doesn't matter until something works (currently it's not good enough to be ban able)

AwesomestCode commented 3 years ago

This makes it a hacked clientt hough which might make servers ban it and ruin things for people who just want to play the game in a browser

@Heath123 Call it Prismarine Visual Research Platform and send a plugin message to the servers. Allow the servers to deny just PVR and not prismarine-web-client because webclient would behave like vanilla. I'd doubt servers would take the hard way of banning webclient vanilla when there's a public plugin to just ban the bot part of it.

Heath123 commented 3 years ago

True, I thought this meant it would be force-enabled by default

soshimee commented 2 years ago

I don't think that will do anything, because I think servers are just going to ban them instantly and cause players who just wanted to test to be banned. Also the ones who really want to bypass it would just modify the code locally.