Описание
### Introduction
**Do you miss your legendary Pokémon feeling truly 🌟 unique 🌟?**
Limited Legends brings back the rarity by letting you set hard limits on how many times each Pokémon can be captured or whether they need to be fought first — ensuring that catching one feels truly special.
**Any feature is configurable. For example, you could also use this mod only for its spawn notifications!**
### Features
- **🛑 Per Pokémon Limits:** Prevent the capturing of legendary and mythic Pokémon (or any others) once their onfigurable capture limit has been reached.
- **🚧 Per Player Limits**: Limit the amount of Legendaries a single player can have over all or per species!
- **🥊 Fight Before Capturing:** Prevent players from capturing certain Pokémon until they’ve first been weakened in battle!
- **⬆️ Catch rate penalties:** Makes catching higher level Pokémon more difficult - or impossible!
- **📄 Customizable Config**: Enable/Disable any feature and limit any Pokémon you want! _(Default: Legendaries + Mythics)_
- **🚫 Optional Spawn Blocking**: Not being able to capture them isn't enough for you? Block them from spawning alltogether!
- **📣 Optional Spawn Messages**: Send an announcement to all players whenever a unique Pokémon spawns!
- **🔍 Tracking**: Check which limited Pokémon a certain player has or find all players who own a certain limited Pokémon with the "/limitedlegends check" or "limitedlegends find" commands.
### Installation
1. Install Cobblemon and any dependencies.
2. Drop the LimitedLegends.jar into your /mods-folder.
3. Start the game or server to generate the config file.
4. Edit /config/limitedlegends.json to customize your settings.
5. When added to an already existing world or after an update: Use /limitedlegends backfill
6. Go hunt truly unique Pokémon!
Please note that the Fabric version of this mod requires [fabric-language-kotlin](https://modrinth.com/mod/fabric-language-kotlin)!
Config: limitedlegends.json
**"SetGlobalLimits"**
> Enable/Disable _GlobalLimitPerSpecies_ below
**"GlobalLimitPerSpecies"**
> Only this many of each Pokémon in _LimitedPokémon_ and _SpecificLimits_ can be captured before any capture attempt fails
**"SetLimitsPerPlayer"**
> Enable/Disable _MaxLimitedPerPlayer_ below
**"MaxLimitedPerPlayer"**
> Only this many of each Pokémon in _LimitedPokémon_ and _SpecificLimits_ can be captured per player
**"SetCopiesLimit"**
> Enable/Disable _MaxCopiesPerPlayer_ below
**"MaxCopiesPerPlayer"**
> Only this many Pokémon in _LimitedPokémon_ and _SpecificLimits_ can be caught per player
**"DisableSpawning"**
> Enable/Disable whether _LimitedPokemon_ should still spawn after their limit has been reached
**"RequireSubjugation"**
> Prevents players from capturing Pokémon until they’ve first been weakened in battle
**"RequireSubjugationForAll"**
> If enabled, all Pokémon need to be subjugated before catching them.
**"MinCaptureHPThreshold"**
> Pokémon must be below this HP % to be caught _(range: 0.01 = 1% and 1.0 = 100%)_
**"BonusCatchRate"**
> Additional catch rate if HP is under the threshold
**"AllowMasterBall"**
> Lets Master Balls bypass subjugation requirements
**"AllowOriginBall"**
> Lets Ancient Origin Balls bypass subjugation requirements
**"AllowQuickBall"**
> Lets Quick Balls bypass subjugation requirements
**"EnableCatchRateModifiers"*
> Enables _PenaltyPerLevel_, _FlatPenalty_ and _MinCatchRate_.
**"PenaltyPerLevel"**
> Percentage by which the catch rate decreases for each level the Pokémon is higher than the player's highest one.
> Range: 0.00 - 1.00
**"FlatPenalty"**
> Percentage by which the catch rate decreases as soon as a Pokémon has a higher level than the player's highest one.
> Range: 0.00 - 1.00
**"MinCatchRate"**
> Percentage of the original catch rate that should always remain even if the level difference is greater.
> Range: 0.00 - 1.00
**"EnableCaptureMessage"**
> Whether a message should be sent to all players whenever a LimitedPokemon has been caught.
**"EnableReleaseMessage"**
> Whether a message should be sent to all players whenever a LimitedPokemon has been released.
**"EnableSpawnMessage"**
> Enable/Disable whether spawns of _LimitedPokemon_ should be broadcasted
**"LimitAllPokemon"**
> If enabled, all capture restrictions apply to every Pokémon species.
**"LOGGER"**
> Enables/Disables log messages.
**"LimitedPokemon"**
> A list of Pokémon IDs to which the above options should apply
> Format: "cobblemon:", "cobblemon:"
**"SpecificLimits"**
> Set limits for individual species which will override _GlobalLimitPerSpecies_
> Format: "cobblemon:: ", "cobblemon:: "