Added warning for MySQL users
This commit is contained in:
@@ -62,6 +62,9 @@ class MySQLDataHandler(
|
||||
private val serverHandler: ImplementedMySQLHandler
|
||||
|
||||
init {
|
||||
plugin.logger.warning("You're using the MySQL Data Handler")
|
||||
plugin.logger.warning("It's recommended to switch to MongoDB (mongo)!")
|
||||
|
||||
val config = HikariConfig()
|
||||
config.driverClassName = "com.mysql.cj.jdbc.Driver"
|
||||
config.username = plugin.configYml.getString("mysql.user")
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# How player/server data is saved:
|
||||
# yaml - Stored in data.yml: Good option for single-node servers (i.e. no BungeeCord/Velocity)
|
||||
# mongo - (Recommended) If you're running on a network (Bungee/Velocity), you should use MongoDB if you can.
|
||||
# mysql - The basic choice for Bungee/Velocity networks, less flexible and worse performance than MongoDB. Use only if you can't use MongoDB.
|
||||
# mysql - (Not Recommended) The basic choice for Bungee/Velocity networks, less flexible and worse performance than MongoDB. Only use it if you can't use MongoDB.
|
||||
data-handler: yaml
|
||||
|
||||
# If data should be migrated automatically when changing data handler.
|
||||
|
||||
Reference in New Issue
Block a user