3.5.2
Compatibility
Changes
CustomDisasters v3.5.2 ā "MySQL & Cross-Version Stability"
Release Date: December 2025 | Build Status: ā
STABLE | JAR: custom-disasters-3.5.2.jar
š Major Features
1. MySQL Database Integration (NEW)
Optional persistent storage with HikariCP pooling and async operations:
disaster_historyā All events with timestampsplayer_disaster_statsā Deaths, participation, playtimecustom_disasters_backupā Auto-backup configsdisaster_rewardsā Reward distribution logs
2. Cross-Version Support (1.19ā1.21)
One JAR for all versions. No version-specific builds needed.
3. Complete Particle System Overhaul
All particle constants now use Compat helpers. Verified on 1.19ā1.21.
š§ Technical Changes
New Classes:
MySQLDatabase.javaā Database abstraction with async support
Updated Classes:
- CustomDisastersPlugin, AtmosphericEffects, VisualEffectsSystem, EffectsManager, CustomMobSystem, DisasterListener
Dependencies Added:
mysql-connector-java:8.0.33HikariCP:5.1.0gson:2.10.1
š MySQL Configuration
mysql:
enabled: false
host: "localhost"
port: 3306
database: "customdisasters"
username: "root"
password: "yourpassword"
max-pool-size: 10
min-idle: 2
features:
log-disasters: true
track-player-stats: true
backup-custom-disasters: true
log-rewards: true
backup-interval-minutes: 60
š Fixes
| Issue | Fix |
|---|---|
| Particle constants on 1.19.x | All refs use Compat helpers |
| Missing DUST particles | VisualEffectsSystem fixed |
| EXPLOSION crashes | CustomMobSystem fixed |
š Migration
Existing Servers:
- Backup
plugins/CustomDisasters/ - Replace JAR with v3.5.2
- Restart (config auto-updates)
- Optional: Enable MySQL in config.yml
New Servers:
- Install v3.5.2 JAR
- First restart auto-generates configs
- MySQL disabled by default
ā What's Improved
- ā One JAR runs on 1.19ā1.21 without crashes
- ā Database stats for analytics
- ā Auto-backup custom configs
- ā Async DB operations (zero lag)
- ā All particles safe across versions
- ā Reward logging for auditing
- ā Modrinth update notifications
š¦ Requirements
Required:
- Paper/Spigot 1.19.x, 1.20.x, or 1.21.x
- Java 17+
Optional:
- MySQL 5.7+ (for database features)
- Vault (for rewards)
- PlaceholderAPI
- ProtocolLib (enhances visuals)
š Support
- Modrinth: https://modrinth.com/plugin/customdisasters
- Issues: https://customdisasters.online/
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:sLxayusj:NaJOS0jE"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:sLxayusj:NaJOS0jE"
}

