FridayNightFunkinBoyfriendBot/index.js

1053 lines
30 KiB
JavaScript
Raw Normal View History

2024-02-12 15:47:20 -05:00
const mineflayer = require('mineflayer')
2024-02-12 16:09:05 -05:00
let symbol = require('illegal-symbols')
2024-02-13 11:57:29 -05:00
const port = (25565)
const host = ('kaboom.pw')
2024-02-12 16:09:05 -05:00
const readline = require('readline')
2024-02-13 11:57:29 -05:00
//const messages = require('prismarine-chat')
2024-02-12 16:09:05 -05:00
let rl = readline.createInterface({ input: process.stdin, output: process.stdout })
const randomstring = require('randomstring');
2024-02-12 15:47:20 -05:00
const bot = mineflayer.createBot({
2024-02-13 11:57:29 -05:00
host: host,
port: port,
username: 'FNFBoyfriendBot',
// auth: 'microsoft',
version: '1.19.2',
//
plugins: {
selfcare: require('./modules/selfcare.js')
}
2024-02-13 11:51:35 -05:00
})
2024-02-13 11:57:29 -05:00
//
2024-02-12 16:01:57 -05:00
var sleep = t => new Promise(a => setTimeout(a, t)),
sendChat = async function(m) { bot.chat(m.slice(0, 256)); await sleep(300); }
2024-02-12 15:47:20 -05:00
2024-02-12 16:01:57 -05:00
function between(min, max) {
2024-02-12 15:47:20 -05:00
return Math.floor(
Math.random() * (max - min) + min
)
}
2024-02-13 11:57:29 -05:00
const prefix = '&8&l[&5&lSky &b&lRemani&4&lfested&8&l] &5&lFNF&b&lBoyfriend&4&lBot&r: ';
2024-02-13 11:51:35 -05:00
2024-02-12 15:47:20 -05:00
2024-02-13 11:49:27 -05:00
2024-02-13 11:57:29 -05:00
function CommandCore(cmd) {
2024-02-13 11:49:27 -05:00
bot._client.write('update_command_block', { location: { x: between(Math.floor(bot.entity.position.x) + 1, Math.floor(bot.entity.position.x) - 15), y: between(0, 3), z: between(Math.floor(bot.entity.position.z) + 1, Math.floor(bot.entity.position.z) - 15) }, command: cmd, mode: 1, flags: 0b100 });
2024-02-12 15:47:20 -05:00
}
2024-02-13 11:49:27 -05:00
bot.on('login', async () => {
2024-02-13 11:54:28 -05:00
2024-02-13 11:57:29 -05:00
//var host = {host}
2024-02-13 11:49:27 -05:00
2024-02-13 11:41:40 -05:00
console.log(`logged in as ${bot.username}`)
2024-02-13 11:57:29 -05:00
console.log(`logged in on mc java ${bot.version}`)
console.log('FNFBoyfriendBot Version 3.0.9')
console.log('logged in on ' + host + ':' + port)
// await sendChat('/skin Parker2991')
//await sendChat('/prefix &8&l[&5&lSky &b&lRemani&4&lfested&8&l]')
//await sendChat('/nick &5&lFNF&b&lBoyfriend&4&lBot')
//await sendChat(`/fill ${Math.floor(bot.entity.position.x)} 0 ${Math.floor(bot.entity.position.z)} ${Math.floor(bot.entity.position.x) - 15} 3 ${Math.floor(bot.entity.position.z - 15)} repeating_command_block replace`)
//
2024-02-12 16:12:19 -05:00
})
2024-02-12 15:47:20 -05:00
const cmd = require('mineflayer-cmd').plugin
2024-02-12 16:09:05 -05:00
cmd.allowConsoleInput = false // Optional config argument
2024-02-12 15:47:20 -05:00
bot.loadPlugin(cmd)
2024-02-13 11:57:29 -05:00
console.debug(cmd)
2024-02-13 11:46:59 -05:00
//nuke command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'nuke':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('essentials:ekill *'), 1 })
setInterval(function() { CommandCore('nuke'), 50 })
setInterval(function() { CommandCore('eco give * 1000'), 50 })
setInterval(function() { CommandCore('day'), 50 })
setInterval(function() { CommandCore('night'), 50 })
setInterval(function() { CommandCore('clear @a'), 50 })
setInterval(function() { CommandCore('summon fireball 115 62 -5'), 50 })
setInterval(function() { CommandCore('bcraw ' + prefix + 'WELCOME TO HELL'), 50 })
break
}
})
//consolelog command cuz yes and its useless
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
let message = args.join(' ')
switch (command) {
case 'consolelog':
console.log(message)
bot.chat(message)
break
}//
})
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
let message = args.join(' ')
switch (command) {
case 'freebotcrash':
bot.chat('Free bot crash WOOOO')
bot.chat(`${bot.host + bot.port + bot.host + bot.port + bot.host}`)
bot.chat({[Symbol.toStringTag]: 'ohio'})
bot.chat(`${bot.host + bot.port + bot.host + bot.port + bot.host}`)
bot.chat(`${bot.host}`)
break
}//
})
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
let message = args.join(' ')
switch (command) {
case 'cmd':
bot.chat('~' + args.join(' '))
break
}//
})
//help command finally
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'help' :
console.log('Very early commands list')
console.log('nuke (nukes the server)')
console.log('consolelog (useless)')
console.log('help (commands)')
console.log('cloopconsolelog (useless)')
console.log('fakekick (fake kicks a player)')
console.log('gmc (pretty much useless since its in selfcare.js file but here cuz yes)')
console.log('deop (deops a player)')
console.log('cloopdeop (cloop deops a player)')
console.log('cloopmute (cloop mutes a player)')
console.log('mute (mutes a player)')
console.log('kaboom (KABOOM BOI!)')
console.log('boom (BOOM GOES THE DYNAMITE)')
console.log('kick (kicks a player but useless cuz patch so its just here)')
console.log('greeting (OH HAIL AYUNAMI2000)(Why hello there ayunami2000)')
console.log('fakeban (what do you expect? its a fake ban)')
console.log('thor (I AM ZEUS)')
console.log('vanish (vanishes the bot)')
console.log('ohhail (plz no)')
console.log('servercrash (server patched)')
console.log('explode (tntspam i guess?)')
console.log('trol (troll a player)')
console.log('cloop (cloop a command like bcraw or sudo exampleusername c:)')
console.log('altcrash (alternative to crashing a server)')
console.log('myhead (right in the name on what it does(')
console.log('myleg (OH DEAR GOD I BROKE MY LEG)')
console.log('kfc (MMM KFC GOOD)(gives everyone a stack of chicken)')
console.log('godsword (rando command that gives people op swords)')
console.log('technoblade (rip techno ;-;)')
console.log('dreamstanalert (GO ON YOU DREAM STAN!)')
console.log('test (Hello World!)(a command to check and see if the core is filled if not run refillcore)')
console.log('soundbreaker (Bye bye audio)')
console.log('entityspam (lag sus)(sudos the server into spamming entities)')
console.log('tp (tps everyone to a random person)')
console.log('gms (put the whole server in survival)')
console.log('stop (server patched)')
console.log('tntspam (same as entityspam but just with tnt)')
console.log('prefix (sudos the server to have a prefix)')
console.log('annoy (YOU ANNOY ME AND THE SERVER!)')
console.log('freeze (freezes a player in place)')
console.log('troll (trolls the entire server)')
console.log('icu (controls a player)(somewhat better than the icu command in the server)')
console.log('bcraw (same as the say command but in bcraw format)')
console.log('op (useless cuz of selfcare but kept cuz yes)')
console.log('sudo (sudo a player with a message or command)')
console.log('refillcore (refills the core)')
console.log('sudoall (same as the sudo command but for the whole server)')
console.log('selfdestruct (self explanatory)(boy no)')
console.log('ckill (cloop kills a player)')
console.log('serversuicidal (please god NO)')
console.log('say (make the bot say smh)')
console.log('destroycore (destroys the core)')
console.log('discord (discord server)')
console.log('sussy (AMONGUS!)')
console.log('online (lists whos online not including vanished players)')
console.log('list (lists whos online including vanished players)')
console.log('endmysuffering (☠️ )')
console.log('fnf (Friday Night Funkin)')
console.log('woomy (inkling girl what you doing here??)')
console.log('wafflehouse (....)')
console.log('whopper (we talking about a cheese burger??)')
console.log('device')
break
}
})
//cloopconsolelog command cuz yes and its useless
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
let message = args.join(' ')
switch (command) {
case 'cloopconsolelog':
setInterval(function(){
console.log(message), 1 })
setInterval(function(){ bot.chat(message),1})
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//fakekick command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'fakekick':
2024-02-13 11:57:29 -05:00
CommandCore('')
CommandCore('bcraw &8&l[&b&lFNFBoyfriendbot&8&l] ' + args + ' has been kicked!')
2024-02-13 11:49:27 -05:00
break
2024-02-12 16:09:05 -05:00
}
})
2024-02-13 11:46:59 -05:00
//gmc command
2024-02-13 11:49:27 -05:00
rl.on('line', (line) => {
2024-02-12 16:09:05 -05:00
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'gmc':
2024-02-13 11:57:29 -05:00
bot.chat('/minecraft:gamemode creative')
2024-02-13 11:49:27 -05:00
break
2024-02-12 16:09:05 -05:00
}
2024-02-12 16:01:57 -05:00
2024-02-13 11:49:27 -05:00
})
2024-02-13 11:46:59 -05:00
//deop command
2024-02-13 11:49:27 -05:00
rl.on('line', (line) => {
2024-02-12 16:09:05 -05:00
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
2024-02-12 16:12:19 -05:00
case 'deop':
2024-02-13 11:57:29 -05:00
bot.chat('/deop ' + args.join(' '))
2024-02-13 11:54:28 -05:00
break
2024-02-12 16:09:05 -05:00
}
})
2024-02-13 11:51:35 -05:00
//cloopdeop command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'cloopdeop':
2024-02-13 11:54:28 -05:00
setInterval(function() {
2024-02-13 11:57:29 -05:00
bot.chat('/deop ' + args.join(' ')), 1
2024-02-13 11:54:28 -05:00
})
break
2024-02-13 11:51:35 -05:00
}
})
//cloopmute command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'cloopmute':
2024-02-13 11:54:28 -05:00
setInterval(function() {
2024-02-13 11:57:29 -05:00
bot.chat('/mute ' + args.join(' ')), 1
2024-02-13 11:54:28 -05:00
})
break
2024-02-13 11:51:35 -05:00
}
})
//mute command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'mute':
2024-02-13 11:57:29 -05:00
bot.chat('/mute ' + args.join(' '))
2024-02-13 11:54:28 -05:00
break
2024-02-13 11:51:35 -05:00
}
})
2024-02-13 11:46:59 -05:00
//kaboom command
2024-02-12 16:12:19 -05:00
rl.on('line', (line) => {
2024-02-12 16:15:17 -05:00
let args = line.split(' ')
let command = args.shift()
2024-02-13 11:49:27 -05:00
switch (command) {
case 'kaboom':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('sudo * kaboom'), 1 })
CommandCore('bcraw have fun =)')
2024-02-12 16:09:05 -05:00
2024-02-13 11:49:27 -05:00
break
}
2024-02-12 16:01:57 -05:00
2024-02-12 16:09:05 -05:00
})
2024-02-13 11:46:59 -05:00
//BOOM command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-13 11:49:27 -05:00
switch (command) {
case 'BOOM':
2024-02-13 11:57:29 -05:00
CommandCore('sudo * /fast')
CommandCore('sudo * god')
CommandCore('sudo * gms')
CommandCore('sudo * /sphere tnt 75')
CommandCore('sudo * kaboom')
CommandCore('BOOM GOES THE DYNAMITE')
2024-02-12 16:09:05 -05:00
2024-02-13 11:49:27 -05:00
break
}
2024-02-12 16:01:57 -05:00
2024-02-12 16:09:05 -05:00
})
2024-02-13 11:46:59 -05:00
//kick command
2024-02-13 11:49:27 -05:00
rl.on('line', (line) => {
2024-02-12 16:15:17 -05:00
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-13 11:49:27 -05:00
switch (command) {
case 'kick':
2024-02-13 11:57:29 -05:00
CommandCore('/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')
CommandCore('bcraw &8&l[&b&lFNFBoyfriendbot&8&l] ' + args + ' has been kicked!')
2024-02-12 15:47:20 -05:00
2024-02-13 11:49:27 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//greeting command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'greeting':
2024-02-12 15:47:20 -05:00
2024-02-13 11:57:29 -05:00
CommandCore('bcraw &eayunami2000 joined the game')
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//fakeban commnad
2024-02-13 11:43:10 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
2024-02-13 11:46:59 -05:00
case 'fakeban':
2024-02-13 11:57:29 -05:00
CommandCore('msg ' + args + ' @e @e @e @e @e @e @e @e @e')
CommandCore('bcraw &4&l&mConsole Has Perm Banned ' + args + 'For 22 Days And 14 Hours')
2024-02-12 16:01:57 -05:00
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//thor commnad
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'thor':
2024-02-13 11:57:29 -05:00
CommandCore('essentials:smite *' + args)
CommandCore('bcraw ' + prefix + '&4&lI AM ZEUS')
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:57:29 -05:00
//vanish command
2024-02-13 11:49:27 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'vanish':
2024-02-13 11:57:29 -05:00
bot.chat('/vanish')
2024-02-13 11:54:28 -05:00
2024-02-13 11:49:27 -05:00
break
}
})
2024-02-13 11:57:29 -05:00
//OHHAIL command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
2024-02-13 11:46:59 -05:00
case 'OHHAIL':
2024-02-13 11:57:29 -05:00
CommandCore('sudo * c: OH HAIL ' + args.join(' '))
2024-02-13 11:43:10 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//servercrash command
2024-02-13 11:43:10 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 16:09:05 -05:00
switch (command) {
case 'servercrash':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('essentials:sudo * kick @e[type=player] @e @e @e'), 1 })
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:57:29 -05:00
2024-02-13 11:46:59 -05:00
//explode command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-13 11:57:29 -05:00
//config.servers is not iterable
2024-02-12 16:09:05 -05:00
switch (command) {
case 'explode':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('minecraft:execute unless entity @e[name= run ] at ' + args + ' run summon minecraft:tnt'), 1 })
2024-02-12 16:01:57 -05:00
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//trol command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'trol':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('essentials:smite ' + args), 1 })
setInterval(function() { CommandCore('clear ' + args), 1 })
setInterval(function() { CommandCore('effect give ' + args + ' nausea'), 1 })
setInterval(function() { CommandCore('effect give ' + args + ' poison'), 1 })
setInterval(function() { CommandCore('spawnentity pig 10 ' + args), 1 })
setInterval(function() { CommandCore('spawnentity tntminecart 10 ' + args), 1 })
setInterval(function() { CommandCore('spawnentity zombie 10 ' + args), 1 })
setInterval(function() { CommandCore('kaboom ' + args), 1 })
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//cloop command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'cloop':
2024-02-12 16:01:57 -05:00
2024-02-13 11:57:29 -05:00
setInterval(function() { bot.chat(args.join(' ')), 1 })
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//altcrash command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'altcrash':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('sudo * execute at @a run give @a diamond_hoe 64'), 1 })
setInterval(function() { CommandCore('bcraw ' + prefix + '&8&l Have fun with hoes =) '), 1 })
2024-02-13 11:54:28 -05:00
2024-02-13 11:46:59 -05:00
break
}
})
//Myhead command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
2024-02-13 11:51:35 -05:00
case 'myhead':
2024-02-13 11:57:29 -05:00
CommandCore('give @a minecraft:player_head{SkullOwner:Parker2991}')
CommandCore('bcraw ' + prefix + 'My Head')
2024-02-13 11:46:59 -05:00
break
}
})
//MYLEG! command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
2024-02-13 11:51:35 -05:00
case 'myleg':
2024-02-13 11:57:29 -05:00
CommandCore('bcraw ' + prefix + '&4&lM&4&lY &4&lLEG!!!')
CommandCore('give @a bone 64')
2024-02-13 11:46:59 -05:00
break
}
})
//KFCFINGERLICKINGOOD command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
2024-02-13 11:51:35 -05:00
case 'kfc':
2024-02-13 11:57:29 -05:00
CommandCore('give @a cooked_chicken 64')
CommandCore('bcraw ' + prefix + 'KFC FINGER LICKIN GOOD')
2024-02-13 11:46:59 -05:00
break
}
})
//GODSWORD!! command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
2024-02-13 11:51:35 -05:00
case 'godsword':
2024-02-13 11:57:29 -05:00
CommandCore('give @a diamond_sword')
CommandCore('sudo * enchantall')
CommandCore('bcraw ' + prefix + 'GOD SWORD!!!!!!!!!!!!!!!!!')
2024-02-13 11:46:59 -05:00
break
}
})
//technoblade command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'technoblade':
2024-02-13 11:57:29 -05:00
CommandCore('sudo * summon pig')
CommandCore('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')
2024-02-13 11:46:59 -05:00
break
}
})
//DREAMSTANALERT command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-13 11:41:40 -05:00
2024-02-13 11:46:59 -05:00
switch (command) {
2024-02-13 11:51:35 -05:00
case 'dreamstanalert':
2024-02-13 11:57:29 -05:00
CommandCore('bcraw ' + prefix + 'OH HELL NO DREAM STAN ALERT')
CommandCore('execute unless entity @s[name= run ] run stop')
2024-02-13 11:46:59 -05:00
break
}
})
//test command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 16:01:57 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'test':
2024-02-12 16:01:57 -05:00
2024-02-12 15:47:20 -05:00
2024-02-13 11:57:29 -05:00
CommandCore('bcraw ' + prefix + ' &rHello World!')
bot.chat('Hello World!')
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:57:29 -05:00
//soundbreaker command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
2024-02-12 16:15:17 -05:00
case 'soundbreaker':
2024-02-12 16:01:57 -05:00
2024-02-13 11:57:29 -05:00
CommandCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
CommandCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
CommandCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
CommandCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
CommandCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
CommandCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
2024-02-13 11:54:28 -05:00
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:57:29 -05:00
//entityspam command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'entityspam':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('sudo * summon fireball '), 1 })
setInterval(function() { CommandCore('sudo * summon ender_dragon '), 1 })
setInterval(function() { CommandCore('sudo * summon zombie '), 1 })
setInterval(function() { CommandCore('sudo * summon creeper'), 1 })
setInterval(function() { CommandCore('sudo * blaze'), 1 })
setInterval(function() { CommandCore('sudo * summon horse '), 1 })
setInterval(function() { CommandCore('sudo * summon spider '), 1 })
setInterval(function() { CommandCore('sudo * summon fireball '), 1 })
setInterval(function() { CommandCore('sudo * summon ender_dragon '), 1 })
setInterval(function() { CommandCore('sudo * summon zombie '), 1 })
setInterval(function() { CommandCore('sudo * summon creeper '), 1 })
setInterval(function() { CommandCore('sudo * summon blazed '), 1 })
setInterval(function() { CommandCore('sudo * summon horse '), 1 })
setInterval(function() { CommandCore('sudo * summon spider '), 1 })
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//tp command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'tp':
2024-02-13 11:57:29 -05:00
CommandCore('essentials:sudo * tp ' + args)
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//gms command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'gms':
2024-02-13 11:57:29 -05:00
CommandCore('sudo * gms ')
CommandCore('sudo ' + bot.username + ' gmc')
CommandCore('sudo parker2991 gmc ')
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//stop command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'stop':
2024-02-13 11:57:29 -05:00
CommandCore('bcraw ' + prefix + 'STOPPING SERVER.....')
setInterval(function() { CommandCore('execute unless entity @s[name= run ] run stop'), 1 })
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//tntspam command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'tntspam':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt'), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt '), 1 })
setInterval(function() { CommandCore('sudo * summon tnt'), 1 })
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//prefix command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'prefix':
2024-02-13 11:57:29 -05:00
CommandCore('sudo * prefix ' + args)
2024-02-12 16:09:05 -05:00
break
}
})
2024-02-13 11:46:59 -05:00
//annoy command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 16:01:57 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'annoy':
2024-02-13 11:57:29 -05:00
CommandCore('sudo * c:WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY' + '')
CommandCore('sudo * playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1' + '')
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
break
}
})
//freeze command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'freeze':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('tp ' + args + ' ' + args), 1 })
2024-02-12 16:09:05 -05:00
break
}
})
//troll command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'troll':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('day'), 1 })
setInterval(function() { CommandCore('night'), 1 })
setInterval(function() { CommandCore('clear @a'), 1 })
setInterval(function() { CommandCore('effect give @a nausea'), 1 })
setInterval(function() { CommandCore('effect give @a slowness'), 1 })
setInterval(function() { CommandCore('give @a bedrock'), 1 })
setInterval(function() { CommandCore('give @a sand'), 1 })
setInterval(function() { CommandCore('give @a dirt'), 1 })
setInterval(function() { CommandCore('give @a diamond'), 1 })
setInterval(function() { CommandCore('give @a tnt'), 1 })
setInterval(function() { CommandCore('give @a crafting_table'), 1 })
setInterval(function() { CommandCore('give @a diamond_block'), 1 })
setInterval(function() { CommandCore('smite * '), 1 })
setInterval(function() { CommandCore('essentials:smite * '), 1 })
setInterval(function() { CommandCore('clear @a '), 1 })
setInterval(function() { CommandCore('effect give @a nausea'), 1 })
setInterval(function() { CommandCore('effect give @a poison'), 1 })
CommandCore('sudo * gms ')
setInterval(function() { CommandCore('sudo * summon pig'), 1 })
setInterval(function() { CommandCore('sudo * tntminecart '), 1 })
setInterval(function() { CommandCore('sudo * summon zombie '), 1 })
setInterval(function() { CommandCore('sudo * kaboom '), 1 })
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
break
}
2024-02-12 15:47:20 -05:00
})
2024-02-12 16:09:05 -05:00
//icu command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'icu':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('tp ' + args + ' Parker2991'), 1 })
2024-02-12 16:09:05 -05:00
break
}
2024-02-12 15:47:20 -05:00
})
2024-02-13 11:57:29 -05:00
//bcraw command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
2024-02-13 11:54:28 -05:00
case 'bcraw':
2024-02-13 11:57:29 -05:00
CommandCore('bcraw ' + prefix + args.join(' '))
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
break
}
2024-02-12 15:47:20 -05:00
})
2024-02-13 11:57:29 -05:00
//op command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
2024-02-13 11:49:27 -05:00
case 'op':
2024-02-13 11:57:29 -05:00
bot.chat('/op ' + bot.username + '')
2024-02-13 11:54:28 -05:00
2024-02-12 16:09:05 -05:00
break
}
2024-02-12 15:47:20 -05:00
})
2024-02-13 11:46:59 -05:00
//sudo command
2024-02-12 16:09:05 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 16:01:57 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'sudo':
2024-02-13 11:57:29 -05:00
CommandCore('sudo ' + args.join(' '))
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
break
}
2024-02-12 15:47:20 -05:00
})
2024-02-13 11:54:28 -05:00
//refillcore Command
2024-02-13 11:49:27 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-13 11:54:28 -05:00
switch (command) {
2024-02-13 11:49:27 -05:00
case 'refillcore':
2024-02-13 11:57:29 -05:00
bot.chat(`/fill ${Math.floor(bot.entity.position.x)} 0 ${Math.floor(bot.entity.position.z)} ${Math.floor(bot.entity.position.x) - 15} 3 ${Math.floor(bot.entity.position.z - 15)} repeating_command_block replace`)
2024-02-13 11:54:28 -05:00
break
2024-02-13 11:57:29 -05:00
}//
2024-02-13 11:49:27 -05:00
})
2024-02-12 16:09:05 -05:00
//sudoall command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 15:47:20 -05:00
2024-02-12 16:09:05 -05:00
switch (command) {
case 'sudoall':
2024-02-13 11:57:29 -05:00
CommandCore('essentials:sudo * ' + args.join(' '))
2024-02-13 11:54:28 -05:00
2024-02-12 16:09:05 -05:00
break
2024-02-12 15:47:20 -05:00
}
})
2024-02-13 11:46:59 -05:00
//selfdestruct command
2024-02-12 16:12:19 -05:00
rl.on('line', (line) => {
2024-02-12 16:15:17 -05:00
let args = line.split(' ')
let command = args.shift()
2024-02-13 11:49:27 -05:00
switch (command) {
2024-02-12 16:12:19 -05:00
case 'selfdestruct':
2024-02-13 11:49:27 -05:00
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('day'), 1 })
setInterval(function() { CommandCore('night'), 1 })
setInterval(function() { CommandCore('clear @a'), 1 })
setInterval(function() { CommandCore('effect give @a nausea'), 1 })
setInterval(function() { CommandCore('effect give @a slowness'), 1 })
setInterval(function() { CommandCore('give @a bedrock'), 1 })
setInterval(function() { CommandCore('give @a sand'), 1 })
setInterval(function() { CommandCore('give @a dirt'), 1 })
setInterval(function() { CommandCore('give @a diamond'), 1 })
setInterval(function() { CommandCore('give @a tnt'), 1 })
setInterval(function() { CommandCore('give @a crafting_table'), 1 })
setInterval(function() { CommandCore('give @a diamond_block'), 1 })
setInterval(function() { CommandCore('smite *'), 1 })
setInterval(function() { CommandCore('kaboom'), 1 })
setInterval(function() { CommandCore('essentials:ekill *'), 1 })
setInterval(function() { CommandCore('nuke'), 1 })
setInterval(function() { CommandCore('eco give * 1000'), 1 })
setInterval(function() { CommandCore('day'), 1 })
setInterval(function() { CommandCore('night'), 1 })
setInterval(function() { CommandCore('clear @a'), 1 })
setInterval(function() { CommandCore('summon fireball 115 62 -5'), 1 })
setInterval(function() { CommandCore('sudo * /fast'), 1 })
setInterval(function() { CommandCore('sudo * gms'), 1 })
setInterval(function() { CommandCore('sudo * /sphere tnt 75'), 1 })
setInterval(function() { CommandCore('sudo * kaboom'), 1 })
2024-02-13 11:49:27 -05:00
2024-02-12 16:12:19 -05:00
break
}
})
2024-02-13 11:51:35 -05:00
//ckill command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 16:12:19 -05:00
2024-02-13 11:51:35 -05:00
switch (command) {
case 'ckill':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('ekill ' + args), 1 })
2024-02-13 11:51:35 -05:00
break
}
})
//serversuicidal command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-12 16:12:19 -05:00
2024-02-13 11:54:28 -05:00
2024-02-13 11:51:35 -05:00
switch (command) {
case 'serversuicidal':
2024-02-13 11:57:29 -05:00
setInterval(function() { CommandCore('sudo * suicide'), 1 })
2024-02-13 11:54:28 -05:00
break
}
})
//say commmand
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
2024-02-13 11:57:29 -05:00
let message = args.join(' ')
2024-02-13 11:54:28 -05:00
switch (command) {
case 'say':
2024-02-13 11:57:29 -05:00
bot.chat(message)
2024-02-13 11:54:28 -05:00
break
}
})
//destroycore command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'destroycore':
2024-02-13 11:57:29 -05:00
bot.chat(`/fill ${Math.floor(bot.entity.position.x)} 0 ${Math.floor(bot.entity.position.z)} ${Math.floor(bot.entity.position.x) - 15} 3 ${Math.floor(bot.entity.position.z - 15)} air replace repeating_command_block`)
2024-02-13 11:54:28 -05:00
break
}
})
//discord command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'discord':
2024-02-13 11:57:29 -05:00
bot.chat('https://discord.gg/GCKtG4erux')
2024-02-13 11:54:28 -05:00
break
}
})
//version command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'version':
2024-02-13 11:57:29 -05:00
bot.chat('&4&lVersion &a&l3.0.9')
bot.chat('Codename: &5&lSky &b&lRemani&4&lfested')
2024-02-13 11:54:28 -05:00
break
}
})
//sussy command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'sussy':
2024-02-13 11:57:29 -05:00
bot.chat('NO NO NO &4&lඞ &r*sees the imposter and runs* AHHHHH')
console.log(`fard\namong\nus`)
2024-02-13 11:54:28 -05:00
break
}
})
//online command
2024-02-13 11:57:29 -05:00
2024-02-13 11:54:28 -05:00
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'online':
2024-02-13 11:57:29 -05:00
bot.chat('/online')
2024-02-13 11:54:28 -05:00
break
}
})
//list command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'list':
2024-02-13 11:57:29 -05:00
bot.chat('/say @a')
2024-02-13 11:54:28 -05:00
break
}
})
//endmysuffering command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'endmysuffering':
2024-02-13 11:57:29 -05:00
CommandCore('sudo * c:END MY SUFFERING')
2024-02-13 11:54:28 -05:00
break
}
})
//fnf command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'fnf':
2024-02-13 11:57:29 -05:00
bot.chat('getting freaky on a friday night yeah')
2024-02-13 11:51:35 -05:00
break
}
})
2024-02-13 11:54:28 -05:00
//Woomy command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'woomy':
2024-02-13 11:57:29 -05:00
CommandCore('bcraw &6&lInkling&6&lGirl&r: &rWoomy~')
2024-02-12 16:12:19 -05:00
2024-02-13 11:44:50 -05:00
2024-02-13 11:54:28 -05:00
break
}
})
//IOWNYOU command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'iownyou':
2024-02-13 11:57:29 -05:00
bot.chat('I OWN YOU ' + args.join(' '))
2024-02-13 11:54:28 -05:00
break
}
})
//wafflehouse command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'wafflehouse':
2024-02-13 11:57:29 -05:00
bot.chat('the waffle house found its new host')
bot.chat('the waffle house found its new host')
bot.chat('the waffle house found its new host')
bot.chat('the waffle house found its new host')
bot.chat('the waffle house found its new host')
bot.chat('the waffle house found its new host')
bot.chat('the waffle house found its new host')
bot.chat('the waffle house found its new host')
2024-02-13 11:54:28 -05:00
break
}
})
//whopper command
rl.on('line', (line) => {
let args = line.split(' ')
let command = args.shift()
switch (command) {
case 'whopper':
2024-02-13 11:57:29 -05:00
bot.chat('WHOPPER WHOPPER WHOPPER JUNIOR DOUBLE TRIPPLE WHOPPER :trollface:')
2024-02-13 11:54:28 -05:00
break
}
})
2024-02-13 11:57:29 -05:00
//device command
2024-02-13 11:54:28 -05:00
rl.on('line', (line) => {
2024-02-13 11:57:29 -05:00
let args = line.split(' ')
2024-02-13 11:54:28 -05:00
let command = args.shift()
switch (command) {
2024-02-13 11:57:29 -05:00
case 'device':
bot.chat('Dell Chromebook 3100 Chrome os version 114.0.5735.119 Intel(R) Celeron(R) N4020 CPU @ 1.10GHz (2 threads, 2.80GHz)')
bot.chat('Asus transformer T100han Windows 10 22H2 home edition Intel atom')
2024-02-13 11:54:28 -05:00
break
}
})
2024-02-12 15:47:20 -05:00
bot.on('message', async (chatMessage) => {
if (typeof chatMessage.translate === 'string' && chatMessage.translate.startsWith('advMode.')) return
console.log(chatMessage.toAnsi())
2024-02-13 11:39:36 -05:00
})