Fabric---Discord-Link
Fabric---Discord-Link copied to clipboard
Command to link arbitrary Discord and Minecraft usernames
Currently usernames are linked by searching for the Minecraft username in the Discord server and replacing the username with the Discord mention tag. This works for people who have usernames that match, but for everyone.
Some options I see, from simplest to most complex:
- Have a config file to associate a Minecraft user with a Discord user
- Server owner would take care of authentication
- Have an Op command to associate a Minecraft user with a Discord user
- Op would take care of authentication
- Have a bidirectional, unprivileged command to associate a Minecraft user with a Discord user
- Would require both sides to accept
- Would require the Discord bot receiving data
As the owner of a small vanilla server I'd be perfectly happy with option number 1, if I could just do something like /link
Im am just starting to write a bot & mod for the purpose of allowing a player to link its discord account https://github.com/PssbleTrngle/DiscordLink
It works by sending the player a generated key, which he has then to send the discord bot. The bot is run on a webserver, so you could access information about links using simple HTTP requests.