πHibiscusMC Discord Link
Addon for DiscordSRV that uses OAuth2
Last updated
Addon for DiscordSRV that uses OAuth2
Last updated
discord:
application:
id: 123
secret: abc
#
# The token is required in order to be able to add the user to the server
#
botToken: xyz # Required to add the user to the server
guildId: 123
oauth:
#
# https://discord.com/developers/docs/topics/oauth2#shared-resources-oauth2-scopes
#
scope: identify guilds.join
web:
port: 3030
#
# The host also needs to be added on the Discord app dashboard as redirect
#
host: https://discordlink.hibiscusmc.com
messages:
alreadyLinked: '<red>Your account is already linked to a Discord account (id: <id>)'
authMessage: '<green><click:open_url:"{url}">Click to open the Discord Auth page</click>'