Closed Firav closed 2 years ago
Hello, it could be because:
Hello, it could be because:
1. You have disabled warn notifications in the config by emptying the "warn" string; or 2. You have a bad formatted warn.json file and so it failed to load
The warn notification is enabled for "{embed:warn}" and the json does not throw exceptions when being parsed. I've also reset the warn.json back to factory, still having the same results.
Have you restarted the server after you deleted the old warn.json file?
Yes. The plugin generates a new default, and still does not function.
Make a backup of your current BanAnnouncer configuration and then delete the plugins > BanAnnouncer
folder entirely (with the server off), let the plugin regenerate it (start the server) and then configure your channel in BA's config, make a warning and see if it appears on Discord.
This is to see if this is an internal issue with the plugin or if it was caused by a configuration.
Followed your instructions, and functionality resumed. I'll have to look into the configuration issue. Thank you for the help!
Howdy!
Upon using /warn within LiteBans, an error is displayed in console and no Discord message for punishment type warn is sent.
[02:48:20 INFO]: Firav issued server command: /warn DeanGulberry More platonic warnings! [02:48:20 INFO]: [BanAnnouncer] [STDOUT] Message is null, ignoring it. [02:48:20 WARN]: Nag author(s): '[OopsieWoopsie]' of 'BanAnnouncer' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger). [02:48:20 INFO]: Firav warned DeanGulberry for 'More platonic warnings!'
Screenshot:
Versions: BanAnnouncer 2.6.3 (post #94 hotfix) Spicord 4.2.2 LiteBans 2.10.3 Paper 131 (1.19.2 - 2da891f)