https://github.com/fwcd/mc-discord-bridge
Spigot plugin enabling two-way chat messaging between Minecraft and Discord
https://github.com/fwcd/mc-discord-bridge
discord minecraft plugin spigot
Last synced: 3 months ago
JSON representation
Spigot plugin enabling two-way chat messaging between Minecraft and Discord
- Host: GitHub
- URL: https://github.com/fwcd/mc-discord-bridge
- Owner: fwcd
- License: mit
- Created: 2020-03-18T23:05:01.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T13:05:40.000Z (over 2 years ago)
- Last Synced: 2026-02-15T16:40:21.446Z (4 months ago)
- Topics: discord, minecraft, plugin, spigot
- Language: Java
- Homepage:
- Size: 242 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord Bridge Plugin for Minecraft
[](https://github.com/fwcd/mc-discord-bridge/actions/workflows/build.yml)
A Spigot plugin that enables two-way messaging between Minecraft and Discord.
## Building
To build the plugin JAR, make sure to have Java 17 installed and run `./gradlew shadowJar`. The plugin JAR should then be located in `build/libs`.
> [!IMPORTANT]
> While the source code is [MIT-licensed](./LICENSE), the JAR is [LGPL-licensed](./src/main/resources/LICENSE) since it repackages LGPL libraries.
## Usage
To use the plugin, place the JAR in your Spigot/Paper 1.20.2 server's `plugins` folder. Additionally, create a subdirectory named `DiscordBridge` with a file `config.yml`:
```yaml
bot:
token: YOUR_BOT_TOKEN
commandPrefix: +
webhook:
url: YOUR_WEBHOOK_URL
enabled: true
```
Optionally, you can configure exactly which events should be forwarded to Discord:
```yaml
forward:
chat: true
joinLeave: true
death: true
advancement: false
webChat: true # only if Dynmap is present
```
Additionally, you can configure whether the Discord integration should display the current player count through a custom presence:
```yaml
bot:
presence:
enabled: true
```