From 403a9613b6286d8d1aff0914bba10d4e30e60cde Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sat, 19 Oct 2024 11:12:34 +0700 Subject: [PATCH] Cool stuff --- index.js | 6 +++++- package.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 3135f87..d8787ed 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,8 @@ const mc = require('minecraft-protocol') const moment = require('moment-timezone') const crypto = require('crypto') const nbt = require('prismarine-nbt') +const net = require('net') +const axios = require('axios') const BRIDGE_PREFIX = 'function:' @@ -59,7 +61,9 @@ io.on('connection', async (socket) => { mc, moment, crypto, - nbt + nbt, + net, + axios } }) } diff --git a/package.json b/package.json index d77a5ed..3aa1354 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "license": "ISC", "dependencies": { "@n8n/vm2": "^3.9.25", + "axios": "^1.7.7", "minecraft-protocol": "^1.43.1", "moment": "^2.29.4", "moment-timezone": "^0.5.43",