DiscordBot [1.8+] ✨–Discord/Minecraft Linking + Boost Detection + Rewards + In-Game Rank to Discord icon

DiscordBot [1.8+] ✨–Discord/Minecraft Linking + Boost Detection + Rewards + In-Game Rank to Discord -----

Basic version with /link menu, admin command, boost detector and Minecraft-to Discord role sync



DiscordBot is a simple yet powerful plugin that allows players to link their Minecraft account to their Discord account through a user-friendly graphical interface.
It also offers advanced features such as Discord boost detection and a configurable reward system for linked players.
[​IMG]
[​IMG]

Current Features (v1.0):

  • /link or /discord menu: An intuitive interface to link a Discord account
  • /admindiscord command: Admin tools to check player link status
  • Link rewards: Configurable or can be disabled directly from the menu
  • Automatic detection of Discord server boosts (requires the server ID in the config file)
  • In-game rank to Discord role synchronization (whitch config mapping)
[​IMG]

This plugin requires Vault to function properly.
Please make sure Vault is installed on your server if you want to enable features like role synchronization and permissions handling.
Download Vault: https://www.spigotmc.org/resources/vault.34315/

[​IMG]
Code (Text):

token: "YOUR_BOT_TOKEN"
guild_id: "YOUR_SERVER_ID"

# → New options for the bot's presence
bot_status: "ONLINE"      # possible values: ONLINE, IDLE, DO_NOT_DISTURB, INVISIBLE
bot_activity: "Link Minecraft ↔ Discord accounts"

link:
  code_expiry_minutes: 10
  reward_first_time: 200000
  reward_commands:
    - "eco give %player% {reward_first_time}"

boost:
  enable: false
  boost_commands:
    - "eco give %player% 1000"

rank_sync:
  enabled: true
  # mapping: <in-game rank name>: <Discord role ID>
  roles:
    Hero: 123456789012345678
    Demon:     234567890123456789
    King:       987654321098765432
 

Code (Text):

menu:
  # 1) Title and inventory size
  title: "&6Discord link"
  size: 45

  # 2) Glass pane background
  border:
    material: STAINED_GLASS_PANE
    data: 3
    # List of slot pairs (each pair = two slots to fill)
    slots:
      # top-left / top-right corners
      - [0, 1]
      - [7, 8]
      # middle side borders
      - [9, 17]
      - [27, 35]
      # bottom-left / bottom-right corners
      - [36, 37]
      - [43, 44]

  # Official Discord head (clickable → link)
  discord:
    slot: 13
    texture: "..."
    name: "&9Official Discord"
    lore:
      - "&7Members: &a{discord_member_count}"
      - "&7Link:"
      - ""
      - "&aClick to get the link!"

  # Link head (red or green depending on status)
  link:
    not_linked:
      slot: 21
      texture: "..."
      name: "&cNot linked yet"
      lore:
        - "&7Link your Discord account"
        - "&7and earn &6200,000 &7coins!"
      click-message: "&eYour link code is &f%code%&e. Send it to the Discord bot via private message."
    linked:
      slot: 21
      texture: "..."
      name: "&aAccount linked"
      lore:
        - "&7You are linked as: &f{tag_discord}"
        - "&7You now have access to the server."
      click-message: "&aYou are already linked as {tag_discord}."

  # Boost / reward head
  boost:
    not_boosted:
      slot: 23
      texture: "..."
      name: "&dNitro Booster Pack"
      lore:
        - "&7You haven't boosted the Discord."
        - "&7Boost it to unlock monthly rewards."
      click-message: "&cYou must boost the Discord to receive rewards!"
    boosted:
      slot: 23
      texture: "..."
      name: "&dNitro Booster Pack ✦"
      lore:
        - "&7Status: &aActive"
        - "&7Rewards:"
        - "&8• &f✦ Symbol in TAB"
        - "&8• &bEpic Key (x1)"
        - "&8• &2Bag x3"
      enchantments:
        - DURABILITY:1
      hide-enchants: true
      click-message: "&aThanks for your boost! Come back every month for a new reward."
 
Resource Information
Author:
----------
Total Downloads: 60
First Release: Yesterday at 2:30 PM
Last Update: Yesterday at 6:25 PM
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings