All versions
3.
2.0-SNAPSHOT
Release
DuckTeam5 months ago 33
Compatibility
Minecraft: Java Edition
1.21.x
Platform
Paper
Changes
📋 CHANGELOG: DUCKTEAM (v1.7)
1. Color System Upgrade (Multi-stop Gradient)
- Linear to Multi-stop Transition: Replaced legacy system limited to 2 fixed color points (
startColor/endColor). - Dynamic Segments: New algorithm automatically divides text into segments based on provided Hex codes.
- Smooth Color Interpolation: Characters calculate local RGB linear interpolation between two closest color stops.
- Seamless Transitions: Perfectly seamless color blending across the entire string length.
- Static Hex Support: System falls back to a single-color format if only one Hex code is provided.
2. Storage Structure Changes
- Data Consolidation (
teams.yml): Removed separate configuration keys for.startColorand.endColor. - List-Based Storage (
List): Stored data under a single.colorsstring list per team. - Unlimited Capacity: File remembers an unlimited number of color codes while preserving exact input order.
3. /team color Command Enhancements
- Infinite Dynamic Syntax: Accepts as many color codes as you want, with a minimum of 1.
- Old:
/team color [team_name] [Start_Hex] [End_Hex](Required exactly 2 codes). - New:
/team color [team_name] [Hex1] [Hex2] [Hex3] [Hex4]...
- Old:
- Backward Preset Compatibility: Maintained full functionality for all built-in color presets like
VIP,PRO,WARRIOR,GALAXY. - Array Auto-conversion: Automatically breaks presets into array lists to feed the new gradient engine.
4. User Experience & Tab-Completion Optimization
- Infinite Arguments Auto-complete: Tweaked Tab-completer logic from a fixed-length check to a dynamic check (
args.length >= 3). - Uninterrupted Suggestions: Players can continuously press
Tabfor 3rd, 4th, 5th+ color stop suggestions.
5. PlaceholderAPI Expansion & Robustness
- Centralized Data Fetching: Replaced isolated calls (
getTeamStartColor/getTeamEndColor) with centralizedplugin.getTeamColors()method. - Fallback Mechanism: Handles old data versions that lack the new list format automatically.
- On-the-fly Conversion: Converts legacy structures into a 2-color array list immediately during runtime.
- Crash Prevention: Prevents white text glitched displays and
NullPointerExceptioncrashes.
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:gURHS7Oo:gnDqp4D5"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:gURHS7Oo:gnDqp4D5"
}

