1.2.0-beta1
Compatibility
Changes
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.
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:v3RSFRlW:mESQN8q1"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:v3RSFRlW:mESQN8q1"
}

