Compare commits

...
3 Commits
Author SHA1 Message Date
Parker2991 7322dce4dc v1.0-CustomBuild 2024-02-13 16:59:36 +00:00
Parker2991 4a8a25b064 v3.0x 2024-02-13 16:57:29 +00:00
Parker2991 da4f7e3f28 v3.0-beta 2024-02-13 16:54:28 +00:00
+86 -193
View File
@@ -1,28 +1,27 @@
const mineflayer = require('mineflayer') const mineflayer = require('mineflayer')
let symbol = require('illegal-symbols') let symbol = require('illegal-symbols')
var server = 'play.kaboom.pw' var server = 'sus.shhnowisnottheti.me'
//NMxigAU6dR1KfgaQkKz87L //NMxigAU6dR1KfgaQkKz87L
const readline = require('readline') const readline = require('readline')
var gameMode = require('mineflayer-cmd')
let rl = readline.createInterface({ input: process.stdin, output: process.stdout }) let rl = readline.createInterface({ input: process.stdin, output: process.stdout })
const randomstring = require('randomstring'); const randomstring = require('randomstring');
const bot = mineflayer.createBot({ const bot = mineflayer.createBot({
host: server, host: server,
port: 25565, port: 25565,
username: 'FNFBoyfriendbot', username: randomstring.generate(8),
version: 1.17, version: 1.17
auth: 'prismarine-auth'
}) })
var sleep = t => new Promise(a => setTimeout(a, t)), var sleep = t => new Promise(a => setTimeout(a, t)),
sendChat = async function(m) { bot.chat(m.slice(0, 256)); await sleep(300); } sendChat = async function(m) { bot.chat(m.slice(0, 256)); await sleep(300); }
@@ -33,10 +32,17 @@ function between(min, max) {
} }
//variables //variables
var prefix = '&8&l[&5&lFNF&b&lBoyfriend&4&lBot&8&l]&8&l[&b&lWoomyBot&8&l][&b&lVersion&a&l2&8&l.&4&l2&8&l]&8&l[&4&lParker&0&l2991&8&l]'; var prefix = '&8&l[&4&lBLOODDEMON&8&l]&8&l[&4&lDEMONWolf&8&l]';
function randomchar() {
const crypto = require("crypto");
var hash = crypto.createHash("md5");
var randomBytes = crypto.randomBytes(16);
hash.update(randomBytes);
var hashi = hash.digest(Math.round(Math.random()) ? "hex" : "Base64");
return hashi.substring(0, 16);
}
function runInCore(cmd) { function runInCore(cmd) {
@@ -46,7 +52,6 @@ bot.on('login', async () => {
@@ -57,50 +62,39 @@ bot.on('login', async () => {
//change the coords if bot has problems //change the coords if bot has problems
//await sendChat('/tp '+require('randomstring').generate({length:5,charset:'1234567890'})+' 5 '+require('randomstring').generate({length:6,charset:'1234567890'})) //await sendChat('/tp '+require('randomstring').generate({length:5,charset:'1234567890'})+' 5 '+require('randomstring').generate({length:6,charset:'1234567890'}))
await sendChat('/nick &5FNF&bBoyfriend&4bot')
await sleep(1)
await sendChat('/world 3')
await sleep(1)
await sendChat ('/tptoggle parker2991')
await sendChat('/tptoggle Bloodwolf')
await sleep(1) await sleep(1)
await sendChat ('/tp parker2991') await sendChat('/tp Bloodwolf')
await sleep(1) await sleep(1)
await sendChat ('/tptoggle parker2991') await sendChat('/tptoggle Bloodwolf')
await sleep(1) await sleep(1)
await sendChat('/tptoggle')
await sendChat('/v on')
await sendChat('/console ') await sendChat('/console ')
await sleep(1) await sendChat('/username')
await sendChat('/c on') await sendChat('/c')
await sleep(1)
await sendChat('/night') await sendChat('/night')
await sleep(1)
await sendChat('/gamerule doMobSpawning false') await sendChat('/gamerule doMobSpawning false')
await sleep(1)
await sendChat('/gamerule commandBlockOutput false')
await sleep(1)
await sendChat('/de') await sendChat('/de')
await sleep(1)
await sendChat('/gamerule sendCommandFeedback false')
await sleep (1)
await sendChat('/online') await sendChat('/online')
await sleep(1)
await sendChat('/cspy on') await sendChat('/cspy on')
await sleep(1)
await sendChat('/sudo parker2991 nick &4Parker&02991')
await sleep(1)
await sendChat('/prefix &4[BOT/CONSOLE]') await sendChat('/prefix &4[BOT/CONSOLE]')
await sleep(1)
await sendChat('/sudo parker2991 prefix &8&l[&9&lDiscord&8&l]&8&l[&4&lOwner &a&lof &a&lthe &5&lFNF&b&lBoyfriend&4&lBot &8&land &b&lWoomyBot&8&l]') await sendChat('/sudo Bloodwolf prefix &8&l[&4&lOwner &a&lof &a&lthe &4&lBLOODDEMON&4&lbot&8&l]&8&l[&9&lDiscord&8&l]')
await sleep(1)
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`) 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 &4Parker&02991') runInCore('bcraw ' + prefix + '&b&lOwner &4&lis &4&lWolfboy')
runInCore('bcraw ' + prefix + 'fork of FNFBoyfriendBot')
runInCore('bcraw ' + prefix + 'no longer in developement but forked for a smaller bot')
}) })
const cmd = require('mineflayer-cmd').plugin const cmd = require('mineflayer-cmd').plugin
@@ -115,13 +109,13 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'nuke': case 'nuke':
setInterval(function() { runInCore('essentials:ekill *'), 1 }) setInterval(function() { runInCore('essentials:ekill *'), 1 })
setInterval(function() { runInCore('nuke'), 50 }) setInterval(function() { runInCore('nuke'), 1 })
setInterval(function() { runInCore('eco give * 1000'), 50 }) setInterval(function() { runInCore('eco give * 1000'), 1 })
setInterval(function() { runInCore('day'), 50 }) setInterval(function() { runInCore('day'), 1 })
setInterval(function() { runInCore('night'), 50 }) setInterval(function() { runInCore('night'), 1 })
setInterval(function() { runInCore('clear @a'), 50}) setInterval(function() { runInCore('clear @a'), 1 })
setInterval(function() { runInCore('summon fireball 115 62 -5'), 50 }) setInterval(function() { runInCore('summon fireball 115 62 -5'), 1 })
setInterval(function() { runInCore('bcraw ' + prefix + 'WELCOME TO HELL'), 50 }) setInterval(function() { runInCore('bcraw ' + prefix + 'WELCOME TO HELL'), 1 })
break break
} }
}) })
@@ -133,7 +127,7 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'fakekick': case 'fakekick':
runInCore('msg ' + args + ' @e @e @e @e @e @e @e @e @e') runInCore('msg ' + args + ' @e @e @e @e @e @e @e @e @e')
runInCore('bcraw &8&l[&b&lFNFBoyfriendbot&8&l] ' + args + ' has been kicked!') runInCore('bcraw &8&l[&4&lBLOODDEMON&8&l]' + args + ' has been kicked!')
break break
} }
}) })
@@ -147,6 +141,7 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'gmc': case 'gmc':
sendChat('/minecraft:gamemode creative') sendChat('/minecraft:gamemode creative')
runInCore('bcraw &4DOWN IN OHIO!')
break break
} }
@@ -158,34 +153,11 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'deop': case 'deop':
sendChat('/deop ' + args.join(' ')) runInCore('deop ' + args + ' ')
break break
} }
}) })
//cloopdeop command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'cloopdeop':
setInterval(function() {
sendChat('/deop ' + args.join(' ')), 1 })
break
}
})
//cloopmute command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'cloopmute':
setInterval(function() {
sendC('/mute ' + args.join(' ')), 1 })
break
}
})
//mute command //mute command
rl.on('line', (line) => { rl.on('line', (line) => {
let args = line.split(' ') let args = line.split(' ')
@@ -193,7 +165,7 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'mute': case 'mute':
sendChat('/mute ' + args.join(' ')) runInCore('mute ' + args + '')
break break
} }
}) })
@@ -242,7 +214,7 @@ rl.on('line', (line) => {
case 'kick': case 'kick':
runInCore('/console @e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e') runInCore('/console @e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e@e')
runInCore('bcraw &8&l[&b&lFNFBoyfriendbot&8&l] ' + args + ' has been kicked!') runInCore('bcraw &8&l[&4&lBLOODDEMONBOT&8&l]' + args + ' has been kicked!')
break break
} }
@@ -304,21 +276,11 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'OHHAIL': case 'OHHAIL':
runInCore('sudo * c: OH HAIL FIRE MOTHER FUCKER' + args.join(' ')) runInCore('sudo * c: OH HAIL FIRE MOTHER FUCKER' + args.join('bloddwolf '))
break break
} }
}) })
//servercrash command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'servercrash':
setInterval(function() { runInCore('essentials:sudo * kick @e[type=player] @e @e @e'), 1 })
break
}
})
//explode command //explode command
rl.on('line', (line) => { rl.on('line', (line) => {
let args = line.split(' ') let args = line.split(' ')
@@ -384,8 +346,8 @@ rl.on('line', (line) => {
let command = args.shift() let command = args.shift()
switch (command) { switch (command) {
case 'myhead': case 'MyHead':
runInCore('give @a minecraft:player_head{SkullOwner:Parker2991}') runInCore('give @a minecraft:player_head{SkullOwner:Demonwolf}')
runInCore('bcraw ' + prefix + 'My Head') runInCore('bcraw ' + prefix + 'My Head')
break break
} }
@@ -396,7 +358,7 @@ rl.on('line', (line) => {
let command = args.shift() let command = args.shift()
switch (command) { switch (command) {
case 'myleg': case 'MYLEG':
runInCore('bcraw ' + prefix + '&4&lM&4&lY &4&lLEG!!!') runInCore('bcraw ' + prefix + '&4&lM&4&lY &4&lLEG!!!')
runInCore('give @a bone 64') runInCore('give @a bone 64')
break break
@@ -408,7 +370,7 @@ rl.on('line', (line) => {
let command = args.shift() let command = args.shift()
switch (command) { switch (command) {
case 'kfc': case 'KFC':
runInCore('give @a cooked_chicken 64') runInCore('give @a cooked_chicken 64')
runInCore('bcraw ' + prefix + 'KFC FINGER LICKIN GOOD') runInCore('bcraw ' + prefix + 'KFC FINGER LICKIN GOOD')
break break
@@ -420,7 +382,7 @@ rl.on('line', (line) => {
let command = args.shift() let command = args.shift()
switch (command) { switch (command) {
case 'godsword': case 'GODSWORD':
runInCore('give @a diamond_sword') runInCore('give @a diamond_sword')
runInCore('sudo * enchantall') runInCore('sudo * enchantall')
runInCore('bcraw ' + prefix + 'GOD SWORD!!!!!!!!!!!!!!!!!') runInCore('bcraw ' + prefix + 'GOD SWORD!!!!!!!!!!!!!!!!!')
@@ -435,7 +397,7 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'technoblade': case 'technoblade':
runInCore('sudo * summon pig') runInCore('sudo * summon pig')
runInCore('bcraw ' + prefix + 'Rest in peace technoblade we will always love and remember what you have done for youtube technoblade if you can hear me i love your youtube channel') runInCore('bcraw ' + prefix + 'Rest in peace technoblade we will always love and remember what you have done for youtube technoblade if you can here me i love your youtube channel')
break break
} }
}) })
@@ -445,7 +407,7 @@ rl.on('line', (line) => {
let command = args.shift() let command = args.shift()
switch (command) { switch (command) {
case 'dreamstanalert': case 'DREAMSTANALERT':
runInCore('bcraw ' + prefix + 'OH HELL NO DREAM STAN ALERT') runInCore('bcraw ' + prefix + 'OH HELL NO DREAM STAN ALERT')
runInCore('execute unless entity @s[name= run ] run stop') runInCore('execute unless entity @s[name= run ] run stop')
break break
@@ -474,12 +436,12 @@ rl.on('line', (line) => {
case 'soundbreaker': case 'soundbreaker':
runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.hurt master @a ~ ~ ~ 10000 1.5 1 ') setInterval(function() { runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.hurt master @a ~ ~ ~ 10000 1.5 1 '), 1 })
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1 ') setInterval(function() { runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1 '), 1 })
runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.hurt master @a ~ ~ ~ 10000 1 1 ') setInterval(function() { runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.hurt master @a ~ ~ ~ 10000 1 1 '), 1 })
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1 1 ') setInterval(function() { runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1 1 '), 1 })
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hiss master @a ~ ~ ~ 10000 1.5 1 ') setInterval(function() { runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hiss master @a ~ ~ ~ 10000 1.5 1 '), 1 })
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hiss master @a ~ ~ ~ 10000 1 1 ') setInterval(function() { runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hiss master @a ~ ~ ~ 10000 1 1 '), 1 })
break break
} }
}) })
@@ -500,7 +462,7 @@ rl.on('line', (line) => {
setInterval(function() { runInCore('sudo * summon fireball '), 1 }) setInterval(function() { runInCore('sudo * summon fireball '), 1 })
setInterval(function() { runInCore('sudo * summon ender_dragon '), 1 }) setInterval(function() { runInCore('sudo * summon ender_dragon '), 1 })
setInterval(function() { runInCore('sudo * summon zombie '), 1 }) setInterval(function() { runInCore('sudo * summon zombie '), 1 })
setInterval(function() { runInCore('sudo * summon creeper '), 1 }) setInterval(function() { runInCore('sudo * ummon creeper '), 1 })
setInterval(function() { runInCore('sudo * summon blazed '), 1 }) setInterval(function() { runInCore('sudo * summon blazed '), 1 })
setInterval(function() { runInCore('sudo * summon horse '), 1 }) setInterval(function() { runInCore('sudo * summon horse '), 1 })
setInterval(function() { runInCore('sudo * summon spider '), 1 }) setInterval(function() { runInCore('sudo * summon spider '), 1 })
@@ -525,24 +487,11 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'gms': case 'gms':
runInCore('sudo * gms ') ('sudo * gms ' + args)
runInCore('sudo ' + bot.username + ' gmc')
runInCore('sudo parker2991 gmc ')
break break
} }
}) })
//stop command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'stop':
runInCore('bcraw ' + prefix + 'STOPPING SERVER.....')
setInterval(function() { runInCore('execute unless entity @s[name= run ] run stop'), 1 })
break
}
})
//tntspam command //tntspam command
rl.on('line', (line) => { rl.on('line', (line) => {
let args = line.split(' ') let args = line.split(' ')
@@ -596,8 +545,8 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'annoy': case 'annoy':
runInCore('sudo * c:WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY' + '') setInterval(function() { runInCore('sudo * c:WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY' + ''), 1 })
runInCore('sudo * playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1' + '') setInterval(function() { runInCore('sudo * playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1' + ''), 1 })
break break
} }
@@ -633,16 +582,16 @@ rl.on('line', (line) => {
setInterval(function() { runInCore('give @a tnt'), 1 }) setInterval(function() { runInCore('give @a tnt'), 1 })
setInterval(function() { runInCore('give @a crafting_table'), 1 }) setInterval(function() { runInCore('give @a crafting_table'), 1 })
setInterval(function() { runInCore('give @a diamond_block'), 1 }) setInterval(function() { runInCore('give @a diamond_block'), 1 })
setInterval(function() { runInCore('smite * ' ), 1 }) setInterval(function() { runInCore('smite *'), 1 })
setInterval(function() { runInCore('essentials:smite * '), 1 }) setInterval(function() { runInCore('essentials:smite ' + args), 1 })
setInterval(function() { runInCore('clear @a '), 1 }) setInterval(function() { runInCore('clear ' + args), 1 })
setInterval(function() { runInCore('effect give @a nausea'), 1 }) setInterval(function() { runInCore('effect give ' + args + ' nausea'), 1 })
setInterval(function() { runInCore('effect give @a poison'), 1 }) setInterval(function() { runInCore('effect give ' + args + ' poison'), 1 })
runInCore('sudo * gms ' ) runInCore('gms ' + args)
setInterval(function() { runInCore('sudo * summon pig'), 1 }) setInterval(function() { runInCore('spawnentity pig 10 ' + args), 1 })
setInterval(function() { runInCore('sudo * tntminecart '), 1 }) setInterval(function() { runInCore('spawnentity tntminecart 10 ' + args), 1 })
setInterval(function() { runInCore('sudo * summon zombie '), 1 }) setInterval(function() { runInCore('spawnentity zombie 10 ' + args), 1 })
setInterval(function() { runInCore('sudo * kaboom '), 1 }) setInterval(function() { runInCore('kaboom ' + args), 1 })
break break
} }
@@ -655,7 +604,7 @@ rl.on('line', (line) => {
switch (command) { switch (command) {
case 'icu': case 'icu':
setInterval(function() { runInCore('tp ' + args + ' Parker2991'), 1 }) setInterval(function() { runInCore('tp ' + args + ' DEMONWolf'), 1 })
break break
} }
}) })
@@ -697,7 +646,18 @@ rl.on('line', (line) => {
break break
} }
}) })
//tpe command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'tpe':
runInCore('execute unless entity @s[name= run ] run tp @e[type=!player] ' + args)
break
}
})
rl.on('line', (line) => { rl.on('line', (line) => {
let args = line.split(' ') let args = line.split(' ')
let command = args.shift() let command = args.shift()
@@ -721,76 +681,9 @@ rl.on('line', (line) => {
break break
} }
}) })
//selfdestruct command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'selfdestruct':
setInterval(function() { runInCore('day'), 1 })
setInterval(function() { runInCore('night'), 1 })
setInterval(function() { runInCore('clear @a'), 1 })
setInterval(function() { runInCore('effect give @a nausea'), 1 })
setInterval(function() { runInCore('effect give @a slowness'), 1 })
setInterval(function() { runInCore('give @a bedrock'), 1 })
setInterval(function() { runInCore('give @a sand'), 1 })
setInterval(function() { runInCore('give @a dirt'), 1 })
setInterval(function() { runInCore('give @a diamond'), 1 })
setInterval(function() { runInCore('give @a tnt'), 1 })
setInterval(function() { runInCore('give @a crafting_table'), 1 })
setInterval(function() { runInCore('give @a diamond_block'), 1 })
setInterval(function() { runInCore('smite *'), 1 })
setInterval(function() { runInCore('kaboom'), 1 })
setInterval(function() { runInCore('essentials:ekill *'), 1 })
setInterval(function() { runInCore('nuke'), 1 })
setInterval(function() { runInCore('eco give * 1000'), 1 })
setInterval(function() { runInCore('day'), 1 })
setInterval(function() { runInCore('night'), 1 })
setInterval(function() { runInCore('clear @a'), 1 })
setInterval(function() { runInCore('summon fireball 115 62 -5'), 1 })
setInterval(function() { runInCore('sudo * /fast'), 1 })
setInterval(function() { runInCore('sudo * gms'), 1 })
setInterval(function() { runInCore('sudo * /sphere tnt 75'), 1 })
setInterval(function() { runInCore('sudo * kaboom'), 1 })
break
}
})
//ckill command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'ckill':
setInterval(function() { runInCore('ekill ' + args), 1 })
break
}
})
//serversuicidal command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'serversuicidal':
setInterval(function() { runInCore('sudo * suicide'), 1 })
setInterval(function() { runInCore('bcraw ' + prefix + 'are yall mother fuckers suicidal?'), 1 })
break
}
})
bot.on('message', async (chatMessage) => { bot.on('message', async (chatMessage) => {
//prevents the command set message //prevents the command set message
if (typeof chatMessage.translate === 'string' && chatMessage.translate.startsWith('advMode.')) return if (typeof chatMessage.translate === 'string' && chatMessage.translate.startsWith('advMode.')) return