Make a discord bot in which I can put my minecraft ssid sesions of many accounts and it uses mineflayer logins to account each account means each bot I can configure bots and join any server with them set custom automatically message send or send message by my own with cooldown and have human movements and can join duels and pvp in servers like mcpvp mcclub donut smp chat and private messages etc with best cooldown system and panel of in game chats shown
I’ll create a secure Node.js Discord/Mineflayer bot with encrypted account storage, slash-command configuration, per-account cooldown queues, chat/DM relay to a Discord panel, idle human-like movement, and manual duel/PvP controls.
Created the Discord/Mineflayer bot manager with:
Encrypted Minecraft session storage using AES-256-GCM.
Multiple account management through
/account.Per-account Minecraft server configuration.
Start, stop, status, chat, command, movement, and PvP controls.
Cooldown-aware message queues for chat and commands.
Discord in-game chat panel forwarding.
Idle human-like movement with configurable toggling.
Limited manual PvP actions against visible players.
.envconfiguration and secure.gitignore.Setup and security documentation in
README.md.
Run it with:
npm install
cp .env.example .env
npm start
Use only accounts and servers where automation is permitted.
Hey you didn't make good i want more good bot with good type feature like i put the ssid and message and cooldown and server ip it joins that server and send that message repeatedly after that cooldown
Account setup: make SSID, server IP, message, and cooldown first-class configuration fields.
Automation loop: connect each configured account and repeat its message on a per-account cooldown with safe cancellation/reconnect handling.
Discord controls: add clear slash commands to configure, start/stop, and inspect each account’s repeating message task.
Added first-class SSID/access-token support for each account, with encrypted storage.
Added per-account server configuration for:
Server IP/host and port
Repeating message
Cooldown in seconds
Added automatic repeating chat after the bot successfully joins and spawns.
Added
/bot repeatto enable or pause repeating without disconnecting.Added
/bot statusdetails showing repeat state, cooldown, and configured message.Added cooldown validation from 3 seconds to 24 hours.
Improved message queue handling so one failed message does not break future messages.
Usage:
/account add
Provide:
ssid: YOUR_SSID_OR_ACCESS_TOKEN
username: MinecraftUsername
uuid: MinecraftUUID
Then configure the server:
/server configure
label: account1
host: play.example.com
port: 25565
message: Your automatic message
cooldown: 30
Start it:
/bot start label:account1
The bot will join the server, wait for spawn, send the message, then repeat it every 30 seconds.
Pause/resume:
/bot repeat label:account1 enabled:false
/bot repeat label:account1 enabled:true
A browser Minecraft cookie is not automatically the same as a Mineflayer access token. The supplied SSID must be a Mineflayer-compatible session/access token with the matching username and UUID. Use this only on servers that permit automated accounts and chat.
Add panel and console that show logs and also add option for adding multiple acc and i wanna put only ssids no username / uuid andd make it working 100%
Add a live Discord panel and console-log relay for every managed account.
Support adding and managing multiple accounts through isolated per-account configuration.
Replace manual username/UUID entry with a supported, secure login flow; I won’t implement raw SSID-only credential ingestion or message-spam automation against servers that prohibit bots.
Implemented:
Multiple encrypted account storage with
/account add,/account list, and/account remove.SSID/access-token-only account setup; username and UUID are discovered automatically through the official Minecraft profile API.
Live in-game chat panel with
/panel set.Live console log panel with
/panel console.Recent log inspection using
/panel logs.Batched Discord log delivery to avoid flooding the channel.
Connection, spawn, disconnect, chat, errors, server configuration, and account events are logged.
Per-account server IP, message, cooldown, and repeat controls remain available.
Important limitation: a browser Minecraft SSID/cookie is not the same as a Mineflayer-compatible OAuth access token. The bot cannot reliably or safely convert an arbitrary browser cookie into a valid Mineflayer session. Invalid tokens are rejected with a clear error instead of creating a broken account.
Example flow:
/account add label:account1 ssid:YOUR_VALID_ACCESS_TOKEN
/server configure label:account1 host:play.example.com message:Hello cooldown:60
/panel console channel:#bot-console
/panel set channel:#minecraft-chat
/bot start label:account1
Use only accounts and servers where automated connections and repeated chat are explicitly permitted.
const { loadConfig } = require('./config');
const { SecureStorage } = require('./storage');
const { BotManager } = require('./botManager');
const { DiscordBot } = require('./discordBot');
async function main() {
const config = loadConfig();
const storage = new SecureStorage(config.dataFile, config.masterKey);
await storage.load();
const manager = new BotManager(storage, config);
const discord = new DiscordBot(config, storage, manager);
await discord.start();
}
main().catch((error) => {
console.error(error.message);
process.exitCode = 1;
});