DiscordAuth is a Velocity plugin that links Minecraft accounts with Discord accounts for authentication.
DiscordAuth is a Velocity plugin that links Minecraft accounts with Discord accounts for authentication.
discordauth-<version>.jar file in your Velocity plugins folder.When you run the plugin for the first time, it will generate:
plugins/discordauth/config.properties
Edit the file and fill in the following:
discord.token=YOUR_DISCORD_BOT_TOKEN_HERE
discord.guildId=123456789012345678
discord.roleId=987654321098765432
discord.adminId=000000000000000000
security.maxFailures=3
security.blockMinutes=5
integration.lom.allowedUsersPath=plugins/limited-offline-mode/allowed-users.txt
Bot
OAuth2
!verify <verification code>
config.properties, their Minecraft account will be linked with their Discord account. !delete <DiscordID>
adminId.This plugin is designed to integrate with the Limited Offline Mode plugin.
When enabled, players listed in LOM's allowed-users.txt can bypass Discord verification, even when the proxy is in online-mode. This is useful for allowing specific accounts (like camera bots or test accounts) to join without needing a Discord account, while still enforcing verification for all other online players.
To enable this, set the path to LOM's allowed-users.txt in your config.properties. If this path is left empty, the integration is disabled.
online-mode=true.Limited Offline Mode. See the "Integrations" section for details.Verified accounts are saved in:
plugins/discordauth/verified.json
This file is automatically updated when commands succeed via DM with the bot.
MIT License