Compare commits

..
2 Commits
Author SHA1 Message Date
Parker2991 cee12661bf v1.2.2 2024-02-13 16:44:50 +00:00
Parker2991 b57fd74b16 v1.2.1 2024-02-13 16:43:10 +00:00
+36 -17
View File
@@ -1,6 +1,6 @@
const mineflayer = require('mineflayer')
let symbol = require('illegal-symbols')
var server = 'play.chip'
var server = 'sus.shhnowisnottheti.me'
//NMxigAU6dR1KfgaQkKz87L
const readline = require('readline')
@@ -12,7 +12,8 @@ const bot = mineflayer.createBot({
host: server,
port: 25565,
username: randomstring.generate(8),
version: 1.19,
version: 1.17,
})
var sleep = t => new Promise(a => setTimeout(a, t)),
@@ -55,27 +56,25 @@ bot.on('login', async () => { // time in ms
await sendChat('/c')
await sendChat('/gmc')
await sendChat('/top')
await sendChat('/night')
await sendChat('/gamerule doMobSpawning false')
await sendChat('/de')
await sendChat('/online')
await sendChat('/cspy on')
await sendChat('/prefix &4[BOT/CONSOLE]')
await sendChat('/sudo parker2991 &8&l[&b&lOwner of the FNFBoyfriendbot&8&l])')
await sendChat(`/fill ${Math.floor(bot.entity.position.x)} 0 ${Math.floor(bot.entity.position.z)} ${Math.floor(bot.entity.position.x) - 15} 50 ${Math.floor(bot.entity.position.z - 15)} command_block replace`)
runInCore ('bcraw ' + prefix + '&b&lOwner &4&lis &4&lParker2991')
runInCore ('bcraw ' + prefix + '&a &lVersion &a1.2 (its to early for this version but thanks to yall pissing me tf off i gotta release it you can thank yourselves for this now think about what you have down this is no longer anarchy/ayunboom THIS IS OHIOBOOM!')
runInCore ('bcraw ' + prefix + '&b&lOwner &8&lis &4&lParker2991')
runInCore ('bcraw ' + prefix + '&a &lVersion &a1.2')
runInCore ('bcraw ' + prefix + 'full bot release &8&l1/26/23 &8&l1:47am &8&lCentral &8&ltime')
runInCore ('bcraw ' + prefix + '&a&lVersion 2.0 release date is unknown i may release the beta first ^-^ but it is being worked on as of right now but alot of good commands are coming even reworked commands planned release 2/8/23 or 2/10/23')
runInCore ('bcraw ' + prefix + 'i will add commands to the bot that yall request for 2.0 give ideas i will be glad to accept request just dont make it screwed up requests')
runInCore ('bcraw ' + prefix + 'also whitelists are and auto op are stil on hold until i can figure out how to but i will do a early whitelist concept for people that want access to the bot but cant be any people that troll i will ask people questions to see if they can be trusted')
runInCore ('bcraw ' + prefix + 'current people that have access to it logintimedout, CNWPlayer,and Werewolfboy4 im also gonna ask chip on how to add a whitelist or ask ginlang i dont know')
runInCore ('bcraw ' + prefix + 'Boffy:im jesus i dont fucking know')
})
const cmd = require('mineflayer-cmd').plugin
@@ -100,6 +99,7 @@ rl.on('line', (line) => {
break
}
})
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
@@ -107,12 +107,29 @@ rl.on('line', (line) => {
switch (command) {
case 'fakekick':
runInCore('msg ' + args + ' @e @e @e @e @e @e @e @e @e')
runInCore('bcraw &8&l[&b&m&lFNFBoyfriendbot&8&l] ' + args + ' has been kicked!')
break
}
})
//powertool command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'Powertool':
runInCore('sudo ' + args.join + 'pt')
runInCore('bcraw enjoy your new powertool')
break
}
})
rl.on('line', (line) => {
let args = line.split(' ')
@@ -120,20 +137,22 @@ rl.on('line', (line) => {
switch (command) {
case 'gmc':
runInCore('sudo + botusername gmc')
runInCore('sudo * gmc')
runInCore('bcraw &4DOWN IN OHIO!')
break
}
})
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'deop':
setInterval(function() { runInCore('sudo + playerusername deop @s[type=player]'), 1 })
setInterval(function() { runInCore('sudo ' + + 'deop @s[type=player]'), 1 })
}
})
@@ -226,7 +245,7 @@ rl.on('line', (line) => {
switch (command) {
case 'console':
runInCore('sudo * c: OH HAIL FIRE MOTHER FUCKER' + args.join(' '))
runInCore('sudo * c: why not' + args.join(' '))
break
}
})
@@ -425,7 +444,7 @@ rl.on('line', (line) => {
switch (command) {
case 'annoy':
setInterval(function() { runInCore('sudo * bc FUCKER FUCKERS FUCKERS IN THE ASS' + ''), 1 })
setInterval(function() { runInCore('sudo * bc WHY NO WHY NOT' + ''), 1 })
setInterval(function() { runInCore('sudo * playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1' + ''), 1 })
break