Added filter command. If the stats is filtered, the data of the players will not be saved. (/dcstats filter <name>)
For example, fixed the 'Stats already exists' bug when you tried to create a stats named 'KillsTest' while there is a stats named 'Kills'
Thanks to MySQL support, you may want to show the data of more than one server in the same embed message, or you can use it for another purpose.
If you want to show multiple server data in one embed message Connect all servers to the same database
If you don't want to show multiple server data in one embed message Create a new database for each server on MySQL like: 'discordstats_server1, discordstats_server2'
Code (YAML):
# Database settings, if set to false, SQLite is used
# 1- If you want to show multiple server data in one embed message # Connect all servers to the same database
# 2- If you don't want to show multiple server data in one embed message # Create a new database for each server on MySQL like: 'discordstats_server1, discordstats_server2' # Otherwise, data may conflict mysql:
enabled: false
host: localhost
port: 3306
database: discordstats_server1
username: root
password: 1234
use-ssl: false