Tags
Creators
Details
Licensed ARR
Published 2 years ago
Updated 10 months ago
All versions
V5
Release
Roleplay Mod V5last year 75
Uploaded by
Compatibility
Minecraft: Java Edition
1.12.2
Platform
Forge
Supported environments
Client and server
Changes
Highlights
- Major stability refactor of registrations (blocks/items/entities/etc.)
- Fixed Forge registry synchronization crash on startup (duplicate registrations)
- Improved database (MySQL) safety and reliability
- Better Discord bot initialization and error reporting
- General code cleanup, package reorganization, and consistency
Fixes
- Resolved Forge registry sync error:
“One or more entry values did not copy to the correct id”- Root cause: duplicate block/item registration paths (legacy + new).
Now registered exactly once via a centralized manager
- Root cause: duplicate block/item registration paths (legacy + new).
- Fixed several missing imports and inconsistent package declarations (notably Discord classes)
- Corrected commented-out class causing references to fail (CommandHudc), restoring its package and availability
- Removed sources of NPEs during registration by adding null-checks and consistent ordering
- Prevented duplicate
ItemBlockregistration for blocks like atm
Improvements
Centralized registration system
- All block/item registrations routed through a single manager for consistency and crash prevention
- Clean separation of model registration (client-only) from core registration
Economy (EcoGlobal) hardening
- Replaced string-concatenated SQL with prepared statements (prevents SQL injection)
- Proper
try-with-resourcesfor connections/statements/result sets (prevents resource leaks) - Added logging and safer error handling; returns are predictable on failure
Database bootstrap (MySQLCreate)
- Safer table creation/update with structured checks for missing columns
- Robust error logging and clearer flow;
autoReconnectandSSLflags handled in connection URL
Discord integration (DiscordBotStart)
- Better initialization flow with clear logging
- Graceful handling of missing/invalid tokens and interruptions
Main mod class
- Safer registration flows: skip nulls and already-registered entries to avoid duplicates
- Clearer, more defensive logic for legacy item list handling
Compatibility
- No breaking changes to gameplay or data formats are intended
- Existing worlds/configs should load as before
- MySQL features remain optional; if disabled, economy gracefully returns default values
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:XzFmoWC0:yJ55AXte"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:XzFmoWC0:yJ55AXte"
}


