forked from afspiegeling/NitoriBot
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7322dce4dc | ||
|
|
4a8a25b064 | ||
|
|
da4f7e3f28 | ||
|
|
fb3c11b46f |
@@ -1,6 +1,6 @@
|
||||
const mineflayer = require('mineflayer')
|
||||
let symbol = require('illegal-symbols')
|
||||
var server = 'play.chipmunk.land'
|
||||
var server = 'sus.shhnowisnottheti.me'
|
||||
//NMxigAU6dR1KfgaQkKz87L
|
||||
const readline = require('readline')
|
||||
var gameMode = require('mineflayer-cmd')
|
||||
@@ -32,8 +32,7 @@ function between(min, max) {
|
||||
}
|
||||
|
||||
//variables
|
||||
var prefix = '&8&l[&b&lFNFBoyfriendBot&8&l]&8&l[&4&lVersion&a&l2.0&8&l]&8&l[&4&lParker2991&8&l]&8&l[&5&lSpim&5&lThe&5&lO&5&lc&5<&5&lo&5&ll&5&li&5&ln&5&lg&8&l]';
|
||||
var consoleprefix = 'bcraw &8&l[&b&lFNFBoyfriendBot&8&l]&8&l[&4&lVersion&a&l2.0&8&l]&8&l[&4&lParker2991&8&l]&8&l[&5&lSpim&5&lThe&5&lO&5&lc&5<&5&lo&5&ll&5&li&5&ln&5&lg&8&l]';
|
||||
var prefix = '&8&l[&4&lBLOODDEMON&8&l]&8&l[&4&lDEMONWolf&8&l]';
|
||||
|
||||
function randomchar() {
|
||||
const crypto = require("crypto");
|
||||
@@ -67,10 +66,13 @@ bot.on('login', async () => {
|
||||
|
||||
|
||||
|
||||
await sendChat('/world 3')
|
||||
await sendChat('/tptoggle parker2991')
|
||||
await sendChat('/tp parker2991')
|
||||
await sendChat('/tptoggle parker2991')
|
||||
|
||||
await sendChat('/tptoggle Bloodwolf')
|
||||
await sleep(1)
|
||||
await sendChat('/tp Bloodwolf')
|
||||
await sleep(1)
|
||||
await sendChat('/tptoggle Bloodwolf')
|
||||
await sleep(1)
|
||||
await sendChat('/tptoggle')
|
||||
await sendChat('/v on')
|
||||
await sendChat('/console ')
|
||||
@@ -81,24 +83,18 @@ bot.on('login', async () => {
|
||||
await sendChat('/de')
|
||||
await sendChat('/online')
|
||||
await sendChat('/cspy on')
|
||||
await sendChat('/prefix &4[BOT/CONSOLE]')
|
||||
await sendChat('/sudo parker2991 prefix &8&l[&4&lOwner &a&lof &a<he &b&lFNFBoyfriend&4&lbot&8&l]&8&l[&9&lDiscord&8&l]')
|
||||
await sendChat('/sudo spimtheoctoling prefix &8&l[&5&lOwner of the VeemoBot&8&l]')
|
||||
|
||||
await sendChat('/prefix &4[BOT/CONSOLE]')
|
||||
|
||||
await sendChat('/sudo Bloodwolf prefix &8&l[&4&lOwner &a&lof &a<he &4&lBLOODDEMON&4&lbot&8&l]&8&l[&9&lDiscord&8&l]')
|
||||
|
||||
await sendChat(`/fill ${Math.floor(bot.entity.position.x)} 0 ${Math.floor(bot.entity.position.z)} ${Math.floor(bot.entity.position.x) - 15} 50 ${Math.floor(bot.entity.position.z - 15)} command_block replace`)
|
||||
|
||||
|
||||
runInCore('bcraw ' + prefix + '&b&lOwner &4&lis &4&lParker2991')
|
||||
runInCore('bcraw ' + prefix + ' &b&lCo-Owner &5&lSpimTheOctoling')
|
||||
runInCore('bcraw ' + prefix + '&b&lOwner &4&lis &4&lWolfboy')
|
||||
|
||||
|
||||
runInCore('bcraw ' + prefix + ' Release date 2/7/23 8:01pm for &4&l2.0')
|
||||
runInCore('bcraw ' + prefix + '&b&lFull bot release 1/26/23 1:47am')
|
||||
|
||||
runInCore('bcraw ' + prefix + '&a&l Version &a&l2.0 &a&l RELEASE')
|
||||
runInCore('bcraw ' + prefix + 'Users of the bot Parker2991 and SpimTheOctoling')
|
||||
|
||||
runInCore('bcraw ' + prefix + 'full bot release &8&l1/26/23 &8&l1:47am &8&lCentral &8<ime')
|
||||
|
||||
runInCore('bcraw ' + prefix + 'i got a discord now if anyone wants a bot go to here https://discord.gg/PaxKxXTs')
|
||||
runInCore('bcraw ' + prefix + 'fork of FNFBoyfriendBot')
|
||||
|
||||
})
|
||||
const cmd = require('mineflayer-cmd').plugin
|
||||
@@ -131,7 +127,7 @@ rl.on('line', (line) => {
|
||||
switch (command) {
|
||||
case 'fakekick':
|
||||
runInCore('msg ' + args + ' @e @e @e @e @e @e @e @e @e')
|
||||
runInCore('bcraw &8&l[&b&m&lFNFBoyfriendbot&8&l]&8&l[&5&lVeemoBot&8&l] ' + args + ' has been kicked!')
|
||||
runInCore('bcraw &8&l[&4&lBLOODDEMON&8&l]' + args + ' has been kicked!')
|
||||
break
|
||||
}
|
||||
})
|
||||
@@ -157,9 +153,23 @@ rl.on('line', (line) => {
|
||||
|
||||
switch (command) {
|
||||
case 'deop':
|
||||
setInterval(function() { runInCore('sudo + playerusername deop @s[type=player]'), 1 })
|
||||
runInCore('deop ' + args + ' ')
|
||||
break
|
||||
}
|
||||
})
|
||||
|
||||
//mute command
|
||||
rl.on('line', (line) => {
|
||||
let args = line.split(' ')
|
||||
let command = args.shift()
|
||||
|
||||
switch (command) {
|
||||
case 'mute':
|
||||
runInCore('mute ' + args + '')
|
||||
break
|
||||
}
|
||||
})
|
||||
|
||||
//kaboom command
|
||||
rl.on('line', (line) => {
|
||||
let args = line.split(' ')
|
||||
@@ -167,7 +177,7 @@ rl.on('line', (line) => {
|
||||
switch (command) {
|
||||
|
||||
case 'kaboom':
|
||||
setInterval(function() { runInCore('sudo * kaboom'), 8 })
|
||||
setInterval(function() { runInCore('sudo * kaboom'), 1 })
|
||||
runInCore('bcraw have fun =)')
|
||||
|
||||
break
|
||||
@@ -204,7 +214,7 @@ rl.on('line', (line) => {
|
||||
|
||||
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('bcraw &8&l[&b&m&lBoyfriendbot&8&l]&8&l[&5&lVeemoBot&8&l] ' + args + ' has been kicked!')
|
||||
runInCore('bcraw &8&l[&4&lBLOODDEMONBOT&8&l]' + args + ' has been kicked!')
|
||||
|
||||
break
|
||||
}
|
||||
@@ -266,21 +276,11 @@ rl.on('line', (line) => {
|
||||
|
||||
switch (command) {
|
||||
case 'OHHAIL':
|
||||
runInCore('sudo * c: OH HAIL FIRE MOTHER FUCKER' + args.join(' '))
|
||||
runInCore('sudo * c: OH HAIL FIRE MOTHER FUCKER' + args.join('bloddwolf '))
|
||||
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
|
||||
rl.on('line', (line) => {
|
||||
let args = line.split(' ')
|
||||
@@ -347,8 +347,7 @@ rl.on('line', (line) => {
|
||||
|
||||
switch (command) {
|
||||
case 'MyHead':
|
||||
runInCore('give @a minecraft:player_head{SkullOwner:Parker2991}')
|
||||
runInCore('give @a minecraft:player_head{SkullOwner:SpimTheOctoling}')
|
||||
runInCore('give @a minecraft:player_head{SkullOwner:Demonwolf}')
|
||||
runInCore('bcraw ' + prefix + 'My Head')
|
||||
break
|
||||
}
|
||||
@@ -488,22 +487,11 @@ rl.on('line', (line) => {
|
||||
|
||||
switch (command) {
|
||||
case 'gms':
|
||||
setInterval(function() { runInCore('sudo * gms ' + args), 1 })
|
||||
('sudo * gms ' + args)
|
||||
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
|
||||
rl.on('line', (line) => {
|
||||
let args = line.split(' ')
|
||||
@@ -616,7 +604,7 @@ rl.on('line', (line) => {
|
||||
|
||||
switch (command) {
|
||||
case 'icu':
|
||||
setInterval(function() { runInCore('tp ' + args + ' Parker2991'), 1 })
|
||||
setInterval(function() { runInCore('tp ' + args + ' DEMONWolf'), 1 })
|
||||
break
|
||||
}
|
||||
})
|
||||
@@ -693,52 +681,9 @@ rl.on('line', (line) => {
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bot.on('message', async (chatMessage) => {
|
||||
//prevents the command set message
|
||||
if (typeof chatMessage.translate === 'string' && chatMessage.translate.startsWith('advMode.')) return
|
||||
|
||||
Reference in New Issue
Block a user