
PluginLGPL-2.1-or-later
Velocity Discord
Chat from all servers gets bridged with a Discord channel
2.2K
Downloads
25
Followers
5 months ago
Updated
📦
8
Versions
📖About Velocity Discord
Velocity Discord
Chat from all servers gets bridged with a discord channel
Features
- Configurable
- Webhooks or embeds or normal text for messages
- Player count in bot status
- List command
- Templating syntax for all messages
- Death and Advancement messages shown
- Server start/stop messages
- Server status in channel topic
- Reload command for config changes while the server is running
Note
This requires a companion Velocity plugin
and companion backend mod/plugin for advancement/death messages
Installation
- Create a bot application here
- Go to the
Bottab and clickAdd bot
- Go to the
- Enable the
SERVER MEMBERS INTENTandMESSAGE CONTENT INTENTunderPrivileged Gateway Intents - Copy the bot's token, you might have to click
Reset Tokenfirst - Install the plugin on your server, start the server once, then stop the server again
- Open the plugin config file at
plugins/discord/config.toml - Under
[discord], paste your token in place ofTOKEN - Under
[discord], paste the channel id you want to use- To get a channel id, you have to enable developer mode in Discord
- Open Discord settings, go to
Advanced, then turn onDeveloper Mode - Now right-click the channel you want to use and click
Copy ID
- Set any additional config options you want
- Start the server and check if it works
For Webhooks
- Create a webhook in the channel you want to use
- Right-click the channel, click
Edit Channel, go toIntegrations, clickCreate Webhook - Copy the webhook URL
- Right-click the channel, click
- Paste the webhook URL under
[discord.webhook]in the config file
For advancements/deaths
- Install the YepLib velocity plugin alongside this plugin
- Install the YepTwo backend mod/plugin on each of your backend servers that you want to
receive advancements/deaths from
Configuration
The config file is generated at plugins/discord/config.toml. See here for the default config