Getting an error.Solved

hello am getting

Failed to call hook 'OnServerInitialized' on plugin 'GUIAnnouncements v2.0.6' (ArgumentException: An item with the same key has already been added. Key: 10/21/2023 06:00:00)

at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000dd] in <2161c9885dd04ff291b79db9349c4b9b>:0

at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0

at Oxide.Plugins.GUIAnnouncements.GetNextRestart (System.Collections.Generic.List`1[T] DateTimes) [0x0009f] in <0d56de4f7e3c4022a2e6a7d83a17f7d0>:0

at Oxide.Plugins.GUIAnnouncements.RestartAnnouncementsStart () [0x0008c] in <0d56de4f7e3c4022a2e6a7d83a17f7d0>:0

at Oxide.Plugins.GUIAnnouncements.OnServerInitialized () [0x0019e] in <0d56de4f7e3c4022a2e6a7d83a17f7d0>:0

at Oxide.Plugins.GUIAnnouncements.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00780] in <0d56de4f7e3c4022a2e6a7d83a17f7d0>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0

Can you post your entire config please? Use the insert/edit code sample tool so it's nicer to read.

{
  "A List Of Available Colors To Use (DO NOT CHANGE)": {
    "Banner Colors": "Grey, Red, Orange, Yellow, Green, Cyan, Blue, Purple",
    "Text Colors": "White, Red, Orange, Yellow, Green, Cyan, Blue, Purple"
  },
  "General Settings": {
    "Adjust Vertical Position": 0.0,
    "Announcement Duration": 10.0,
    "Fade In Time": 0.5,
    "Fade Out Time": 0.5,
    "Font Size": 18
  },
  "Private New Player Announcements": {
    "Announcements List (Show On This Many Joins : List To Show)": {
      "1": [
        "1st Join {rank} {playername} New player announcement 1.",
        "1st Join {rank} {playername} New player announcement 2.",
        "1st Join {rank} {playername} New player announcement 3."
      ],
      "2": [
        "2nd Join {rank} {playername} New player announcement 1.",
        "2nd Join {rank} {playername} New player announcement 2.",
        "2nd Join {rank} {playername} New player announcement 3."
      ],
      "3": [
        "3rd Join {rank} {playername} New player announcement 1.",
        "3rd Join {rank} {playername} New player announcement 2.",
        "3rd Join {rank} {playername} New player announcement 3."
      ]
    },
    "Banner Color": "Grey",
    "Enabled": false,
    "Text Color": "White"
  },
  "Private Respawn Announcements": {
    "Announcements List": [
      "{playername} Respawn announcement 1.",
      "{playername} Respawn announcement 2.",
      "{playername} Respawn announcement 3."
    ],
    "Banner Color": "Grey",
    "Enabled": false,
    "Text Color": "White"
  },
  "Private Test Announcement": {
    "Adjust Vertical Position": 0.0,
    "Banner Color": "Grey",
    "Duration": 10.0,
    "Fade In Time": 0.5,
    "Fade Out Time": 0.5,
    "Font Size": 18,
    "Text Color": "White"
  },
  "Private Welcome Announcements": {
    "Banner Color": "Grey",
    "Delay": 0.0,
    "Duration": 20.0,
    "Enabled": false,
    "Show Welcome Back If Player Has Been Here Before": false,
    "Text Color": "White",
    "Welcome Back Text": "Welcome back {playername}! There are {playercount} player(s) online.",
    "Welcome Text": "Welcome {playername}! There are {playercount} player(s) online."
  },
  "Public Airdrop Announcements": {
    "Banner Color": "Green",
    "Enabled": false,
    "Show Location": false,
    "Text": "Airdrop en route!",
    "Text Color": "Yellow",
    "Text With Grid": "Airdrop en route to {grid}."
  },
  "Public Automatic Game Time Announcements": {
    "Announcement List (Show at this in game time : Announcements to show)": {
      "00:00": [
        "The in game time is 00:00 announcement 1.",
        "The in game time is 00:00 announcement 2.",
        "The in game time is 00:00 announcement 3."
      ],
      "12:00": [
        "The in game time is 12:00 announcement 1.",
        "The in game time is 12:00 announcement 2.",
        "The in game time is 12:00 announcement 3."
      ],
      "18:15": [
        "The in game time is 18:15 announcement 1.",
        "The in game time is 18:15 announcement 2.",
        "The in game time is 18:15 announcement 3."
      ]
    },
    "Banner Color": "Grey",
    "Enabled": false,
    "Text Color": "White"
  },
  "Public Automatic Real Time Announcements": {
    "Announcement List (Show at this local time : Announcements to show)": {
      "00:00": [
        "The local time is 00:00 announcement 1.",
        "The local time is 00:00 announcement 2.",
        "The local time is 00:00 announcement 3."
      ],
      "12:00": [
        "The local time is 12:00 announcement 1.",
        "The local time is 12:00 announcement 2.",
        "The local time is 12:00 announcement 3."
      ],
      "18:15": [
        "The local time is 18:15 announcement 1.",
        "The local time is 18:15 announcement 2.",
        "The local time is 18:15 announcement 3."
      ]
    },
    "Banner Color": "Grey",
    "Enabled": false,
    "Text Color": "White"
  },
  "Public Automatic Timed Announcements": {
    "Announcement List": [
      [
        "1st Automatic Timed Announcement 1",
        "1st Automatic Timed Announcement 2"
      ],
      [
        "2nd Automatic Timed Announcement 1",
        "2nd Automatic Timed Announcement 2"
      ],
      [
        "3rd Automatic Timed Announcement 1",
        "3rd Automatic Timed Announcement 2"
      ]
    ],
    "Banner Color": "Grey",
    "Enabled": false,
    "Show Every (HH:MM:SS)": "00:30:00",
    "Text Color": "White"
  },
  "Public Bradley APC Announcements": {
    "Destroyed": false,
    "Destroyed Banner Color": "Red",
    "Destroyed Text": "The APC has been destroyed.",
    "Destroyed Text Color": "White",
    "Destroyed With Destroyer Text": "{playername} got the last shot on the APC destroying it!",
    "Show Destroyer": false,
    "Spawn": false,
    "Spawn Banner Color": "Red",
    "Spawn Text": "An APC is patrolling the launch site!",
    "Spawn Text Color": "Yellow"
  },
  "Public Cargoship Announcements": {
    "Leave": false,
    "Leave Banner Color": "Blue",
    "Leave Text": "The cargoship is departing.",
    "Leave Text Color": "White",
    "Spawn": false,
    "Spawn Banner Color": "Blue",
    "Spawn Text": "Cargoship ahoy!",
    "Spawn Text Color": "Yellow"
  },
  "Public Chinook Announcements": {
    "Announce Crate Drops": false,
    "Crate Dropped Banner Color": "Red",
    "Crate Dropped Text": "The Chinook has dropped a crate!",
    "Crate Dropped Text Color": "Yellow",
    "Crate Dropped Text With Grid": "The Chinook has dropped a crate in {grid}.",
    "Despawn": false,
    "Despawn Banner Color": "Red",
    "Despawn Text": "The Chinook has left.",
    "Despawn Text Color": "White",
    "Destroyed": false,
    "Destroyed Banner Color": "Red",
    "Destroyed Text": "The Chinook has been taken down!",
    "Destroyed Text Color": "White",
    "Destroyed Text With Destroyer": "{playername} got the last shot on the Chinook taking it down!",
    "Show Crate Drop Location": false,
    "Show Destroyer": false,
    "Spawn": false,
    "Spawn Banner Color": "Red",
    "Spawn Text": "Chinook inbound!",
    "Spawn Text Color": "Yellow"
  },
  "Public Christmas Stocking Refill Announcement": {
    "Banner Color": "Green",
    "Enabled": false,
    "Text": "Santa has refilled your stockings. Go check what you've got!",
    "Text Color": "Red"
  },
  "Public Helicopter Announcements": {
    "Despawn": false,
    "Despawn Banner Color": "Red",
    "Despawn Text": "The patrol helicopter has left.",
    "Despawn Text Color": "White",
    "Destroyed": false,
    "Destroyed Banner Color": "Red",
    "Destroyed Text": "The patrol helicopter has been taken down!",
    "Destroyed Text Color": "White",
    "Destroyed Text With Destroyer": "{playername} got the last shot on the helicopter taking it down!",
    "Show Destroyer": false,
    "Spawn": false,
    "Spawn Banner Color": "Red",
    "Spawn Text": "Patrol Helicopter Inbound!",
    "Spawn Text Color": "Orange"
  },
  "Public Join/Leave Announcements": {
    "Announce Only Players With Permission": true,
    "Join Banner Color": "Grey",
    "Join Enabled": false,
    "Join Text": "{rank} {playername} has joined.",
    "Join Text Color": "White",
    "Leave Banner Color": "Grey",
    "Leave Enabled": false,
    "Leave Text": "{rank} {playername} has left.",
    "Leave Text Color": "Red"
  },
  "Public Oil Rig Crate Hack Announcements": {
    "Banner Color": "Orange",
    "Enabled": false,
    "Hack Text": "An oil rig crate is being hacked!",
    "Hack Text With Large Oil Rig": "The large oil rig crate is being hacked!",
    "Hack Text With Small Oil Rig": "The small oil rig crate is being hacked!",
    "Specify Which Oil Rig": false,
    "Text Color": "Yellow"
  },
  "Public Player Banned Announcement": {
    "Banner Color": "Grey",
    "Enabled": true,
    "Text": "{playername} has been banned. {reason}.",
    "Text Color": "Red"
  },
  "Public Restart Announcements": {
    "Announce With Time Left (HH:MM:SS)": [
      "12:00:00",
      "11:00:00",
      "10:00:00",
      "09:00:00",
      "08:00:00",
      "07:00:00",
      "06:00:00",
      "05:00:00",
      "04:00:00",
      "03:00:00",
      "02:00:00",
      "01:00:00",
      "00:45:00",
      "00:30:00",
      "00:15:00",
      "00:05:00"
    ],
    "Banner Color": "Grey",
    "Cancelled Scheduled Restart Text": "The restart in {time} has been cancelled.",
    "Enabled": true,
    "Restart Announcement Text": "Restarting in {time}",
    "Restart At (HH:MM:SS)": [
      "06:00:00",
      "06:00:00"
    ],
    "Restart My Server": false,
    "Suspended Restart Text": "The restart in {time} has been suspended.",
    "Text Color": "White"
  },
  "Third Party Plugin Support": {
    "Do Not Overlay LustyMap": false,
    "LustyMap Position (Left/Right)": "Left"
  }
}

You've got the same entry twice here under the restart announcements section:

    "Restart At (HH:MM:SS)": [
      "06:00:00",
      "06:00:00"
    ],

You need to remove one, and make sure you don't have the same time entered twice.

10B9eLMqJ0sGH9N.png JoeSheep

You've got the same entry twice here under the restart announcements section:

    "Restart At (HH:MM:SS)": [
      "06:00:00",
      "06:00:00"
    ],

You need to remove one, and make sure you don't have the same time entered twice.

thank you lol. im dumb

Locked automatically