Jump to content

Live Admin Chat 1.2.3

   (2 reviews)

1 Screenshot

depends on

About Live Admin Chat

Allows players to open a live admin chat from Rust to Discord to get support.

Please delete the "LiveAdminChat.json" language file in "/oxide/lang/en/" before updating to version 1.2.3.

If you have any 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 chats
    • 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
    • Setting a custom cooldown value per player
       

CONFIGURATION:

You need to create a channel category just for LiveAdminChat.
Otherwise, the bot will say "Player is currently offline; message was not sent." because its looking for valid 17 digit channel names.
The channel name has to be a valid STEAM64ID in order to send messages to players.

Note: You can actually use this to your advantage. If you create a channel in the category with a players STEAM64ID, you can start sending messages back and forth without them starting a chat themselves.

Setup your bot according to the guide on the Discord extension plugin page: https://umod.org/extensions/discord
Also make sure your Discord bot has the following permissions in your server for the channel category and transcript channel:

  • View Channels
  • Send Messages
  • Read Message History
  • Embed Links
  • Attach Files
  • Read Message History


PERMISSIONS:

liveadminchat.use - required to allow players to use the /adminchat command.
liveadminchat.bypasscooldown - allows the player to bypass the chat cooldown

 

CHAT COMMANDS:

/adminchat - opens a live admin chat with Discord admins.
/reply <message> - sends the response from the player to the Discord admins.


CONSOLE COMMANDS:

Usage: liveadminchat.setcooldown <steam64id> <cooldown_minutes>
Usage: liveadminchat.removecooldown <steam64id>
Usage: liveadminchat.listcooldowns


DISCORD:

Admins can provide a reason for closing the chat by typing the reason after !close in the channel.
Anything after "!close" will be included in the reason.
Example: !close Closed due to no response

Admins can set the chat cooldown, in minutes, per player by using !cooldown in the chat channel.
If no cooldown is specified when the chat is closed, the cooldown will be set to the "Chat Cooldown (minutes)" value from the config.
Example: !cooldown 60


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 provided 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
}

 


User Feedback

1.5m

Downloads

Total number of downloads.

7.3k

Customers

Total customers served.

108.9k

Files Sold

Total number of files sold.

2.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.