New version dont sent message to server.Fixed
csaszykj

Hi,

If it's hosted server - like mine, you need to update first the DiscordAPI.

Once it's done, remove from the Oxide / Config folder the DiscordChat.json ( save it on your PC as backup ).
Then once you removed / deleted from the Config folder the DiscordChat.json - reload from the console the DiscordChat.cs.

Once it's reloaded, it's gonna create a new Oxide/Config/DiscordChat.json.

Open with editor the new DiscordChat.json, and copy & paste from the BACKUP DiscordChat.json - Discord Bot Token.

Save the new DiscordChat.json, copy to the server Oxide/Config folder, then restart the server.

Job done.



Merged post

I wish it's done, but after doing the above mentioned, no Connections norΒ  Chat notifications at all.πŸ˜”

On my server the error stopped (Line: 8, Pos: 25) appearing but there is also no connection.

csaszykj

Hi,

If it's hosted server - like mine, you need to update first the DiscordAPI.

Once it's done, remove from the Oxide / Config folder the DiscordChat.json ( save it on your PC as backup ).
Then once you removed / deleted from the Config folder the DiscordChat.json - reload from the console the DiscordChat.cs.

Once it's reloaded, it's gonna create a new Oxide/Config/DiscordChat.json.

Open with editor the new DiscordChat.json, and copy & paste from the BACKUP DiscordChat.json - Discord Bot Token.

Save the new DiscordChat.json, copy to the server Oxide/Config folder, then restart the server.

Job done.



Merged post

I wish it's done, but after doing the above mentioned, no Connections norΒ  Chat notifications at all.πŸ˜”

I also have this problem

Β 

having same issue, everything loaded without issue but i cant chat from discord to in-game. no error or anything shown in console. im using latest version of this plugin, and latest discord extension 3.0.2. im running server on carbon latest version as of 18th Oct 2024

JO72yySHxmVfdYo.jpg abcde

having same issue, everything loaded without issue but i cant chat from discord to in-game. no error or anything shown in console. im using latest version of this plugin, and latest discord extension 3.0.2. im running server on carbon latest version as of 18th Oct 2024

Did you confirm your config has everything configured? The config was completely redone.

MJSU

Did you confirm your config has everything configured? The config was completely redone.

We believe in your work my man.

It's just simply not working for us.

Everything setup, as it should - im my case

csaszykj

We believe in your work my man.

It's just simply not working for us.

Everything setup, as it should - im my case

Add me on Discord "MJSU" will be easier to see what's going on.

MJSU

Add me on Discord "MJSU" will be easier to see what's going on.

I've added you mate.

Thanks.

I reset my old config, I reset language file, reset my discord's bot token. But still not working, bot in discord doesn't show any chat from in-game, and chat from discord is not being forwarded into in-game.

When I load the plugin, it does show these though:

Loaded plugin Discord Chat v3.0.3 by MJSU [254ms]
[Discord Chat] Discord Chat Ready​

I am using Carbon.



Merged post

Apology, ignore my last comment. I got it fixed now. For some reason the new version wiped all the channel ID from the existing config.
@MJSU Any fix for this? It connects but same thing..discord wont send back to game chat.
@fantastik1, did you configure your BOT token? Its working for me (FYI, I'm using Carbon). Make sure you're using latest version of Discord extension.

Here's my json config:
{
  "Discord Bot Token": "DAxNTQ4NMTI1MzQ0NjREDACTED.G-zICy.n7UL4U3q5Wqc8KceQJIyZNolLwkxxxREDACTED",
  "Chat Settings": {
    "Chat Channel ID": "12030364XXXX",
    "Team Channel ID": "",
    "Cards Channel ID": "",
    "Clans Channel ID": "",
    "Replace Discord User Message With Bot Message": false,
    "Send Messages From Server Chat To Discord Channel": true,
    "Send Messages From Discord Channel To Server Chat": true,
    "Add Discord Tag To In Game Messages When Sent From Discord": "[#5f79d6][Discord][/#]",
    "Allow plugins to process Discord to Server Chat Messages": true,
    "Text Replacements": {
      "TextToBeReplaced": "ReplacedText"
    },
    "Unlinked Settings": {
      "Allow Unlinked Players To Chat With Server": true,
      "Steam Icon ID": 76561############
    },
    "Message Filter Settings": {
      "Ignore messages from users in this list (Discord ID)": [],
      "Ignore messages from users in this role (Role ID)": [],
      "Ignored Prefixes": []
    }
  },
  "Player State Settings": {
    "Player State Channel ID": "",
    "Show Admins": true,
    "Send Connecting Message": true,
    "Send Connected Message": true,
    "Send Disconnected Message": true
  },
  "Server State Settings": {
    "Server State Channel ID": "",
    "Send Booting Message": true,
    "Send Online Message": true,
    "Send Shutdown Message": true
  },
  "Plugin Support": {
    "AdminChat Settings": {
      "Enable AdminChat Plugin Support": false,
      "Chat Channel ID": "",
      "Chat Prefix": "@",
      "Replace Discord Message With Bot": true
    },
    "AntiSpam Settings": {
      "Use AntiSpam On Player Names": false,
      "Use AntiSpam On Server Messages": false,
      "Use AntiSpam On Chat Messages": false,
      "Use AntiSpam On Plugin Messages": false,
      "Use AntiSpam On Team Messages": false,
      "Use AntiSpam On Card Messages": false,
      "Use AntiSpam On Clan Messages": false
    },
    "BetterChat Settings": {
      "Max BetterChat Tags To Show When Sent From Discord": 10,
      "Max BetterChat Tags To Show When Sent From Server": 10
    },
    "BetterChatMute Settings": {
      "Ignore Muted Players": true,
      "Send Muted Notification": true
    },
    "ChatTranslator Settings": {
      "Enable Chat Translator": false,
      "Use ChatTranslator On Server Messages": false,
      "Use ChatTranslator On Chat Messages": false,
      "Use ChatTranslator On Plugin Messages": false,
      "Use ChatTranslator On Team Messages": false,
      "Use ChatTranslator On Card Messages": false,
      "Use ChatTranslator On Clan Messages": false,
      "Discord Server Chat Language": "en"
    },
    "Clan Settings": {
      "Clans Chat Channel ID": "",
      "Alliance Chat Channel ID": ""
    },
    "UFilter Settings": {
      "Use UFilter On Player Names": false,
      "Use UFilter On Server Messages": false,
      "Use UFilter On Discord Messages": false,
      "Use UFilter On Plugin Messages": false,
      "Use UFilter On Team Messages": false,
      "Use UFilter On Card Messages": false,
      "Use UFilter On Clan Messages": false,
      "Replacement Character": "*"
    }
  },
  "Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info"
}​
@abcde Fix is coming. Admindeepcover caused the issue.
Locked automatically