A multi-threaded Minecraft bot controller that can spawn multiple bots to join a Minecraft server. This tool is designed for testing server load capacity.
- Spawn multiple bot instances with configurable settings
- Each bot runs in its own thread for better performance
- Bots can perform various actions: walking, jumping, rotating, chatting, digging, and placing blocks
- Configurable delay between bot connections
- Command-line interface for controlling bots
- Configuration can be saved and loaded from a file
- Support for connecting through various proxy types (HTTP, HTTPS, SOCKS4, SOCKS5)
- Proxy rotation for distributing bots across multiple IPs
- Load proxies from text file
- Node.js (v14 or higher recommended)
- Minecraft server version 1.20.4
- Make sure you have Node.js installed
- Clone or download this repository
- Open a terminal/command prompt in the project directory
- Run
npm installto install dependencies
-
Start the bot controller:
node index.js -
Use the following commands in the console:
help- Show available commandsstart- Start the botsstop- Stop all botsconfig- Show current configurationset <key> <value>- Change a configuration valueproxy <on|off>- Enable or disable proxyproxytype <http|https|socks4|socks5>- Set proxy protocol typesetproxy <host> <port> [username] [password]- Set proxy detailsaddproxy <host:port:username:password>- Add proxy to rotation listclearproxies- Clear proxy rotation listrotateproxies <on|off>- Enable or disable proxy rotationloadproxies <filename>- Load proxies from a text filesaveproxies <filename>- Save current proxy list to a text fileshowproxies- Show all proxies in the rotation listsave- Save current configuration to filestatus- Show status of running botsexit- Exit the program
You can configure the bot behavior by editing the config.json file or using the set command:
host- Minecraft server address (default: "localhost")port- Minecraft server port (default: 25565)version- Minecraft version (default: "1.20.4")botCount- Number of bots to spawn (default: 5)joinDelay- Delay between bot connections in ms (default: 2000)moveInterval- How often bots perform actions in ms (default: 1000)chatInterval- How often bots send chat messages in ms (default: 10000)chatMessages- Array of possible chat messagesactions- Array of possible actions (available: "jump", "rotate", "walk", "chat", "dig", "placeBlock")username- Base username for bots (will be appended with a number)auth- Authentication type ("offline" or "microsoft")proxy- Proxy configuration
Example configuration:
{
"host": "anarchy.example.com",
"port": 25565,
"version": "1.20.4",
"botCount": 20,
"joinDelay": 5000,
"moveInterval": 2000,
"chatInterval": 15000,
"chatMessages": ["Hello", "Hi there", "What's up?", "Nice server"],
"actions": ["jump", "rotate", "walk", "chat", "dig"],
"username": "Player_",
"auth": "offline",
"proxy": {
"enabled": false,
"type": "http",
"host": "127.0.0.1",
"port": 8080,
"username": "",
"password": "",
"rotateProxies": false,
"proxyList": []
}
}To bypass IP restrictions on servers, you can use proxies:
-
Enable proxy support:
proxy on -
Set the proxy type (HTTP, HTTPS, SOCKS4, or SOCKS5):
proxytype http -
Set the proxy server:
setproxy 127.0.0.1 8080If your proxy requires authentication:
setproxy 127.0.0.1 8080 username password -
For multiple proxies (proxy rotation):
addproxy 192.168.1.1:1080 addproxy 192.168.1.2:1080:username:password rotateproxies on -
Load proxies from a text file:
loadproxies proxies.txtThe text file should contain one proxy per line in the format:
host:port host:port:username:password -
Start the bots:
start
-
Connect to a specific server:
set host anarchy.example.com set port 25565 start -
Increase the number of bots:
set botCount 50 set joinDelay 5000 start -
Change bot actions:
set actions ["walk", "jump", "rotate"] start -
Use an HTTP proxy server:
proxy on proxytype http setproxy 192.168.1.100 8080 start -
Use multiple HTTP proxies:
proxy on proxytype http loadproxies proxies.txt rotateproxies on set botCount 30 start
- Using too many bots may cause performance issues on your computer
- Some servers may have anti-bot measures that could prevent the bots from joining
- Use responsibly and only on servers where you have permission to test
- When using proxies, make sure they support the protocol you selected (HTTP, HTTPS, SOCKS4, or SOCKS5)
- For best results with proxy rotation, use a number of bots that is a multiple of your proxy count
- Free public proxies may be unreliable or have high latency
This tool is for educational and testing purposes only. Use it responsibly and only on servers where you have permission to do so. The author is not responsible for any misuse of this software.