MSDataSync - MSDataSync is an advanced player data backup plugin that lets you store, manage, edit and rollback player data!

This is a discussion topic for the Ore project, MSDataSync. View the full project on Ore for downloads and more information.


Outdated! Please use DataSync instead

MSDataSync

Quick Links

Join our development discord

Github page

Installation Guide

Migration from 0.x.x to 1.x.x

Now with embedded database support! (No external setup)

Have you ever had problems with players losing items?

Do you run a multi-server network where every server needs to share inventories and other player data?

Look no further

MSDataSync is an advanced player data backup plugin that lets you store, manage, edit and rollback player data!

(Compatible with forge and vanilla)

Features

Backup player data

  • MSDataSync creates automated snapshots with an interval specified in your config

  • As of this writing, a snapshot will include (by default)

    • Inventory
    • Health
    • Hunger
    • Experience
    • Game mode
  • You can manually create a snapshot for a player with /sync snapshot create <name>

  • Or create a snapshot for everyone on the server with /sync up

  • By default, MSDataSync will load the latest snapshot when a player leaves and create a snapshot when a player joins.
    This can be disabled in the config.

Restore player data

  • The old way
Player: HeLp I LOst mY sTuFf!!!!! OWnER!!!!!!

Owner: screenshots or it didnt happen, sorry bud

Player: this server is dumb, im never coming back!

Player has left the game
  • With MSDataSync
Player: HeLp I LOst mY sTuFf!!!!! OWnER!!!!!!

Owner: when did this happen?

Player: just now, can you help plz

[Owner runs /sync snapshot restore Player]

[Player gets restored to the latest snapshot]

Player: thanks!
  • Browse through snapshots by date and restore, edit or delete it (separate permissions for viewing and editing)

Optimize backups

MSDataSync automatically deletes old snapshots for optimal storage efficiency. The default optimization strategy will:

  • Keep all snapshots within the last hour
  • Keep up to one snapshot per hour for the last 24 hours (not including the first hour)
  • Keep up to one snapshot per day for the last 7 days (not including the first day)
  • Delete all snapshots older than 7 days

Comes with child lock

Don’t you hate running dangerous commands by accident! Me too.
We included a child lock so you would be slightly less likely to accidentally break stuff!

  • /sync lock [<on:off>]

Reload command actually works

Changed any settings? Just run /sync reload and the plugin will reload

  • Database connection gets reopened (with updated db settings from config)
  • Sync task is restarted (with updated settings from config)

A new version has been released for MSDataSync, it is available for download here.


  • Fixed bug that may cause an inventory rollback when joining
  • Fixed bug where the most recent snapshot was sometimes deleted during optimization mode ‘all’
  • First ore release! (yay)

A new version has been released for MSDataSync, it is available for download here.


Version 1.0.0-BETA1

Important

If you are currently using v0.6.2, you must migrate your data before you can use this version

Click here for a step-by-step guide

Release notes

Please note that this is a beta release. Although it is quite “stable”, it may have some bugs. If you find any or have any feedback or suggestions, please submit them either on the discord server or by creating an issue on the github page

New Stuff

  • New storage options
    • Added Xodus (only for single-server setup, no external DB or extra setup required)
    • To change, simply edit “dataStoreName” to “xodus” in the config and run /sync reload or restart your server
      • There is currently no way to migrate data from one storage option to another, but this is a planned feature
    • Xodus requires spotlin 0.2.0
    • MariaDB is planned
  • Swatted bugs
    • Fixed bug where the initial user upload failed which prevented snapshots from being uploaded
    • Fixed bug that could lead to “rogue” snapshots that were not linked to a user
  • Improved navigation through snapshots
    • Snapshot info screen now has arrows to go to next/previous snapshot
    • Renamed “Back” to “List” in snapshot info screen
    • Navigation buttons now directly run a command, instead of suggesting it enabling quicker navigation
  • Snapshot selector now accepts ids (in addition to dates)