I already checked everything over 10 times, but every time I load the plugin I get this error in console
[Oxide] 23:25 [Error] SmartChatBot v2.0.9: Failed to load config file (is the config file corrupt?) (Invalid property identifier character: {. Path '['Auto Responses'][0]['Auto Responses']', line 66, position 8.)
[Oxide] 23:25 [Error] [Smart Chat Bot] Your configuration file contains an error. Using default configuration values.
[Oxide] 23:25 [Error] SmartChatBot v2.0.9: Failed to load config file (is the config file corrupt?) (Invalid property identifier character: {. Path '['Auto Responses'][0]['Auto Responses']', line 66, position 8.)
[Oxide] 23:25 [Error] [Smart Chat Bot] Your configuration file contains an error. Using default configuration values.
I had this working before I added more auto responses, what am I doing wrong?
{
"Chat Prefix": "<color=#787FFF>ZomBot </color>",
"Show Chat Prefix": true,
"Bot Icon (SteamID)": 0,
"Cooldown Between Auto Responses For User": "1s",
"Global Cooldown Between Auto Responses": "2s",
"Use Default Chat (0), Chat Plus (1), Better Chat (2)": 0,
"Debug": false,
"Allow Multiple Auto Responses": true,
"Minimal Time Between Message And Answer": 1,
"Maximal Time Between Message And Answer": 5,
"Welcome Message": [
"Welcome, {name}!",
"Hello, dear {name}!",
"Hello, {name}! Your IP: {ip}"
],
"Welcome Message Enabled": false,
"Joining Message": [
"Welcome, {name} ({id}, {ip})!",
"Hello, dear {name} ({id}, {ip})!",
"{name} came from {country} ({countrycode})"
],
"Leaving Message": [
"Bye, {name} ({id}, {ip})!\nReason: {reason}",
"{name} ({id}, {ip}) left the game. Reason: {reason}",
"{name} from {country} ({countrycode}) just left the game!"
],
"Joining Message Enabled": false,
"Leaving Message Enabled": false,
"Show Joining Message To Player That Joined": false,
"Show Leaving Message To Player That Left": false,
"Auto Messages": [
{
"Permission": "smartchatbot.messages",
"Message Frequency": "5m",
"Auto Messages": [
{
"Is Enabled": false,
"Message": "Do not mind, I am just a stupid bot."
}
]
}
],
"Auto Responses": [
{
"Permission": "smartchatbot.response",
"Auto Responses": [
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"remove"
]
}
],
"Answers": [
"Type /remove to remove anything you place down"
]
}
],
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.25,
"Regex Enabled": false,
"Words": [
"vote",
"cant see",
"voteday",
"can't see"
]
}
],
"Answers": [
"Type /remove to remove anything you place down"
]
}
],
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"help"
]
}
],
"Answers": [
"Type /info for all your commands"
]
}
],
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"kit"
]
}
],
"Answers": [
"Type /kit for all your free kits"
]
}
],
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.33,
"Regex Enabled": false,
"Words": [
"admin",
"report",
"hacker"
]
}
],
"Answers": [
"Type /report to send a message to the admin"
]
}
],
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"decay"
]
}
],
"Answers": [
"Decay is ON"
]
}
],
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": true,
"Triggers": [
{
"Percentage Of Contained Words": 0.50,
"Regex Enabled": false,
"Words": [
"wipe",
"pvp"
]
}
],
"Answers": [
"Press ESCAPE and read the Server Description for PVP & WIPE information"
]
}
]
}
]
}