
Make discord a console for your server
DiscordIncorporation is a Minecraft plugin for Spigot/Paper that integrates your server with Discord. It allows bidirectional chat, remote command execution from Discord, console command capture, and logs in a Discord channel.
messages.yml (Spanish and English).jar file and place it in your server's plugins folder. config.yml:bot-token: "YOUR_BOT_TOKEN"
log-channel-id: "DISCORD_CHANNEL_ID"
allowed-roles:
- "Admin"
- "Moderator"
Optionally, customize messages in messages.yml to enable/disable messages, chat formats, and permission messages.
🤖 Creating the Discord Bot
Go to Discord Developer Portal
and create a new application.
Create a bot under the Bot section and copy its token.
Enable Server Members Intent in Privileged Gateway Intents.
Invite the bot to your server using OAuth2 URL Generator:
Scopes: bot and applications.commands
Bot Permissions: Send Messages, Read Message History, Administrator (optional)
Paste the token in config.
Minecraft Commands
/discordinc reload
Reloads the plugin configuration and messages.
Discord Slash Commands
/online → Shows online players
/cmd command: → Executes a Minecraft command from Discord (requires allowed role)
plugin-enabled-es, plugin-enabled-en → Messages when enabling the plugin
plugin-disabled-es, plugin-disabled-en → Messages when disabling the plugin
chat-mc-format → Format of Minecraft messages sent to Discord
chat-discord-format → Format of Discord messages sent to Minecraft
no-permission → Message when a role does not have permission
Make sure to use a valid Discord token.
Keep the token safe; if leaked, someone could control your bot.
If your server is in offline-mode, anyone can join without Mojang authentication (does not directly affect Discord plugin but is insecure).
Plugin developed by [YourName]
Inspired by Discord integrations for Minecraft
Library used: JDA
MIT License – You can modify and redistribute under the license terms.
Enjoy your Discord ↔ Minecraft integration! 🎉