Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


✦ DiscordUtils

Paper 1.20+ Java 21 JDA License

A standalone Spigot/Paper plugin that bridges Minecraft and Discord using JDA. Chat bridging, account linking, item previews, and auction logging out of the box.



✦ Features

  • Chat bridge — Minecraft chat relayed to Discord; Discord messages broadcast in-game
  • Item display — typing [item] in chat renders an item tooltip image and attaches it to the Discord message
  • Join/leave embeds — player join and leave events posted to Discord with their Minecraft avatar
  • AFK detection — works with CMI or any plugin that broadcasts AFK status messages
  • Server message relay — forward plugin broadcasts (mini-game events, etc.) to Discord by prefix filter
  • Account linking — players link their Minecraft account to Discord via OAuth2; their LuckPerms rank is synced as a Discord role
  • Auction House logging — new listings, sales, and removals logged to a Discord channel as embeds (requires zAuctionHouse)
  • Role display — Discord→Minecraft messages show the sender's highest configured role
  • MiniMessage support — players with permission can use MiniMessage tags and hex colors in chat

✦ Installation

  1. Download DiscordUtils.jar from Releases
  2. Drop it into your server's plugins/ folder alongside Vault and LuckPerms
  3. Start the server once to generate plugins/DiscordUtils/config.yml, then stop it
  4. Create a Discord bot at https://discord.com/developers/applications, enable both privileged intents, and paste the token into bot-token
  5. Enable Developer Mode in Discord, right-click your bridge channel, copy its ID, and paste it into channel-id
  6. Invite the bot with permissions: Send Messages, Embed Links, Attach Files, Manage Roles
  7. Start the server — the bot will connect and post a status message to the channel

Requirements: Paper / Spigot 1.20+ — Java 21 — Vault — LuckPerms Bot intents required: Enable Message Content Intent AND Server Members Intent (Privileged Gateway Intents) in the Discord Developer Portal.

See docs/setup.md for a full walkthrough.


✦ Dependencies

Dependency Required Notes
Java 21 Yes
Paper / Spigot 1.20+ Yes
Vault No Provides rank prefixes and group lookup; runs without it
LuckPerms No Vault's Chat provider; other permission plugins may work
CMI No AFK detection uses native CMI events when present
zAuctionHouse No Auction House logging only activates if detected
SwagAPI No Soft dependency. Unlocks account linking (/discordlink), the discordutils:notify / swagcore:player_punished event-bus integrations, and the web dashboard. DiscordUtils boots and runs standalone (chat/join-leave/deaths/AFK/auction/staff-chat/webhook relay) without it.

✦ Commands

Command Description Permission
/discordchat allow <all|admins> Set who can chat from Discord to Minecraft discordutils.admin
/discordchat <enable|disable> Toggle the Discord→Minecraft relay discordutils.admin
/discordchat status Show bot connection and relay status discordutils.admin
/discordlink Link your Minecraft account to Discord discordutils.link
/discordunlink Unlink your Minecraft account from Discord discordutils.link

✦ Permissions

Permission Description Default
discordutils.admin Access to /discordchat op
discordutils.link Access to /discordlink and /discordunlink true
discordutils.formatting Use MiniMessage/hex color tags in chat true

✦ Documentation


Built by Swag617 · Portfolio · SwagMenus

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages