MonGen's Cave Docs
  • Welcome here!
  • Premium Products
    • mc-DiscordLink
      • Plugin FAQ
      • Commands
      • Feature Help
        • Setup Discord Bot
        • Bot Settings
        • Link System
        • Embed Builder
      • Supported Plugins
        • Rank Plugins
        • PlaceholderAPI
        • DiscordLinkProxy
        • Floodgate
      • Migrate Data
    • 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
  • 🔧 Custom Discord Bot Presence
  • 📁 Configuration
  • 🔁 Live Updating with Placeholders
  • 🔍 Example Output
  1. Premium Products
  2. mc-DiscordLink
  3. Feature Help

Bot Settings

Starting from v2.7.0, DiscordLink introduces a dedicated bot presence manager that allows dynamic and configurable activity/status updates for your Discord bot.

🔧 Custom Discord Bot Presence

The bot-settings section in the config.yml allows you to customize the activity and online status of the Discord bot managed by the plugin.

This feature supports PlaceholderAPI placeholders, enabling dynamic values such as total player count across servers (e.g. %bungee_total%).

⚠️ Multi-Server Support Notice

If you run this plugin on multiple Minecraft servers (multi-server setup) with the same Discord bot token, you must enable bot-settings.enabled: true on only ONE server. Having this enabled on more than one server may result in duplicate status updates or Discord rate-limiting.

📁 Configuration

Add or edit the following section in your config.yml:

discord:
  token: "your-discord-bot-token"
  guild-id: "your-guild-id"

  bot-settings:
    # ⚠️ ENABLE WITH CAUTION!
    # Only one server should manage bot presence if you're running multiple servers.
    enabled: true

    # The text to display as the bot's activity.
    # PlaceholderAPI placeholders (e.g. %bungee_total%) are supported.
    activity: "Playing with %bungee_total% players"

    # The type of activity:
    # Options: PLAYING, WATCHING, LISTENING, COMPETING
    activity-type: "PLAYING"

    # The bot's online status:
    # Options: ONLINE, IDLE, DND, INVISIBLE
    status: "ONLINE"

  change-nickname: true
  restrict-to-channel: true
  target-channel-id: "your-channel-id"

🔁 Live Updating with Placeholders

If activity contains PlaceholderAPI placeholders, they are parsed automatically using your installed placeholder expansions.

🔄 Refresh Frequency:

  • The activity text is refreshed:

    • 60 ticks after startup (3 seconds)

    • every 3 minutes afterwards (asynchronously)

  • No update is sent unless the placeholder-resolved text has changed, avoiding unnecessary API calls.

🔍 Example Output

If you use the following:

activity: "Playing with %bungee_total% players"
activity-type: "PLAYING"
status: "ONLINE"

Your bot will display:

Playing with 124 players

And its status will appear as Online.

PreviousSetup Discord BotNextLink System

Last updated 2 days ago