VelocityDiscord
Zu Favoriten hinzufügen
Anmeldung erforderlich
Beschreibung
Velocity global chat/discord bridge
Kompatibilität
- Velocity
- 3.0 – 3.3
- Lizenz
- LGPL
- Statistiken
- 913 Downloads · 14 Sterne
- Aktualisiert am
- 23. August 2024
Versionen
v1.9.0 Release
- Velocity
- 3.0 – 3.3
- Veröffentlicht am
- 23. August 2024
Changelog
## What's Changed
- Fix Discord webhooks from other bots not being mirrored to Minecraft by @jackmawer in https://github.com/fooooooooooooooo/VelocityDiscord/pull/43
- Use YepLib for advancements / death messages by @unilock in https://github.com/fooooooooooooooo/VelocityDiscord/pull/44
- Exclude disabled servers from Yep events by @unilock in https://github.com/fooooooooooooooo/VelocityDiscord/pull/45
- Add channel topic by @Ceddicedced in https://github.com/fooooooooooooooo/VelocityDiscord/pull/48
- Refactor code and add missing scheduler by @Ceddicedced in https://github.com/fooooooooooooooo/VelocityDiscord/pull/50
- chore: Add missing variables from config by @Ceddicedced in https://github.com/fooooooooooooooo/VelocityDiscord/pull/52
- Add LuckPerms prefix to discord message templates
- Queue messages while plugin is starting so they are not lost
- Add config reload command ingame - requires `discord.reload` permission node
- Add command to preview topic ingame - requires `discord.topic.preview` permission node
- Update dependencies
## Config changes
### Version bumped
```diff
- config_version = "1.8"
+ config_version = "1.9"
```
### Added server online ping interval
```toml
# How often to ping all servers to check for online status (seconds)
# Set to 0 to disable
# Excluded servers will not be pinged
ping_interval = 30
```
### Added channel topic update interval
```toml
# OPTIONAL - Configuration for updating the Discord channel topic
# Set the interval (in minutes) for updating the channel topic.
# Use a value less than 10 to disable this feature.
update_channel_topic_interval = -1
```
### Added channel topic options
```toml
# Template for the channel topic.
# Placeholders available:
# {players} - Total number of players online
# {player_list} - List of players (format is defined below)
# {servers} - Number of servers
# {server_list} - List of server names
# {hostname} - Server hostname
# {port} - Server port
# {motd} - Message of the Day (MOTD)
# {query_port} - Query port
# {max_players} - Maximum number of players
# {plugins} - Number of plugins
# {plugin_list} - List of plugin names
# {version} - Server version
# {software} - Software name
# {average_ping} - Average ping of all players
# {uptime} - Server uptime in hours and minutes
# {server[SERVERNAME]} - Dynamic placeholder for each server's name and status (e.g., {server[MyServer]}, {server[AnotherServer]}, {server[Lobby]}, etc.)
topic = """{players}/{max_players}
{player_list}
{hostname}:{port}
Uptime: {uptime}"""
# Template for server[SERVERNAME] placeholder in the channel topic.
# Placeholders available: {name}, {players}, {max_players}, {motd}, {version}, {protocol}
topic_server = "{name}: {players}/{max_players}"
# Template for server[SERVERNAME] placeholder in the channel topic when the server is offline.
# Placeholders available: {name}
topic_server_offline = "{name}: Offline"
# Can be disabled to hide the list completely when no players are online
topic_player_list_no_players_header = "No players online"
# Can be disabled to hide the header and only show the player list
topic_player_list_header = "Players: "
# Placeholders available: {username}, {ping}
topic_player_list_player = "{username}"
# Separator between players in the list, \n can be used for new line
topic_player_list_separator = ", "
# Maximum number of players to show in the topic
# Set to < 1 to show all players
topic_player_list_max_count = 10
```
### Update default webhook avatar url
```diff
[discord.webhook]
# Full webhook URL to send more fancy Minecraft chat messages to
webhook_url = ""
# Full URL of an avatar service to get the player's avatar from
# Placeholders available: {uuid}, {username}
-avatar_url = "https://crafatar.com/avatars/{uuid}?overlay"
+avatar_url = "https://visage.surgeplay.com/face/96/{uuid}"
```
### Added `message_type` and `message_embed_color`
```toml
# for user messages, the following types can be used
# "text" - Normal text only message with
v1.8.1 Release
- Velocity
- 3.0 – 3.2
- Veröffentlicht am
- 26. Oktober 2023
Changelog
## What's Changed * Update JDA + use its new webhooks API by unilock * Buildscript fixes by unilock * Prevent disabled servers being included in the output of /list by unilock **Full Changelog**: https://github.com/fooooooooooooooo/VelocityDiscord/compare/1.8.0...1.8.1
v1.8.0 Release
- Velocity
- 3.0 – 3.2
- Veröffentlicht am
- 14. Oktober 2023
Changelog
## What's Changed
* Added ability to exclude servers by name from join/leave/ingame messages
* Properly shutdown JDA on plugin exit
* Added more information to default config
* Removed deprecated discriminator placeholder
* This is in the `username_chunk` of your config under the `[minecraft]` category
* Before:
```toml
username_chunk = "<{role_color}><hover:show_text:{username}#{discriminator}>{nickname}</hover><reset>"
```
* After:
```toml
username_chunk = "<{role_color}><hover:show_text:{username}>{nickname}</hover><reset>"
```
**Full Changelog**: https://github.com/fooooooooooooooo/VelocityDiscord/compare/1.7.0...1.8.0
v1.7.0 Release
- Velocity
- 3.0 – 3.2
- Veröffentlicht am
- 25. August 2023
Changelog
## What's Changed * Added ability to disable some messages by setting their template value to `false` or `""`: * `discord.chat.message` * `discord.chat.join_message` * `discord.chat.leave_message` * `discord.chat.disconnect_message` * `discord.chat.server_switch_message` * `discord.chat.death_message` * `discord.chat.advancement_message` * `discord.commands.list.no_players` * `discord.commands.list.server_offline` **Full Changelog**: https://github.com/fooooooooooooooo/VelocityDiscord/compare/1.6.0...1.7.0
v1.6.0 Release
- Velocity
- 3.0 – 3.2
- Veröffentlicht am
- 23. April 2023
Changelog
## What's Changed * Improvements in the list command and configuration loading by @4drian3d in https://github.com/fooooooooooooooo/VelocityDiscord/pull/23 * Add `enable_everyone_and_here` config option: ```toml # Enable @everyone and @here pings from Minecraft chat enable_everyone_and_here = false ``` ## New Contributors * @4drian3d made their first contribution in https://github.com/fooooooooooooooo/VelocityDiscord/pull/23 **Full Changelog**: https://github.com/fooooooooooooooo/VelocityDiscord/compare/1.5.0...1.6.0
Nur die neuesten Versionen werden angezeigt: Die vollständige Liste gibt es auf Hangar.