AuthMe / AuthMeReloaded

The best authentication plugin for the Bukkit/Spigot API!
https://www.spigotmc.org/resources/authmereloaded.6269/
GNU General Public License v3.0
618 stars 516 forks source link

Use sslMode on MariaDB (remove warning) #2777

Open knighthat opened 6 months ago

knighthat commented 6 months ago

Replaced 'mySQLUseSSL' and 'mySQLCheckServerCertificate' with 'sslMode' (modern certificate and identity verification for MariaDB). This change effectively removes annoying messages

[AuthMe] [STDERR] [AuthMeMYSQLPool connection adder] WARN fr.xephi.authme.libs.org.mariadb.jdbc.Configuration - `useSsl` option is deprecated, replaced by option `sslMode`
[me.lucko.luckperms.lib.mariadb.Configuration] `useSsl` option is deprecated, replaced by option `sslMode`

Which in turn trigger

Nag author(s): '[sgdc3, games647, Hex3l, krusic22]' of 'AuthMe v5.6.0-SNAPSHOT-b2614' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).