Skip to content

Latest commit

 

History

History
66 lines (54 loc) · 1.56 KB

README.md

File metadata and controls

66 lines (54 loc) · 1.56 KB

0Bot

Minecraft bot for anarchy servers based on mineflayer to promote 0b0t.org and add a bridge between the server running 0Bot and the 0b0t discord. Also has basic command capabilities.

discord reddit last commit repo size

In-game Functions

  • !discord shows the promoted (0b0t) discord link
  • !tps shows the approximated tps
  • tpa accept for whitelisted users
  • basic anti afk
  • auto totem, equip and eat
  • simple broadcast

NPM packets

  • discord.js
  • mineflayer
  • mineflayer-armor-manager
  • mineflayer-auto-eat
  • mineflayer-auto-totem
  • mineflayer-pathfinder
  • dotenv
  • forever (optional)
  • forever-monitor (optional)

Usage

Needs Node.js 18+ to run.

npm run debug
npm run forever start 0Bot.js [server]

Create the following files in your project root folder:

.env

minecraftUsername=un
minecraftPassword=pw
discordToken=dt
authMePassword=apw
eMail=aem
discordLink=https://discord.0b0t.org/
promotedServer=0b0t.org

channels.json

{
  "0b0t.org": "687391771218411609",
}

whitelist.json (lowercase)

[
  "0bop"
]

promotion.txt

%promoted% - The best server
%promoted% has 1.12.2 dupe
...

Sources