Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/croyla/discordmc

Discord - Minecraft link for PaperMC servers
https://github.com/croyla/discordmc

discord discord-bot minecraft-plugin papermc

Last synced: 7 days ago
JSON representation

Discord - Minecraft link for PaperMC servers

Awesome Lists containing this project

README

        

### Discord Minecraft integration (Paper Plugin)

#### Using Discord-JDA

Installing:

1. Please create a discord bot or obtain a bot-token for this instance to run on.
2. Add the bot to your server using the link ``https://discord.com/oauth2/authorize?client_id={client_id}&scope=bot+messages.read&permissions=275414780928``, replace `{client_id}` with your client / application id available in the discord developer dashboard
3. Proceed to populate "$SERVERDIR/discord/token.txt" with your bot-token
4. Run the minecraft server
5. Now go to your preferred discord channel and run `/listen`, please note the bot must be able to read and send messages in this channel, as well as create webhooks.
![image](https://github.com/croyla/DiscordMC/assets/22202283/110a4219-5f5d-4079-8f7d-2d5360870afa)\
![image](https://github.com/croyla/DiscordMC/assets/22202283/d43bc49b-d049-4473-ac06-8c5e976c319e)\
![image](https://github.com/croyla/DiscordMC/assets/22202283/6882c5e0-9906-4ca7-b3fe-41410c859399)\
![Screenshot 2024-06-08 at 4 25 52 PM](https://github.com/croyla/DiscordMC/assets/22202283/9396b9bb-7359-40ee-bf93-4ab6c9b7dae3)\
![Screenshot 2024-06-08 at 4 23 30 PM](https://github.com/croyla/DiscordMC/assets/22202283/9a2d1574-a613-4918-b86e-bc86a97a386b)\
![Screenshot 2024-06-08 at 4 24 13 PM](https://github.com/croyla/DiscordMC/assets/22202283/52450bf4-7ae9-469d-bf43-67b56ef48c47)

### Planned additions:

- [x] ~~Hover over discord usernames in minecraft chat for discord overview (Roles, username, etc)~~

- [ ] Discord - Minecraft account linking for similar hover feature in minecraft chat. (Optional "PasswordReset" functionality with my Auth plugin)

- [ ] Message formatting configuration files for discord and minecraft messages

- [ ] Optional discord markdown translation in minecraft

- [x] ~~ClickEvents for minecraft messages for links, replies, discord profiles to open discord relevant links.~~