Cool stuff

This commit is contained in:
Chayapak 2024-10-19 11:12:34 +07:00
parent 2e3b7c2fb2
commit 403a9613b6
2 changed files with 6 additions and 1 deletions

View file

@ -8,6 +8,8 @@ const mc = require('minecraft-protocol')
const moment = require('moment-timezone') const moment = require('moment-timezone')
const crypto = require('crypto') const crypto = require('crypto')
const nbt = require('prismarine-nbt') const nbt = require('prismarine-nbt')
const net = require('net')
const axios = require('axios')
const BRIDGE_PREFIX = 'function:' const BRIDGE_PREFIX = 'function:'
@ -59,7 +61,9 @@ io.on('connection', async (socket) => {
mc, mc,
moment, moment,
crypto, crypto,
nbt nbt,
net,
axios
} }
}) })
} }

View file

@ -11,6 +11,7 @@
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@n8n/vm2": "^3.9.25", "@n8n/vm2": "^3.9.25",
"axios": "^1.7.7",
"minecraft-protocol": "^1.43.1", "minecraft-protocol": "^1.43.1",
"moment": "^2.29.4", "moment": "^2.29.4",
"moment-timezone": "^0.5.43", "moment-timezone": "^0.5.43",