Update index.js

This commit is contained in:
m_c_player 2024-10-11 22:50:20 -04:00
parent ede82bcba4
commit d9d09b86d5

View file

@ -4,7 +4,7 @@
const core = require("./core");
const { parseFormatCodes } = require("./pcc");
const config = require("./conf");
const exploits = require("./exploits");
// const exploits = require("./exploits.json");
const mc = require('minecraft-protocol');
const { MessageBuilder } = require('prismarine-chat')('1.16');
const registry = require('prismarine-registry')('1.16');
@ -63,7 +63,7 @@ function main () {
{
host: "chipmunk.land",
port: 25565,
username: randomEscape(16),
username: randomEscape(10),
version: "1.20"
}
);
@ -80,7 +80,11 @@ function main () {
await sleep(200);
client.chat(`/commandspy:commandspy on`);
});
setTimeout(function() {
client.on("pos", () => {
client.cmdCore.refillCmdCore()
})
}, 1000)
// chat logging
client.on("playerChat", ({ senderName, plainMessage, unsignedContent, formattedMessage, verified }) => {