BotMc
this project lets you host your discord bot on your minecraft server
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
BotMc
🤖 BotMC 🤖
BotMC allows you to host and live-code a Discord Bot directly from your Minecraft server! No need for external hosting or complex IDEs—just edit your Java code, reload, and watch your bot come to life in real-time. 🚀 ✨ Features
💻 Live Java Compilation: Edit your bot's source code (BotSource.java) and compile it without restarting your Minecraft server.
⚡ Embedded JDA: Comes with the JDA (Java Discord API) library pre-loaded and ready to use.
🛠️ Dynamic Reloading: Use /botmc reload to instantly apply changes to your bot's logic.
📂 Auto-Config: Generates all necessary files and a template bot on the first run.
🔗 Bridge-Ready: Perfect for creating custom chat bridges, command logs, or server status bots. 📋 Requirements
📍 Paper (1.21.X)
☕ Java 21+ JDK (Required for the compiler to work in-game)
🔑 Discord Bot Token (From the Discord Developer Portal) 🚀 Quick Start
📥 Drop the BotMC.jar into your plugins/ folder.
▶️ Start your server to generate files.
🔑 Edit plugins/BotMc/config.txt and paste your Discord Bot Token.
🔄 Run /botmc reload in-game.
📝 Modify plugins/BotMc/bot/BotSource.java to add new commands or listeners! 🛠️ Commands
/botmc start — Power on your Discord bot. 🟢
/botmc stop — Shut down the bot safely. 🔴
/botmc reload — Re-compile BotSource.java and restart the bot. 🔄