fixed /warn error
added bans-usage in config.yml, fixed output if use /bans without arguments
changed orange warn color (embed) + some improvements
added new command /banlist (aliases: /bans, /banslist).
use /banlist bans to see perm bans
use /banlist tempbans to see temp bans
use /banlist all to see all bans (temp + perm)
fixed /unwarn error
fixed /unwarn, /mute, /unmute now properly display messages even if DiscordSRV is not used or the player is not linked fixed /unmute issue
fixed arguments for /unban
fixed /unmute /unwarn /unban error
fixed /discordbans reload dont reload mute-blocked-command
Added blocked command for mute (mute-blocked-command in config.yml), fixed color mute-usage
fixed error when using /mute without arguments
fixed that players cant use /discordbans version without permission discordbansn.reload
The settings for bot activity in discord have been returned,
config.yml:
+general-activity-type
+general-activity-name
Added new stats for bstats "DiscordSRV Hook"
Returned boolean rwarn-ban-after-3, if true plugin will be automatically ban player after 3 red warns, if false plugin will do nothing
Added a new database type: MySQL. Now you can use not only a local database but also a remote one. Fixed an issue with /unban when the command was used on a player who was not banned. Added an alias for /unban - /pardon.
Added a new argument version to the /discordbans command. Implemented a completer for /discordbans. If the command is used without arguments, it will now display the same message as /discordbans version.
Fixed an issue for the /warn slash command: if the type of the warning was red, you couldn't issue it without specifying a time.
The "check for updates" function has been returned, which will check every time you run the plugin whether you are updated to the latest version of the plugin, you can turn it off in config.yml
Code optimize



