Skip to content

Minecraft Pearl Statis Bot written in Rust using Azalea

License

Notifications You must be signed in to change notification settings

ShayBox/ShaysBot

Repository files navigation

ShaysBot

A feature-rich Minecraft bot built using Azalea, designed to enhance gameplay
with automated features and useful commands. Written in Rust for high performance and reliability.
Includes support for No Chat Reports (NCR) encryption to ensure secure and private communication.

Setup

To enable debug logging you must set the environment variable:
RUST_LOG=shaysbot=debug,info (error, warn, info, debug, trace)
The first is the log level of the bot, the second is of dependencies.

Releases - Built with GitHub Actions

Built using debug profile so you can decompile the binaries easier.

Local

  1. Install rustup.rs && rustup default stable
  2. Clone: git clone [email protected]:ShayBox/ShaysBot.git && cd ShaysBot
  3. Run: cargo run | Build: cargo build | Install: cargo install --path .

Note: Cargo install uses Release, while Run and Build use Debug.
Debug: Settings are relative to the binary executable directory.
Release: Settings are relative to the current working directory.
Release has more optimizations, runs faster, and uses less disk.
You can manually override with either: --debug or --release.

Features

Commands

  • Join - Enable AutoReconnect for a bot.
  • Leave - Disable AutoReconnect and disconnect a bot.
  • Pearl - Automatically pull pearls remotely.
  • Playtime - View players play time. (2b2t.vc)
  • Seen - View players first and last seen. (2b2t.vc)
  • Whitelist - Whitelist Players and link their Discord.

Modules

  • AntiAfk - Automatically swing arm to prevent being kicked.
  • AutoEat - Automatically swap and eat food to avoid starving.
  • AutoKill - Automatically swap and kill nearby monsters.
  • AutoLeave - Automatically leave the server when in danger.
  • AutoLook - Automatically look at the closest player.
  • AutoPearl - Automatically goto and pull player pearls.
  • AutoTotem - Automatically equip totems of undying.
  • DiscordLogger - Log various events to Discord.

Settings

Trackers