I've recently had this plugin display odd behavior.
Specifically, whenever a player leaves the server, I get the following message in the console:[Discord Logger] DiscordSendMessage: webhookUrl is null or empty!
This is unexpected, as my configuration file should have prevented this from occurring:
"Player disconnect settings": {
"WebhookURL": "",
"Enabled?": false
},I've confirmed that it's the plugin's
OnPlayerDisconnected function being called, as editing this function to print additional data results in said data being written to the console:xxx.xxx.xxx.xxx:xxxx/7656xxxxxxxxxxxxx/username disconnecting: disconnect
[Discord Logger] DiscordSendMessage: webhookUrl is null or empty!
[Discord Logger] Message: :x: username disconnected (Disconnected)That said, if I edit the function which registers the function subscription, it appears the registration never occurs.