Fabric---Discord-Link icon indicating copy to clipboard operation
Fabric---Discord-Link copied to clipboard

Command to link arbitrary Discord and Minecraft usernames

Open magneticflux- opened this issue 4 years ago • 2 comments

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

magneticflux- avatar Mar 17 '20 18:03 magneticflux-

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 <discordname#0000>

josephrooks avatar Mar 19 '20 19:03 josephrooks

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.

PssbleTrngle avatar Jun 29 '20 07:06 PssbleTrngle