DuckTeam

A lightweight, high-performance Minecraft server plugin designed to expand your server's display capabilities using PlaceholderAPI.

File Details

DuckTeam-2.0-SNAPSHOT.jar

  • R
  • Jun 3, 2026
  • 16.56 KB
  • 13
  • 1.21.11+12

File Name

DuckTeam-2.0-SNAPSHOT.jar

Supported Versions

  • 1.21.5-Snapshot
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21

📋 CHANGELOG: DUCKTEAM (v1.7)

1. Color System Upgrade (Multi-stop Gradient)

  • Linear to Multi-stop Transition: Replaced the legacy system that was strictly limited to 2 fixed color points (startColor and endColor)[cite: 1]. The new algorithm automatically divides the text into segments based on the number of Hex codes provided.
  • Smooth Color Interpolation: Characters in the string now dynamically identify which color segment they belong to, then calculate a local RGB linear interpolation between the two closest color stops for a perfectly seamless transition.
  • Static Hex Support: If only a single Hex code is provided, the system seamlessly falls back to a static, single-color format instead of failing the gradient process.

2. Storage Structure Changes

  • Data Consolidation (teams.yml): Removed the separate configuration keys for .startColor and .endColor[cite: 1].
  • List-Based Storage (List<String>): Transitioned to storing data under a single .colors string list per team. This allows the file to remember an unlimited number of color codes while preserving their exact input order.

3. /team color Command Enhancements

  • Infinite Dynamic Syntax:
    • Old: /team color [team_name] [Start_Hex] [End_Hex] (Required exactly 2 codes)[cite: 1].
    • New: /team color [team_name] [Hex1] [Hex2] [Hex3] [Hex4]... (Accepts as many color codes as you want, with a minimum of 1).
  • Backward Preset Compatibility: Maintained full functionality for all built-in color presets (VIP, PRO, WARRIOR, GALAXY, etc.)[cite: 1] by automatically breaking them down into array lists to feed into the new gradient engine.

4. User Experience & Tab-Completion Optimization

  • Infinite Arguments Auto-complete: Tweaked the Tab-completer logic for color arguments from a fixed-length check to a dynamic check (args.length >= 3)[cite: 1]. Players can now continuously press Tab to get hex code suggestions for the 3rd, 4th, 5th+ color stops without any interruption.

5. PlaceholderAPI Expansion & Robustness

  • Centralized Data Fetching: Replaced the isolated configuration calls (plugin.getTeamStartColor() and plugin.getTeamEndColor()) with a centralized plugin.getTeamColors() method[cite: 1].
  • Fallback Mechanism: If a team's old data from previous versions is loaded and lacks the new list format, the Placeholder expansion automatically converts the existing preset names/structures into a 2-color array list on the fly, preventing white text glitched displays or NullPointerException crashes.