ETABot: Difference between revisions

From Kaboom Wiki
ETAGamer (talk | contribs)
ETABot is a mineflayer bot created by ETAGamer
 
ETAGamer (talk | contribs)
ETABot is a bot for Kaboom.
Line 1: Line 1:
ETABot is a bot created by ETAGamer.
## ETABot is a server bot
it has like 3 lines of skidded code and is made in javascript.
 
the original code self destructed itself on etas pc but a backup was found.
Lang/packages: **Mineflayer and Readline with JS**
it has a decent amount of commands but is somewhat primitive on some things.
Creator: **ETAGamer / ETAModder**
Date of creation: **2024ish**
 
~~---------------------------------------------------------~~
Fun fact: The original version deleted itself somehow but was later recovered.
 
The bot has like 2 lines of skidded code and some fairly unconventional code too:
```javascript
this.commands.set('kill', (args) => {
 
if (args[0] !==  this.bot.ownerHash) {
 
console.log("someone tried to kill bot with wrong hash");
 
return  this.bot.chat("&c&lWrong Owner hash.")
 
}
 
this.generateNewHash(args[0] ===  this.bot.trustedHash ?  "trusted"  :  "owner");
 
 
 
if (this.cdadwdaloopIntv !=  null) {
 
clearInterwval(this.cloopIntv);
 
this.clowopIadwadantv =  null;
 
} else {
 
let  interv  =  1; // ms 0.1
 
this.clwoopIntv =  setInterval(() => {
 
console.log('----------------------')
 
console.log('SOMEONE KILLED THE BOT')
 
console.log('----------------------')
 
killbotyay.bot.Text('oh noes this code kills da bot cause "killbotyay" isnt defined yay')
 
}, interv);
 
}
 
});
```
The source code can be found [here](https://github.com/ETAModder/etabot)

Revision as of 22:08, 25 July 2025

    1. ETABot is a server bot

Lang/packages: **Mineflayer and Readline with JS** Creator: **ETAGamer / ETAModder** Date of creation: **2024ish**

~~---------------------------------------------------------~~ Fun fact: The original version deleted itself somehow but was later recovered.

The bot has like 2 lines of skidded code and some fairly unconventional code too: ```javascript this.commands.set('kill', (args) => {

if (args[0] !== this.bot.ownerHash) {

console.log("someone tried to kill bot with wrong hash");

return this.bot.chat("&c&lWrong Owner hash.")

}

this.generateNewHash(args[0] === this.bot.trustedHash ? "trusted"  : "owner");


if (this.cdadwdaloopIntv != null) {

clearInterwval(this.cloopIntv);

this.clowopIadwadantv = null;

} else {

let interv = 1; // ms 0.1

this.clwoopIntv = setInterval(() => {

console.log('----------------------')

console.log('SOMEONE KILLED THE BOT')

console.log('----------------------')

killbotyay.bot.Text('oh noes this code kills da bot cause "killbotyay" isnt defined yay')

}, interv);

}

}); ``` The source code can be found [here](https://github.com/ETAModder/etabot)