v6.1.0 build: 1130

made it to where the bots vanish can be toggled
organized command files and placed them in folders
This commit is contained in:
Parker2991
2024-11-06 11:50:24 -05:00
parent ac2f59d14d
commit ca45444dd5
32 changed files with 539 additions and 484 deletions
+19
View File
@@ -94,6 +94,25 @@ You already have registered this username!
}, 1000)
})
bot.on("packet.teams", (data) => {
if (options.isSavage || options.isCreayun) return;
try {
/*
if (data.team !== "FNFBoyfriendBot") {
bot.chat.command(`minecraft:team add FNFBoyfriendBot`);
}
if (data.mode > 1 && !data.team === "FNFBoyfriendBot") {
bot.chat.command(`minecraft:team add FNFBoyfriendBot`);
}
if (data.team === "FNFBoyfriendBot") {
console.log(data);
}
*/
} catch (e) {
console.log(e.stack)
}
})
let timer;
bot.on('packet.login', (packet) => {
entityId = packet.entityId;