Skip to content

pugur523/MySQL_PlayerdataSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MySQL Playerdata Sync for Fabric/Paper

Description

This is a server-side minecraft mod/plugin that allows players to sync their inventory(contains armor), enderchest inventory, and selected item slot between the server and another server. This might be useful for a proxy based server(velocity, waterfall, bungeecord etc.)

Installation

Manual installation (recommended)

You have to setup a MySQL Database and MySQL User for work with the database.

Download the latest version Fabric/Paper then you can place the jar in the server's mods/plugins directory. First time you reboot the server, you can find the config file in config/playerdata_sync.conf so 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 the repository(Fabric or Paper) and run ./gradlew build then you can find the build artifacts in build/libs.

Configuration

Fill in the configuration file which is config/playerdata_sync.conf. There is 3 items named jdbc.url, jdbc.user, jdbc.password so set right side of them.

Configuration Example

jdbc.url=jdbc:mysql://localhost:80/example_database 
jdbc.user=example_user_name
jdbc.password=example_pass 

for more information, join our discord server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published