✅ We've made significant improvements to the code handling MySQL connections. Now, when processing requests for "/bedwars stats player: <player> discord", we've ensured minimal data loss caused by multiple MySQL connections. This optimization reduces the burden of requests on the system and ensures more efficient handling of information.
Additionally, we've implemented a caching system that stores data for 60 seconds. This means that within that period, data can be accessed quickly without the need to repeatedly query the database. To maintain optimal performance, we've also scheduled the removal of unnecessary data every 60 minutes.
These improvements not only increase the system's responsiveness but also ensure more efficient resource management, thereby enhancing the overall user experience.
✅ Now you can delete discord embed settings such as description, titles… ✅ Fixed the incompatibility with Deluxe Announce that deletes the commands and does not register them in discord.
[✅] Fixed bug when adding placeholders to ajLeaderboards. [✅] Update of the plugin dependencies. [✅] Changed the command /dis setup to /dis setup add/remove [❌] The translations folder will be deleted, make a backup if you changed the emojis!
[✔️] Fixed bug that plugin translations do not load. [✔️] New layout in player_stats.yml file. [✔️] Now you can add unlimited fields in player_stats.yml file. [✔️] Added a new message to know about new updates.
[✔️] Now the plugin supports SQLite only to obtain the values of the following placeholders: %discordstats_player_best_winstreak %, %discordstats_player_winstreak % [✔️] Added a check for channel ids.
NOTE: You must delete your mysql database, you must delete the table called discordstats, the bot may not work normally, if you have problems open a ticket on our server, run the /dis setup command again for this update.
[✔️] Added the placeholder %discordstats_player_best_winstreak% to get the best player's streak.
[✔️] Solution does not register the commands correctly in DiscordSRV [✔️] Now if a user writes a message it will delete it from the channel. [✔️] Fixed duplicate commands in discord.