Color not being recognized as validFixed
(08:46:54) | Unloaded plugin GUIAnnouncements v2.0.1 by JoeSheep
(08:46:54) | [GUIAnnouncements] "Public Oil Rig Crate Hack Announcements - Text Color: White" is not a valid color, resetting to default.
(08:46:54) | [GUIAnnouncements] "Public Restart Announcements - Banner Color: White" is not a valid color, resetting to default.
(08:46:54) | [GUIAnnouncements] Configuration file has been updated.
(08:46:54) | [GUIAnnouncements] Next restart is in 00:12:54 at 09:00:00
(08:46:54) | Loaded plugin GUIAnnouncements v2.0.1 by JoeSheep

{
  "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.06,
    "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": [
      "Welcome back from the Dead...  Try to stay alive this time."
    ],
    "Banner Color": "Grey",
    "Enabled": true,
    "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": 10.0,
    "Enabled": true,
    "Show Welcome Back If Player Has Been Here Before": true,
    "Text Color": "White",
    "Welcome Back Text": "Welcome back {playername} (o: There are {playercount} player(s) online.",
    "Welcome Text": "Welcome {playername} (o: There are {playercount} player(s) online."
  },
  "Public Airdrop Announcements": {
    "Banner Color": "Grey",
    "Enabled": true,
    "Show Location": false,
    "Text": "Airdrop incoming!",
    "Text Color": "White",
    "Text With Grid": "Airdrop en route to {grid}."
  },
  "Public Automatic Game Time Announcements": {
    "Announcement List (Show at this in game time : Announcements to show)": {
      "08:00": [
        "Rise and Shine Survivors, It's a new day in the post apocalypse world."
      ]
    },
    "Banner Color": "Grey",
    "Enabled": true,
    "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": true,
    "Destroyed Banner Color": "Grey",
    "Destroyed Text": "Bradley has been destroyed.",
    "Destroyed Text Color": "White",
    "Destroyed With Destroyer Text": "{playername} just destroyed Bradley!",
    "Show Destroyer": true,
    "Spawn": true,
    "Spawn Banner Color": "Grey",
    "Spawn Text": "Bradley has spawned!",
    "Spawn Text Color": "White"
  },
  "Public Cargoship Announcements": {
    "Leave": true,
    "Leave Banner Color": "Grey",
    "Leave Text": "The cargoship is departing.",
    "Leave Text Color": "White",
    "Spawn": true,
    "Spawn Banner Color": "Grey",
    "Spawn Text": "Cargoship inbound!",
    "Spawn Text Color": "Yellow"
  },
  "Public Chinook Announcements": {
    "Announce Crate Drops": true,
    "Crate Dropped Banner Color": "Grey",
    "Crate Dropped Text": "A Chinook has dropped a crate!",
    "Crate Dropped Text Color": "White",
    "Crate Dropped Text With Grid": "A Chinook has dropped a crate in {grid}.",
    "Despawn": true,
    "Despawn Banner Color": "Grey",
    "Despawn Text": "A Chinook has left.",
    "Despawn Text Color": "White",
    "Destroyed": true,
    "Destroyed Banner Color": "Grey",
    "Destroyed Text": "A 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": true,
    "Show Destroyer": true,
    "Spawn": true,
    "Spawn Banner Color": "Grey",
    "Spawn Text": "A Chinook is inbound!",
    "Spawn Text Color": "White"
  },
  "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": true,
    "Despawn Banner Color": "Grey",
    "Despawn Text": "Pattie  is leaving.",
    "Despawn Text Color": "White",
    "Destroyed": true,
    "Destroyed Banner Color": "Grey",
    "Destroyed Text": "Pattie has been taken down!",
    "Destroyed Text Color": "White",
    "Destroyed Text With Destroyer": "{playername} got the last shot on Pattie, taking her down!",
    "Show Destroyer": true,
    "Spawn": true,
    "Spawn Banner Color": "Grey",
    "Spawn Text": "Heads Up - Patricia is coming!",
    "Spawn Text Color": "White"
  },
  "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": "White"
  },
  "Public Oil Rig Crate Hack Announcements": {
    "Banner Color": "Grey",
    "Enabled": true,
    "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": "White"
  },
  "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)": [
      "03:00:00",
      "02:00:00",
      "01:00:00",
      "00:45:00",
      "00:30:00",
      "00:15:00",
      "00:10:00",
      "00:05:00",
      "00:04:00",
      "00:03:00",
      "00:02:00",
      "00:01:00"
    ],
    "Banner Color": "White",
    "Cancelled Scheduled Restart Text": "The restart in {time} has been cancelled.",
    "Enabled": true,
    "Restart Announcement Text": "Restarting in {time}",
    "Restart At (HH:MM:SS)": [
      "09:00:00"
    ],
    "Restart My Server": true,
    "Suspended Restart Text": "The restart in {time} has been suspended.",
    "Text Color": "Red"
  },
  "Third Party Plugin Support": {
    "Do Not Overlay LustyMap": false,
    "LustyMap Position (Left/Right)": "Left"
  }
}​

Plus, I get this at restart countdown:

(08:59:33) | [GUIAnnouncements] Banner color not found.
(08:59:34) | [GUIAnnouncements] Banner color not found.
(08:59:35) | [GUIAnnouncements] Banner color not found.
(08:59:36) | [GUIAnnouncements] Banner color not found.
(08:59:37) | [GUIAnnouncements] Banner color not found.
(08:59:38) | [GUIAnnouncements] Banner color not found.
(08:59:39) | [GUIAnnouncements] Banner color not found.
(08:59:40) | [GUIAnnouncements] Banner color not found.
(08:59:41) | [GUIAnnouncements] Banner color not found.
(08:59:42) | [GUIAnnouncements] Banner color not found.
(08:59:43) | [GUIAnnouncements] Banner color not found.
(08:59:44) | [GUIAnnouncements] Banner color not found.
(08:59:45) | [GUIAnnouncements] Banner color not found.
(08:59:46) | [GUIAnnouncements] Banner color not found.
(08:59:47) | [GUIAnnouncements] Banner color not found.
(08:59:48) | [GUIAnnouncements] Banner color not found.


Merged post

I know that "White" is not a valid banner color, but the plugin says it resets the color to default, but still gives errors during restart countdown if plugin hasn't been reloaded after the "color reset".
(That is of course a minor issue)

 



Merged post

Oh...

Line 631 BColor should be TColor.

Woops! You're right, apparently when copy and pasting lines I forgot to change 631 and 633.

The plugin should be reloading the config at the end of loading the config if any of the values had to be reset to default so I will check that before I push the update.

Thanks for posting!



Merged post

Update has been posted to fix these issues.
Still getting this: 

(16:52:38) | Unloaded plugin GUIAnnouncements v2.0.3 by JoeSheep
(16:52:38) | [GUIAnnouncements] "Public Oil Rig Crate Hack Announcements - Text Color: White" is not a valid color, resetting to default.
(16:52:38) | [GUIAnnouncements] Configuration file has been updated.
(16:52:38) | [GUIAnnouncements] Next restart is in 16:07:12 at 09:00:00
(16:52:38) | Loaded plugin GUIAnnouncements v2.0.3 by JoeSheep

Merged post

Oh...

L633 CheckBannerColor > CheckTextColor

Wow I can do some stupid mistakes sometimes.

I'll get this fixed and upload another update.

Locked automatically