Manual installation (recommended)
You have to setup a MySQL Database and MySQL User for work with the database. Download the Latest Version then you can place the jar in the server's mods directory. First time you reboot the server, you can find the config file in
config/playerdata_sync.confso stop the server and write your database url, user, and user password in the config file.(for more information about configuration, read configuration section below) Then boot the server, setup is done. On your login/logout, your playerdata should be loaded/saved from/to the database.You have to setup a MySQL Database and MySQL User for work with the database. Download the Latest Version then you can place the jar in the server's plugins directory. First time you reboot the server, you can find the config file in
config/playerdata_sync.confso stop the server and write your database url, user, and user password in the config file.(for more information about configuration, read configuration section below) Then boot the server, setup is done. On your login/logout, your playerdata should be loaded/saved from/to the database.
Building from sources
Clone this repository and run ./gradlew build then you can find the build artifacts in build/libs.
Configuration
Fill in the configuration file which is in config/playerdata_sync.conf. There is 3 items named jdbc.url, jdbc.user, jdbc.password so set right side of them.
Configuration Example
0 commit comments