Fix relocating mariadb driver in Velocity

Fixes #643
This commit is contained in:
games647
2021-11-04 10:29:57 +01:00
parent d2c94af4a7
commit 5612ca744b
2 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ autoLoginFloodgate: false
# false: Check for Premium Java name conflicts as described in 'autoRegister' # false: Check for Premium Java name conflicts as described in 'autoRegister'
# Note: Linked players have the same name as their Java profile, so the Bedrock player will always conflict # Note: Linked players have the same name as their Java profile, so the Bedrock player will always conflict
# their own Java account's name. Therefore, setting this to false will prevent any linked player from joining. # their own Java account's name. Therefore, setting this to false will prevent any linked player from joining.
# true: Bypass 'autoRegister's name conflict checking # true: Bypass 'autoRegister's name conflict checking
# linked: Bedrock accounts linked to a Java account will be allowed to join with conflicting names # linked: Bedrock accounts linked to a Java account will be allowed to join with conflicting names
# !!!!!!!! WARNING: FLOODGATE SUPPORT IS AN EXPERIMENTAL FEATURE !!!!!!!! # !!!!!!!! WARNING: FLOODGATE SUPPORT IS AN EXPERIMENTAL FEATURE !!!!!!!!
# Enabling this might lead to people gaining unauthorized access to other's accounts! # Enabling this might lead to people gaining unauthorized access to other's accounts!
@ -252,7 +252,7 @@ database: '{pluginDir}/FastLogin.db'
# MySQL/MariaDB # MySQL/MariaDB
# If you want to enable it uncomment only the lines below this not this line. # If you want to enable it uncomment only the lines below this not this line.
# If on velocity use 'fastlogin.mysql.cj.jdbc.Driver' as driver # If on velocity use 'fastlogin.mariadb.jdbc.Driver' as driver
#driver: 'com.mysql.jdbc.Driver' #driver: 'com.mysql.jdbc.Driver'
#host: '127.0.0.1' #host: '127.0.0.1'
#port: 3306 #port: 3306

View File

@ -75,8 +75,8 @@
<shadedPattern>fastlogin.config</shadedPattern> <shadedPattern>fastlogin.config</shadedPattern>
</relocation> </relocation>
<relocation> <relocation>
<pattern>com.mysql</pattern> <pattern>org.mariadb</pattern>
<shadedPattern>fastlogin.mysql</shadedPattern> <shadedPattern>fastlogin.mariadb</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
<artifactSet> <artifactSet>