Описание
A Minecraft mod that adds server-wide shiny boost functionality to Cobblemon! Enhance your shiny hunting experience with configurable multipliers and a queue system for multiple boosts.
## ✨ Features
- **Global Shiny Rate Boosting**: Increase shiny spawn chances server-wide
- **Queue System**: Stack multiple boosts to run one after another
- **Dynamic Boss Bar**: Visual display of active boost and queue
- **Persistence**: Boosts survive server restarts
- **Operator Control**: Simple commands for managing boosts
- **Safe Rate Limits**: Prevents setting extremely high multipliers that could break the game
## 📋 Commands
The mod adds several commands for managing shiny boosts:
```bash
/shinyboost # Activate or queue a boost
/shinyboost info # Display current boosts and rates
/shinyboost reset # Remove a specific boost
```
- `multiplier`: How much to multiply the shiny rate (e.g., 2.0 for double chances)
- `duration`: Duration in seconds
### Examples
```bash
/shinyboost 2.0 300 # 2x shiny rate for 5 minutes
/shinyboost 3.0 600 # 3x shiny rate for 10 minutes
/shinyboost info # Show all active and queued boosts
/shinyboost reset 2.0 # Remove the 2x boost
```
## 🎮 Usage
1. **Activating a Boost**
```bash
/shinyboost 2.0 300
```
This will activate a 2x shiny boost for 5 minutes.
1. **Extending Active Boosts**
- If you use the command with the same multiplier as an active boost, it will extend its duration
```bash
/shinyboost 2.0 300 # Adds another 5 minutes to the active 2x boost
```
1. **Queuing Boosts**
- Different multipliers will be queued to run after the current boost
```bash
/shinyboost 2.0 300 # Active boost
/shinyboost 3.0 300 # Queued to run after 2x boost
/shinyboost 4.0 300 # Queued after 3x boost
```
1. **Managing Boosts**
- Check current boosts and rates:
```bash
/shinyboost info
> Current shiny rates:
> Active: 2.0x boost (1/4096.0 chance) with 5m 30s remaining
> Queued boosts:
> 1. 3.0x (1/2.730.6 chance) for 10m 0s
> 2. 4.0x (1/2.048.0 chance) for 15m 0s
```
- Remove specific boosts:
```bash
/shinyboost reset 3.0 # Removes the 3x boost from queue
```
## 🖥️ Installation
1. Install Fabric Loader for Minecraft 1.20.1 or 1.21.1
2. Install the required dependencies:
- Fabric API
- Cobblemon
3. Place the mod JAR in your server's `mods` folder
4. Restart your server
## 🔧 Requirements
- Minecraft 1.20.1+
- Fabric Loader
- Fabric API
- Cobblemon 1.5.2+
## ⚙️ Configuration
- Boosts are automatically saved to `config/shinyboosters.nbt` and will persist through server restarts
- Multipliers are limited to keep shiny rates between 1/8.192 and 1/1
- Commands require operator permissions (level 2)
## 📊 Boss Bar Display
The boss bar shows:
- Current active boost multiplier
- Remaining time
- Queue of upcoming boosts (if any)
Example: `Shiny Boost: 2.0x (4m 30s) | Queue: 3.0x → 4.0x`