@localacct/iron-anarchy-minecraft-bot
v2.0.3
Published
Enterprise-grade Minecraft automation bot with Discord integration, recording features, and web dashboard. Built by 25-year IT veteran currently managing live gaming servers.
Maintainers
Readme
🎮 Iron-Anarchy Minecraft Bot v2.0
Professional Minecraft automation solution built by a 25-year IT veteran
📦 Install Now • 🚀 Quick Start • 📚 Documentation • 🤝 Contribute
🏢 Built by IT Professionals, For Professionals
Developed by Local Acct - 25 years in enterprise IT, currently managing 3 Minecraft servers + 1 CS2 server with 99.9% uptime. This bot was born from real server management needs and proven in production environments.
🎯 Why Iron-Anarchy Bot?
- 🏗️ Enterprise-Grade Architecture - Built with 25+ years of IT infrastructure experience
- 📊 Production Tested - Running on live servers serving hundreds of players
- 🔧 Professional Support - Backed by decades of server administration expertise
- 🌐 Scalable Design - Optimized for both single-player and large communities
⚡ Quick Installation
🚀 Get started in 30 seconds
From NPM Registry:
npm install -g iron-anarchy-minecraft-bot
npm run setup
npm startFrom GitHub Registry:
npm config set @localacct21:registry https://npm.pkg.github.com
npm install -g @localacct21/iron-anarchy-minecraft-bot
npm run setup
npm startThat's it! Your professional Minecraft bot is now running! 🎉
🌟 Enterprise Features
🤖 Smart Automation
Advanced AI Systems
- PVP Combat Assistance
- Intelligent Pathfinding
- Resource Location & Mining
- Auto-Reconnection
💬 Discord Integration
Real-Time Communication
- Chat Bridge
- Status Monitoring
- Remote Commands
- Event Notifications
📹 Recording System
Professional Logging
- Session Recording
- Video Output (MP4)
- Performance Analytics
- Audit Trail
🌐 Web Dashboard
Live Monitoring
- Real-Time Stats
- Inventory Viewer
- Control Interface
- Health Monitoring
📊 Project Statistics
🧪 Quality Assurance: 16 comprehensive test suites ensuring reliability
📦 Production Ready: Used in live server environments
🔄 Active Development: Regular updates and community features
🌍 Global Reach: Downloaded by users worldwide
🔧 Professional Setup
System Requirements
| Component | Minimum | Recommended | |-----------|---------|-------------| | Node.js | 14.0+ | 18.0+ LTS | | RAM | 512MB | 2GB+ | | Storage | 100MB | 1GB+ | | Network | Stable Internet | Low Latency |
Installation Methods
# Install from npm registry
npm install -g iron-anarchy-minecraft-bot
# Verify installation
iron-anarchy-bot --version
# Set up configuration
npm run setup
# Start the bot
npm start# Configure npm to use GitHub registry for @localacct21 packages
npm config set @localacct21:registry https://npm.pkg.github.com
# Install from GitHub registry
npm install -g @localacct21/iron-anarchy-minecraft-bot
# Verify installation
iron-anarchy-bot --version
# Set up configuration
npm run setup
# Start the bot
npm startNote: For GitHub Package Registry, you'll need to authenticate with a personal access token that has read:packages permission.
# Clone repository
git clone https://github.com/Localacct21/iron-anarchy-minecraft-bot.git
cd iron-anarchy-minecraft-bot
# Install dependencies
npm install
# Set up configuration
npm run setup
# Start development
npm start# Run directly without installation from npm
npx iron-anarchy-minecraft-bot
# Or from GitHub registry
npx @localacct21/iron-anarchy-minecraft-bot
# Quick test run
npx iron-anarchy-minecraft-bot --help# Clone repository
git clone https://github.com/Localacct21/iron-anarchy-minecraft-bot.git
cd iron-anarchy-minecraft-bot
# Install dependencies
npm install
# Set up configuration
npm run setup
# Start development
npm start# Run directly without installation
npx iron-anarchy-minecraft-bot
# Quick test run
npx iron-anarchy-minecraft-bot --help⚙️ Configuration
Automated Setup (Recommended)
npm run setupThis creates properly configured config.json and discord-config.json files.
Manual Configuration
{
"host": "ironanarchy.net",
"port": 25565,
"username": "your-minecraft-username",
"password": "your-minecraft-password",
"version": "1.20.1",
"autoReconnect": true,
"recording": {
"enabled": true,
"interval": 30000,
"format": "mp4"
},
"dashboard": {
"enabled": true,
"port": 3001,
"host": "localhost"
},
"plugins": {
"pvp": true,
"pathfinder": true,
"autoEat": true,
"stashFinder": true
}
}{
"token": "your-discord-bot-token-here",
"channelId": "your-discord-channel-id",
"enabled": true,
"features": {
"chatBridge": true,
"statusUpdates": true,
"remoteCommands": true,
"eventNotifications": true
}
}# Minecraft Account
MINECRAFT_USERNAME=your_username
MINECRAFT_PASSWORD=your_password
# Discord Integration
DISCORD_BOT_TOKEN=your_discord_token
DISCORD_CHANNEL_ID=your_channel_id
# Server Configuration
MINECRAFT_HOST=ironanarchy.net
MINECRAFT_PORT=25565
# Feature Flags
BOT_AUTO_RECONNECT=true
RECORDING_ENABLED=true
DASHBOARD_ENABLED=true🚀 Available Commands
🎯 Primary Commands
| Command | Description | Use Case |
|---------|-------------|----------|
| npm start | Main Bot | Production use with all features |
| npm run enhanced | Enhanced Mode | Full feature set with optimizations |
| npm run discord | Discord Focus | Discord-heavy functionality |
| npm run basic | Minimal Mode | Lightweight for testing |
🔧 Development Commands
| Command | Description | Use Case |
|---------|-------------|----------|
| npm run setup | Auto Configuration | First-time setup |
| npm test | Full Test Suite | Quality assurance |
| npm run validate | System Check | Plugin validation |
🏗️ Architecture Overview
📦 Iron-Anarchy Bot Architecture
├── 🤖 src/bots/ # Core bot implementations
├── 🔧 src/utils/ # Utility functions & plugin system
├── 🧩 src/plugins/ # Modular plugin architecture
├── ⚙️ config/ # Configuration management
├── 🧪 tests/ # Comprehensive test suites
├── 📚 docs/ # Documentation & guides
├── 💡 examples/ # Usage examples & demos
└── 🛠️ scripts/ # Automation & helper scriptsProfessional Development Standards:
- ✅ Modular architecture for maintainability
- ✅ Comprehensive error handling
- ✅ Extensive test coverage (16 test suites)
- ✅ Clear documentation and examples
- ✅ Production-ready deployment patterns
🧪 Quality Assurance
Test Coverage
| Test Suite | Coverage | Status | |------------|----------|---------| | Plugin Loading | 6 tests | ✅ Passing | | Discord Integration | 10 tests | ✅ Passing | | Bot Functionality | Core systems | ✅ Validated | | Error Handling | Edge cases | ✅ Covered |
Total: 16 comprehensive tests ensuring enterprise reliability
Run Tests
# Run all tests
npm test
# Run specific test suites
npm run test:plugin # Plugin system tests
npm run test:discord # Discord integration tests🌐 Web Dashboard
📊 Real-Time Monitoring
Access your bot's web dashboard at http://localhost:3001
Features:
- 📈 Live performance metrics
- 🎒 Real-time inventory display
- 🎮 Bot status and health monitoring
- 🕹️ Interactive command interface
- 📊 Historical data and analytics
💼 Professional Use Cases
🏢 Enterprise Gaming
- Corporate Gaming Events - Automated tournament management
- Team Building Activities - Coordinated multiplayer experiences
- Training Simulations - Educational and skill development scenarios
🎮 Community Servers
- Server Administration - Automated moderation and management
- Player Engagement - Interactive events and challenges
- Resource Management - Efficient resource distribution and monitoring
🔬 Development & Testing
- Server Load Testing - Performance validation and optimization
- Plugin Development - Testing and validation environment
- Automation Research - AI and machine learning experimentation
🐛 Troubleshooting
Bot won't connect to server:
- Verify username/password in
config.json - Check server address and port
- Ensure Minecraft version compatibility
- Verify network connectivity
# Test connection
npm run validateDiscord features not working:
- Verify bot token in
discord-config.json - Check channel ID is correct
- Ensure bot has proper permissions
- Confirm bot is added to server
# Test Discord connection
npm run test:discordTests not passing:
- Ensure all dependencies are installed
- Check Node.js version (14.0+ required)
- Verify configuration files exist
- Run tests in clean environment
# Clean install and test
npm ci
npm testBot running slowly:
- Check system resources (RAM, CPU)
- Optimize recording settings
- Disable unnecessary features
- Review network latency
# Performance monitoring
npm run enhanced # Optimized mode🤝 Contributing
🌟 Join Our Professional Development Community
We welcome contributions from developers of all skill levels. Built on 25 years of IT experience, we maintain high standards while fostering learning and growth.
Read Contributing Guidelines →
🎯 How to Contribute
- Check existing issues for duplicates
- Use our issue templates for consistency
- Provide detailed reproduction steps
- Include system information and logs
- Describe the feature and its benefits
- Explain the use case and target audience
- Consider implementation complexity
- Discuss potential alternatives
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Follow our coding standards
- Submit a pull request
# Development workflow
git clone https://github.com/YOUR_USERNAME/iron-anarchy-minecraft-bot.git
cd iron-anarchy-minecraft-bot
npm install
npm test📚 Documentation
| Document | Description | Audience | |----------|-------------|----------| | Setup Guide | Complete installation and configuration | New Users | | Feature Overview | Detailed feature documentation | All Users | | Discord Setup | Discord bot configuration | Discord Users | | API Reference | Developer API documentation | Developers | | Contributing | Development guidelines | Contributors |
📞 Professional Support
🏢 Backed by 25 Years of IT Experience
Local Acct - Enterprise IT Professional
Currently managing 3 Minecraft servers + 1 CS2 server
💼 Professional Services Available
- Custom Bot Development - Tailored automation solutions
- Server Infrastructure Consulting - Enterprise gaming setup
- Integration Services - Custom Discord and web integrations
- Training & Support - Professional development coaching
🏆 Recognition & Trust
🌟 Why Professionals Choose Iron-Anarchy Bot
- 🏢 Enterprise Heritage - Built by IT professionals with decades of experience
- 📊 Production Proven - Running on live servers with real users
- 🔒 Reliable & Secure - Professional security practices and error handling
- 📈 Continuously Improved - Regular updates based on real-world usage
- 🤝 Professional Support - Backed by experienced IT professionals
📊 Community Stats
📄 License & Legal
This project is licensed under the MIT License - see the LICENSE file for details.
Free for personal and commercial use - just give credit where it's due! 🎉
🎮 "Built by IT professionals, proven in production, trusted by the community"
Professional Minecraft automation that just works. ⚡
Star this repository if you find it useful! ⭐
Share with your gaming community! 🎮
Contribute to make it even better! 🚀
📚 Documentation
User Guides
- Complete User Guide - Comprehensive guide with all features and commands
- Command Reference - Quick reference for all bot commands
- Usage Examples - Real-world usage scenarios and examples
- Features Overview - Detailed feature breakdown
- Troubleshooting Guide - Solutions for common issues
Technical Documentation
- API Reference - Technical API documentation
- Discord Integration Guide - Discord setup and configuration
- Enhanced Features - Advanced feature details
- Plugin Audit Summary - Plugin compatibility and testing
🎮 Quick Start
- Install dependencies:
npm install - Choose your bot variant:
- Basic:
node src/bots/bot.js - Advanced:
node src/bots/advanced-bot.js - Enhanced:
node src/bots/enhanced-ironanarchy-bot.js
- Basic:
- Configure settings in the bot files
- Start playing with chat commands like
!help
🚀 Key Features
- ⚔️ Advanced PvP - Smart combat with target tracking
- 🗺️ Intelligent Pathfinding - Navigate any terrain automatically
- 🤖 Auto-Features - Eating, reconnection, anti-AFK, equipment management
- 💬 Discord Integration - Chat bridging and remote control
- 📊 Monitoring - Web dashboard and comprehensive logging
- 🎯 Commands - 15+ chat commands for full control
- 🔄 Reliability - Auto-reconnect with exponential backoff
- 📱 Web Interface - Browser-based inventory and dashboard
📋 Essential Commands
!come- Bot comes to you!follow [player]- Follow a player!attack <player>- Attack target!guard- Toggle mob protection!collect <block> [amount]- Gather resources!status- Show bot status!help- List all commands
For the complete command list and usage examples, see the User Guide.
📁 Repository Structure
This repository is organized for clarity and maintainability:
/src- Source code and core bot functionality/docs- Complete project documentation/wiki- User-friendly wiki with guides and references/tools- Development tools and utilities/config- Configuration files/tests- Test suite/scripts- Utility scripts
See STRUCTURE.md for complete repository organization details.
📚 Documentation Locations
| Type | Location | Description |
|------|----------|-------------|
| Quick Start | README.md | This file - project overview |
| Installation | docs/project-info/INSTALLATION.md | Detailed setup guide |
| User Guide | wiki/Home.md | Complete wiki with tutorials |
| API Reference | docs/API_REFERENCE.md | Developer API documentation |
| Architecture | docs/project-info/ARCHITECTURE_SUMMARY.md | System architecture |
| Changelog | docs/project-info/CHANGELOG.md | Version history |
| Contributing | CONTRIBUTING.md | How to contribute |
