MonGen's Cave Docs
  • Welcome here!
  • Premium Products
    • mc-DiscordLink
      • Plugin FAQ
      • Commands
      • Feature Help
        • Setup Discord Bot
        • Link System
        • Embed Builder
      • Supported Plugins
        • Rank Plugins
        • PlaceholderAPI
        • DiscordLinkProxy
        • Floodgate
      • Migrate Data
    • mc-KillStats
      • Plugin FAQ
      • Supported Plugins
      • Commands
      • Hooks
        • PlaceholderAPI
      • Developer API
    • mc-Levels
      • Plugin FAQ
      • Commands
      • Supported Plugins
        • PlaceholderAPI
        • AxBooster
      • Developer API
    • mc-Credits
      • Plugin FAQ
      • Commands
      • Feature Help
        • GUI Options
      • Supported Plugins
        • PlaceholderAPI
      • Developer API
    • mc-Homes
      • Plugin FAQ
      • Commands
      • Feature Help
        • Safe Teleport
        • Home Name
  • Free Products
    • mc-FunGun
      • Plugin FAQ
      • Supported Plugins
      • Commands
    • mc-PlayerVisibility
      • Plugin FAQ
      • Supported Plugins
      • Commands
    • mc-IPGuard
      • Plugin FAQ
      • Supported Plugins
      • Commands
    • mc-Scheduler
      • Plugin FAQ
      • Commands
      • Supported Plugins
        • PlaceholderAPI
  • REACH US HERE
  • Discord Support
  • BuiltByBit
  • SpigotMC
  • Polymart
Powered by GitBook
On this page
  • Default Configuration
  • Type: SLASH
  • Type: LINK-EMBED
  1. Premium Products
  2. mc-DiscordLink
  3. Feature Help

Link System

The plugin provides two functions that allow players to generate a code.

Default Configuration

This is the default configuration, you can choose type between SLASH and LINK-EMBED

link-system:
  # Types: SLASH, LINK-EMBED
  type: SLASH

  slash-command:
    link:
      command: "link"
      description: "Generate an activation code to sync!"
    link-embed:
      command: "link-embed"
      description: "The channel to send the linking embed message!"

  link-rewards:
    give-discord-role: "your-role-id"
    once-reward: true
    sync-roles: true

    execute-commands:
      enabled: true
      only-if-player-online: true
      commands:
        - "eco give %player% 150"
        - "say %player% has successfully synced!"

Type: SLASH

This system registers a simple slash command that users can use to generate a code.

Illustration on Discord:

Type: LINK-EMBED

With the /link-embed #channel slash command, users with Administrator permissions can send an embed message to a specified channel. By clicking the button in the embed, they can generate their own linking code.

Illustration on Discord:

PreviousSetup Discord BotNextEmbed Builder

Last updated 2 months ago