Heath123 / pakkit

MIT License
499 stars 26 forks source link

Document Scripting and Provide meaningful examples #111

Open Julienraptor01 opened 6 months ago

Julienraptor01 commented 6 months ago

The current docs are just not enough

Heath123 commented 6 months ago

Well its based on https://github.com/PrismarineJS/node-minecraft-protocol so the docs there should cover a lot of it (mainly https://prismarinejs.github.io/minecraft-data/?d=protocol)

Julienraptor01 commented 6 months ago

Well its based on https://github.com/PrismarineJS/node-minecraft-protocol so the docs there should cover a lot of it (mainly https://prismarinejs.github.io/minecraft-data/?d=protocol)

OK now with https://prismarinejs.github.io/minecraft-data/?d=protocol i kinda understand, but i just didn't find where to find that link I had found this, but it didn't help https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/docs%2FAPI.md

Providing an example script a bit longer than the one provided and linking that exact URL could prob be useful to make it easier to use

Also, what is exactly meta, does it hold anything other than name ? Is there a way i can see that somewhere ? Maybe put an example where you "create" a packet And is there any way to do smth like console.log or smth ? To be able to do classic simple print debugging ?

Thanks for your help