.22 is a feature-rich Mineflayer bot designed for chaotic Minecraft servers like 6b6t.org.
It offers server stats, utilities, fun commands, and admin tools — all while avoiding coordinate leaks.
- Real-time server stats: TPS, player joins/quits, uptime, ping
- Utilities: polls, love meter, 8-ball, roll, flip
- Event tracking: chat cooldowns, kill/death stats
- Admin commands: whitelist management, remote execution
- Zero coordinate usage for safe base operation
git clone https://github.com/Damix-hash/.22.git
cd .22
npm install- Setup your .env file:
-
Create a file named ".env" in the same folder as the bot
-
Put following into the file and replace placeholders
WHITELIST=user1,user2,user3,etc
SUPERUSER=user1,user2,user3,etc
MC_PASSWORD=mc_yourpasswordhere
STORAGE_REPO_TOKEN=ghp_yourtokenhere
MAIN_REPO_PAT=ghp_yourtokenhereMore about P.A.T (Personal Access Token) on github read here. You also need to initiate your own project path for archiving data, or just code your own
For STORAGE_REPO_TOKEN pick REPO only, for MAIN_REPO_PAT pick REPO and WORKFLOW
-
Create an private repo for your storage system.
-
Start the bot:
node index.js- The bot connects by default to
eu.6b6t.org(changeable inindex.js).
Prefix: -
| Command | Description |
|---|---|
help |
Show paginated commands list |
topkills |
Display top kill counts |
uptime |
Show bot uptime |
deaths |
Show death count |
health |
Show bot health status |
restart |
Shows when server will restart in seconds |
love |
Love compatibility meter |
rate |
Random rating of player/item |
stfu |
Send playful “shut up” message |
screen |
Capture bot’s screen (if supported) |
8ball |
Magic 8-ball answers |
roll |
Roll a random number |
flip |
Coin flip |
choose |
Pick randomly from choices |
playerlist |
List online players |
tps |
Show server TPS |
kd |
Kill/death ratio |
quote |
Show random saved quote |
paranoia |
Paranoia rating |
stats |
Show server/player stats |
weather |
Minecraft weather status |
time |
Minecraft world time |
count |
Counting game |
ping |
Show players ping |
playerjoins |
Show join count |
playerquits |
Show quit count |
avgping |
Show average ping |
longestcd |
Longest chat cooldown recorded |
discord |
Share Discord invite |
Whitelisted users only
| Command | Description |
|---|---|
debug |
Output various debug info |
run |
Execute a command remotely |
say |
Make bot say a message (non-command) |
welcomer |
Toggle join/quit greetings |
tempwl |
Temporarily whitelist a player |
remwl |
Remove a player from temp whitelist |
timeout |
DEBUGGING, Removes keep_alive packet, restarting the bot |
- Fork the repository
- Create a branch:
git checkout -b feature-name - Commit changes:
git commit -m "Add feature" - Push:
git push origin feature-name - Open a Pull Request
MIT License — see LICENSE file.