COWMODSКаталог модов

ItemLimiter

A simple and lightweight ItemLimiter plugin!

Автор: nieuwjaar6442обновлён 9 июн. 2026 г.
СнаряжениеМеханики игрыУтилиты

Описание

ItemLimiter

ItemLimiter is a lightweight and highly configurable Minecraft plugin that allows server owners to limit how many of a specific item a player can carry, store, pick up, move, or craft.

It helps prevent players from hoarding powerful items such as Totems, Ender Pearls, Golden Apples, Maces, or any other material by enforcing configurable limits per item.

The plugin is designed to be fully configurable, lightweight, and safe, while preventing bypasses through containers, bundles, crafting, inventory manipulation, and item pickups.


Key Features

Inventory Item Limits

Each configured item can have a maximum amount that a player may carry.

If a player attempts to exceed that amount:

  • the action will be blocked
  • or the excess items will automatically drop from their inventory

Example use cases:

  • Limit Totems to 1
  • Limit Ender Pearls to 16
  • Limit Golden Apples to 8

Configurable Item Actions

Each item can restrict different types of interactions:

ActionDescription
pickupPrevents players from picking up more of an item when the limit is reached
containersHandles container-related limits, including taking items from containers and limiting how many can be stored in supported containers
inventoryPrevents moving items into the player's inventory when the limit would be exceeded
craftPrevents crafting items if the player's inventory limit would be exceeded
globalPrevents crafting items if the player's lifetime/global crafted limit would be exceeded

Example config:

{
  "TOTEM_OF_UNDYING": {
    "limit": 1,
    "action": ["pickup", "containers", "inventory"]
  },
  "ENDER_PEARL": {
    "limit": 16,
    "action": ["pickup"]
  },
  "MACE": {
    "limit": 1,
    "action": ["global"]
  }
}

Limits are based on the configured action. Inventory-based limits count items in the player's inventory, including bundle contents where applicable. Global limits track crafted totals per player and material.


Separate Container Storage Limits

The containers action can also limit how many of an item may be stored inside supported containers.

To use a separate storage-container limit for the same material, use the seperate flag:

/itemlimiter add TOTEM_OF_UNDYING 0 containers seperate

This creates a separate config entry:

{
  "TOTEM_OF_UNDYING": {
    "limit": 1,
    "action": ["pickup", "inventory"]
  },
  "TOTEM_OF_UNDYING#containers": {
    "limit": 0,
    "action": ["containers"]
  }
}

This allows players to carry 1 Totem while preventing Totems from being stored in containers.

Supported storage containers include:

Chests
Barrels
Shulker Boxes
Hoppers
Droppers
Dispensers
Furnaces
Smokers
Blast Furnaces
Crafters
Brewing Stands
Decorated Pots
Chiseled Bookshelves
Jukeboxes
Lecterns
Ender Chests

Smart Limit Enforcement

If a player already exceeds a limit, for example after plugin installation or configuration changes, the plugin will automatically:

  1. Detect the excess items
  2. Remove them from the player's inventory
  3. Drop them naturally on the ground

This prevents players from bypassing limits with previously held items.


Container-Friendly Logic

Players can still store items in containers unless you configure a separate container storage limit.

Allowed by default:

  • Inventory to chest using shift-click
  • Inventory to shulker boxes
  • Inventory to bundles

Blocked when a personal limit is reached:

  • Chest to inventory
  • Bundle to inventory
  • Hopper to inventory

Blocked when a container storage limit is reached:

  • Adding more than the allowed amount into supported containers
  • Using hotbar keys or offhand swaps to bypass container limits

Global Craft Limits

The global action tracks how many times each player has crafted a configured item over time.

Global craft totals are stored persistently in:

crafted-limits.db

You can check your global crafted amount with:

/itemlimiter globalcheck <material>

Crafter block crafting is blocked for items using craft or global, because automated crafting cannot be reliably linked to a player for database tracking.


Fully Configurable

The plugin uses Bukkit material names and JSON configuration.

Structure:

plugins/ItemLimiter/

config.json
config-examples.txt
crafted-limits.db

translations/
  messages.json

Features include:

  • Editable messages
  • Configurable item limits
  • Configurable actions per item
  • Configurable global limit announcements
  • Built-in documentation examples

Hot Reload Support

You can reload the configuration and translation files without restarting the server.

/itemlimiter reload

If configuration files are missing, the plugin will automatically recreate them.


Commands

CommandDescription
/itemlimiter helpDisplays all plugin commands
/itemlimiter list [page]Lists configured item limits
/itemlimiter info <material>Shows information about an item
/itemlimiter check <material>Shows how many items you currently have
/itemlimiter globalcheck <material>Shows your global crafted amount for an item
/itemlimiter add <material> <limit> <actions> [seperate]Adds a new item limit
/itemlimiter edit <material> <limit> <actions>Edits an existing item
/itemlimiter remove <material>Removes an item limit
/itemlimiter reloadReloads plugin configuration

Permissions

PermissionDescriptionDefault
itemlimiter.helpAllows /itemlimiter helptrue
itemlimiter.infoAllows /itemlimiter infoop
itemlimiter.listAllows /itemlimiter listop
itemlimiter.checkAllows /itemlimiter checkop
itemlimiter.globalcheckAllows /itemlimiter globalchecktrue
itemlimiter.reloadAllows /itemlimiter reloadop
itemlimiter.addAllows adding new item limitsop
itemlimiter.editAllows editing item limitsop
itemlimiter.removeAllows removing item limitsop
itemlimiter.bypassBypasses all item limitsfalse
itemlimiter.update.notifyAllows receiving update notificationsop

Why Use ItemLimiter?

Many servers suffer from item hoarding or stacking issues, such as:

  • Carrying dozens of Totems
  • Excessive Ender Pearl stacking
  • Golden Apple hoarding
  • Item imbalance in PvP or survival
  • Storing restricted items inside containers

ItemLimiter provides a clean and configurable way to balance gameplay while still letting server owners decide exactly what should be restricted.


Compatibility

  • Minecraft 1.20+
  • Spigot / Paper
  • Lightweight with minimal performance impact

Example Use Cases

Common items servers limit:

TOTEM_OF_UNDYING
ENDER_PEARL
ELYTRA
MACE
GOLDEN_APPLE
ENCHANTED_GOLDEN_APPLE
SHIELD
TRIDENT

Configuration Philosophy

ItemLimiter is designed to be:

  • Simple
  • Flexible
  • Server-friendly

You decide which items, how many players can carry or store, and which interactions are restricted.


Support

If you encounter issues or have feature requests, feel free to open a ticket in the Discord server.

Enjoy a balanced and controlled inventory system for your server.

Последние версии

Все версии →
release

Per-Action Limits + Smart Partial Transfers

2.5
9 июн. 2026 г.429Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
### Added - Independent limits for every action using `MATERIAL#action`. - Partial shift-click crafting up to configured limits. - Partial withdrawals from containers. - Bundle content checks for container limits. ### Changed - Removed the `seperate` command flag. - Each action now supports its own limit. - Container limits no longer affect player inventory limits. - Updated plugin version to `2.5`. ### Fixed - Fixed bundle container-limit bypasses. - Fixed incorrect bundle denial messages. - Fixed container limits dropping player-held items. - Fixed duplicate crafting checks. - Fixed shift-click crafting exceeding limits. - Fixed container withdrawals being entirely blocked. - Fixed automated container-transfer bypasses. ### Notes - Use `/itemlimiter add <material> <limit> <actions>`. - Reusing `add` updates only the selected actions. - Rules save using `MATERIAL#action`. - Existing combined and legacy rules remain supported.
release

Containers Unified + Separate Limits

2.4
23 мая 2026 г.41Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
### Added - Added `seperate` command flag for creating separate container storage limits. - Added support for separate `containers` rules using `MATERIAL#containers`. - Added legacy loading support for old `MATERIAL#container-only` config entries. ### Changed - Combined `container-only` into the regular `containers` action. - `containers` now handles both player/container transfer limits and per-container storage limits. - Separate storage limits now use the normal `containers` action instead of `container-only`. - Updated plugin version to `2.4`. ### Fixed - Fixed being able to bypass container storage limits by using the offhand key inside containers. - Fixed old `container-only` config entries remaining loadable after the action merge. ### Notes - Use `containers` for container-related limits. - Use `/itemlimiter add <material> <limit> containers seperate` to create a separate storage-container limit. - Separate container storage limits save as `MATERIAL#containers` in `config.json`. - Old `MATERIAL#container-only` entries are still supported for compatibility.
release

Container Limits + Swaps

2.3
17 мая 2026 г.22Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
### Added - Added new `container-only` item action. - Added separate per-container storage limits for supported storage blocks. - Added support for separate `container-only` rules using `MATERIAL#container-only`. - Added support for storage containers including chests, barrels, shulkers, hoppers, droppers, dispensers, furnaces, smokers, blast furnaces, crafters, brewing stands, decorated pots, chiseled bookshelves, jukeboxes, lecterns, and ender chests. ### Changed - `container-only` is now fully separate from the normal `containers` action. - `container-only` limits now check the contents of the target container instead of the player inventory. - Normal item rules and `container-only` rules can now use different limits for the same material. - `/itemlimiter list` and `/itemlimiter info` now display separate normal and `container-only` limits when both exist. ### Fixed - Fixed `container-only` rules being blocked by the “item already exists” error when the same material had a normal rule. - Fixed `container-only` not applying to storage blocks like crafters and furnaces. - Fixed number-key inventory swaps being blocked while at the item limit. - Fixed offhand swaps being blocked while at the item limit. ### Notes - Use `container-only` to limit how many of an item can be stored inside each supported container. - Use `MATERIAL#container-only` in `config.json` when the same item needs a separate storage limit. - `container-only` does not count bundle contents; it only counts plain item stacks inside the container. - The normal `containers` action still works separately and continues to limit taking items from containers into the player inventory.
release

Update Stacking + Bundles

2.2
14 мая 2026 г.17Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
### Fixed - Fixed partial item pickups so players can pick up items until they reach the configured limit, leaving the rest on the ground. - Fixed bundle contents not being counted toward item limits when picking up or moving items.
release

Update Notifier Fix + Help Message

2.1
5 мая 2026 г.23Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
### Fixed - Fixed notifications of an update being available due to me forgetting to change the version. - Fixed the help message showing an unformatted line.
release

Added Global Item Support

2.0
3 мая 2026 г.16Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
### Added - Added new `global` item action. - Added persistent global craft tracking per player and material. - Added SQLite database storage using `crafted-limits.db`. - Added `/itemlimiter globalcheck <material>` command. - Added `itemlimiter.globalcheck` permission. - Added configurable global limit reached announcement. - Added `announce_global_limit_reached` toggle in `config.json`. - Added editable `global_limit_reached_announcement` message in `messages.json`. - Added protection against Minecraft crafter block bypasses. ### Changed - Crafting limits can now work as lifetime/player-based limits instead of only inventory-based limits. - Config loading now supports plugin settings alongside material rules. - Config saving preserves the global announcement setting. - Tab completion now includes `global` and `globalcheck`. ### Fixed - Fixed automated crafting via crafter blocks bypassing `craft` and `global` limits. - Fixed global craft limits not being queryable in-game. - Fixed global limit reached announcements not being configurable. ### Notes - Use `global` in an item rule to limit how many times a player can craft that item over time. - Crafter blocks are cancelled for items using `craft` or `global`, because they cannot be reliably linked to a player for database tracking.
release

Update Logic

1.1
30 апр. 2026 г.20Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
Messed something up with the update logic, fixed now.
release

Initial Release

1.0
14 мар. 2026 г.76Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2bukkit, paper, purpur, spigot
Скачать
Что нового
## Initial Release First public release of ItemLimiter. ### Features - Inventory-based item limit system - Fully configurable item actions: - pickup - containers - inventory - craft - Limits how many of a specific item a player can carry - Prevents players from exceeding configured item limits - Excess items are automatically removed and dropped if limits are exceeded - Players can still store items in containers - Prevents taking items from containers when the limit is already reached - Prevents crafting items if the result would exceed the limit - Automatically enforces limits for players already online - Periodic limit enforcement to prevent bypasses - Uses Bukkit material names for easy configuration - Fully translatable messages system - JSON configuration files ### Commands - `/itemlimiter help` - `/itemlimiter list` - `/itemlimiter info <material>` - `/itemlimiter check <material>` - `/itemlimiter add <material> <limit> <actions>` - `/itemlimiter edit <material> <limit> <actions>` - `/itemlimiter remove <material>` - `/itemlimiter reload` ### Other - Automatic config file generation - Safe reload system - Lightweight and optimized for survival and PvP servers - Built-in update checker with in-game notifications