DiscordCore is a Project Poseidon plugin that provides a shared JDA 6 Discord bot for other Bukkit plugins.
- Java 25
- Project Poseidon 2.0 or newer
- A Discord bot token
- Download the latest release JAR and place it in the server's
pluginsdirectory. - Start the server once to generate
plugins/DiscordCore-6/config.yml. - Set
settings.discord-token.valueto your Discord bot token. - Review
settings.discord-intents.value, enable the corresponding intents in the Discord Developer Portal, and restart the server.
The default intents are GUILD_MEMBERS, DIRECT_MESSAGES, and MESSAGE_CONTENT.
Run /discordcore to display the connected bot's status. The command uses the discordcore.command permission, which is granted by default.
Other plugins can send messages through the stable wrapper API:
import org.retromc.discordcore.api.DiscordCoreAPI;
DiscordCoreAPI.sendMessage(123456789012345678L, "Hello from Poseidon!");
DiscordCoreAPI.sendMessageToUser(123456789012345678L, "Hello!");Build the shaded plugin JAR with Java 25:
mvn clean packageThe resulting JAR is written to target/.
DiscordCore is available under the MIT License.