ScriptCraft

ScriptCraft

14.6k Downloads

Is it possible to use npm packages in script craft?

ali-kingX opened this issue ยท 3 comments

commented

Could you download npm packages (example discord.js)? I would like to do this so i could make something like DiscordSRV.

commented

If you are wanting to use node, you should look at PrismarineJS/mineflayer github.com/PrismarineJS/mineflayer

commented

ive used mineflayer in the past but i want to make a mc plugin

commented

Could you download npm packages (example discord.js)? I would like to do this so i could make something like DiscordSRV.

You can probably use some of them using a bundler, but some wont work (such as ones that rely on node only apis, or native apis)