Join/leave messages not showing
All,

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!

Permissions

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

Hey,
Are other players able to see the messages? What if you enable debug in configuration and join the server? (You can disable it after you make the screenshot :))
5b6ed4c9ac8e4.jpg misticos
Hey,
Are other players able to see the messages? What if you enable debug in configuration and join the server? (You can disable it after you make the screenshot :))

Thank you for the speedy response!

No other players can see the join / leave messages but, can use the chat commands.

I enabled debugging and, restarted server to be through instead of reloading plugins.

These are the only things I've noticed thus far..

[Smart Chat Bot] Detected Better Chat. Make sure you enabled it in your configuration.
[Smart Chat Bot] DEBUG: Handling Message Group (ID: 0)
[Smart Chat Bot] DEBUG: Handling Response Group (ID: 0)
[Smart Chat Bot] DEBUG: Handling Response Group (ID: 1)
Server startup complete

Snow has spawned
[Smart Chat Bot] DEBUG: Called OnBetterChat
[Smart Chat Bot] DEBUG: Called HandleChatMessage
[Smart Chat Bot] DEBUG: tNow: 1595704367
[Smart Chat Bot] DEBUG: lastSent: 0
[Smart Chat Bot] DEBUG: Matched: 0
[Smart Chat Bot] DEBUG: Matched: 1
[Smart Chat Bot] DEBUG: Matched message
[Smart Chat Bot] DEBUG: Matched. Changing cooldown info.

Thank you again for your help!

Alright I will take a look a bit later.
5b6ed4c9ac8e4.jpg misticos
Alright I will take a look a bit later.

No problem, take all the time you need. I appreciate any help.

5b6ed4c9ac8e4.jpg misticos
Alright I will take a look a bit later.

Hello! I just wanted to touch base and, see if you had a chance to review the code I pasted.

I'm still at a loss. It's acting like the chat bot doesn't have permissions to say the welcome/join/exit messages.