Tags
Creators
Details
2.1.7
Compatibility
Changes
MC Data Bridge - Release Notes (v2.1.7)
Overview
Version 2.1.7 is a targeted bugfix release that upgrades the vanilla_stats_json column type in the statistics component table to LONGTEXT (for MySQL/MariaDB), preventing potential data truncation issues when synchronizing large volumes of vanilla player statistics. It also introduces automatic schema migration for existing databases.
Changes in v2.1.7
🗄️ Database Schema Upgrade & Migration
- Upgrade to LONGTEXT: Upgraded the
vanilla_stats_jsoncolumn fromTEXTtoLONGTEXTin thedatabridge_statisticstable to support larger JSON payloads without risk of truncation. - Automated Migration: Added support for automatically executing the
ALTER TABLE ... MODIFY COLUMN ...statement whenauto-update-schemais set totruein the configuration. - Admin Warning Notice: If
auto-update-schemais disabled, the plugin will now log a prominent warning suggesting the manual execution of the schema migration command:ALTER TABLE `table_prefix_databridge_statistics` MODIFY COLUMN vanilla_stats_json LONGTEXT DEFAULT NULL;
For installation instructions and configuration details, please refer to the README.md and config.yml.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:oYE8njDp:4Cv1hVn3"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:oYE8njDp:4Cv1hVn3"
}

