I'm unable to configure the join / leave messages correctly it seems. I'm sure it's something I'm overlooking, just been staring at it for too long.
{
"Chat Prefix": "<color=#a51111>Jack(Bot): </color>",
"Show Chat Prefix": true,
"Bot Icon (SteamID)": 0,
"Cooldown Between Auto Responses For User": "1s",
"Global Cooldown Between Auto Responses": "1s",
"Use Default Chat (0), Chat Plus (1), Better Chat (2)": 2,
"Debug": false,
"Allow Multiple Auto Responses": false,
"Minimal Time Between Message And Answer": 1,
"Maximal Time Between Message And Answer": 5,
"Welcome Message": [
"Welcome, {name}!",
"Hello, dear {name}!"
],
"Welcome Message Enabled": false,
"Joining Message": [
"Welcome and, enjoy your stay {name}!"
],
"Leaving Message": [
"Good Bye, {name}. Thanks for joining."
],
"Joining Message Enabled": true,
"Leaving Message Enabled": true,
"Show Joining Message To Player That Joined": true,
"Show Leaving Message To Player That Left": true,
"Auto Messages": [{
"Permission": "smartchatbot.messages",
"Message Frequency": "5m",
"Auto Messages": [{
"Is Enabled": false,
"Message": ""
}]
}],
"Auto Responses": [{
"Permission": "smartchatbot.response",
"Auto Responses": [{
"Is Enabled": true,
"Remove Message From Sender": true,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"!rules"
]
}],
"Answers": [
"\n* Rules *\n+ KOS is okay (see last rule)\n+ Server wipe 30 days or voted for\n+ Insta-ban actions: Racism, cheating..*will add as needed*\n+ *Try* to limit naked killings unless naked of equal caliber"
]
},
{
"Is Enabled": true,
"Remove Message From Sender": true,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"!help"
]
}],
"Answers": [
"\n!rules - Might want to read these\n!mods - List of installed mods\n!commands - List of available commands"
]
},
{
"Is Enabled": true,
"Remove Message From Sender": true,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"!backpack"
]
}],
"Answers": [
"\nPress 'F1' on keyboard\nType in the following..\nbind b backpack.open\nIf you use a controller; continue..\nAlt+Tab to Steam\nClick on settings 'gear' to the middle right of screen\nManage -> Controller Configuration (controller has to be on)\nFigure out how to map a key\nProfit!"
]
},
{
"Is Enabled": true,
"Remove Message From Sender": true,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"!skins"
]
}],
"Answers": [
"\nType in chat '/skin show' without ticks to display available skins"
]
},
{
"Is Enabled": true,
"Remove Message From Sender": true,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"!commands"
]
}],
"Answers": [
"\n* Commands *\n------------------\n!commands - *You are here*\n!help - Displays general help\n!mods - List of installed mods\n!rules - Displays rules\n!backpack - Display help for using backpack\n"
]
},
{
"Is Enabled": true,
"Remove Message From Sender": true,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"!mods"
]
}],
"Answers": [
"\n* Mod List *\n------------\n* - Denotes work in progress\n+ - Denotes testing in progress\n------------\nBackpack+\nInfo Panel+\nChat Bot*\nKill Feed+\nSam Site Auth+\nBlood Trail\nSpawn Kit\n2x Gather\nRanking\nQuick Smelt\nSigns\nSkins"
]
}
]
},
{
"Permission": "smartchatbot.admin",
"Auto Responses": [{
"Is Enabled": false,
"Remove Message From Sender": true,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [{
"Percentage Of Contained Words": 1,
"Regex Enabled": true,
"Words": [
"!ping"
]
}],
"Answers": [
"This is a test message"
]
}
]
}
]
}I figured it was a permissions issue but I triple checked and, the 'default' group has permissions of below.
Otherwise the bot works flawlessly. I appreciate that!
I used JSONLint to verify the config file and, it checked out in addition I'm not getting any error messages when starting / restarting server so, it's got to be something I'm doing. Any help would be greatly appreciated!
Regards,
Snow