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
:
🔁 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:
Your bot will display:
Playing with 124 players
And its status will appear as Online.
Last updated