Heath123/pakkit

Document Scripting and Provide meaningful examples

Julienraptor01 opened this issue · 2 comments

The current docs are just not enough

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