Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Skin Browser
  • Cape Gallery
  • Seed Vault
  • Blog
  • Guides

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

Site & Legal

  • About
  • Authors
  • Editorial Policy
  • Corrections
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA
  • Sitemap

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
MC-Data-Bridge
PluginGPL-3.0-only

MC-Data-Bridge

Seamlessly sync player inventory, health, XP, and effects across your BungeeCord/Velocity network.

748
Downloads
5
Followers
3 days ago
Updated
📦
13
Versions
managementstorageutilitybukkitbungeecordfoliapaperpurpurspigotvelocitywaterfall
Download Latestv2.1.7View on Modrinth

📖About MC-Data-Bridge

MC Data Bridge

MC Data Bridge is a robust, high-performance hybrid plugin for PaperMC (Spigot), Folia, BungeeCord, and Velocity. It is designed to seamlessly synchronize player data across multiple Minecraft servers, ensuring that players have a consistent experience by retaining their health, hunger, experience, inventory, Ender Chests, Advancements, Statistics, Companions & Pets, and Persistent Data as they move between linked servers.

Compatibility

  • Minecraft Version: 1.21.x and 26.1.x
  • Server Platforms: PaperMC (Purpur), Folia, Spigot
  • Proxy Platforms: BungeeCord, Waterfall, Velocity
  • Java Version: 25+

This plugin is a hybrid build and the same JAR file works on all supported platforms, automatically activating the correct functionality for each platform.

Features

  • Hybrid Plugin: A single JAR file works on your PaperMC/Spigot/Folia servers and your BungeeCord/Velocity proxy.
  • Companion & Pet Synchronization: Fully synchronizes tamed wolves, cats, parrots, and other pets with support for shoulder-perched states, ownership, names, health, and metadata. Offers configurable modes (follow, return, untracked) with robust state merging and duplication prevention.
  • Relational Component Schema Normalization: Divides player data into normalized, targeted tables to optimize write performance and prevent write-amplification.
  • Binary NBT Serialization Option: Choose between JSON and compressed binary NBT format (database.serialization-format: binary) for highly optimized CPU serialization and database storage.
  • Embedded Prometheus Metrics Exporter: Provides an optional HTTP endpoint (/metrics) to monitor active transactions, cache efficiency, connection pool health, and sync latencies.
  • SHA-256 Data Integrity: Implements cryptographic checksums with server-side salting to detect and prevent manual database tampering or corruption.
  • Industrial Identity Protection: Tracks last_known_name and secure identity hashes to prevent identity hijacking and manage UUID transitions in hybrid (Cracked/Premium) environments.
  • Zero-Tick Identity Verification: Database locks and identity checks are performed during the AsyncPlayerPreLoginEvent, ensuring that player state is verified and ready before they even reach the server's "Join" state.
  • Regionalized Folia Support: Built with SchedulerUtils to handle regionalized threading, ensuring safe execution on Folia's multi-threaded clusters.
  • Administrative Inspector GUI: A visual interface for administrators to inspect saved player data (inventories, stats, PDC) even when the player is offline.
  • Proxy-Initiated Saves: The proxy (BungeeCord/Velocity) orchestrates the data saving process, ensuring that a player's data is saved from their source server before they connect to the destination server. This eliminates race conditions.
  • Fully Asynchronous: All database and serialization operations are performed on a separate thread, ensuring that your server's main thread is never blocked.
  • Robust Locking Mechanism: A database-level locking mechanism with an automatic timeout and heartbeats prevents data corruption.
  • Version-Independent Item Serialization: Player inventories are serialized using native binary methods (Paper/Folia) or NBT-API fallback (Spigot), ensuring 100% integrity across updates.
  • Cross-Server Player Data Sync (Granular Control):
    • Health (Attribute-aware)
    • Food Level, Saturation, & Exhaustion
    • Experience (Total XP, current XP, and Level)
    • Inventory & Armor Contents
    • Active Potion Effects
    • Ender Chest Contents
    • Advancements & Recipes
    • Player Statistics (Vanilla stats)
    • Persistent Data Container (PDC) (Custom metadata)
    • Flight & GameMode status
    • Companions & Pets (Tamed wolves, cats, parrots, etc.)
  • Resilient Connection Pooling: Uses HikariCP with optimized settings for resilience against network jitter.
  • Flexible Storage: Support for MySQL/MariaDB or local SQLite databases.
  • Granular Sync Control: Enable or disable synchronization for any specific data type via config.yml.
  • Server/World Blacklist: Prevent synchronization on specific servers or worlds.

Installation

  1. Download the Plugin JAR:
    • Download the latest release JAR (mc-data-bridge-*.jar) from this page (Modrinth) or the official GitHub Releases.
  2. Deploy to Servers:
    • Copy the single mc-data-bridge-*.jar file into the plugins/ folder of each PaperMC/Folia server you wish to synchronize.
    • Copy the same JAR file into the plugins/ folder of your BungeeCord or Velocity proxy server.
  3. Optional: Manual Build (For Developers)
    • To build from source, clone the repository and run mvn clean package.

Commands & Permissions

Command Description Permission
/databridge inspect <player> Opens a GUI to view offline player data. databridge.admin.inspect
/databridge migrate <src> <dest> Securely move data between two identities. databridge.admin.migrate
/databridge unlock <player> Manually release a stuck data lock. databridge.admin.unlock
/databridge reload Reloads the configuration and DB pool. databridge.admin.reload

Proxy Commands:

  • /databridge unlock <player> (Bungee/Velocity): Releases a lock across the network.
  • /databridge forceunlock <player> (Bungee/Velocity): Relays a signal to the backend server to drop the lock immediately.

Configuration

A config.yml file will be generated in the plugins/mc-data-bridge/ folder after the first run. Existing configs will be safely auto-updated.

# Database Configuration
database:
  type: mysql # "mysql" or "sqlite"
  host: localhost
  port: 3306
  database: minecraft
  username: user
  password: password
  sqlite-file: "player_data.db"
  serialization-format: "json" # "json" or "binary"

  # A list of JDBC properties to apply.
  properties:
    useSSL: false
    allowPublicKeyRetrieval: true

  # HikariCP Connection Pool Settings
  pool-settings:
    maximum-pool-size: 10
    minimum-idle: 10
    max-lifetime: 1800000 # 30 minutes
    connection-timeout: 5000 # 5 seconds
    idle-timeout: 600000 # 10 minutes

# A unique name for this server. This is CRITICAL for data locking.
server-id: "default-server"

# Prefix for all database tables
table-prefix: ""

# Toggle specific data to sync
sync-data:
  health: true
  food-level: true
  experience: true
  inventory: true
  armor: true
  potion-effects: true
  ender-chest: true
  location: false
  advancements: true
  statistics: true
  pdc: true
  flight-gamemode: true
  companions: true

# Security & Identity
security:
  verify-data-integrity: true
  seed: "change-me-to-a-long-random-string" # SALT FOR CHECKSUMS

identity:
  mode: PREMIUM # PREMIUM or HYBRID
  auto-migrate-fastlogin: false
  auto-migrate-authme: false

# Companion/Pet Synchronization Settings
companions:
  scan-radius: 32
  mode: "follow" # "follow", "return", or "untracked"

# Prometheus Metrics Exporter
metrics:
  enabled: false
  port: 8080
  path: "/metrics"

# Server/World Blacklist
sync-blacklist:
  servers:
    - "example-blacklisted-server"
  worlds:
    - "example_world_nether"

Detailed Configuration Breakdown

  • database.type: Choose between mysql (external) or sqlite (local file).
  • database.serialization-format: Select binary for compressed NBT data or json for backward-compatible Base64 NBT.
  • server-id (Required): You must set a unique name for each backend server.
  • security.seed: A secret string used to salt all SHA-256 hashes. Change this immediately!
  • identity.mode: Choose between PREMIUM (strictly enforces UUID consistency) or HYBRID (allows flexible identity shifts). Note: HYBRID mode is required to enable auto-migration features like auto-migrate-fastlogin.
  • sync-data: Individual toggles for every data type.
  • companions: Set the detection radius and choose how pets behave when swapping servers.
  • metrics: Configure the embedded Prometheus HTTP server port and route.
  • sync-blacklist: Define servers or worlds where synchronization should be skipped.

📊 Technical: Database Schema

In addition to the primary tracking table (player_data), MC Data Bridge uses component tables to minimize database load.

Core Locking & Integrity Table: player_data

Column Type Description
uuid VARCHAR(36) The player's Unique ID (Primary Key).
data LONGBLOB The serialized binary data snapshot (legacy fallback).
data_checksum VARCHAR(64) SHA-256 integrity hash of the data packet.
is_locked BOOLEAN Prevents concurrent writes from multiple servers.
locking_server VARCHAR(255) The ID of the server holding the lock.
lock_timestamp BIGINT Heartbeat to detect and recover from crashes.
last_known_name VARCHAR(16) Used for identity tracking and migration.
identity_hash VARCHAR(64) Salted hash of Name+UUID+Seed for verification.
name_last_updated BIGINT Timestamp of when the player's name was last updated.
last_updated TIMESTAMP Auto-updated timestamp of the last lock state change.

Inventories Component: databridge_inventories

  • Holds inventory_blob (LONGBLOB/TEXT), armor_blob (LONGBLOB/TEXT), and ender_chest_blob (LONGBLOB/TEXT) snapshots.
  • Includes a last_updated auto-timestamp.

Statistics Component: databridge_statistics

  • Holds basic stats (health DOUBLE/REAL, food_level INT/INTEGER, xp_level INT/INTEGER, xp_exp FLOAT/REAL, xp_total INT/INTEGER, saturation FLOAT/REAL, exhaustion FLOAT/REAL).
  • Holds vanilla_stats_json (TEXT) containing dynamic statistics, locations, and recipe states.
  • Includes a last_updated auto-timestamp.

Metadata Component: databridge_metadata

  • Holds custom PDC data (pdc_data LONGTEXT/TEXT) and player advancement progress (advancements LONGTEXT/TEXT).
  • Includes a last_updated auto-timestamp.

Companions Component: databridge_companions (NEW)

  • Holds companion and pet metadata states (companions_nbt LONGTEXT/TEXT).
  • Includes a last_updated auto-timestamp.

For more detailed information, please refer to the official documentation.

👥 Team & Contributors

XvGwest
XvGwestOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
bukkitbungeecordfoliapaperpurpurspigotvelocitywaterfall
Minecraft Versions
1.211.21.11.21.21.21.31.21.41.21.51.21.61.21.7+7 more

🔗 Links

Modrinth Page