Plugin does not Refresh

 

Hey There

In my case the Plugin does not Refresh the Roles automaticly after a change was done. Its changing the Roles after reloading the Plugin... but not after a change.

here my Settings:

{
  "Discord Bot Token": "ODMyMjk1OTA3MTUxMTgzOTAz.YHht9w.VCzvIrQNTJv4GAILneoZhRpsloE",
  "Discord Server ID (Optional if bot only in 1 guild)": "600031455615254549",
  "Sync Nicknames": false,
  "Sync Clan Tag": false,
  "Update Rate (Seconds)": 2.0,
  "Use AntiSpam On Discord Nickname": false,
  "Action To Perform By Event": {
    "Events To Sync Server Groups -> Discord Roles": {
      "Sync On Plugin Load": true,
      "Sync On Player Connected": true,
      "Sync On Server Group Changed": true,
      "Sync On Discord Role Changed": true,
      "Sync On Discord Nickname Changed": false,
      "Sync On Player Linked / Unlinked": true,
      "Sync On User Join / Leave Discord Server": true
    },
    "Events To Sync Discord Roles -> Server Groups": {
      "Sync On Plugin Load": true,
      "Sync On Player Connected": true,
      "Sync On Server Group Changed": true,
      "Sync On Discord Role Changed": true,
      "Sync On Discord Nickname Changed": false,
      "Sync On Player Linked / Unlinked": true,
      "Sync On User Join / Leave Discord Server": true
    },
    "Events To Sync Discord Nickname": {
      "Sync On Plugin Load": true,
      "Sync On Player Connected": true,
      "Sync On Server Group Changed": false,
      "Sync On Discord Role Changed": false,
      "Sync On Discord Nickname Changed": true,
      "Sync On Player Linked / Unlinked": true,
      "Sync On User Join / Leave Discord Server": false
    }
  },
  "Sync Data": [
    {
      "Server Group": "testgruppe",
      "Discord Role ID": "958009072391716904",
      "Sync Source (Server or Discord)": "Discord",
      "Sync Notification Settings": {
        "Send message to Server": false,
        "Send Message To Discord": true,
        "Discord Message Channel ID": "958006051356180500",
        "Send Message When Added": true,
        "Send Message When Removed": true,
        "Server Message Added Override Message": "",
        "Server Message Removed Override Message": "",
        "Discord Message Added Override Message": "",
        "Discord Message Removed Override Message": ""
      }
    }
  ],
  "Plugin Log Level (None, Error, Warning, Info)": "Warning",
  "Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info"
}

 

The configuration looks correct to me. You can set Plugin Log Level to Info like below and it will provide more details as to what is going on.

"Plugin Log Level (None, Error, Warning, Info)": "Info",​

I now know the Problem!

i think theres a Bug .... if you turn

"Sync On Discord Nickname Changed": true,

its working with syncing the groups....

i will start with a quicklook on the Code. greetings