mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-12-01 22:55:40 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da4f7e3f28 |
@@ -1,28 +1,29 @@
|
|||||||
const mineflayer = require('mineflayer')
|
const mineflayer = require('mineflayer')
|
||||||
let symbol = require('illegal-symbols')
|
let symbol = require('illegal-symbols')
|
||||||
var server = 'play.kaboom.pw'
|
|
||||||
//NMxigAU6dR1KfgaQkKz87L
|
|
||||||
const readline = require('readline')
|
const readline = require('readline')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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: 'mcslot.eu',
|
||||||
port: 25565,
|
port: 25565,
|
||||||
username: 'FNFBoyfriendbot',
|
username: 'FNFBoyfriendbot',
|
||||||
version: 1.17,
|
version: '1.19',
|
||||||
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,7 +34,7 @@ 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[&5&lFNF&b&lBoyfriend&4&lBot&8&l][&b&lblue-balled corrup&4&l&ktion&r&8&l]';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -45,10 +46,10 @@ function runInCore(cmd) {
|
|||||||
bot.on('login', async () => {
|
bot.on('login', async () => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log(`logged in as ${bot.username}`)
|
console.log(`logged in as ${bot.username}`)
|
||||||
|
|
||||||
@@ -57,50 +58,27 @@ 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('/v on')
|
||||||
await sendChat('/world 3')
|
await sendChat('/nick &5&lFNF&b&lBoyfriend&4&lBot')
|
||||||
await sleep(1)
|
await sendChat('/prefix &8&l[&b&lblue-balled corrup&4&l&ktion&r&8&l]')
|
||||||
await sendChat ('/tptoggle parker2991')
|
await sendChat('/gmc')
|
||||||
await sleep(1)
|
await sendChat('/world 3')
|
||||||
await sendChat ('/tp parker2991')
|
await sendChat('/tptoggle')
|
||||||
await sleep(1)
|
|
||||||
await sendChat ('/tptoggle parker2991')
|
|
||||||
await sleep(1)
|
|
||||||
await sendChat('/console ')
|
|
||||||
await sleep(1)
|
|
||||||
await sendChat('/c on')
|
|
||||||
await sleep(1)
|
|
||||||
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 sleep(1)
|
|
||||||
await sendChat('/gamerule sendCommandFeedback false')
|
|
||||||
await sleep (1)
|
|
||||||
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 sleep(1)
|
|
||||||
await sendChat('/sudo parker2991 prefix &8&l[&9&lDiscord&8&l]&8&l[&4&lOwner &a&lof &a<he &5&lFNF&b&lBoyfriend&4&lBot &8&land &b&lWoomyBot&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`)
|
|
||||||
|
|
||||||
|
|
||||||
runInCore('bcraw ' + prefix + '&b&lOwner &4&lis &4Parker&02991')
|
|
||||||
|
|
||||||
|
|
||||||
|
await sendChat('/bcraw ' + prefix + 'Owner is &8&l[&9&lDiscord&8&l]&r&4Parker&02991')
|
||||||
|
|
||||||
|
|
||||||
runInCore('bcraw ' + prefix + 'no longer in developement but forked for a smaller bot')
|
await sendChat('/bcraw ' + prefix + ' &5&lVersion &a&l3.0 &4&lBeta&8&l codename:&b&lblue-balled corrup&4&l&ktion')
|
||||||
|
|
||||||
|
await sendChat('/bcraw ' + prefix + ' &b&l1.0 full bot release 1/26/23 1:47am central time')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
const cmd = require('mineflayer-cmd').plugin
|
const cmd = require('mineflayer-cmd').plugin
|
||||||
@@ -119,7 +97,7 @@ rl.on('line', (line) => {
|
|||||||
setInterval(function() { runInCore('eco give * 1000'), 50 })
|
setInterval(function() { runInCore('eco give * 1000'), 50 })
|
||||||
setInterval(function() { runInCore('day'), 50 })
|
setInterval(function() { runInCore('day'), 50 })
|
||||||
setInterval(function() { runInCore('night'), 50 })
|
setInterval(function() { runInCore('night'), 50 })
|
||||||
setInterval(function() { runInCore('clear @a'), 50})
|
setInterval(function() { runInCore('clear @a'), 50 })
|
||||||
setInterval(function() { runInCore('summon fireball 115 62 -5'), 50 })
|
setInterval(function() { runInCore('summon fireball 115 62 -5'), 50 })
|
||||||
setInterval(function() { runInCore('bcraw ' + prefix + 'WELCOME TO HELL'), 50 })
|
setInterval(function() { runInCore('bcraw ' + prefix + 'WELCOME TO HELL'), 50 })
|
||||||
break
|
break
|
||||||
@@ -137,8 +115,6 @@ rl.on('line', (line) => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
//gmc command
|
//gmc command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -146,7 +122,7 @@ rl.on('line', (line) => {
|
|||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'gmc':
|
case 'gmc':
|
||||||
sendChat('/minecraft:gamemode creative')
|
sendChat('/minecraft:gamemode creative')
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,7 +135,7 @@ rl.on('line', (line) => {
|
|||||||
switch (command) {
|
switch (command) {
|
||||||
case 'deop':
|
case 'deop':
|
||||||
sendChat('/deop ' + args.join(' '))
|
sendChat('/deop ' + args.join(' '))
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//cloopdeop command
|
//cloopdeop command
|
||||||
@@ -169,9 +145,10 @@ rl.on('line', (line) => {
|
|||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'cloopdeop':
|
case 'cloopdeop':
|
||||||
setInterval(function() {
|
setInterval(function() {
|
||||||
sendChat('/deop ' + args.join(' ')), 1 })
|
sendChat('/deop ' + args.join(' ')), 1
|
||||||
break
|
})
|
||||||
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//cloopmute command
|
//cloopmute command
|
||||||
@@ -181,9 +158,10 @@ rl.on('line', (line) => {
|
|||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'cloopmute':
|
case 'cloopmute':
|
||||||
setInterval(function() {
|
setInterval(function() {
|
||||||
sendC('/mute ' + args.join(' ')), 1 })
|
sendChat('/mute ' + args.join(' ')), 1
|
||||||
break
|
})
|
||||||
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//mute command
|
//mute command
|
||||||
@@ -193,11 +171,10 @@ rl.on('line', (line) => {
|
|||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'mute':
|
case 'mute':
|
||||||
sendChat('/mute ' + args.join(' '))
|
sendChat('/mute ' + args.join(' '))
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//kaboom command
|
//kaboom command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -241,7 +218,7 @@ rl.on('line', (line) => {
|
|||||||
switch (command) {
|
switch (command) {
|
||||||
|
|
||||||
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('/me @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[&b&lFNFBoyfriendbot&8&l] ' + args + ' has been kicked!')
|
||||||
|
|
||||||
break
|
break
|
||||||
@@ -256,7 +233,7 @@ rl.on('line', (line) => {
|
|||||||
switch (command) {
|
switch (command) {
|
||||||
case 'greeting':
|
case 'greeting':
|
||||||
|
|
||||||
runInCore('bcraw &eAyunami2000 Joined the game')
|
runInCore('bcraw &eayunami2000 Joined the game')
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@@ -286,14 +263,15 @@ rl.on('line', (line) => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
//vanish command`
|
||||||
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 'vanish':
|
case 'vanish':
|
||||||
sendChat('/vanish on ' + bot.username + '')
|
sendChat('/vanish')
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -304,7 +282,7 @@ 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 ' + args.join(' '))
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -364,7 +342,6 @@ rl.on('line', (line) => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//altcrash command
|
//altcrash command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -374,7 +351,7 @@ rl.on('line', (line) => {
|
|||||||
case 'altcrash':
|
case 'altcrash':
|
||||||
setInterval(function() { runInCore('sudo * execute at @a run give @a diamond_hoe 64'), 1 })
|
setInterval(function() { runInCore('sudo * execute at @a run give @a diamond_hoe 64'), 1 })
|
||||||
setInterval(function() { runInCore('bcraw ' + prefix + '&8&l Have fun with hoes =) '), 1 })
|
setInterval(function() { runInCore('bcraw ' + prefix + '&8&l Have fun with hoes =) '), 1 })
|
||||||
runInCore
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -451,7 +428,6 @@ rl.on('line', (line) => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//test command
|
//test command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -474,12 +450,14 @@ 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 ')
|
runInCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
|
||||||
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1 ')
|
runInCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
|
||||||
runInCore('sudo * execute at @a run playsound minecraft:entity.wolf.hurt master @a ~ ~ ~ 10000 1 1 ')
|
runInCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
|
||||||
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1 1 ')
|
runInCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
|
||||||
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hiss master @a ~ ~ ~ 10000 1.5 1 ')
|
runInCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
|
||||||
runInCore('sudo * execute at @a run playsound minecraft:entity.cat.hiss master @a ~ ~ ~ 10000 1 1 ')
|
runInCore('sudo * execute at @a run playsound minecraft:entity.ender_dragon.death master @a ~ ~ ~ 10000 0.5 1 ')
|
||||||
|
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -597,7 +575,7 @@ rl.on('line', (line) => {
|
|||||||
switch (command) {
|
switch (command) {
|
||||||
case 'annoy':
|
case 'annoy':
|
||||||
runInCore('sudo * c:WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY' + '')
|
runInCore('sudo * c:WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY' + '')
|
||||||
runInCore('sudo * playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1' + '')
|
runInCore('sudo * playsound minecraft:entity.cat.hurt master @a ~ ~ ~ 10000 1.5 1' + '')
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@@ -613,7 +591,6 @@ rl.on('line', (line) => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//troll command
|
//troll command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -633,12 +610,12 @@ 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 * '), 1 })
|
||||||
setInterval(function() { runInCore('clear @a '), 1 })
|
setInterval(function() { runInCore('clear @a '), 1 })
|
||||||
setInterval(function() { runInCore('effect give @a nausea'), 1 })
|
setInterval(function() { runInCore('effect give @a nausea'), 1 })
|
||||||
setInterval(function() { runInCore('effect give @a poison'), 1 })
|
setInterval(function() { runInCore('effect give @a poison'), 1 })
|
||||||
runInCore('sudo * gms ' )
|
runInCore('sudo * gms ')
|
||||||
setInterval(function() { runInCore('sudo * summon pig'), 1 })
|
setInterval(function() { runInCore('sudo * summon pig'), 1 })
|
||||||
setInterval(function() { runInCore('sudo * tntminecart '), 1 })
|
setInterval(function() { runInCore('sudo * tntminecart '), 1 })
|
||||||
setInterval(function() { runInCore('sudo * summon zombie '), 1 })
|
setInterval(function() { runInCore('sudo * summon zombie '), 1 })
|
||||||
@@ -647,7 +624,6 @@ rl.on('line', (line) => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//icu command
|
//icu command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -666,13 +642,12 @@ rl.on('line', (line) => {
|
|||||||
|
|
||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'say':
|
case 'bcraw':
|
||||||
runInCore('bcraw ' + prefix + args.join(' '))
|
runInCore('bcraw ' + prefix + args.join(' '))
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//deop command
|
//deop command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -681,7 +656,7 @@ rl.on('line', (line) => {
|
|||||||
switch (command) {
|
switch (command) {
|
||||||
case 'op':
|
case 'op':
|
||||||
sendChat('/op ' + bot.username + '')
|
sendChat('/op ' + bot.username + '')
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -697,18 +672,17 @@ rl.on('line', (line) => {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
//refillcore Command
|
||||||
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 'refillcore':
|
case 'refillcore':
|
||||||
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`)
|
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)} repeating_command_block replace`)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
//sudoall command
|
//sudoall command
|
||||||
rl.on('line', (line) => {
|
rl.on('line', (line) => {
|
||||||
let args = line.split(' ')
|
let args = line.split(' ')
|
||||||
@@ -717,7 +691,7 @@ rl.on('line', (line) => {
|
|||||||
switch (command) {
|
switch (command) {
|
||||||
case 'sudoall':
|
case 'sudoall':
|
||||||
runInCore('essentials:sudo * ' + args.join(' '))
|
runInCore('essentials:sudo * ' + args.join(' '))
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -768,7 +742,7 @@ rl.on('line', (line) => {
|
|||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case 'ckill':
|
case 'ckill':
|
||||||
setInterval(function() { runInCore('ekill ' + args), 1 })
|
setInterval(function() { runInCore('ekill ' + args), 1 })
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -777,24 +751,200 @@ 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 'serversuicidal':
|
case 'serversuicidal':
|
||||||
setInterval(function() { runInCore('sudo * suicide'), 1 })
|
setInterval(function() { runInCore('sudo * suicide'), 1 })
|
||||||
setInterval(function() { runInCore('bcraw ' + prefix + 'are yall mother fuckers suicidal?'), 1 })
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
//say commmand
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'say':
|
||||||
|
sendChat(args.join(' '))
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//destroycore command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'destroycore':
|
||||||
|
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)} air replace repeating_command_block`)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//discord command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'discord':
|
||||||
|
sendChat('https://discord.gg/jVyDnWGhRy')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//version command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'version':
|
||||||
|
sendChat('&a&lVersion &b&l3&8&l.&5&l0 &4&lBeta codename:&b&lblue-balled corrup&4&l&ktion')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//sussy command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'sussy':
|
||||||
|
sendChat('NO NO NO &4&lඞ &r*sees the imposter and runs* AHHHHH')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//online command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'online':
|
||||||
|
sendChat('/online')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//list command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'list':
|
||||||
|
runInCore('/list')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//endmysuffering command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'endmysuffering':
|
||||||
|
runInCore('sudo * c:END MY SUFFERING')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//fnf command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'fnf':
|
||||||
|
sendChat('getting freaky on a friday night yeah')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//Woomy command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'woomy':
|
||||||
|
|
||||||
|
sendChat('/bcraw &6&lInkling&6&lGirl&r: &rWoomy~')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//IOWNYOU command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'iownyou':
|
||||||
|
sendChat('I OWN YOU ' + args.join(' '))
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//wafflehouse command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'wafflehouse':
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
sendChat('the waffle house found its new host')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
//whopper command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case 'whopper':
|
||||||
|
sendChat('WHOPPER WHOPPER WHOPPER JUNIOR DOUBLE TRIPPLE WHOPPER :trollface:')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// command
|
||||||
|
rl.on('line', (line) => {
|
||||||
|
let args = line.split(' ')
|
||||||
|
let command = args.shift()
|
||||||
|
|
||||||
|
|
||||||
|
switch (command) {
|
||||||
|
case '':
|
||||||
|
runInCore('')
|
||||||
|
break
|
||||||
|
}
|
||||||
|
})
|
||||||
bot.on('message', async (chatMessage) => {
|
bot.on('message', async (chatMessage) => {
|
||||||
//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
|
||||||
console.log(chatMessage.toAnsi())
|
console.log(chatMessage.toAnsi())
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user