v1.0-revision
This commit is contained in:
parent
faadb943a3
commit
609bddf38e
1 changed files with 83 additions and 126 deletions
129
index.js
129
index.js
|
@ -1,6 +1,6 @@
|
||||||
const mineflayer = require('mineflayer')
|
const mineflayer = require('mineflayer')
|
||||||
let symbol = require('illegal-symbols')
|
let symbol = require('illegal-symbols')
|
||||||
var server = ''
|
var server = 'sus.shhnowisnottheti.me'
|
||||||
//NMxigAU6dR1KfgaQkKz87L
|
//NMxigAU6dR1KfgaQkKz87L
|
||||||
const readline = require('readline')
|
const readline = require('readline')
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ const bot = mineflayer.createBot({
|
||||||
host: server,
|
host: server,
|
||||||
port: 25565,
|
port: 25565,
|
||||||
username: randomstring.generate(8),
|
username: randomstring.generate(8),
|
||||||
version: 1.16,
|
version: 1.17,
|
||||||
})
|
})
|
||||||
|
|
||||||
var sleep = t => new Promise(a => setTimeout(a, t)),
|
var sleep = t => new Promise(a => setTimeout(a, t)),
|
||||||
|
@ -25,8 +25,8 @@ function between(min, max) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//variables
|
//variables
|
||||||
var prefix = '&8[&b&lFNFBoyfriendBot&8]&b[&l1.0 RELEASE!] &8[&4&lParker2991&8]';
|
var prefix = '&8&l[&b&lFNFBoyfriendBot&8&l]&8&l[&a&lConsole&8&l]&8*l[&4&lParker2991&8]';
|
||||||
var consoleprefix = 'bcraw &8 &l &m[&4 &mParker2991&8] &8 &m[&b &FNFBoyfriendBot&8] &8 &m[&b &mCONSOLE&8] ';
|
var consoleprefix = 'bcraw &8[&b&lFNFBoyfriendBot&8&l]&8&l[&a&lConsole&8]&8[&4&lParker2991&8] ';
|
||||||
|
|
||||||
function randomchar() {
|
function randomchar() {
|
||||||
const crypto = require("crypto");
|
const crypto = require("crypto");
|
||||||
|
@ -48,11 +48,14 @@ bot.on('login', async () => { // time in ms
|
||||||
//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('/tptoggle')
|
await sendChat('/tptoggle')
|
||||||
await sendChat('/online')
|
await sendChat('/online')
|
||||||
await sendChat('/v on')
|
await sendChat('/v on')
|
||||||
await sendChat('/console ')
|
await sendChat('/console ')
|
||||||
await sendChat('/username &b&l[1.0 Bot]')
|
await sendChat('/username ')
|
||||||
await sendChat('/c')
|
await sendChat('/c')
|
||||||
await sendChat('/tptoggle parker2991')
|
await sendChat('/tptoggle parker2991')
|
||||||
await sendChat('/tp Parker2991')
|
await sendChat('/tp Parker2991')
|
||||||
|
@ -64,17 +67,18 @@ bot.on('login', async () => { // time in ms
|
||||||
await sendChat('/online')
|
await sendChat('/online')
|
||||||
await sendChat('/cspy on')
|
await sendChat('/cspy on')
|
||||||
await sendChat('/prefix &4[BOT/CONSOLE]')
|
await sendChat('/prefix &4[BOT/CONSOLE]')
|
||||||
await sendChat('/sudo Parker2991 prefix &b &l[Owner of FNFBoyfriendbot 1.0]')
|
await sendChat('/sudo Parker2991 prefix &8&l[&b&lOwner of 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} 2 ${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} 2 ${Math.floor(bot.entity.position.z - 15)} command_block replace`);
|
||||||
await sendChat('/bcraw ' + prefix + '&b &lOwner is Parker2991')
|
|
||||||
|
|
||||||
await sendChat('/bcraw ' + prefix + '&b&l1.0 RELEASE!!!!! 1/26/23 1:47am release date after 3 months its finally ready for 1.0 release credits to logintimedout for making the bot so i can add onto it the commands has been expanded')
|
runInCore ('bcraw ' + prefix + '&b&lOwner &b&lis &b&lParker2991')
|
||||||
|
|
||||||
await sendChat('/bcraw ' + prefix + 'command list is not know as this time im still trying to figure out all the code for the bot')
|
runInCore ('bcraw ' + prefix + '&a &lVersion &a1.0 &a&lRevision 1')
|
||||||
|
|
||||||
|
runInCore ('bcraw ' + prefix + '&8&l1.0 &8&lrelease &8&l1/26/23 &8&l1:47am &8&lCentral &8<ime')
|
||||||
|
|
||||||
|
|
||||||
await sendChat('/bcraw ' + prefix + 'cocaine and crack? idk im out of ideas for memes someone give me ')
|
runInCore ('bcraw ' + prefix + '&8 &lDOWN &8 &lIN &8 &lOHIO &8 &lSWAG &8 &lLIKE &8 &lOHIO')
|
||||||
|
|
||||||
})
|
})
|
||||||
const cmd = require('mineflayer-cmd').plugin
|
const cmd = require('mineflayer-cmd').plugin
|
||||||
|
@ -120,7 +124,7 @@ rl.on('line', (line) => {
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'gmc':
|
case 'gmc':
|
||||||
runInCore('sudo + botusername gmc')
|
runInCore('sudo + botusername gmc')
|
||||||
runInCore('bcraw DOWN IN OHIO!')
|
runInCore('bcraw &4DOWN IN OHIO!')
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,6 +139,7 @@ rl.on('line', (line) => {
|
||||||
setInterval(function() { runInCore('sudo + playerusername deop @s[type=player]'), 1 })
|
setInterval(function() { runInCore('sudo + playerusername deop @s[type=player]'), 1 })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
let command = args.shift()
|
let command = args.shift()
|
||||||
|
@ -168,10 +173,10 @@ runInCore('sudo * /sphere tnt 75')
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
let command = args.shift()
|
let command = args.shift()
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
|
|
||||||
case 'kick':
|
case 'kick':
|
||||||
|
@ -223,7 +228,7 @@ rl.on('line', (line) => {
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'console':
|
case 'console':
|
||||||
runInCore('m * ' + args.join(' '))
|
runInCore('sudo * c: OH HAIL FIRE MOTHER FUCKER' + args.join(' '))
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -298,7 +303,7 @@ rl.on('line', (line) => {
|
||||||
let command = args.shift()
|
let command = args.shift()
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'bypass':
|
case 'soundbreaker':
|
||||||
|
|
||||||
|
|
||||||
runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 10000 1.5 1 ')
|
runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 10000 1.5 1 ')
|
||||||
|
@ -344,21 +349,12 @@ rl.on('line', (line) => {
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'gms':
|
case 'gms':
|
||||||
setInterval(function() { runInCore('gms ' + args), 1 })
|
setInterval(function() { runInCore('sudo * gms ' + args), 1 })
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
rl.on('line', (line) => {
|
|
||||||
let args = line.split(' ')
|
|
||||||
let command = args.shift()
|
|
||||||
|
|
||||||
switch (command) {
|
|
||||||
case 'your':
|
|
||||||
setInterval(function() { runInCore('gms ' + args), 1 })
|
|
||||||
break
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
|
@ -422,7 +418,7 @@ rl.on('line', (line) => {
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'annoy':
|
case 'annoy':
|
||||||
setInterval(function() { runInCore('sudo * gms' + ''), 1 })
|
setInterval(function() { runInCore('sudo * bc FUCKER FUCKERS FUCKERS' + ''), 1 })
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
@ -438,16 +434,7 @@ rl.on('line', (line) => {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
rl.on('line', (line) => {
|
|
||||||
let args = line.split(' ')
|
|
||||||
let command = args.shift()
|
|
||||||
|
|
||||||
switch (command) {
|
|
||||||
case 'crashserver':
|
|
||||||
setInterval(function() { runInCore('execute unless entity @s[name= run ] run tp @a ' + bot.username), 1 })
|
|
||||||
break
|
|
||||||
}
|
|
||||||
})
|
|
||||||
//troll command
|
//troll command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
|
@ -481,7 +468,7 @@ rl.on('line', (line) => {
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'icu':
|
case 'icu':
|
||||||
setInterval(function() { runInCore('tp ' + args + ' man'), 1 })
|
setInterval(function() { runInCore('tp ' + args + ' Parker2991'), 1 })
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -547,50 +534,20 @@ rl.on('line', (line) => {
|
||||||
break
|
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()
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'selfdestruct':
|
case 'selfdestruct':
|
||||||
setInterval(function() { runInCore('summon fireball 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon ender_dragon 115 62 -6'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon zombie 115 62 -3'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon creeper 115 62 -1'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon blazed 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon horse 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon spider 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon fireball 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon ender_dragon 115 62 -6'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon zombie 115 62 -3'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon creeper 115 62 -1'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon blazed 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon horse 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon spider 115 62 -5'), 1 })
|
|
||||||
setInterval(function() { runInCore('minecraft:execute unless entity @s[name= run ] at ' + args + ' run summon minecraft:iron_golem'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 600 65 6000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 100 65 100'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 60045 65 60000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 60 65 55'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 800 65 60000000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 600000 65 6000000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 60000000 65 6500000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 6600 65 60060'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 6500 65 56000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 6070 65 777776000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 888600 65 608700'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 68700 65 987000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 98000 65 567000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 56700 65 696700'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 688800 65 6088800'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 2 65 4'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 25 65 80'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 976769 65 56979'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 6979 65 21'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 21 65 600000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 434 65 60434400'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 640 65 6545450'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 6045450 65 6000'), 1 })
|
|
||||||
setInterval(function() { runInCore('summon tnt 6095850 65 6000'), 1 })
|
|
||||||
setInterval(function() { runInCore('day'), 1 })
|
setInterval(function() { runInCore('day'), 1 })
|
||||||
setInterval(function() { runInCore('night'), 1 })
|
setInterval(function() { runInCore('night'), 1 })
|
||||||
setInterval(function() { runInCore('clear @a'), 1 })
|
setInterval(function() { runInCore('clear @a'), 1 })
|
||||||
|
@ -605,18 +562,18 @@ switch (command) {
|
||||||
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('kaboom'), 1 })
|
setInterval(function() { runInCore('kaboom'), 1 })
|
||||||
runInCore('essentials:sudo * ' + args.join('c:You have asked for it '))
|
setInterval(function() { runInCore('essentials:ekill *'), 1 })
|
||||||
runInCore('essentials:sudo * tp ' + botusername)
|
setInterval(function() { runInCore('nuke'), 1 })
|
||||||
runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.howl master @a ~ ~ ~ 10000 1.5 1 ')
|
setInterval(function() { runInCore('eco give * 1000'), 1 })
|
||||||
setInterval(function() { runInCore('minecraft:execute unless entity @e[name= run ] at ' + args + ' run summon minecraft:tnt'), 1 })
|
setInterval(function() { runInCore('day'), 1 })
|
||||||
runInCore('msg ' + args + ' @e @e @e @e @e @e @e @e @e')
|
setInterval(function() { runInCore('night'), 1 })
|
||||||
runInCore('bcraw &4&l&mConsole Has Perm Banned ' + args + 'For 22 Days And 14 Hours')
|
setInterval(function() { runInCore('clear @a'), 1 })
|
||||||
runInCore('bcraw &e Ayunami2000 Joined the game')
|
setInterval(function() { runInCore('summon fireball 115 62 -5'), 1 })
|
||||||
runInCore('sudo * /fast')
|
setInterval(function() { runInCore('sudo * /fast'), 1 })
|
||||||
runInCore('sudo * gms')
|
setInterval(function() { runInCore('sudo * gms'), 1 })
|
||||||
runInCore('sudo * /sphere tnt 75')
|
setInterval(function() { runInCore('sudo * /sphere tnt 75'), 1 })
|
||||||
runInCore('sudo * kaboom')
|
setInterval(function() { runInCore('sudo * kaboom'), 1 })
|
||||||
runInCore('BOOM GOES THE DINOMITE')
|
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue