
Item Limit
As the name suggests this plugin allows you to limit any item players can only hold up to a set maximum amount of an item in their inventory. If a player has more than the allowed limit, the extra items will automatically be dropped from the inventory
1.2.2
Compatibility
Changes
Rename container setting, optimize enforcement, drop excess on craft
- Rename limit-nested-containers to count-items-in-containers
(/itemlimit containers <on|off>.
- Scan inventory once per sweep instead of once per limited item
- Cache container setting, use EnumMap/EnumSet, cache tab-complete items
- Keep item meta when dropping excess from bundles/shulker boxes
- Crafting limited items is allowed, excess items drop on the ground
(banned items are still blocked)
- Add missing items-dropped-excess-all message, configurable message cooldown
- Call saveDefaultConfig, sync version between plugin.yml and build.gradle
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:i0H79U6Q:Kstsa7w4"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:i0H79U6Q:Kstsa7w4"
}
