Discord to Server messages not workingSolved

Hey 

 

I have read through every post and cant seem to find support on the issue I am having. I can get the plugin to send messages in to my discord from the server including global chat, team chat and login/logout info - the issue I am having is when trying to send a message from the discord channel to the server... the message gets deleted in the chat and never makes it to my Rust server. I am new to all of this so may need to provide more info but please see below: 

 

Discord Chat:

"Chat Channel name or id": "discord-to-rust-chat",
"Team Channel name or id": "discord-to-rust-chat",
"Join / Leave Channel name or id": "discord-to-rust-chat",
"Server Time Offset (Hours)": 7.0,
"Add discord tag to chat": true,
"Use bot to display message": true,
"Send messages from server to discord": true,
"Send messages from discord to server": true,
"Discord tag text": "Discord",
"Discord tag color": "5f79d6",
"Ignore messages from users in this list (Discord ID)": [],
"Text Filter": {
"@everyone": "everyone",
"@here": "here"
},
"Ignored Commands": [
"!rust"
],
"Plugin Support": {
"AdminChat Settings": {
"Exclude from chat channel": false,
"Admin chat channel": "admin-chat",
"Admin Chat Prefix": "@",
"Enable AdminChat Plugin Support": true
},
"ChatTranslator Settings": {
"Discord Server Chat Language": "en"

 

Discord Core:

"Discord API Key": "(removed by user)",
"Enable Discord Extension Debugging": false,
"Bot Guild ID (Can be left blank if bot in only 1 guild)": "(removed by user)",
"Discord Join Code": "",
"Discord Server Name Override": "",
"Enable Commands In Bot Channel": true,
"Bot Channel Name or Id": "bot",
"Link / Unlink Announcement Channel Name or Id": "",
"In Game Chat Command": "dc",
"In Game Join Command": "join",
"In Game Leave Command": "leave",
"Discord Bot Join Command": "join",
"Discord Bot Plugins Command": "plugins",
"Discord Bot Help Command": "help",
"Discord Bot Leave Command": "leave",
"Discord Bot Commands Command": "commands",
"Enable Discord Server Join Notification": true,
"Enable Linking Discord To Rust": true,
"Use DiscordAuth": false,
"Use DiscordConnect": false,
"Use External Hooks": false,
"Discord Linking Code Characters": "0123456789",
"Discord Linking Code Length": 6,
"Time until heartbeat is considered to have timed out.": 120,
"Enable join command not being used in DM message (Non Bot Channel)": true,
"Enable join command not being used in DM message (Bot Channel)": true

 

Any help would be appreciated - i am going round in circles at the minute! 

Can you post all the logs that show in the server console when you do o.reload DiscordCore and o.reload DiscordChat.

Sure - see below: 

Discord Core:

Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
DiscordCore was compiled successfully in 2262ms 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Unloaded plugin Discord Core v0.17.0 by MJSU 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Fallback handler could not load library D:/TCAFiles/Users/stephenp2/4107628/RustDedicated_Data/Mono/data-00000153AC027030.dll
Loaded plugin Discord Core v0.17.0 by MJSU 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Extension] [Warning]: Discord socket opened! 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Extension] [Warning]: Your bot was found in 1 Guilds! 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] Connected to bot: Pixel Pete 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] Discord connected to server: PIXEL PLAYGROUND 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] Bot channel is enabled but there is no channel found with name or id 'bot' on the discord server 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] 26 Guild Discord Members Loaded 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] 0 Chunk Discord Members Loaded 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] 26 Total Discord Members Loaded 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] Channel not found in guild: admin-chat 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] Discord Core Ready 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

 

Discord Chat:

Unloaded plugin Discord Chat v1.0.8 by MJSU 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
[Discord Core] Channel not found in guild: admin-chat 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Loaded plugin Discord Chat v1.0.8 by MJSU 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

That looks correct. Have you linked your discord and rust accounts?

Yes i can get Rust to send info to Discord, i have a Bot that shows server info on discord and i have DiscordEvents that sends notifications into a Discord server when there are things happening in the game so my understanding is they are linked - any other ides what i might be missing? 

Did you follow the steps here: https://umod.org/plugins/discord-core#linking You need to link your discord and rust accounts with Discord Core so it knows who is trying to talk and display the right user on the server.

Ahh! I must have totally missed that thank you so much for the support. Just a quick one - when i do type in Discord it goes through to the server with my username, is there a way i can change this to 'Admin'? 

There is no way to currently display it as admin name. If you have better chat setup can always just have the admin tag set for your player.

Locked automatically