Simple Voice Chat Discord Bridge

Simple Voice Chat Discord Bridge

Mod and plugin

A mod and plugin to make a bridge between Simple Voice Chat and Discord to allow for players without the mod to hear and speak.

Social

29.4k downloads
227 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...

Requires Fabric API

  • Add thread names to make future debugging easier
  • Try to reduce tokio runtime overhead while idle

Code changes: https://github.com/amsam0/voicechat-discord/compare/3.0.4...3.0.5

  • Add thread names to make future debugging easier
  • Try to reduce tokio runtime overhead while idle

Code changes: https://github.com/amsam0/voicechat-discord/compare/3.0.4...3.0.5

[FABRIC] 3.0.4

by amsam0 on Aug 15, 2024
Download

Requires Fabric API

  • Adjust error message for when an audio sender can't be registered to hopefully make it less confusing

Code changes: https://github.com/amsam0/voicechat-discord/compare/3.0.3...3.0.4

[PAPER] 3.0.4

by amsam0 on Aug 15, 2024
Download
  • Adjust error message for when an audio sender can't be registered to hopefully make it less confusing

Code changes: https://github.com/amsam0/voicechat-discord/compare/3.0.3...3.0.4

[FABRIC] 3.0.3

by amsam0 on Jul 10, 2024
Download

Requires Fabric API

  • Fix crash when running /dvc start by forcing ring to be used for cryptography instead of aws-lc (#59)

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/3.0.2...3.0.3

[PAPER] 3.0.3

by amsam0 on Jul 10, 2024
Download
  • Fix crash when running /dvc start by forcing ring to be used for cryptography instead of aws-lc (#59)

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/3.0.2...3.0.3

Requires Fabric API

  • (Paper) Fix the bot not disconnecting from Discord when the player leaves the game (#57)
    • This also fixes issues with the update checker not alerting operators of an update on Paper
  • Fix the bot not disconnecting from Discord when the server stops
  • (Fabric) Fix the addon's shutdown process blocking the server from shutting down
  • Add failsafe if an error occurs during the bot stop process

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/3.0.1...3.0.2

  • (Paper) Fix the bot not disconnecting from Discord when the player leaves the game (#57)
    • This also fixes issues with the update checker not alerting operators of an update on Paper
  • Fix the bot not disconnecting from Discord when the server stops
  • (Fabric) Fix the addon's shutdown process blocking the server from shutting down
  • Add failsafe if an error occurs during the bot stop process

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/3.0.1...3.0.2

Requires Fabric API

  • Hopefully add compatibility for older glibc versions (#54)
  • (Paper) Fix getEntityPosition failing (#56)

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/3.0.0...3.0.1

  • Hopefully add compatibility for older glibc versions (#54)
  • (Paper) Fix getEntityPosition failing (#56)

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/3.0.0...3.0.1

Requires Fabric API

  • Major internal changes, which should result in better stability and performance
    • The JDA Java discord library is no longer used and it has been replaced by the Serenity and Songbird Rust discord libraries
    • This means that the plugin requires some native libraries, which unfortunately increased the JAR size
    • The advantage is that SSL is bundled with the libraries instead of requiring Java's SSL, fixing #11
    • The new implementation should be faster and less prone to getting into a buggy state
  • Many fixes to fix support for 1.20.3 and later
    • On the Fabric side, usage of JSON to convert between adventure and native component classes was removed. Now, components are manually converted which should be much more robust and slightly more performant
    • On the Paper side, in 1.20.6 and later, the new Commands API is used, and in <1.20.6, reflection is used in more places due to Paperweight's new mapping behavior breaking stuff
  • Require Java 21 (the addon still supports 1.19.4)

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.1.1...3.0.0

  • Major internal changes, which should result in better stability and performance
    • The JDA Java discord library is no longer used and it has been replaced by the Serenity and Songbird Rust discord libraries
    • This means that the plugin requires some native libraries, which unfortunately increased the JAR size
    • The advantage is that SSL is bundled with the libraries instead of requiring Java's SSL, fixing #11
    • The new implementation should be faster and less prone to getting into a buggy state
  • Many fixes to fix support for 1.20.3 and later
    • On the Fabric side, usage of JSON to convert between adventure and native component classes was removed. Now, components are manually converted which should be much more robust and slightly more performant
    • On the Paper side, in 1.20.6 and later, the new Commands API is used, and in <1.20.6, reflection is used in more places due to Paperweight's new mapping behavior breaking stuff
  • Require Java 21 (the addon still supports 1.19.4)

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.1.1...3.0.0

[FABRIC] 2.1.1

by amsam0 on Oct 22, 2023
Download

Requires Fabric API

  • (Fabric) Fixed #25 - /dvc now works correctly on 1.20+! Sorry this took so long to fix; I actually fixed it almost a month ago but never made a release.
  • Fixed a minor punctuation issue with the message about Simple Voice Chat not being new enough
  • Increased minimum Minecraft version to 1.19.4 from 1.19.2

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.1.0...2.1.1

[PAPER] 2.1.1

by amsam0 on Oct 22, 2023
Download
  • (Fabric) Fixed #25 - /dvc now works correctly on 1.20+! Sorry this took so long to fix; I actually fixed it almost a month ago but never made a release.
  • Fixed a minor punctuation issue with the message about Simple Voice Chat not being new enough
  • Increased minimum Minecraft version to 1.19.4 from 1.19.2

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.1.0...2.1.1

[FABRIC] 2.1.0

by amsam0 on Jun 21, 2023
Download

Requires Fabric API

This update has some new features and bugfixes. The minimum Simple Voice Chat version has been increased to 2.4.11.

  • Reduce volume of whispering players in the audio that goes to discord
  • Don't allow players to use /dvc group when groups are disabled
  • Fixed tab complete on Paper
  • Switch to using adventure and minimessage for messages. This means that we no longer use the legacy formatting codes, and some messages will have colors in the console!

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.0.1...2.1.0

[PAPER] 2.1.0

by amsam0 on Jun 21, 2023
Download

This update has some new features and bugfixes. The minimum Simple Voice Chat version has been increased to 2.4.11.

  • Reduce volume of whispering players in the audio that goes to discord
  • Don't allow players to use /dvc group when groups are disabled
  • Fixed tab complete on Paper
  • Switch to using adventure and minimessage for messages. This means that we no longer use the legacy formatting codes, and some messages will have colors in the console!

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.0.1...2.1.0

[PAPER] 2.0.1

by amsam0 on Jun 20, 2023
Download

This update fixes one of the major issues with 2.0.0. If you are on Fabric, you probably didn't experience it, but you should still update because of the other fixes and improvements.

  • Fixed #22
  • Switch to a simpler volume adjustment method. While this seems to work fine, please report any issues with the audio going to Discord!
  • Slight improvement: packets with a volume less than or equal to 0 (which ends up being silent) won't be sent to Discord. This can happen when we receive packets out of the distance of the player
  • Improve reset watcher to be slower, this may fix some audio related issues
  • Make NMS usage and reflection on Paper safer and hopefully future proof it more

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.0.0...2.0.1

[FABRIC] 2.0.1

by amsam0 on Jun 20, 2023
Download

Requires Fabric API

This update fixes one of the major issues with 2.0.0. If you are on Fabric, you probably didn't experience it, but you should still update because of the other fixes and improvements.

  • Fixed #22
  • Switch to a simpler volume adjustment method. While this seems to work fine, please report any issues with the audio going to Discord!
  • Slight improvement: packets with a volume less than or equal to 0 (which ends up being silent) won't be sent to Discord. This can happen when we receive packets out of the distance of the player
  • Improve reset watcher to be slower, this may fix some audio related issues
  • Make NMS usage and reflection on Paper safer and hopefully future proof it more

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/2.0.0...2.0.1

[FABRIC] 2.0.0

by amsam0 on Jun 14, 2023
Download

Requires Fabric API

Huge thanks to Totobird for being a huge help with this update! Their PR was the main reason I started working on it again.

  • All commands have been moved to subcommands on the /dvc command
    • See https://github.com/naturecodevoid/voicechat-discord#using-it-in-game for docs
    • /startdiscordvoicechat was moved to /dvc start
      • Running /dvc start while in a voice chat session restarts the session
    • New subcommand: /dvc stop
      • Only usable while currently in a discord voice chat session
      • Disconnects the bot and stops the session
    • New subcommand: /dvc group
    • New subcommand: /dvc togglewhisper
      • Allows mod users to whisper
    • New subcommand: /dvc reloadconfig
      • Only usable by operators or players with the voicechat-discord.reload-config permission
      • Stops all sessions and reloads the config
    • New subcommand: /dvc checkforupdate
      • Only usable by operators
      • Checks for a new update using the GitHub API. If one is found, finds the version on Modrinth and links to the version page.
  • Group support (/dvc group)
  • Whispering support (/dvc togglewhisper)
  • Added support for people using the mod to hear static/entity/locational audio channels
  • Use the new audio sender API to improve compatibility with other addons
  • [Fabric only] Use the Fabric Permissions API to support mods like LuckPerms for the reload config permission
  • Added version checker to ensure the plugin/mod is updated
  • Added Simple Voice Chat version checker to ensure we have a new enough version of the mod
  • Hopefully fixed #5
  • Better login failure error handling and logging
  • Improvements to messages sent to players to be more clear
  • Optional debug logging to hopefully help with debugging issues
  • Major refactors and command handling improvements

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/1.4.0...2.0.0

[PAPER] 2.0.0

by amsam0 on Jun 14, 2023
Download

Huge thanks to Totobird for being a huge help with this update! Their PR was the main reason I started working on it again.

  • All commands have been moved to subcommands on the /dvc command
    • See https://github.com/naturecodevoid/voicechat-discord#using-it-in-game for docs
    • /startdiscordvoicechat was moved to /dvc start
      • Running /dvc start while in a voice chat session restarts the session
    • New subcommand: /dvc stop
      • Only usable while currently in a discord voice chat session
      • Disconnects the bot and stops the session
    • New subcommand: /dvc group
    • New subcommand: /dvc togglewhisper
      • Allows mod users to whisper
    • New subcommand: /dvc reloadconfig
      • Only usable by operators or players with the voicechat-discord.reload-config permission
      • Stops all sessions and reloads the config
    • New subcommand: /dvc checkforupdate
      • Only usable by operators
      • Checks for a new update using the GitHub API. If one is found, finds the version on Modrinth and links to the version page.
  • Group support (/dvc group)
  • Whispering support (/dvc togglewhisper)
  • Added support for people using the mod to hear static/entity/locational audio channels
  • Use the new audio sender API to improve compatibility with other addons
  • [Fabric only] Use the Fabric Permissions API to support mods like LuckPerms for the reload config permission
  • Added version checker to ensure the plugin/mod is updated
  • Added Simple Voice Chat version checker to ensure we have a new enough version of the mod
  • Hopefully fixed #5
  • Better login failure error handling and logging
  • Improvements to messages sent to players to be more clear
  • Optional debug logging to hopefully help with debugging issues
  • Major refactors and command handling improvements

Code changes: https://github.com/naturecodevoid/voicechat-discord/compare/1.4.0...2.0.0


Project members

amsam0

Owner

Details

Licensed MIT
Published 2 years ago
Updated 13 days ago