- Creates multiple bots with sequential usernames
- Automatic registration/login simulation
- Periodic chat message flooding
- Continuous jumping animation
- Forward movement on spawn
- Error handling and disconnect logging
- Configurable connection delays and bot count
- Ruby 3.0+
- Basic understanding of Minecraft servers
- Clone the repository:
git clone https://github.com/FMZNkdv/MCUtils.git cd MCUtils
Edit config.rb to configure:
SERVER_HOST = 'your.server.ip' # Server
SERVER_PORT = 25565 # Port
BOT_COUNT = 100 # Count
CONNECT_DELAY_MS = 4.35 # Delay
CHAT_INTERVAL_MS = 0.975 # Chat/s
JUMP_INTERVAL_MS = 1.0 # Jump/sRun the main script:
ruby main.rb1 | 4.35
fmznk1 connected
fmznk1 says: /register botutils botutils
fmznk1 says: /reg botutils botutils
fmznk1 sets jump to true
fmznk1 sets jump to false
fmznk1 says: ВАС ЕБУТ! БОТЫ ОТ tg@FMZNkdv
...
- Simulation Only: This implementation prints actions to console instead of connecting to real servers
- Thread Limitations: Creating thousands of threads may require optimization
- No Real Networking: Actual Minecraft protocol integration requires additional libraries
To connect to real Minecraft servers:
-
Install a Ruby Minecraft client gem:
gem install emc
-
Modify
bot.rbconnection methods:require 'emc' def connect @client = EMC::Client.new(@host, @port) @client.on_login { login_success } # Add protocol handlers... end
This project is licensed under the MIT License. See the LICENSE file for details.