Owningle / TTT-Discord-Immersion

This addon will deafen everyone in discord when the round starts, and undeafen users as they die. This allows people who are alive to talk via in-game proximity voice chat, and those who are dead may talk to each other, and spectate. This allows for some intense moments, as you will have no idea who has died.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTT Discord Immersion Icon

gmod-addon discord-bot license

This addon and Discord bot will enhance your TTT / Murder immersion. You should use this in conjunction with an in-game proximity voice chat addon such as this one. This is not meant for use in public servers, rather servers hosted for a group of friends.

This addon will deafen everyone in discord when the round starts, and undeafen users as they die. This allows people who are alive to talk via in-game proximity voice chat, and those who are dead may talk to each other, and spectate. This allows for some intense moments, as you will have no idea who has died.

Everyone on the server will have to disable the Discord Overlay, and not have Discord open on another monitor, as this will allow people to easily see who is dead. That is why this addon is not made for public servers, rather servers hosted for a group of friends.

Getting Started

If you need any help, join my discord server.

Prerequisites

  • You must have a Garry's Mod server installed and set up with the TTT Gamemode.

Installation

  1. Install CHTTP on the server.
  2. Install the addon, one of the follwing.
    • Downloading from this repository and then adding it to the addons folder of your server.
    • Adding the worksop version to the servers collection.
  3. Create a Discord bot, invite it to your server, and set the token for the addon.
    • Follow this guide to create a bot and invite it to your server.
    • Set the convar discord_token to your bots token.
    • Grant the bot permission to deafen and mute members.
  4. Set the server ID.
    • Follow this guide to get the IDs
    • Set the convar discord_guild to your server's ID.
  5. Add an addon to enable proximity voice chat in game.
  6. Add the workshop version of this

Usage

  • The convar discord_enabled enables (1) / disables (0) the bot.
  • Connect your steam account with the bot by typing !discord YourDiscordIDin the in-game chat. E.g !discord 241304387924918272 (Can get ID by right clicking on yourself and clicking Copy ID).
  • If you are in a voice channel, the round has started, and your connected with discord, the bot will deafen you.

Credits

  • ttt_discord_bot This was a huge help for the first version of this addon.
  • Thanks to the people supporting and developing the TTT Gamemode.

Contributing

  1. Fork it (https://github.com/Owningle/TTT-Discord-Immersion/fork)
  2. Create your branch
  3. Commit Changes
  4. Push to branch
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This addon will deafen everyone in discord when the round starts, and undeafen users as they die. This allows people who are alive to talk via in-game proximity voice chat, and those who are dead may talk to each other, and spectate. This allows for some intense moments, as you will have no idea who has died.

License:MIT License


Languages

Language:Lua 100.0%