Skip to content

Barpadzik/DuckyColorMix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DuckyColorMix Plugin for Minecraft ๐Ÿฆ†

A competitive mini-game plugin for Paper 1.18.2+ featuring dynamic color-based survival gameplay with full Paper Adventure API support. ๐ŸŽฎ

Features โœจ

  • ๐ŸŽจ Advanced Text Formatting - Full Paper Adventure API support with hex colors, gradients, and rainbow effects
  • ๐Ÿ“ MiniMessage Format - Modern text formatting (<red>, <gradient>, <rainbow>)
  • โšก Dynamic Gameplay - Games can end instantly when only one player remains
  • โฑ๏ธ Configurable Countdown - Decreasing countdown time with customizable intervals
  • ๐Ÿ‘ฅ Real-time Player Tracking - Counts players in the game area (5 blocks above platform)
  • ๐ŸŒˆ Random Wool Colors - Generates colorful platforms with random wool blocks
  • ๐Ÿ›ก๏ธ Safe Color System - One color remains safe while others disappear
  • ๐Ÿ”„ Platform Regeneration - Automatic platform reset between rounds and after games
  • ๐Ÿ† Instant Win Detection - Game ends immediately when one player remains
  • ๐ŸŽ† Winner Celebration - 5-second fireworks display for the victor
  • โธ๏ธ Pause/Resume System - Full game state management
  • ๐Ÿ”” Update Checker - Automatic GitHub release checking

Commands ๐Ÿ’ป

Command Description Permission
/colormix start [seconds] [change_every_rounds] ๐Ÿš€ Start a new game duckycolormix.colormix
/colormix stop ๐Ÿ›‘ Stop the current game duckycolormix.colormix
/colormix pause / /colormix pause โธ๏ธ Pause the game duckycolormix.colormix
/colormix resume / /colormix resume โ–ถ๏ธ Resume the paused game duckycolormix.colormix
/colormix setplatform ๐Ÿ—๏ธ Set up the platform area duckycolormix.colormix
/colormix reload ๐Ÿ”„ Reload plugin configuration duckycolormix.colormix

Aliases: /cm, /dcm /duckycolormix ๐Ÿ”—

1. Set Up Platform ๐Ÿ—๏ธ

/colormix setplatform

Click two opposite corners to define the platform area. ๐Ÿ–ฑ๏ธ

2. Start a Game ๐ŸŽฎ

/colormix start
/colormix start 10 2
  • Default: 5 seconds countdown, decreases every 3 rounds โฐ
  • Custom: 10 seconds countdown, decreases every 2 rounds ๐ŸŽฏ

3. Game Controls ๐ŸŽ›๏ธ

/colormix pause    # โธ๏ธ Pause the game
/colormix resume   # โ–ถ๏ธ Resume the game
/colormix stop     # ๐Ÿ›‘ Stop the game

How to Play ๐ŸŽฏ

  1. ๐Ÿ—๏ธ Platform Setup - Admin sets the platform area using /colormix setplatform
  2. ๐Ÿš€ Game Start - Admin starts the game with customizable countdown settings
  3. ๐ŸŽจ Round Begins - Platform fills with random colored wool blocks
  4. ๐Ÿ›ก๏ธ Safe Color - A random color is chosen as "safe" (displayed in action bar)
  5. โฑ๏ธ Countdown - Players have limited time to stand on the safe color
  6. ๐Ÿ’ฅ Block Removal - All unsafe colors disappear after countdown
  7. ๐Ÿ† Win Conditions:
    • Game ends instantly when only 1 player remains on platform โšก
    • Winner gets 5-second fireworks celebration ๐ŸŽ†
    • If no players remain, game ends with no winner ๐Ÿ˜ข
  8. ๐Ÿ”„ Next Round - If 2+ players remain, new round starts with shorter countdown

Configuration โš™๏ธ

The plugin features extensive configuration options in config.yml: ๐Ÿ“

Game Settings ๐ŸŽฎ

game:
  default-starting-seconds: 5      # โฐ Initial countdown time
  default-change-every-rounds: 3   # ๐Ÿ“Š Rounds before countdown decreases
  minimum-countdown: 1             # โฑ๏ธ Minimum countdown time
  round-delay: 60                  # โณ Delay between rounds (ticks)
  fireworks-duration: 5            # ๐ŸŽ† Winner celebration duration
  fireworks-per-second: 5          # ๐ŸŽ‡ Fireworks intensity

Message Customization ๐Ÿ’ฌ

All messages support:

  • ๐Ÿ”ค Legacy colors (&a, &c, etc.)
  • ๐ŸŽจ Hex colors (#FF0000, #00FF00, etc.)
  • โœจ MiniMessage (<red>, <gradient:#FF0000:#00FF00>, <rainbow>)

Example:

messages:
  winner-announcement: "<rainbow><bold>๐ŸŽ‰ {player} won DuckyColorMix! ๐ŸŽ‰</bold></rainbow>"
  safe-color: "<gradient:#FFFF00:#FFD700>Safe color: <bold>{color}</bold></gradient>"

Color Names ๐ŸŒˆ

Customize color names for different languages:

colors:
  WHITE: "WHITE"
  RED: "RED"
  BLUE: "BLUE"
  # ... etc

Permissions ๐Ÿ”

Permission Description Default
duckycolormix.colormix ๐ŸŽฎ Manage DuckyColorMix games op
duckycolormix.update ๐Ÿ”” Receive update notifications op

Technical Details ๐Ÿ”ง

Game Area Detection ๐Ÿ“

  • Players are considered "in game" when within platform boundaries ๐Ÿ—๏ธ
  • Detection area extends 5 blocks above the platform ๐Ÿ“
  • Real-time player counting every game tick โšก

Platform System ๐Ÿ—๏ธ

  • Supports any rectangular area ๐Ÿ“
  • Automatic wool generation with 16 different colors ๐ŸŒˆ
  • Smart block removal system ๐Ÿ’ฅ
  • Platform regeneration between rounds ๐Ÿ”„

Performance โšก

  • Optimized for Paper API ๐Ÿš€
  • Minimal server impact ๐Ÿ’ช
  • Efficient player detection ๐ŸŽฏ
  • Asynchronous update checking ๐Ÿ”„

API Information ๐Ÿ› ๏ธ

Paper Adventure API ๐Ÿ“š

This plugin fully utilizes Paper's Adventure API for:

  • Component-based text handling ๐Ÿ“
  • Native hex color support ๐ŸŽจ
  • MiniMessage parsing โœจ
  • Action bar animations ๐Ÿ“Š
  • Modern text formatting ๐Ÿ’ซ

Compatibility ๐Ÿ”—

  • Minimum: Paper 1.18.2 ๐Ÿ“‹
  • Recommended: Paper 1.19+ โญ
  • Java: 21+ โ˜•
  • NOT compatible with PlugMan(and forks) โŒ

Support & Updates ๐Ÿ†˜

Automatic Updates ๐Ÿ”„

The plugin automatically checks for updates on startup and notifies administrators about new releases. ๐Ÿ“ข

Manual Update Check ๐Ÿ“ฅ

Updates are available on the GitHub Releases page. ๐Ÿ”—

Issues & Suggestions ๐Ÿ›

Report issues or suggest features on the GitHub Issues page. ๐Ÿ’ก

License ๐Ÿ“„

This project is licensed under the GNU General Public License - see the LICENSE WIKI site for details. โš–๏ธ

Credits ๐Ÿ‘จโ€๐Ÿ’ป

Author: Barpad ๐Ÿง‘โ€๐Ÿ’ป
Version: 1.0.0 ๐Ÿท๏ธ
API: Paper Adventure API ๐Ÿ“š
Minecraft Version: 1.18.2+ ๐ŸŽฎ


DuckyColorMix - Where colors decide your fate! ๐ŸŽจ๐Ÿ†๐Ÿฆ†

About

The Best ColorMix Minigame Plugin

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages