About Live Admin Chat
Allows players to open a live admin chat from Rust to Discord to get support.
Make sure your bot has permissions to create/manage channels and read/send messages in your category.
Note: Please delete the "LiveAdminChat.json" language file in "/oxide/lang/en/" before updating to version 1.1.0.
If you have any issues or errors, please open a support request and I will help you asap.
FEATURES:
- Creates a discord channel in the provided channel category
- Allows the Rust player and Discord admins to communicate
- The ability to store the live admin chat as a transcript
-
Allows a lot of customization, including:
- The command a player uses to respond to the admin chat
- The chat prefix for messages sent to the player
- The Steam profile icon for messages sent to the player
- The default reason for closing "tickets"
- Whether or not to display the admin's name when sending messages to the player
- The channel ID where transcripts will be sent to
- The Discord roles that will be mentioned when a new channel is created
- Whether or not to close the channel when the player disconnects from the server
- Setting the in game chat command to start admin chats
- Defining the cooldown value after the last ticket was closed
PERMISSIONS:
liveadminchat.use - required to allow players to use the /adminchat command.
COMMANDS:
/adminchat - opens a live admin chat with Discord admins.
/reply <message> - sends the response from the player to the Discord admins.
DISCORD:
Admins can provide a reason for closing the chat by typing the reason after !close in the channel. Anything after "1close" will be included in the reason.
Example: !close Closed due to no response
TRANSCRIPTS:
If you want to save the player/admin chats as transcripts, add a channel ID to "Transcript Channel ID" in the config. Otherwise, if you do not want transcripts then leave it blank and they won't be created.
CONFIG:
Quote{
"Category ID": "", //The category where the channels will be created
"Reply Command": "reply", //The command players use to reply to the chat
"Chat Prefix": "ADMIN", //The prefix you want to appear in front of the reply from admins in Discord
"Steam Profile Icon": "", //The Steam64ID you want to use the icon from so it appears in the responses to the player in game
"Default Close Reason": "Closed by admin", //The default reason provide to the user when a chat is closed
"Show Admin Username": false, //Whether or not to show the admin's Discord name in the responses to the player
"Chat Command": "adminchat", //The chat command you want players to use in game to start a chat
"Discord Bot Token": "YOUR-BOT-TOKEN", //Your bot token
"Discord Server ID": "", //The server ID where the bot will respond
"Transcript Channel ID": "", //The channel where transcripts will be created
"Mentioned Role IDs": [ //The roles you want to be mentioned when a chat is started
"1234567890",
"0987654321"
],
"Close On Disconnect": false, //Whether or not to automatically close the chat when the player disconnects from the server
"Chat Cooldown (minutes)": 5, //The cooldown period before the player can open a new chat after the last one was closed
"Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info" //The amount of logging in console you want to use
}