MrBlue
Creates a private voice channel in Discord when a team is created in-game

Supported Games
depends on

Features

  • Allow to your players to create a private voice channel on your Discord when they create a team ingame (they need to be registered first)
  • Allow team members to connect to the team's private voice channel
  • Update user's permissions when team is updated (disbanded, added player, kicked player ...)

Usage

When your player is registered on your Discord with Discord Connect OR Discord Auth, player must create a team in game to get a private voice channel on discord.

Be careful, using role has optionnal, if 'using roles' is true in your config file, you need to have a special role in your Discord server to make the difference between registered player and unregistered player.

Your bot on Discord need to have the permission to move members, permission to create channel and permission to modify channel.

YOU NEED AN API KEY, TUTORIAL HERE

NOW WORK WITH DISCORD AUTH ! THANKS TO TRICKY !

Configuration

{
  "Discord Bot Token": "",
  "Change channel when user create the team": false,
  "Discord users can see other team's private vocal channel": true,
  "Max players in a voice channel": 3,
  "Name of the player's role on discord (not @everyone)": "Player",
  "Using roles": false
}

Localization

{
  "messageChannelCreated": "A private voice channel was created on Discord for your team !",
  "messageChannelDeleted": "Your private voice channel on Discord has been deleted !",
  "messageMemberJoin": "You have been added to your team's private voice channel on Discord !",
  "messageMemberLeft": "You have been removed from your team's private voice channel on Discord !",
  "channelName": "{0}'s Team"
}
MIT License

Copyright (c) 2021 MrBlue

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.