ETABot: Difference between revisions
|  ETABot is a mineflayer bot created by ETAGamer |  ETABot is a bot for Kaboom. | ||
| Line 1: | Line 1: | ||
| ETABot is a bot  | ## 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) | |||
Revision as of 22:08, 25 July 2025
- 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)
