An advanced plugin to allow your players to verify their account through discord bot
DiscordBridge.png
Type
  1. Admin tools
  2. Other
Supported software
  1. Bukkit
  2. Spigot
  3. Paper
Supported versions
  1. 1.8
  2. 1.9
  3. 1.10
  4. 1.11
  5. 1.12
  6. 1.13
  7. 1.14
  8. 1.15
  9. 1.16
  10. 1.17
  11. 1.18
  12. 1.19
  13. 1.20
Tags
Tags
None
yIlTizy.png
DiscordBridge is a Minecraft plugin that manages a Discord Bot allowing players to link their Minecraft Account to their Discord Account.

Verification can be forced in order to play on your Minecraft server, so every new player has to join your Discord server. Otherwise, verification can be optional for everyone or can be enabled only for players who have a specific role on your discord server; if this role is removed, the verification on Minecraft-Side is automatically revoked.
When the verification is completed or revoked, you can execute any command you desire Minecraft-Side, allowing you to give rewards or permissions to your verified players, and remove these rewards if the player gets unverified.

DiscordBridge allows your Discord server members to scan Minecraft players profiles, displaying information like: Username, UUID, Last Login, First Join, Permission Group (LuckPerms required) and if the user is Verified / Not verified or Banned.

Requrements to run DiscordBridge:
  • Discord Bot
  • Server Discord

SCHERMATE
OievyU9.png
2tLjfTA.png

Sj1Hecr.png
/dsb help
Description: Show plugin commands.
Permission: discordbridge.help

/dsb reload
Description: Reload plugin files.
Permission: discordbridge.reload

/dsb info
Description: Display information about the linked Discord account.
Permission: discordbridge.info

/dsb verify <discord_user_id>
Description: Start verification process with your discord id.
Permission: discordbridge.verify

/dsb code <bot_code>
Description: Complete verification with the code received on discord.
Permission: discordbridge.verify

/dsb cancel
Description: Cancel the pending verification.
Permission: discordbridge.cancel

/dsb unlink [player]
Description: Allows to unlink current minecraft profile from the connected discord profile.
Permission: discordbridge.unlink (self unlinking), discordbridge.unlink.others (unlink other players account)

Description: Give access to tab completion while typing commands.
Permission: discordbridge.tabcompletion

wQR31Qi.png
YAML:
#
#     ____  _                          ______       _     __
#    / __ \(_)_____________  _________/ / __ )_____(_)___/ /___ ____
#   / / / / / ___/ ___/ __ \/ ___/ __  / __  / ___/ / __  / __ `/ _ \
#  / /_/ / (__  ) /__/ /_/ / /  / /_/ / /_/ / /  / / /_/ / /_/ /  __/
# /_____/_/____/\___/\____/_/   \__,_/_____/_/  /_/\__,_/\__, /\___/
#                                                       /____/
# By MasterWolfx

logs: false

# The interval in which the plugin checks if every verified user
# still have the required role on the discord server.
#
# NOTE: this feature will be automatically disabled if no role is needed to verify. (path: discord-bot.role.required)
check-interval: 10 # minutes

# Supported databases: SQLite (local database), MySQL
database: "sqlite"

mysql:
  dbname: "dbridge"
  tablename: "discordbridge_data"
  address: "localhost"
  port: "3306"
  username: "root"
  password: ""

discord-bot:
  token: "" # REQUIRED
  guild-id: "" # REQUIRED
  # Statuses: ONLINE, OFFLINE, DO_NOT_DISTURB, IDLE
  status: "ONLINE"
  activity: "DiscordBridge"
  prefix: "!"
  color: "#F40C0C"
  code-expire-time: 1 # minutes

  # The required discord role id to start verification.
  # NOTE: If blank, no role is required.
  role:
    required: false
    id: ""

  # Discord-Side messages
  messages:
    verify:
      embed-title: "Verify"
      code: "Your code is: %code%"
      code-expired: "Your code has expired."
      role-expired: "You don't have the required role anymore."
      icon-url: "https://i.imgur.com/AfFp7pu.png"

  # Discord command to scan a minecraft player profile.
  commands:
    mc-profile-scan:
      command: "scan"
      # Required Discord Role ID to run scan command.
      # NOTE: If blank, no role is required.
      required-role-id: ""
      no-permission: "Sorry, you don't have the required role to scan %role%."
      message:
        title: "%player% Scan"
        verified: ":white_check_mark: User is verified"
        not-verified: ":warning: User is not verified"
        banned: ":no_entry_sign: User is banned"
        # The fields displayed by the scan command.
        # If you want to remove one (or more) field(s), make it blank.
        fields:
          username: "Username"
          uuid: "UUID"
          first-join: "First join"
          last-login: "Last login"
          rank: "Rank"
          discord-user: "Discord user"
        values:
          no-first-join: "Never"
          currently-online: "Online"
        footer:
          text: "Scan requested by %author%"
          icon: "%author-avatar%"

minecraft:
  # Enable this if you want to force unverified players to verify through discord in order to play.
  # NOTE: THIS IS A BETA FEATURE, THERE MIGHT BE ISSUES!
  force-verification:
    enabled: false
    timeout: 60 # seconds
  messages:
    # You can create a custom help message (/dsb help)
    # USAGE:
    # help-message:
    #   - "First line"
    #   - "Second line"
    # NOTE:
    # 1. this is visible only to non-op players
    # 2. set this to "default" to keep the default one (help-message: "default")
    help-message: default
    force-verification: "&3&lLink your Discord account to play! &7type: &b/dsb verify <discord_id>"
    force-verification-timeout: "&bPlease verify your account within %timeout% seconds."

    verify-started: "&3Verification started, please complete the verification on discord."
    verify-pending: "&cYou have already requested verification, check your discord"
    verify-completed: "&aVerification completed successfully."
    duplicate-id: "&cAnother account is already linked to this discord id."
    already-verified: "&3You have already completed verification."

    code-wrong: "&cIncorrect code."
    code-not-found: "&cYou have not requested a verification yet."

    role-not-found: "&cYou don't have the required role."

    invalid-discord-id: "&cPlease insert a valid Discord ID."
    invalid-code: "&cPlease insert a valid code."
    invalid-recipient: "&cThe specified user id can't receive direct messages."

    unlink: "&6Your minecraft account has been successfully unlinked from %discord-account%."
    others-unlink: "&4Your minecraft account has been unlinked from %discord-account% by %executor%."

    info: "&3This minecraft account is linked to: &b%discord-account%"
    info-not-linked: "&cThis minecraft account is not linked to any discord account."

    auto-authentication: "&9Welcome back %discord-account%! &7Authentication powered by DiscordBridge."
    verify-pending-cancel: "&6Your pending verification has been canceled!"


# IMPORTANT: Do not provide '/' before the commands
# NOTE: %username% gets replaced by the username of the player who completed the verification.
commands:
  - "eco give %username% 1000"

# Commands executed if verification is expired / revoked
commands-on-expire:
  - "eco remove %username% 1000"

# All the rewards that a user will gain after completing verification. (discord-side)
discord-rewards:
  # The role(s) a user will gain after completing verification.
  # NOTE: Automatically removed on canceled verification / verification expire
  roles:
    -
  # Use "default" to keep the default username
  # %mc-username% is replaced by the minecraft username.
  # %mc-displayname% is replaced by the minecraft displayname.
  # %ds-username% is replaced by the discord username.
  username: default

# Placeholder API
placeholders:
  discordbridge_verified:
    # %discord-account% is replaced by the discord tag (ex. SuperCoolName#69789)
    true: "Verified %discord-account%"
    false: "Not verified"

lLn2QDj.png

By purchasing this plugin, you agree to the following conditions:
• You may not resell this resource.
• You cannot claim this resource as your own.
• It is not possible to decompile this resource.
• Chargeback is not possible (any chargeback will result in license deactivation).
• You cannot publish the resource on any platform or send it to your friends.
• You have your parents' permission to purchase this product.





For Setup Instructions, Please visit the Official WIKI

Latest reviews

awesome plugin, very good~!
HyperSoftware
HyperSoftware
thank you for purchasing our plugin ❤
This license was given for free. What's this?
Amazing plugin, works good!
HyperSoftware
HyperSoftware
thank you for purchasing our plugin ❤
Hello, I love plugin but I have a problem, when in the configuration I try to put "streaming" or "do not distrub" it does not work. How do I get to put his status on?
There was a rapid response, a communicative author, perhaps even the first author, who is interested in whether everything works as it should

I recommend this plugin. Simple setup and functionality great
HyperSoftware
HyperSoftware
thank you for purchasing our plugin, for anything you know where to find us. ❤

Legacy Notice

The creator of this resource hasn't yet switched to our improved Pro system so the following aren't available:
Adding this resource to your cart
Paying with 50+ payment gateways
A standardised EULA
Enhanced privacy to hide your info
We apologise for the inconvenience.

Creators

Creator
HyperSoftware
Downloads
36
Type
Digital product
License duration
Unlimited
Price
€14.00
Views
6,628
First release
Last update
Rating
5.00 star(s) 4 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.