pasturelimit-1.2.0-beta1.jar
Curse Maven Snippet
What's new
Version 1.2.0-beta1
Global limits, force-recall, and Virtual Loot polish.
Breaking change
Species and label limits are now global per player.
Previously, species_limits and label_limits only applied inside a single pasture block. Now they count across all of a player’s loaded pastures (Cobblemon + Virtual Loot).
Example: with "gimmighoul": 5, a player can have at most 5 Victini pastured in total, not 5 per block.
New
/pasturelimit enforce <targets>
Force-recalls excess Pokémon so a player is back under global species/label limits.- Newest first
- Supports selectors:
@a,@p,@r, or a player name - Only runs when an operator uses the command
Configurable enforce message
New config keyenforce_message(placeholder%count%).
Uses the same location setting as other deny messages (chat/actionbar/both/none).
Editable in YACL under Messages.
Fixed
- Virtual Loot top-half break
Breaking only the upper half of a virtual pasture no longer leaves the block count stuck. Same double-block handling as Cobblemon pastures in 1.1.0, with an extra safety net on break.
Notes
- Only loaded chunks are counted and enforced (keeps it light on the server).
- Unloaded pastures are ignored until their chunk loads again.
This is a beta. Please test with players who already have a lot of restricted species pastured and report anything odd.
This mod has no additional files

